/* Helana website — shared styles for every page.
   Language: <html data-lang="ku|en">; elements marked .ku / .en are shown
   only in their language (see /assets/site.js). */

@font-face {
  font-family: "Rudaw";
  src: url("/assets/fonts/rudaw-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Rudaw";
  src: url("/assets/fonts/rudaw-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --teal: #00485A;
  --teal-deep: #002b36;
  --teal-2: #0b6275;
  --teal-soft: rgba(0, 72, 90, .08);
  --gold: #C9962E;
  --gold-2: #E3B75A;
  --bg: #f7f4ee;
  --bg-2: #efe9dd;
  --card: #ffffff;
  --text: #13262b;
  --muted: #5b6a6e;
  --line: #e6e0d4;
  --shadow: 0 1px 2px rgba(0, 43, 54, .06), 0 12px 32px -12px rgba(0, 43, 54, .18);
  --shadow-lg: 0 30px 80px -24px rgba(0, 43, 54, .45);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1619;
    --bg-2: #0f2126;
    --card: #12262b;
    --text: #e8efef;
    --muted: #9fb1b4;
    --line: #1f363c;
    --teal-2: #5fb3c4;
    --teal-soft: rgba(95, 179, 196, .10);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Rudaw", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-2); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.35; margin: 0; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.ltr { direction: ltr; text-align: left; }
.rtl { direction: rtl; text-align: right; }
.muted { color: var(--muted); }

/* ── Language switching ── */
html[data-lang="ku"] .en,
html[data-lang="en"] .ku { display: none !important; }

/* ── Navigation ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.solid {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); font-weight: 700; font-size: 20px;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--teal-soft); }
.lang-btn {
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.lang-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.lang-btn svg { width: 16px; height: 16px; }
/* Hero pages: the nav sits on the dark gradient until scrolled. */
.on-dark .nav:not(.scrolled) .brand,
.on-dark .nav:not(.scrolled) .nav-links a { color: #fff; }
.on-dark .nav:not(.scrolled) .nav-links a:hover { background: rgba(255,255,255,.12); }
.on-dark .nav:not(.scrolled) .lang-btn {
  background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.22);
}
.on-dark .nav { position: fixed; left: 0; right: 0; }

/* ── Buttons ── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 16px; border: 0;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  background: var(--teal); color: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 72, 90, .6); }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1d1606; }
.btn.ghost { background: transparent; color: var(--teal-2); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor, 0 10px 24px -14px rgba(0,72,90,.5); }
.btn svg { width: 22px; height: 22px; flex: none; }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 18px; border-radius: 16px; text-decoration: none;
  background: #0b0f10; color: #fff; border: 1px solid rgba(255,255,255,.14);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  direction: ltr;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0,0,0,.7); }
.store-btn svg { width: 26px; height: 26px; }
.store-btn small { display: block; font-size: 11px; opacity: .75; line-height: 1.2; }
.store-btn strong { display: block; font-size: 18px; line-height: 1.2; }
.store-btn.soon { opacity: .55; pointer-events: none; }

/* ── Hero ── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; padding: 132px 0 96px;
  background:
    radial-gradient(1200px 600px at 85% -10%, #0e7188 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, #3a2e0e 0%, transparent 55%),
    linear-gradient(160deg, #00576b 0%, var(--teal) 40%, var(--teal-deep) 100%);
}
.hero::before { /* subtle grid */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.blob {
  position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob.b1 { width: 420px; height: 420px; background: var(--gold); top: -120px; inset-inline-start: -120px; opacity: .28; }
.blob.b2 { width: 360px; height: 360px; background: #21a3bd; bottom: -140px; inset-inline-end: 10%; animation-delay: -6s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.15); }
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px; font-size: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.eyebrow .dot {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: #1d1606; font-size: 12px;
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 64px); line-height: 1.2; margin: 22px 0 18px; letter-spacing: -.5px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--gold-2), #f7dc9c, var(--gold-2));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.82); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: rgba(255,255,255,.78); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 18px; height: 18px; color: var(--gold-2); }

/* Phone mockups */
.phones { position: relative; height: 600px; }
.phone {
  position: absolute; width: 270px; aspect-ratio: 9 / 19.5;
  border-radius: 44px; padding: 10px; background: #0b1215;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08);
}
.phone::before { /* dynamic island */
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; border-radius: 20px; background: #0b1215; z-index: 2;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 35px; }
.phone.front { inset-inline-end: 40px; top: 10px; z-index: 2; animation: float 7s ease-in-out infinite; }
.phone.back {
  inset-inline-end: 250px; top: 70px; transform: rotate(-7deg) scale(.9); opacity: .92;
  animation: float-back 8s ease-in-out infinite;
}
html[dir="ltr"] .phone.back { transform: rotate(7deg) scale(.9); animation-name: float-back-ltr; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes float-back { 0%,100% { transform: rotate(-7deg) scale(.9); } 50% { transform: rotate(-5deg) scale(.9) translateY(10px); } }
@keyframes float-back-ltr { 0%,100% { transform: rotate(7deg) scale(.9); } 50% { transform: rotate(5deg) scale(.9) translateY(10px); } }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 16px; font-size: 14px; font-weight: 700;
  background: rgba(255,255,255,.92); color: var(--teal-deep);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.5);
  animation: float 6s ease-in-out infinite;
}
.chip .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--teal); color: #fff; }
.chip .ic svg { width: 18px; height: 18px; }
.chip.c1 { top: 110px; inset-inline-end: 0; animation-delay: -2s; }
.chip.c2 { bottom: 70px; inset-inline-end: 230px; animation-delay: -4s; }
.chip.c2 .ic { background: var(--gold); color: #1d1606; }

/* ── Cities marquee ── */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--card); direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 48px; width: max-content; padding: 18px 0; animation: scroll 40s linear infinite; direction: ltr; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; color: var(--muted); white-space: nowrap; }
.marquee-track span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ── Sections ── */
.section { padding: 110px 0; }
.section.alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.kicker {
  display: inline-block; font-size: 14px; font-weight: 700; color: var(--gold);
  padding: 4px 14px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 12%, transparent);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.3px; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }

/* Feature bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--teal-2) 40%, var(--line)); }
.feature::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  inset-inline-end: -60px; top: -60px; background: var(--teal-soft); transition: transform .5s var(--ease);
}
.feature:hover::after { transform: scale(1.4); }
.feature .ic {
  position: relative; z-index: 1;
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-2), var(--teal)); color: #fff; margin-bottom: 20px;
  box-shadow: 0 10px 22px -10px rgba(0,72,90,.7);
}
.feature .ic.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1d1606; box-shadow: 0 10px 22px -10px rgba(201,150,46,.8); }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; position: relative; }
.feature p { color: var(--muted); position: relative; }
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 220px; gap: 24px; align-items: center; }
.feature.wide.no-img { display: block; }
.feature.wide .mini-phone { border-radius: 26px; padding: 6px; background: #0b1215; box-shadow: var(--shadow); transform: rotate(-4deg); transition: transform .5s var(--ease); }
.feature.wide:hover .mini-phone { transform: rotate(0) scale(1.03); }
.feature.wide .mini-phone img { border-radius: 21px; aspect-ratio: 9 / 13; object-fit: cover; object-position: top; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { text-align: center; padding: 8px 12px; }
.step .num {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px; font-weight: 700;
  background: var(--card); color: var(--teal-2); border: 2px solid var(--line);
  box-shadow: var(--shadow); position: relative; z-index: 1;
}
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--muted); }
.steps::before {
  content: ""; position: absolute; top: 40px; left: 16%; right: 16%;
  border-top: 2px dashed var(--line);
}

/* Split showcase */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .phone { position: relative; margin: 0 auto; width: 290px; inset: auto; animation: float 8s ease-in-out infinite; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.checks li svg { flex: none; width: 26px; height: 26px; color: var(--teal-2); margin-top: 2px; }
.split h2 { font-size: clamp(28px, 4vw, 42px); }
.split .lead { color: var(--muted); font-size: 18px; margin-top: 14px; }

/* CTA band */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 32px; padding: 64px 48px; color: #fff; text-align: center;
  background: linear-gradient(135deg, #00576b, var(--teal-deep));
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: conic-gradient(from 0deg, transparent, rgba(227,183,90,.35), transparent 40%);
  animation: spin 14s linear infinite;
}
.cta::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 30px; background: linear-gradient(135deg, #00576b, var(--teal-deep)); }
@keyframes spin { to { transform: rotate(360deg); } }
.cta h2 { font-size: clamp(28px, 4vw, 42px); }
.cta p { color: rgba(255,255,255,.8); font-size: 18px; margin: 12px auto 30px; max-width: 560px; }
.cta .hero-cta { justify-content: center; margin-top: 0; }

/* Contact cards */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.contact a {
  display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-2); flex: none; }
.contact .ic svg { width: 22px; height: 22px; }
.contact small { display: block; color: var(--muted); font-size: 13px; }
.contact strong { display: block; direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .contact strong { text-align: right; }

/* ── Footer ── */
footer.site { padding: 56px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.copy { margin-top: 24px; font-size: 14px; }

/* ── Document pages (privacy, terms, delete account) ── */
.doc-hero {
  padding: 120px 0 56px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #00576b 0%, var(--teal) 45%, var(--teal-deep) 100%);
}
.doc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 0%, #000 10%, transparent 70%);
}
.doc-hero h1 { font-size: clamp(30px, 4.6vw, 48px); }
.doc-hero p { color: rgba(255,255,255,.78); margin-top: 8px; }
.doc {
  max-width: 820px; margin: -32px auto 80px; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px;
  padding: 44px clamp(20px, 5vw, 56px); box-shadow: var(--shadow);
}
.doc article > h1:first-child { display: none; } /* shown in the hero instead */
.doc h2 { color: var(--teal-2); font-size: 22px; margin: 34px 0 10px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 18px; margin: 22px 0 6px; }
.doc p, .doc ul, .doc ol { margin: 0 0 14px; }
.doc li { margin-bottom: 6px; }
.doc .card {
  background: var(--teal-soft); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 22px; margin: 0 0 18px;
}
.doc .divider { display: none; }
table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 15px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
th, td { padding: 10px 12px; vertical-align: top; text-align: start; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { background: var(--teal-soft); }
.table-scroll { overflow-x: auto; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; overflow-wrap: anywhere; }

/* Listing / 404 centered pages */
.center-page {
  min-height: 100vh; display: grid; place-items: center; text-align: center;
  padding: 110px 20px 60px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #00576b 0%, var(--teal) 45%, var(--teal-deep) 100%);
}
.center-card {
  max-width: 560px; width: 100%; padding: 44px 32px; border-radius: 30px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}
.center-card .app-icon { width: 88px; height: 88px; border-radius: 24px; margin: 0 auto 22px; box-shadow: 0 16px 40px -14px rgba(0,0,0,.6); }
.center-card h1 { font-size: clamp(26px, 5vw, 36px); margin-bottom: 10px; }
.center-card p { color: rgba(255,255,255,.8); }
.center-card .actions { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-top: 28px; }
.center-card .ref { font-size: 13px; opacity: .6; margin-top: 18px; direction: ltr; }
.big-num { font-size: clamp(90px, 18vw, 160px); line-height: 1; font-weight: 700; background: linear-gradient(180deg, #fff, rgba(255,255,255,.2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.hero .intro > * { animation: rise .9s var(--ease) both; }
.hero .intro > :nth-child(2) { animation-delay: .08s; }
.hero .intro > :nth-child(3) { animation-delay: .16s; }
.hero .intro > :nth-child(4) { animation-delay: .24s; }
.hero .intro > :nth-child(5) { animation-delay: .32s; }
.phones { animation: rise 1.1s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero { padding: 116px 0 64px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero .intro { text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero-cta, .trust { justify-content: center; }
  .phones { height: 520px; max-width: 460px; margin: 16px auto 0; width: 100%; }
  .phone { width: 230px; }
  .phone.front { inset-inline-end: 50%; margin-inline-end: -170px; }
  .phone.back { inset-inline-end: 50%; margin-inline-end: -20px; top: 60px; }
  .chip.c1 { inset-inline-end: 4px; }
  .chip.c2 { inset-inline-end: auto; inset-inline-start: 4px; bottom: 40px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .feature.wide { grid-column: span 2; }
  .split .phone { order: 2; }
  .nav-links { display: none; }
  .lang-btn { margin-inline-start: auto; }
}
@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .bento, .steps, .contact { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; grid-template-columns: 1fr; }
  .feature.wide .mini-phone { max-width: 200px; margin: 0 auto; }
  .steps::before { display: none; }
  .phones { height: 440px; }
  .phone { width: 196px; border-radius: 36px; padding: 8px; }
  .phone img { border-radius: 29px; }
  .phone.front { margin-inline-end: -150px; }
  .phone.back { margin-inline-end: -30px; }
  .chip { font-size: 12px; padding: 8px 12px; }
  .chip .ic { width: 26px; height: 26px; }
  .cta { padding: 48px 22px; border-radius: 26px; }
  .doc { border-radius: 22px; margin-top: -24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.nav-links a[aria-current="page"] { color: var(--text); background: var(--teal-soft); }
.on-dark .nav:not(.scrolled) .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.14); }
