/* ==========================================================================
   Elarbaby — Shenzhen Yiji Digital Technology Co., Ltd. (深圳市蚁集数码科技有限公司)
   Smart baby-monitor brand. Warm, gentle "peaceful nights" theme:
   cream canvas, sunrise-coral + moonlight-lavender + sage, rounded & soft.
   ========================================================================== */

:root {
  /* Surfaces — warm light canvas */
  --cream:    #FFF9F3;
  --cream-2:  #FCEEE3;   /* warm tinted section */
  --cream-3:  #F4F0FA;   /* cool dusk tinted section */
  --card:     #FFFFFF;
  --line:     rgba(74, 64, 78, 0.10);
  --line-2:   rgba(74, 64, 78, 0.06);

  /* Ink — warm plum-charcoal, never pure black */
  --ink:      #45404B;
  --ink-soft: #7B7382;
  --ink-mut:  #ABA2B0;

  /* Brand hues — soft, multi-tone */
  --coral:      #FF8C6B;   /* sunrise coral — primary warmth */
  --coral-deep: #F26A45;
  --lav:        #8E8BDE;   /* moonlight lavender — sleep / night */
  --lav-deep:   #6F6BD0;
  --sage:       #6FC2A0;   /* calm sage — wellness / air */
  --sun:        #FFC979;   /* soft sun — highlight */
  --rose:       #FFD9CC;   /* tint */
  --blush:      #FFE9DF;

  --grad-warm:  linear-gradient(120deg, #FF8C6B 0%, #FFC979 100%);
  --grad-night: linear-gradient(155deg, #8E8BDE 0%, #B6A8EC 100%);
  --grad-soft:  linear-gradient(180deg, #FFFFFF 0%, #FFF6EE 100%);

  --shadow-xs: 0 2px 8px rgba(74, 64, 78, 0.06);
  --shadow-sm: 0 10px 26px -14px rgba(112, 80, 70, 0.34);
  --shadow:    0 26px 60px -28px rgba(112, 80, 70, 0.40);
  --shadow-lav:0 26px 60px -26px rgba(111, 107, 208, 0.40);

  --radius:    26px;
  --radius-sm: 16px;
  --radius-lg: 36px;
  --maxw:      1160px;

  --font-display: "Quicksand", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* CJK font stacks per active language */
html[lang="zh"] { --font-body: "Noto Sans SC", "Nunito", system-ui, sans-serif; --font-display: "Noto Sans SC", "Quicksand", sans-serif; }
html[lang="ja"] { --font-body: "Noto Sans JP", "Nunito", system-ui, sans-serif; --font-display: "Noto Sans JP", "Quicksand", sans-serif; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* soft warm glow behind everything */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58% 50% at 88% -8%, rgba(142, 139, 222, 0.16), transparent 60%),
    radial-gradient(54% 46% at 6% 4%, rgba(255, 140, 107, 0.14), transparent 58%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.warm-text { color: var(--coral-deep); }
.lav-text  { color: var(--lav-deep); }
.gradient-text {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gradient-text.night { background: var(--grad-night); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* eyebrow / kicker — soft rounded chip */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--coral-deep);
  padding: 7px 15px; border-radius: 100px;
  background: var(--blush); border: 1px solid rgba(242, 106, 69, .14);
}
.eyebrow.night { color: var(--lav-deep); background: #ECEAFB; border-color: rgba(111,107,208,.16); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 100px; cursor: pointer;
  border: 2px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-warm); color: #fff; box-shadow: 0 14px 30px -12px rgba(242, 106, 69, .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(242, 106, 69, .62); }
.btn-night { background: var(--grad-night); color: #fff; box-shadow: 0 14px 30px -12px rgba(111,107,208,.5); }
.btn-night:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(111,107,208,.6); }
.btn-soft { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn-soft:hover { border-color: var(--coral); color: var(--coral-deep); transform: translateY(-2px); }
.btn-ghost { color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral-deep); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 249, 243, 0.82);
  border-bottom: 1px solid var(--line-2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -.01em; color: var(--ink); }
.brand .mark { width: 40px; height: 40px; }
.brand .tld { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  display: block; padding: 9px 16px; border-radius: 100px;
  font-size: 16px; color: var(--ink-soft); font-family: var(--font-display); font-weight: 600; transition: all .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--blush); }
.nav-links a.active { color: var(--coral-deep); background: var(--blush); }
.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; width: 46px; height: 46px; cursor: pointer; color: var(--ink); place-items: center; }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-soft);
  border-radius: 100px; padding: 10px 14px; font-family: var(--font-display); font-size: 15px; font-weight: 700;
  transition: all .2s;
}
.lang-btn:hover { color: var(--ink); border-color: var(--coral); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 172px; z-index: 200;
  list-style: none; margin: 0; padding: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-opt {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; color: var(--ink-soft); font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 10px 14px; border-radius: 12px; transition: all .15s;
}
.lang-opt:hover { background: var(--blush); color: var(--ink); }
.lang-opt.active { color: var(--coral-deep); background: var(--blush); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 116px) 0 clamp(48px, 7vw, 92px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; margin: 20px 0 22px; }
.hero p.lead { font-size: clamp(17px, 2vw, 21px); color: var(--ink-soft); max-width: 34ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-copy { min-width: 0; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 26px; color: var(--ink-soft); font-size: 14.5px; }
.hero-note svg { width: 18px; height: 18px; color: var(--sage); flex-shrink: 0; }

/* dusk scene card holding the device illustration */
.hero-scene {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg);
  background: var(--grad-night);
  box-shadow: var(--shadow-lav); overflow: hidden; display: grid; place-items: center;
}
.hero-scene .stars { position: absolute; inset: 0; }
.hero-scene .stars i {
  position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: .9;
  animation: twinkle 3.4s ease-in-out infinite;
}
.hero-scene .moon { position: absolute; top: 30px; right: 36px; width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF4DA, #FFD79A); box-shadow: 0 0 36px rgba(255,201,121,.6); }
.hero-device { width: 70%; position: relative; z-index: 2; filter: drop-shadow(0 24px 38px rgba(40,30,70,.45)); animation: float 6s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes float  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* small floating chips over the hero scene */
.hero-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.94); border-radius: 100px; padding: 9px 15px; font-family: var(--font-display);
  font-weight: 700; font-size: 14px; color: var(--ink); box-shadow: var(--shadow-sm); }
.hero-chip svg { width: 18px; height: 18px; }
.hero-chip.c1 { top: 16%; left: -6%; animation: float 5s ease-in-out infinite; }
.hero-chip.c2 { bottom: 14%; right: -4%; animation: float 5.6s ease-in-out infinite .4s; }
.hero-chip .dot { color: var(--sage); }
.hero-chip .dot.warm { color: var(--coral); }

/* ---------- Stats / promise strip ---------- */
.stats { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 22px; text-align: center; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(26px, 4vw, 38px); font-weight: 700; color: var(--coral-deep); }
.stat .lbl { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: clamp(58px, 8vw, 108px) 0; }
.section.tint-warm  { background: var(--cream-2); }
.section.tint-dusk  { background: var(--cream-3); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.2vw, 46px); margin: 16px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 18px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Feature cards ---------- */
.card {
  position: relative; padding: 32px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-xs); transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.card .ico {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  margin-bottom: 20px; color: #fff;
}
.card .ico.warm { background: var(--grad-warm); }
.card .ico.lav  { background: var(--grad-night); }
.card .ico.sage { background: linear-gradient(135deg, #6FC2A0, #9AD9BE); }
.card .ico.sun  { background: linear-gradient(135deg, #FFC979, #FFE0A6); color: #8a5a16; }
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 21px; margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }

/* soft tinted info pill list */
.check-list { list-style: none; display: grid; gap: 13px; margin-top: 8px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list li svg { width: 22px; height: 22px; color: var(--sage); flex-shrink: 0; margin-top: 3px; }
.check-list li b { font-family: var(--font-display); color: var(--ink); }

/* ---------- Product cards ---------- */
.product-card {
  display: flex; flex-direction: column; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow-xs); transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.product-media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: linear-gradient(160deg, #FFF0E6, #F1ECFB);
  border-bottom: 1px solid var(--line);
}
.product-media svg { width: 58%; }
.product-media .badge { position: absolute; top: 16px; left: 16px; font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: .04em; padding: 6px 13px; border-radius: 100px; background: #fff; color: var(--coral-deep); box-shadow: var(--shadow-xs); }
.product-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 23px; }
.product-body .sub { color: var(--lav-deep); font-family: var(--font-display); font-weight: 700; font-size: 14px; margin: 4px 0 14px; }
.product-body p { color: var(--ink-soft); font-size: 15px; }
.spec-list { list-style: none; margin: 18px 0 0; display: grid; gap: 10px; }
.spec-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); align-items: flex-start; }
.spec-list li svg { width: 18px; height: 18px; color: var(--coral); flex-shrink: 0; margin-top: 3px; }
.product-foot { margin-top: auto; padding-top: 22px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-copy { min-width: 0; }
.split-media {
  border-radius: var(--radius-lg); aspect-ratio: 5 / 4; overflow: hidden; position: relative;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #FFEDE2, #EEEAFB);
  box-shadow: var(--shadow-sm);
}
.split-media.night { background: var(--grad-night); }
.split-media svg { width: 64%; }
.split h2 { font-size: clamp(25px, 3.4vw, 38px); margin-bottom: 16px; }
.split p { color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.step .n { counter-increment: step; font-family: var(--font-display); font-weight: 700; font-size: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--coral-deep); margin-bottom: 18px; }
.step .n::before { content: counter(step); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Soft scenario / value tiles ---------- */
.tile { border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; background: var(--card); box-shadow: var(--shadow-xs); transition: transform .3s, box-shadow .3s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.tile .emoji { font-size: 30px; line-height: 1; margin-bottom: 14px; }
.tile h3 { font-size: 19px; margin-bottom: 7px; }
.tile p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Comparison / spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.spec-table th, .spec-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.spec-table th { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--lav-deep); background: var(--cream-3); }
.spec-table td { color: var(--ink-soft); }
.spec-table tr td:first-child { color: var(--ink); font-weight: 700; width: 30%; }
.spec-table tr:last-child td { border-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 76px); text-align: center; overflow: hidden; color: #fff; background: var(--grad-warm); box-shadow: 0 30px 60px -28px rgba(242,106,69,.55); }
.cta-band.night { background: var(--grad-night); box-shadow: var(--shadow-lav); }
.cta-band h2 { color: #fff; font-size: clamp(27px, 4.2vw, 44px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 54ch; margin: 0 auto 30px; font-size: 18px; }
.cta-band .btn-soft { background: #fff; color: var(--coral-deep); }
.cta-band.night .btn-soft { color: var(--lav-deep); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

/* ---------- Safety note band ---------- */
.safety-note { background: #FFF4E8; border-top: 1px solid rgba(242,106,69,.12); border-bottom: 1px solid rgba(242,106,69,.12); }
.safety-note .inner { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; }
.safety-note .ico { width: 30px; height: 30px; flex-shrink: 0; color: var(--coral-deep); }
.safety-note p { color: #8a5d3e; font-size: 14.5px; }
.safety-note b { color: var(--coral-deep); font-family: var(--font-display); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(36px, 5vw, 56px); position: relative; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); margin: 18px 0 16px; }
.page-hero p { color: var(--ink-soft); font-size: 19px; max-width: 62ch; }

/* ---------- Prose (legal / about) ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 25px; margin: 44px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 14px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--coral-deep); font-weight: 700; }
.prose .updated { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink-mut); }

/* info / contact rows */
.info-rows { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.info-rows .row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 20px 26px; border-bottom: 1px solid var(--line-2); }
.info-rows .row:last-child { border-bottom: 0; }
.info-rows .row .k { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--lav-deep); text-transform: uppercase; letter-spacing: .03em; }
.info-rows .row .v { color: var(--ink); }
.info-rows .row .v a { color: var(--coral-deep); font-weight: 700; }

/* timeline */
.timeline { display: grid; gap: 0; }
.timeline .t-item { display: grid; grid-template-columns: 120px 1fr; gap: 26px; padding: 26px 0; border-top: 1px solid var(--line-2); }
.timeline .t-item .yr { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--coral-deep); }
.timeline .t-item h3 { font-size: 19px; margin-bottom: 6px; }
.timeline .t-item p { color: var(--ink-soft); font-size: 15px; }

/* faq */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 24px; margin-bottom: 12px; background: var(--card); box-shadow: var(--shadow-xs); }
.faq summary { cursor: pointer; list-style: none; padding: 19px 0; font-family: var(--font-display); font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--coral); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; font-size: 15.5px; }

/* contact form */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 14px; font-family: var(--font-display); font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; color: var(--ink); font-family: var(--font-body); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,140,107,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13.5px; color: var(--ink-mut); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-2); padding: 64px 0 32px; background: var(--cream-2); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--ink-soft); font-size: 14.5px; max-width: 36ch; }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: var(--lav-deep); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: var(--ink-soft); font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: var(--coral-deep); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; flex-wrap: wrap; }
.footer-bottom .legal { color: var(--ink-mut); font-size: 13.5px; line-height: 1.8; }
.footer-bottom .legal a { color: var(--ink-mut); }
.footer-bottom .legal a:hover { color: var(--coral-deep); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 34px; }
  .split.rev .split-media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .info-rows .row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .header-cta .btn-soft { display: none; }
  .nav-toggle { display: grid; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--line); padding: 16px; gap: 4px;
  }
  .site-header.open .nav-links a { padding: 14px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .timeline .t-item { grid-template-columns: 1fr; gap: 8px; }
  .hero-chip.c1 { left: 2%; }
  .hero-chip.c2 { right: 2%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
