:root {
  --ink: #06183c;
  --muted: #53627a;
  --blue: #0b68e8;
  --blue-dark: #084eb3;
  --line: #e8edf5;
  --panel: #ffffff;
  --soft: #f7faff;
  --shadow: 0 24px 60px rgba(16, 39, 84, 0.12);
  --shadow-soft: 0 14px 40px rgba(16, 39, 84, 0.09);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --hero-visual-width: min(100%, 620px);
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(239, 228, 209, 0.75), transparent 35%),
    radial-gradient(circle at 9% 2%, rgba(235, 244, 255, 0.9), transparent 30%),
    #fbfcff;
  cursor: default;
}

.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
  overflow-x: clip;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.brand-name {
  font-size: 34px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -1.2px;
}

.brand-name span { color: var(--blue); }

.brand-claim {
  margin-top: 4px;
  font-weight: 650;
  color: #12264f;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 46px;
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: #0f2148;
}

.nav span,
.top-cta,
.primary-cta,
.privacy-note {
  user-select: none;
}

.top-cta,
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(180deg, #0d75ff, #075bd4);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(11, 104, 232, 0.22);
  font-weight: 800;
  white-space: nowrap;
}

.top-cta {
  padding: 16px 26px;
  font-size: 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
  align-items: center;
  gap: clamp(26px, 3.8vw, 40px);
  min-height: 455px;
  margin-bottom: 58px;
}

.hero-copy h1 {
  margin: 0 0 24px;
  max-width: 680px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -1.8px;
  font-weight: 900;
}

.hero-copy p {
  max-width: 580px;
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  color: #213257;
}

.hero-copy strong { color: var(--blue); }

.cta-row {
  margin: 34px 0 20px;
}

.primary-cta {
  padding: 20px 30px;
  font-size: 18px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px !important;
  color: #30415f !important;
}

.mini-shield {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #223b68;
  border-radius: 50%;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 455px;
  width: 100%;
  max-width: var(--hero-visual-width);
  margin-inline: auto 0;
  display: block;
  padding: 0;
}

.family-photo {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: clamp(300px, 34vw, 420px);
  object-fit: cover;
  object-position: center top;
  border-radius: 36px;
  mask-image: linear-gradient(to right, transparent 0%, black 16%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 16%, black 100%);
  opacity: 0.98;
}

.address-card {
  position: relative;
  z-index: 2;
  width: min(76%, 430px);
  max-width: 100%;
  margin: -54px 0 12px 24px;
  padding: 22px 22px 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(227, 233, 244, 0.98);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.address-title {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.8px;
  overflow-wrap: anywhere;
}

.alias-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.alias-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding: 13px 10px;
  font-size: 15px;
  font-weight: 850;
  background: #f4f7fc;
  border: 1px solid #e0e7f2;
  border-radius: 10px;
}

.alias-row img { width: 22px; height: 22px; }

.more {
  margin-top: 14px;
  text-align: center;
  color: #0a1f49;
  font-size: 14px;
  font-weight: 650;
}

section h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.7px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.problem-card {
  min-height: 250px;
  padding: 28px 22px;
  text-align: center;
  border: 1px solid rgba(222, 230, 242, 1);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.problem-card img {
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
}

.problem-card h3,
.step h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.problem-card p,
.step p {
  margin: 0;
  color: #213257;
  line-height: 1.55;
  font-size: 14.5px;
  font-weight: 570;
}

.blue-soft { background: linear-gradient(180deg, #e9f3ff 0%, #f7fbff 100%); }
.orange-soft { background: linear-gradient(180deg, #fff1e1 0%, #fff9f2 100%); }
.mint-soft { background: linear-gradient(180deg, #e6faf6 0%, #f6fffd 100%); }
.violet-soft { background: linear-gradient(180deg, #f0e9ff 0%, #fbf9ff 100%); }
.red-soft { background: linear-gradient(180deg, #ffe8ec 0%, #fff7f8 100%); }

.solution {
  margin: 22px 0 22px;
  padding: 30px 36px 38px;
  background: linear-gradient(135deg, rgba(239, 247, 255, 0.96), rgba(248, 252, 255, 0.96));
  border: 1px solid #e4edf8;
  border-radius: 22px;
}

.solution h2 span { color: var(--blue); }

.solution-layout {
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  gap: 34px;
  align-items: center;
}

.solution-list {
  display: grid;
  gap: 21px;
}

.solution-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 14px;
  font-size: 17px;
  line-height: 1.45;
}

.solution-item img {
  width: 30px;
  height: 30px;
}

.solution-item strong {
  font-size: 19px;
}

.solution-item span {
  color: #1d3159;
  font-weight: 600;
}

.routing-demo {
  display: grid;
  grid-template-columns: minmax(190px, 250px) 50px 1fr;
  gap: 18px;
  align-items: center;
}

.alias-panel,
.target-panel {
  background: #fff;
  border: 1px solid #e6edf8;
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(18, 47, 101, 0.09);
}

.alias-panel {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.mail-alias {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.mail-alias img { width: 30px; height: 30px; }
.mail-alias small {
  display: block;
  margin-top: 2px;
  color: #53627a;
  font-size: 12px;
  font-weight: 700;
}

.arrows {
  display: grid;
  gap: 22px;
  justify-items: center;
  color: var(--blue);
  font-size: 38px;
  font-weight: 800;
}

.target-panel {
  padding: 12px 18px 16px;
}

.target-panel h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.25;
}

.target {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin: 9px 0;
  padding: 7px 12px;
  background: #f7f9fd;
  border-radius: 10px;
  font-weight: 750;
  color: #253653;
}

.target-panel p {
  margin: 10px 0 0 42px;
  color: #53627a;
  font-size: 14px;
  font-weight: 650;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.a1 { background: linear-gradient(135deg, #f7d9ca, #d9836a); }
.a2 { background: linear-gradient(135deg, #d5e9ff, #5e8ecf); }
.a3 { background: linear-gradient(135deg, #f8d4ec, #b667a4); }
.a4 { background: linear-gradient(135deg, #d6f2dc, #5aa874); }

.steps {
  margin-top: 26px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #e5ecf6;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 36px rgba(22, 44, 80, 0.06);
}

.step {
  position: relative;
  min-height: 210px;
  padding: 28px 24px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.74);
  border-right: 1px solid #eef3fb;
}

.step:last-child { border-right: 0; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 72px;
  right: -45px;
  width: 90px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #c9d3e4 0, #c9d3e4 7px, transparent 7px, transparent 14px);
  z-index: 3;
}

.step-number {
  position: absolute;
  top: 17px;
  left: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.step img {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
}

.privacy {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 82px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 26px 32px;
  background: #fff;
  border: 1px solid #e5ecf6;
  border-radius: 18px;
  box-shadow: 0 14px 42px rgba(18, 47, 101, 0.07);
}

.privacy img {
  width: 70px;
  height: 70px;
}

.privacy h2 {
  text-align: left;
  margin: 0 0 8px;
  font-size: 26px;
}

.privacy p {
  margin: 0;
  color: #30415f;
  line-height: 1.55;
  font-size: 17px;
  font-weight: 560;
}

.privacy-note {
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .page { width: min(100% - 28px, 900px); }
  .site-header { margin-bottom: 42px; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy h1 { max-width: 720px; }
  .hero-copy p { max-width: 700px; }
  .hero-visual { max-width: 760px; margin-inline: auto; }
  .family-photo { width: 100%; height: 340px; border-radius: 34px; mask-image: none; -webkit-mask-image: none; }
  .address-card { width: min(100%, 520px); margin: 24px 0 12px 0; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-layout { grid-template-columns: 1fr; }
  .routing-demo { max-width: 680px; margin: 0 auto; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 700px) {
  .page { width: min(100% - 22px, 520px); padding-top: 20px; }
  .site-header { gap: 16px; align-items: flex-start; }
  .brand { min-width: 0; }
  .brand-name { font-size: 28px; }
  .brand-claim { font-size: 13px; }
  .top-cta { display: none; }
  .hero-copy h1 { font-size: clamp(34px, 8.8vw, 44px); letter-spacing: -1.4px; }
  .hero-copy p { font-size: 18px; }
  .primary-cta { width: 100%; padding: 18px 18px; }
  .hero-visual { }
  .family-photo { height: 250px; border-radius: 26px; }
  .address-card { width: 100%; max-width: none; margin: 18px 0 10px; padding: 16px; }
  .address-title { font-size: 22px; }
  .alias-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .alias-row span { font-size: 14px; padding: 12px 8px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 0; }
  .solution { padding: 26px 20px; }
  .routing-demo { grid-template-columns: 1fr; }
  .arrows { display: none; }
  .step-grid { grid-template-columns: 1fr; }
  .step, .step:nth-child(2) { border-right: 0; border-bottom: 1px solid #eef3fb; }
  .step:last-child { border-bottom: 0; }
  .step::after { display: none !important; }
  .privacy { grid-template-columns: 1fr; text-align: left; }
  .privacy-note { display: none; }
}


@media (max-width: 430px) {
  .page { width: calc(100% - 16px); }
  .hero-copy h1 { font-size: 32px; }
  .hero-copy p { font-size: 17px; line-height: 1.5; }
  .family-photo { height: 220px; }
  .address-card { padding: 14px; margin: 16px 0 10px; }
  .address-title { font-size: 20px; }
  .alias-row { grid-template-columns: 1fr; }
  .alias-row span { justify-content: flex-start; padding-inline: 12px; }
}
