/* TATBIQ TECHNOLOGIES: Apple-inspired design system */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #5a5a5f;
  --ink-3: #68686e;
  --line: rgba(0, 0, 0, 0.1);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.25);
  --blue: #0066cc;
  --btn-bg: #0066cc;

  /* Product accents (fill) and text-safe variants */
  --hms: #0b6bcb;
  --pharvilo: #9c3b28;
  --saffq: #d98200;
  --localdawai: #0b7a63;
  --hms-t: #0a5db0;
  --pharvilo-t: #973724;
  --saffq-t: #965600;
  --localdawai-t: #086650;

  --accent: var(--blue);
  --accent-t: var(--blue);

  --radius: 28px;
  --radius-sm: 18px;
  --maxw: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-alt: #101012;
    --card: #1c1c1e;
    --ink: #f5f5f7;
    --ink-2: #a1a1a6;
    --ink-3: #86868b;
    --line: rgba(255, 255, 255, 0.14);
    --glass: rgba(22, 22, 23, 0.72);
    --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8);
    --blue: #2997ff;
    --btn-bg: #0a6fd6;
    --hms-t: #4da3ff;
    --pharvilo-t: #e58771;
    --saffq-t: #f0a52b;
    --localdawai-t: #3cc4a0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #101012;
  --card: #1c1c1e;
  --ink: #f5f5f7;
  --ink-2: #a1a1a6;
  --ink-3: #86868b;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(22, 22, 23, 0.72);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8);
  --blue: #2997ff;
  --btn-bg: #0a6fd6;
  --hms-t: #4da3ff;
  --pharvilo-t: #e58771;
  --saffq-t: #f0a52b;
  --localdawai-t: #3cc4a0;
  color-scheme: dark;
}
body[data-product] { --accent-strong: var(--accent); }
body[data-product="saffq"] { --accent-strong: #a86200; }
body[data-product="hms"] { --accent: var(--hms); --accent-t: var(--hms-t); }
body[data-product="pharvilo"] { --accent: var(--pharvilo); --accent-t: var(--pharvilo-t); }
body[data-product="saffq"] { --accent: var(--saffq); --accent-t: var(--saffq-t); }
body[data-product="localdawai"] { --accent: var(--localdawai); --accent-t: var(--localdawai-t); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.022em; line-height: 1.1; }
.container { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 56px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.brand .mark { width: 24px; height: 24px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a:not(.btn) { color: var(--ink-2); transition: color 0.2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform 0.3s, top 0.3s; }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 980px; border: 1px solid transparent;
  font: inherit; font-size: 17px; font-weight: 500; cursor: pointer;
  background: var(--btn-bg); color: #fff;
  transition: transform 0.2s, filter 0.2s, background 0.2s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.98); }
.btn-small { padding: 7px 16px; font-size: 13px; }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--btn-bg); border-color: var(--btn-bg); color: #fff; filter: none; }
body[data-product] .btn:not(.btn-ghost):not(.nav-cta) { background: var(--accent-strong); }
body[data-product] .btn-ghost:not(.nav-cta) { color: var(--accent-t); border-color: var(--accent-t); }
body[data-product] .btn-ghost:not(.nav-cta):hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.link-arrow { color: var(--blue); font-size: 19px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "\203A"; font-size: 1.3em; line-height: 1; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.center .actions { justify-content: center; }

/* ---------- Type ---------- */
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; color: var(--accent-t); margin-bottom: 14px; display: block; }
.display { font-size: clamp(44px, 8.2vw, 88px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.03; }
.h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; }
.h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; color: var(--ink-2); font-weight: 400; max-width: 44ch; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: 18px; }
.hero { padding: clamp(56px, 9vw, 110px) 0 0; text-align: center; overflow: hidden; }
.hero .display { max-width: 15ch; margin-inline: auto; }
.hero .lead { margin: 24px auto 34px; }
.hero .actions { justify-content: center; }

/* ---------- Status pill ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 980px; background: color-mix(in srgb, var(--accent-t) 12%, transparent); color: var(--accent-t); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Device frames ---------- */
.frame { border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.frame-bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.frame-bar i:nth-child(2) { background: #febc2e; }
.frame-bar i:nth-child(3) { background: #28c840; }
.frame img { width: 100%; height: auto; }
.phone { width: 100%; max-width: 250px; border-radius: 38px; padding: 8px; background: #111; box-shadow: var(--shadow), inset 0 0 0 1.5px #3a3a3c; }
.phone-screen { border-radius: 30px; overflow: hidden; background: #fff; }
.phone img { width: 100%; height: auto; }
.phone.tall .phone-screen { aspect-ratio: 9 / 19; }
.phone.tall img { height: 100%; object-fit: cover; object-position: top; }

/* Home collage */
.collage { position: relative; margin: clamp(48px, 7vw, 80px) auto 0; width: min(1000px, 100% - 32px); padding-bottom: 0; }
.collage .frame { transform: translateY(0); border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.collage .phone { position: absolute; bottom: -8%; width: 21%; min-width: 96px; max-width: 220px; padding: 5px; border-radius: 26px; }
.collage .phone .phone-screen { border-radius: 21px; }
.collage .p1 { left: -3%; }
.collage .p2 { right: -3%; }
.collage-clip { overflow: hidden; }

/* ---------- Product tiles (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 7%, var(--bg-alt));
  min-height: 560px; display: flex; flex-direction: column; text-align: center; padding: 44px 32px 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile .eyebrow { margin-bottom: 8px; }
.tile h3 { font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -0.03em; }
.tile p { color: var(--ink-2); font-size: 19px; max-width: 30ch; margin: 12px auto 18px; }
.tile .actions { justify-content: center; }
.tile .link-arrow { color: var(--accent-t); }
.tile-visual { margin-top: auto; padding-top: 32px; display: flex; justify-content: center; align-items: flex-end; gap: 14px; }
.tile-visual .frame { width: 92%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; margin-bottom: -1px; }
.tile-visual .phone { max-width: 190px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: -1px; }
.tile-dark { background: #000; color: #f5f5f7; }
.tile-dark p { color: #a1a1a6; }
.tile-dark .link-arrow { color: color-mix(in srgb, var(--accent) 55%, white); }
.tile-visual .phone-screen { max-height: 340px; }
.tile-visual .phone-screen img { object-position: top; }

/* HMS abstract module map */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; padding: 22px; background: var(--card); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; box-shadow: var(--shadow); }
.modules span { padding: 14px 8px; border-radius: 14px; font-size: 13px; font-weight: 600; text-align: center; background: color-mix(in srgb, var(--hms) 10%, transparent); color: var(--hms-t); }
.modules span:nth-child(3n+2) { background: color-mix(in srgb, var(--hms) 18%, transparent); }
.tile-visual .modules { width: 92%; }

/* ---------- Generic cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border-radius: var(--radius-sm); padding: 30px; border: 1px solid var(--line); }
.section.alt .card { border-color: transparent; }
.card h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.015em; }
.card p { color: var(--ink-2); font-size: 16px; margin: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; background: color-mix(in srgb, var(--accent-t) 12%, transparent); color: var(--accent-t); }
.card .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 16px; }
.card ul li { margin-bottom: 6px; }

/* Journey */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius-sm); padding: 28px; position: relative; display: flex; flex-direction: column; }
.step p { flex: 1; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 22px; background: var(--c, var(--blue)); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--ink-2); margin: 0 0 14px; }
.step .tag { font-size: 13px; font-weight: 600; color: var(--c-t, var(--blue)); }
.link-note { margin-top: 28px; padding: 18px 24px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--localdawai) 10%, var(--bg)); color: var(--ink); font-size: 16px; text-align: center; }
.link-note strong { color: var(--localdawai-t); }

/* Showcase (alternating rows) */
.showcase { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.showcase.flip { grid-template-columns: 1.15fr 1fr; }
.showcase.flip > :first-child { order: 2; }
.showcase + .showcase { margin-top: clamp(64px, 9vw, 120px); }
.showcase h2 { margin-bottom: 18px; }
.showcase p { color: var(--ink-2); font-size: 19px; }
.showcase .checks { margin: 20px 0 0; padding: 0; list-style: none; }
.showcase .checks li { padding-left: 30px; position: relative; margin-bottom: 10px; font-size: 17px; color: var(--ink-2); }
.showcase .checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-strong); }
.showcase .checks li::after { content: ""; position: absolute; left: 6px; top: 10px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0.9); }
.showcase .visual { display: flex; justify-content: center; gap: 18px; align-items: center; }
.phones { display: flex; gap: 18px; justify-content: center; }
.phones .phone:nth-child(2) { margin-top: 40px; }

/* Product hero */
.p-hero { padding: clamp(56px, 8vw, 96px) 0 0; text-align: center; background: linear-gradient(to bottom, color-mix(in srgb, var(--accent) 9%, var(--bg)), var(--bg) 75%); overflow: hidden; }
.p-hero .logo { height: 76px; width: auto; margin: 0 auto 24px; border-radius: 20px; box-shadow: 0 8px 28px -8px rgba(0, 0, 0, 0.3); background: #fff; padding: 6px; }
body[data-product] .link-arrow { color: var(--accent-t); }
.p-hero .display { font-size: clamp(44px, 8vw, 84px); }
.p-hero .tagline { font-size: clamp(22px, 3.2vw, 34px); font-weight: 600; letter-spacing: -0.02em; margin: 14px auto 0; max-width: 30ch; text-wrap: balance; }
.p-hero .lead { margin: 20px auto 30px; }
.p-hero .visual { margin: clamp(40px, 6vw, 72px) auto 0; width: min(980px, 100% - 32px); display: flex; justify-content: center; align-items: flex-end; gap: 22px; }
.p-hero .visual .frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.p-hero .visual .phone { border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; }
.p-hero .visual .phone-screen { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.p-hero .pill { margin-bottom: 20px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { background: var(--card); border-radius: var(--radius); padding: 36px 32px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--accent-strong); position: relative; }
.price .badge { position: absolute; top: -13px; left: 32px; background: var(--accent-strong); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 980px; }
.price h3 { font-size: 22px; margin-bottom: 6px; }
.price .amt { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin: 14px 0 2px; }
.price .amt small { font-size: 16px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.price .sub { color: var(--ink-2); font-size: 14px; margin-bottom: 20px; }
.price ul { margin: 0 0 24px; padding: 0; list-style: none; color: var(--ink-2); font-size: 15.5px; }
.price li { padding: 9px 0; border-top: 1px solid var(--line); }
.price .btn { margin-top: auto; }
.fineprint { color: var(--ink-3); font-size: 14px; margin-top: 22px; text-align: center; }

/* Facts / spec list */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.fact { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 170px 1fr; gap: 16px; }
.fact dt { font-weight: 600; }
.fact dd { margin: 0; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--ink-3); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--ink-2); }

/* CTA band */
.cta { text-align: center; padding: clamp(72px, 10vw, 130px) 0; background: var(--bg-alt); }
.cta .h2 { max-width: 18ch; margin: 0 auto 18px; }
.cta .lead { margin: 0 auto 32px; }
.cta.dark { background: #000; color: #f5f5f7; }
.cta.dark .lead { color: #a1a1a6; }

/* Form */
.form-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.form { background: var(--bg-alt); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-msg { font-size: 15px; padding: 14px 16px; border-radius: 12px; display: none; }
.form-msg.ok { display: block; background: color-mix(in srgb, var(--localdawai) 14%, transparent); color: var(--localdawai-t); }
.form-msg.err { display: block; background: color-mix(in srgb, #c0392b 14%, transparent); color: #c0392b; }
.hp { position: absolute; left: -9999px; }
.contact-list { display: grid; gap: 22px; margin-top: 30px; }
.contact-list .label { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.contact-list a { color: var(--blue); }
.contact-list p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* Prose (legal) */
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--blue); }

/* Footer */
.site-footer { background: var(--bg-alt); padding: 56px 0 28px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot-brand p { margin: 12px 0 0; max-width: 30ch; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-title { font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: 13px; color: var(--ink-3); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; } .js .reveal.d2 { transition-delay: 0.16s; } .js .reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tile { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4, .journey { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .price-grid { grid-template-columns: 1fr; }
  .grid-3.keep2 { grid-template-columns: repeat(2, 1fr); }
  .showcase, .showcase.flip { grid-template-columns: 1fr; }
  .showcase.flip > :first-child { order: 0; }
  .form-wrap { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .price-grid { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 56px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 12px 24px 28px; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 0.25s;
  }
  .nav-links.open { max-height: calc(100vh - 56px); opacity: 1; visibility: visible; overflow-y: auto; }
  .nav-links a:not(.btn) { font-size: 22px; font-weight: 600; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 20px; padding: 14px; font-size: 17px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(var(--maxw), 100% - 32px); }
  .bento { grid-template-columns: 1fr; }
  .tile { min-height: 520px; padding: 36px 20px 0; }
  .grid-2, .grid-4, .journey, .grid-3.keep2, .row { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 1fr; gap: 4px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .collage .phone { display: none; }
  .phones .phone:nth-child(2) { margin-top: 24px; }
  .phones .phone { max-width: 160px; }
  .p-hero .visual .phone { max-width: 190px; }
  .hero .actions .btn, .cta .actions .btn { width: 100%; max-width: 320px; }
}
