/* ============================================================
   Flood2Food landing page
   Design tokens: design-system/flood2food/MASTER.md
   ============================================================ */

:root {
  --bg: #0A100D;
  --bg-alt: #0C1310;
  --surface: #111B16;
  --surface-2: #152119;
  --border: rgba(167, 199, 181, 0.14);
  --border-strong: rgba(167, 199, 181, 0.26);

  --text: #EAF3EE;
  --muted: #A6B8AE;
  --muted-2: #8DA096;

  --green: #22C55E;
  --green-600: #16A34A;
  --green-ink: #052E16;
  --lime: #DCF34A;
  --sky: #38BDF8;
  --amber: #F0B429;
  --violet: #A78BFA;
  --red: #F87171;

  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow: 0 18px 44px rgba(2, 8, 5, 0.45);
  --container: 1160px;
  --nav-h: 66px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 0.08em 0.4em; }

::selection { background: var(--green); color: var(--green-ink); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--green); color: var(--green-ink);
  padding: 12px 18px; border-radius: 0 0 12px 12px; font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- Layout ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }

.section { padding: clamp(72px, 9vw, 118px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-alt), #0A110E 65%); border-block: 1px solid var(--border); }

.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); margin-top: 10px; }
.section__lead { color: var(--muted); margin-top: 14px; font-size: clamp(1rem, 1.4vw, 1.1rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

/* ---------- Icons ---------- */
.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 14px 24px; min-height: 48px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
              border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn--primary {
  background: var(--green); color: var(--green-ink);
  box-shadow: 0 10px 26px rgba(34, 197, 94, 0.26);
}
.btn--primary:hover { background: #34D56C; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(34, 197, 94, 0.34); }
.btn--primary:active { transform: translateY(0); background: var(--green-600); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; min-height: 54px; }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; min-height: 44px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 16, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(10, 16, 13, 0.92); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; letter-spacing: -0.01em; }
.brand__accent { color: var(--green); }

.nav__links { display: flex; gap: 6px; margin-inline: auto; }
.nav__links a {
  padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center;
  font-size: 0.94rem; color: var(--muted); border-radius: var(--radius-pill);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--border); }
.nav__toggle .ico { width: 22px; height: 22px; }
.nav__toggle .ico--close { display: none; }
.nav__toggle[aria-expanded="true"] .ico--menu { display: none; }
.nav__toggle[aria-expanded="true"] .ico--close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -30% -10% auto; height: 90%;
  background:
    radial-gradient(46% 52% at 76% 30%, rgba(34, 197, 94, 0.16), transparent 68%),
    radial-gradient(40% 45% at 12% 8%, rgba(56, 189, 248, 0.10), transparent 70%),
    radial-gradient(50% 40% at 50% 100%, rgba(220, 243, 74, 0.05), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.84rem; font-weight: 500; color: var(--muted);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 8px 16px; border-radius: var(--radius-pill);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }

.hero__title { font-size: clamp(2.2rem, 5.2vw, 3.7rem); margin-top: 22px; line-height: 1.08; }
.hl {
  color: var(--green);
  background: linear-gradient(transparent 68%, rgba(34, 197, 94, 0.22) 68%);
}
.hero__lead { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.16rem); margin-top: 20px; max-width: 56ch; }
.hero__lead strong { color: var(--text); font-weight: 600; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: clamp(18px, 3vw, 38px);
  margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--border);
  justify-content: start;
}
.stat dt { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; color: var(--text); line-height: 1; }
.stat__unit { font-size: 0.62em; color: var(--green); font-weight: 600; }
.stat dd { font-size: 0.82rem; color: var(--muted-2); margin-top: 6px; }

/* Phone mockup */
.hero__visual { display: flex; justify-content: center; }
.phone { position: relative; width: min(300px, 78vw); }
.phone__frame {
  border: 10px solid #101A15;
  outline: 1px solid var(--border-strong);
  border-radius: 40px;
  overflow: hidden;
  background: #06100B;
  box-shadow: var(--shadow), 0 0 0 6px rgba(34, 197, 94, 0.05);
}
.phone__frame img { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(17, 27, 22, 0.94);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 0.86rem; font-weight: 600;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(2, 8, 5, 0.5);
}
.chip__ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(56, 189, 248, 0.16); color: var(--sky); }
.chip__ico .ico { width: 15px; height: 15px; }
.chip__ico--ok { background: rgba(34, 197, 94, 0.16); color: var(--green); }
.chip--float { position: absolute; }
.chip--top { top: 9%; left: -14%; animation: float 5.5s var(--ease) infinite; }
.chip--bottom { bottom: 12%; right: -12%; animation: float 5.5s var(--ease) 1.6s infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card__kpi { font-family: var(--font-display); font-size: 1.9rem !important; font-weight: 700; color: var(--text) !important; line-height: 1; margin: 14px 0 10px; }

.card__ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
}
.card__ico .ico { width: 23px; height: 23px; }
.card__ico--green { background: rgba(34, 197, 94, 0.12); color: var(--green); }
.card__ico--sky { background: rgba(56, 189, 248, 0.12); color: var(--sky); }
.card__ico--amber { background: rgba(240, 180, 41, 0.12); color: var(--amber); }
.card__ico--violet { background: rgba(167, 139, 250, 0.13); color: var(--violet); }
.card__ico--lime { background: rgba(220, 243, 74, 0.12); color: var(--lime); }
.card__ico--red { background: rgba(248, 113, 113, 0.12); color: var(--red); }

/* ---------- Sistem ---------- */
.systems { display: grid; gap: clamp(40px, 6vw, 72px); }
.sys {
  display: grid; grid-template-columns: 320px 1fr; gap: clamp(26px, 4vw, 56px);
  align-items: center;
}
.sys--rev { grid-template-columns: 1fr 320px; }
.sys--rev .sys__media { order: 2; }
.sys--rev .sys__body { order: 1; }
.sys__media {
  background: linear-gradient(160deg, #F4F7F5, #DDE7E1);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  min-height: 300px;
}
.sys__media img { max-height: 340px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.sys__media--app { background: linear-gradient(160deg, #0C1310, #101A15); padding: 18px; }
.sys__media--app img { max-height: 400px; border-radius: 18px; mix-blend-mode: normal; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }

.sys__step {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  color: var(--green); letter-spacing: 0.18em;
}
.sys__body h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 10px 0 12px; }
.sys__body > p { color: var(--muted); max-width: 58ch; }

.ticks { margin-top: 18px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 0.96rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.5);
}
.ticks li::after {
  content: ""; position: absolute; left: 5px; top: 10px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.ticks em { color: var(--text); font-style: normal; font-weight: 600; }

/* ---------- Screenshots ---------- */
.shots {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.shot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 16px 0;
  overflow: hidden;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.shot:hover { transform: translateY(-6px); border-color: rgba(34, 197, 94, 0.45); }
.shot img { width: 100%; border-radius: 14px 14px 0 0; }
.shot figcaption { padding: 16px 4px 20px; }
.shot figcaption strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.shot figcaption span { display: block; color: var(--muted-2); font-size: 0.86rem; margin-top: 4px; line-height: 1.5; }

.inline-cta {
  margin-top: clamp(32px, 5vw, 48px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px;
  background: linear-gradient(120deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.03));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px clamp(20px, 4vw, 34px);
}
.inline-cta p { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }

/* ---------- Hasil uji ---------- */
.results { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; }
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
}
.panel__title { font-size: 1.06rem; margin-bottom: 20px; color: var(--text); }
.panel__note { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); color: var(--muted-2); font-size: 0.88rem; }

.params { display: grid; gap: 6px; }
.param {
  display: grid; grid-template-columns: 1.1fr 1.4fr auto; align-items: center; gap: 14px;
  padding: 13px 14px; border-radius: 14px;
  transition: background-color 0.18s var(--ease);
}
.param:hover { background: rgba(255, 255, 255, 0.035); }
.param__name { font-weight: 600; font-size: 0.95rem; }
.param__flow { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: var(--font-display); }
.val { color: var(--muted); font-size: 0.95rem; }
.val--end { color: var(--green); font-weight: 700; font-size: 1.06rem; }
.arrow { color: var(--muted-2); }
.unit { color: var(--muted-2); font-size: 0.78rem; font-family: var(--font-body); }

.delta {
  justify-self: end;
  font-size: 0.78rem; font-weight: 700; padding: 5px 11px; border-radius: var(--radius-pill);
  white-space: nowrap;
}
.delta--up { background: rgba(34, 197, 94, 0.14); color: #5BE38E; border: 1px solid rgba(34, 197, 94, 0.35); }
.delta--down { background: rgba(56, 189, 248, 0.12); color: #7DD3FC; border: 1px solid rgba(56, 189, 248, 0.3); }
.delta--flat { background: rgba(220, 243, 74, 0.1); color: var(--lime); border: 1px solid rgba(220, 243, 74, 0.28); }

.tests { display: grid; gap: 12px; }
.tests li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem; color: var(--muted);
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 13px; padding: 12px 14px;
}
.tests strong { color: var(--text); font-weight: 600; }
.check {
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: var(--green-ink);
}
.check .ico { width: 14px; height: 14px; stroke-width: 2.6; }

/* Table */
.compare { margin-top: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); }
.table-hint { display: none; color: var(--muted-2); font-size: 0.84rem; margin-bottom: 12px; }
@media (max-width: 860px) { .table-hint { display: block; } }
.table-scroll { overflow-x: auto; border-radius: 14px; }
.table-scroll:focus-visible { outline-offset: 0; }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.93rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th {
  font-family: var(--font-display); font-size: 0.86rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted-2);
  background: rgba(255, 255, 255, 0.03);
}
tbody th { font-weight: 600; color: var(--text); font-size: 0.92rem; }
tbody td { color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.hl-col { background: rgba(34, 197, 94, 0.08); }
thead .hl-col { color: var(--green); background: rgba(34, 197, 94, 0.14); }
tbody .hl-col { color: #CFEEDC; font-weight: 500; }

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 5vw, 46px); }
.badges li {
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.03);
  padding: 9px 16px; border-radius: var(--radius-pill);
}

/* ---------- Download ---------- */
.download {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(30px, 5vw, 60px);
  background: linear-gradient(150deg, #101C15, #0C1310 60%);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: clamp(24px, 3vw, 34px);
  padding: clamp(30px, 5vw, 58px);
  box-shadow: 0 30px 70px rgba(2, 8, 5, 0.5);
}
.download__glow {
  position: absolute; top: -40%; right: -20%; width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.16), transparent 65%);
  pointer-events: none;
}
.download__copy { position: relative; }
.download__copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: 10px; }
.download__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.download__meta { color: var(--muted-2); font-size: 0.88rem; }

.steps { display: grid; gap: 14px; margin-top: 32px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 0.97rem; }
.steps strong { color: var(--text); font-weight: 600; }
.steps__n {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(34, 197, 94, 0.45);
  color: var(--green); font-family: var(--font-display); font-weight: 700; font-size: 0.88rem;
}

.download__side { position: relative; display: grid; gap: 20px; align-content: start; justify-items: center; }
.qr {
  background: #FFFFFF; border-radius: 20px; padding: 16px;
  display: grid; justify-items: center; gap: 10px;
  width: 100%; max-width: 232px;
}
.qr img { width: 180px; height: 180px; }
.qr__caption { color: #334155; font-size: 0.8rem; font-weight: 600; text-align: center; }

.specs { width: 100%; display: grid; gap: 8px; }
.specs li {
  display: flex; justify-content: space-between; gap: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 11px 15px;
  font-size: 0.88rem;
}
.specs span { color: var(--muted-2); }
.specs strong { color: var(--text); font-weight: 600; text-align: right; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq details[open] { border-color: rgba(34, 197, 94, 0.4); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; min-height: 60px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255, 255, 255, 0.03); }
.faq__chev {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border-strong); color: var(--muted);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.faq details[open] .faq__chev { transform: rotate(180deg); border-color: var(--green); color: var(--green); }
.faq__body { padding: 0 22px 20px; color: var(--muted); font-size: 0.97rem; max-width: 68ch; }

/* ---------- CTA final ---------- */
.cta-final { padding-top: clamp(40px, 6vw, 70px); }
.cta-final__inner {
  text-align: center; max-width: 760px; margin-inline: auto;
  display: grid; justify-items: center; gap: 18px;
}
.cta-final__inner h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.cta-final__inner p { color: var(--muted); max-width: 56ch; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: #080D0A; padding-top: clamp(44px, 6vw, 64px); }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 36px;
  padding-bottom: 36px;
}
.footer__brand p { color: var(--muted); font-size: 0.94rem; margin-top: 14px; max-width: 40ch; }
.footer__prog { color: var(--muted-2) !important; font-size: 0.86rem !important; }
.footer__col { display: grid; gap: 4px; align-content: start; }
.footer__col h3 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 4px; }
.footer__col a { color: var(--muted); font-size: 0.95rem; padding: 6px 0; min-height: 44px; display: inline-flex; align-items: center; transition: color 0.18s var(--ease); width: fit-content; }
.footer__col a:hover { color: var(--green); }
.footer__note { color: var(--muted-2); font-size: 0.83rem; margin-top: 6px; }
.footer__bottom { border-top: 1px solid var(--border); padding: 20px 0 28px; color: var(--muted-2); font-size: 0.85rem; }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  transform: translateY(140%);
  transition: transform 0.3s var(--ease);
  pointer-events: none;
}
.sticky-cta.is-visible { transform: translateY(0); pointer-events: auto; }
.sticky-cta .btn { box-shadow: 0 14px 34px rgba(2, 8, 5, 0.7); }

/* ---------- Reveal animation (progressive enhancement) ---------- */
.has-js .reveal { opacity: 0; transform: translateY(14px); }
.has-js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .nav__actions .btn--sm { padding: 0; width: 44px; min-height: 44px; border-radius: 50%; }
  .nav__actions .btn--sm .btn__label { display: none; }
}

@media (max-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .results { grid-template-columns: 1fr; }
  .sys { grid-template-columns: 280px 1fr; }
  .sys--rev { grid-template-columns: 1fr 280px; }
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 2px;
    background: rgba(10, 16, 13, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 12px; font-size: 1.02rem; border-radius: 12px; }
  .nav__toggle { display: inline-flex; }
  .nav__actions { margin-left: auto; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .phone { width: min(250px, 64vw); }
  .chip--top { left: -6%; }
  .chip--bottom { right: -6%; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .sys, .sys--rev { grid-template-columns: 1fr; }
  .sys--rev .sys__media { order: 0; }
  .sys__media { min-height: 240px; }
  .sys__media img { max-height: 260px; }

  .download { grid-template-columns: 1fr; }
  .download__side { justify-items: start; }
  .specs { max-width: 420px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--container)); }
  .cards--3, .shots { grid-template-columns: 1fr; }
  .btn--lg { width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .param { grid-template-columns: 1fr auto; row-gap: 6px; }
  .param__flow { grid-column: 1 / -1; order: 3; }
  .delta { order: 2; }
  .nav__actions .btn--sm span, .nav__actions .btn--sm { font-size: 0.86rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  body { padding-bottom: 0; }
  body.has-sticky-cta { padding-bottom: 84px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .has-js .reveal { opacity: 1 !important; transform: none !important; }
  .chip--float { animation: none !important; }
}
