/* ==========================================================================
   Elarpet — Shenzhen Wuyouguoguo E-Commerce Co., Ltd. (深圳市无忧果果电子商务有限公司)
   Smart pet cameras & visual feeders. Playful, energetic "happy pets" theme:
   crisp light canvas, leaf-green + sunny amber + grape pops, chunky & friendly.
   ========================================================================== */

:root {
  /* Surfaces — crisp light, faint green-neutral */
  --bg:        #F5F8F1;
  --bg-2:      #FFFFFF;
  --card:      #FFFFFF;
  --tint-green:  #E8F5EC;
  --tint-amber:  #FFF6E0;
  --tint-grape:  #F0ECFF;
  --line:      rgba(31, 42, 35, 0.12);
  --line-2:    rgba(31, 42, 35, 0.07);

  /* Ink — bold dark green-charcoal, high contrast & punchy */
  --ink:       #1F2A23;
  --ink-soft:  #586256;
  --ink-mut:   #95A099;

  /* Brand hues */
  --green:      #1FA85C;   /* leaf green — primary */
  --green-2:    #56CD83;
  --green-deep: #15743F;
  --amber:      #FFB627;   /* sunny amber — play / treats */
  --amber-deep: #E89400;
  --grape:      #7C5CFF;   /* playful pop */
  --grape-deep: #5E3FE0;

  --grad-green: linear-gradient(120deg, #1FA85C 0%, #56CD83 100%);
  --grad-fun:   linear-gradient(120deg, #1FA85C 0%, #FFB627 100%);
  --grad-grape: linear-gradient(120deg, #7C5CFF 0%, #A88BFF 100%);

  --shadow-xs: 0 2px 8px rgba(31, 42, 35, 0.07);
  --shadow-sm: 0 12px 26px -16px rgba(21, 116, 63, 0.40);
  --shadow:    0 28px 60px -28px rgba(21, 116, 63, 0.40);
  --pop:       4px 4px 0 var(--ink);          /* chunky "sticker" offset */
  --pop-green: 4px 4px 0 var(--green-deep);

  --radius:    22px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --maxw:      1160px;

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

/* CJK font stacks */
html[lang="ja"] { --font-body: "Noto Sans JP", "Mulish", system-ui, sans-serif; --font-display: "Noto Sans JP", "Fredoka", sans-serif; }
html[lang="zh"] { --font-body: "Noto Sans SC", "Mulish", system-ui, sans-serif; --font-display: "Noto Sans SC", "Fredoka", 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(--bg);
  color: var(--ink);
  line-height: 1.68;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* playful blobs in the page background */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 40% at 92% -6%, rgba(124, 92, 255, 0.10), transparent 60%),
    radial-gradient(50% 44% at -6% 2%, rgba(31, 168, 92, 0.12), transparent 60%),
    radial-gradient(40% 38% at 70% 108%, rgba(255, 182, 39, 0.10), transparent 60%);
}

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

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

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

.green-text { color: var(--green-deep); }
.grape-text { color: var(--grape-deep); }
.gradient-text { background: var(--grad-fun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gradient-text.g { background: var(--grad-green); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* eyebrow — chunky sticker chip with a pop edge */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--green-deep);
  padding: 7px 15px; border-radius: 100px;
  background: var(--card); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
}
.eyebrow.amber { color: var(--amber-deep); }
.eyebrow.grape { color: var(--grape-deep); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.eyebrow.amber::before { background: var(--amber); }
.eyebrow.grape::before { background: var(--grape); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: 100px; cursor: pointer;
  border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; border-color: var(--ink); box-shadow: var(--pop); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-amber { background: var(--amber); color: var(--ink); border-color: var(--ink); box-shadow: var(--pop); }
.btn-amber:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-grape { background: var(--grape); color: #fff; border-color: var(--ink); box-shadow: var(--pop); }
.btn-grape:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-ghost { color: var(--ink); border-color: var(--ink); background: var(--card); }
.btn-ghost:hover { transform: translate(-2px, -2px); box-shadow: var(--pop); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(245, 248, 241, 0.85);
  border-bottom: 2px solid var(--ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -.01em; color: var(--ink); }
.brand .mark { width: 40px; height: 40px; }
.brand .tld { color: var(--green-deep); }

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

.nav-toggle { display: none; background: var(--card); border: 2px solid var(--ink); border-radius: 12px; 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: 2px solid var(--ink); color: var(--ink-soft);
  border-radius: 100px; padding: 9px 13px; font-family: var(--font-display); font-size: 15px; font-weight: 600;
  transition: all .18s;
}
.lang-btn:hover { color: var(--ink); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 174px; z-index: 200;
  list-style: none; margin: 0; padding: 8px;
  background: var(--card); border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: var(--pop); 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: 700;
  padding: 10px 13px; border-radius: 10px; transition: all .15s;
}
.lang-opt:hover { background: var(--tint-green); color: var(--ink); }
.lang-opt.active { color: var(--green-deep); background: var(--tint-green); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(54px, 9vw, 112px) 0 clamp(48px, 7vw, 90px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-copy { min-width: 0; }
.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: 32px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: var(--ink-soft); font-size: 14.5px; }
.hero-note svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

/* playful scene card holding the device illustration */
.hero-scene {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg);
  background: var(--grad-green);
  border: 2px solid var(--ink); box-shadow: var(--pop); overflow: hidden; display: grid; place-items: center;
}
.hero-scene .paws { position: absolute; inset: 0; }
.hero-scene .paws i {
  position: absolute; width: 16px; height: 16px; opacity: .5;
  background: rgba(255,255,255,.6);
  -webkit-mask: var(--paw) center/contain no-repeat; mask: var(--paw) center/contain no-repeat;
  animation: bob 3.6s ease-in-out infinite;
}
.hero-device { width: 72%; position: relative; z-index: 2; filter: drop-shadow(0 18px 26px rgba(21,116,63,.4)); animation: bob 5.5s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-1.5deg); } }

/* floating sticker chips */
.hero-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 2px solid var(--ink); border-radius: 100px; padding: 8px 14px; font-family: var(--font-display);
  font-weight: 600; font-size: 14px; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.hero-chip svg { width: 18px; height: 18px; }
.hero-chip.c1 { top: 14%; left: -5%; transform: rotate(-4deg); animation: bob 5s ease-in-out infinite; }
.hero-chip.c2 { bottom: 13%; right: -4%; transform: rotate(3deg); animation: bob 5.8s ease-in-out infinite .4s; }
.hero-chip .dot { color: var(--green); }
.hero-chip .dot.amber { color: var(--amber-deep); }

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

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tint-green { background: var(--tint-green); }
.section.tint-amber { background: var(--tint-amber); }
.section.tint-grape { background: var(--tint-grape); }
.section-head { max-width: 640px; margin-bottom: 50px; }
.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 (chunky, bordered) ---------- */
.card {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: var(--card); border: 2px solid var(--ink);
  box-shadow: var(--shadow-xs); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--pop); }
.card .ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 18px; color: #fff; border: 2px solid var(--ink);
}
.card .ico.green { background: var(--green); }
.card .ico.amber { background: var(--amber); color: var(--ink); }
.card .ico.grape { background: var(--grape); }
.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; }

/* check 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(--green); 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: 2px solid var(--ink); overflow: hidden;
  box-shadow: var(--shadow-xs); transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translate(-3px, -3px); box-shadow: var(--pop); }
.product-media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: var(--tint-green);
  border-bottom: 2px solid var(--ink);
}
.product-media svg { width: 58%; }
.product-media .badge { position: absolute; top: 14px; left: 14px; font-family: var(--font-display); font-weight: 600;
  font-size: 12px; letter-spacing: .03em; padding: 5px 12px; border-radius: 100px; background: var(--amber); color: var(--ink); border: 2px solid var(--ink); transform: rotate(-3deg); }
.product-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 22px; }
.product-body .sub { color: var(--grape-deep); font-family: var(--font-display); font-weight: 600; 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(--green); 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: 54px; 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: var(--tint-grape); border: 2px solid var(--ink); box-shadow: var(--pop);
}
.split-media.green { background: var(--grad-green); }
.split-media.amber { background: var(--tint-amber); }
.split-media svg { width: 66%; }
.split h2 { font-size: clamp(25px, 3.4vw, 38px); margin-bottom: 16px; }
.split p { color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--card); border: 2px solid var(--ink); box-shadow: var(--shadow-xs); }
.step .n { counter-increment: step; font-family: var(--font-display); font-weight: 700; font-size: 18px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--amber); color: var(--ink); border: 2px solid var(--ink); 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; }

/* ---------- Tiles ---------- */
.tile { border-radius: var(--radius); border: 2px solid var(--ink); padding: 26px; background: var(--card); box-shadow: var(--shadow-xs); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translate(-3px, -3px); box-shadow: var(--pop); }
.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: 2px solid var(--ink); 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); font-size: 15px; }
.spec-table th { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: #fff; background: var(--green-deep); }
.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, 74px); text-align: center; overflow: hidden; color: #fff; background: var(--grad-green); border: 2px solid var(--ink); box-shadow: var(--pop); }
.cta-band.amber { background: var(--amber); color: var(--ink); }
.cta-band.grape { background: var(--grad-grape); }
.cta-band h2 { color: inherit; font-size: clamp(27px, 4.2vw, 44px); margin-bottom: 14px; }
.cta-band p { color: inherit; opacity: .94; max-width: 54ch; margin: 0 auto 30px; font-size: 18px; }
.cta-band .btn-ghost { background: var(--card); color: var(--ink); }

/* ---------- Note band (safety: laser / feeding / privacy) ---------- */
.note-band { background: var(--tint-amber); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.note-band .inner { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; }
.note-band .ico { width: 30px; height: 30px; flex-shrink: 0; color: var(--amber-deep); }
.note-band p { color: #6e5212; font-size: 14.5px; }
.note-band b { color: var(--ink); font-family: var(--font-display); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(54px, 8vw, 96px) 0 clamp(34px, 5vw, 54px); 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(--green-deep); font-weight: 700; }
.prose .updated { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink-mut); }

/* info / contact rows */
.info-rows { display: grid; gap: 0; border: 2px solid var(--ink); 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); }
.info-rows .row:last-child { border-bottom: 0; }
.info-rows .row .k { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--grape-deep); text-transform: uppercase; letter-spacing: .02em; }
.info-rows .row .v { color: var(--ink); }
.info-rows .row .v a { color: var(--green-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); }
.timeline .t-item .yr { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--green-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: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 4px 24px; margin-bottom: 12px; background: var(--card); }
.faq summary { cursor: pointer; list-style: none; padding: 19px 0; font-family: var(--font-display); font-weight: 600; 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(--green); 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: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--pop); }
.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: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg); border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 16px; color: var(--ink); font-family: var(--font-body); font-size: 15px; transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13.5px; color: var(--ink-mut); }

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--ink); padding: 62px 0 30px; background: var(--card); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 42px; 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: 600; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; color: var(--grape-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(--green-deep); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; 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(--green-deep); }

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

/* paw mask used by hero paws */
:root { --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6' cy='10' r='2.4'/%3E%3Ccircle cx='12' cy='7.5' r='2.4'/%3E%3Ccircle cx='18' cy='10' r='2.4'/%3E%3Cellipse cx='12' cy='16' rx='4.4' ry='3.6'/%3E%3C/svg%3E"); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .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-ghost { display: none; }
  .nav-toggle { display: grid; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--card); border-bottom: 2px solid var(--ink); 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; }
}
