/* ==========================================================================
   Sukoon — landing page
   Daylight system: flat pastel blocks on a pale blue-green canvas, bold ink
   type, teal actions. The one recurring ornament is the sukūn ring: the small
   circle that means "stop here" in Arabic script.
   ========================================================================== */

@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/figtree.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Amiri';
  src: url('/assets/fonts/amiri-sukoon.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF;
}

:root {
  --canvas: #EAF4F5;
  --ink: #102B33;
  --ink-soft: #43646E;
  --teal: #07596A;
  --teal-deep: #05414E;
  --coral: #E14B60;
  --cream: #FDFBF7;

  --rose: #F7DDE4;
  --lilac: #E2DAF2;
  --mint: #D9EBDC;
  --peach: #F5DDD4;
  --sky: #D3E6F0;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --band-y: clamp(76px, 10vw, 138px);
  --radius: 28px;

  --h1: clamp(2.85rem, 8.4vw, 5.25rem);
  --h2: clamp(1.95rem, 4.6vw, 3.3rem);
  --h3: clamp(1.35rem, 2.5vw, 1.85rem);
  --lede: clamp(1.05rem, 1.5vw, 1.25rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Figtree', ui-rounded, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

/* Anchor targets clear the sticky nav */
[id] { scroll-margin-top: clamp(76px, 10vh, 104px); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream);
  padding: 12px 18px; border-radius: 0 0 12px 0; z-index: 99;
}
.skip:focus { left: 0; }

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

/* ── Shared type ──────────────────────────────────────────────────────── */

.h2 {
  font-size: var(--h2);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.04;
}

.h3 {
  font-size: var(--h3);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.lede {
  font-size: var(--lede);
  color: var(--ink-soft);
  max-width: 34em;
  line-height: 1.6;
}
.lede--tight { max-width: 30em; }

.h2 + .lede { margin-top: clamp(18px, 2.2vw, 24px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.ink-teal { color: var(--teal); }

/* The sukūn ring — page ornament and structural marker */
.ring {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  flex: none;
}
.ring--sm { width: 9px; height: 9px; border-width: 2px; }
.ring--lg { width: 40px; height: 40px; border-width: 3px; opacity: 0.5; }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--teal);
  color: #F1FAFB;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform .2s cubic-bezier(.2,.7,.2,1), background-color .2s ease;
}
.btn:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--sm { padding: 11px 20px; font-size: 0.95rem; }
.btn--lg { padding: 19px 34px; font-size: 1.08rem; }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; }

/* Apple's official badge: never recoloured or reshaped, clear space kept
   at a quarter of its height, never rendered under 40px tall. */
.badge {
  display: inline-block;
  margin: 14px 14px 14px 0;
  border-radius: 10px;
  transition: transform .2s cubic-bezier(.2,.7,.2,1);
}
.badge img { display: block; height: 56px; width: auto; }
.badge:hover { transform: translateY(-2px); }
.badge--sm { margin: 6px 0 14px; }
.badge--sm img { height: 45px; }

/* ── Nav ──────────────────────────────────────────────────────────────── */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav__brand img { border-radius: 10px; }

.nav__links {
  display: none;
  gap: clamp(18px, 2.4vw, 32px);
  margin-inline: auto;
}
.nav__links a {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current] {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* ── Band scaffold: full-bleed colour, capped content ─────────────────── */

.band, .hero {
  padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2);
}
.band { padding-block: var(--band-y); }

.band--ink   { background: var(--ink); color: var(--cream); }
.band--rose  { background: var(--rose); }
.band--lilac { background: var(--lilac); }
.band--mint  { background: var(--mint); }
.band--teal  { background: var(--teal); color: var(--cream); }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(28px, 5vw, 60px) clamp(64px, 9vw, 120px);
}

.wordmark { margin-bottom: clamp(22px, 3vw, 32px); }

.wordmark__ar {
  display: inline-block;
  font-family: 'Amiri', 'Geeza Pro', serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 7vw, 4.6rem);
  line-height: 1.35;
  color: var(--teal);
  direction: rtl;
}

.wordmark__gloss {
  max-width: 27em;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-soft);
  border-left: 2px solid rgba(7, 89, 106, 0.25);
  padding-left: 14px;
  margin-top: 4px;
}
.wordmark__gloss b { color: var(--teal); font-weight: 700; }
.wordmark__gloss em { font-style: normal; color: var(--ink); font-weight: 600; }

.hero__title {
  font-size: var(--h1);
  font-weight: 900;
  letter-spacing: -0.042em;
  line-height: 0.94;
  margin-bottom: clamp(20px, 2.6vw, 28px);
}

.hero .lede { margin-bottom: clamp(26px, 3.4vw, 36px); }

.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before {
  content: '';
  width: 7px; height: 7px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  opacity: 0.7;
}

.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 52vw, 640px);
}

/* ── Phones ───────────────────────────────────────────────────────────── */

.phone {
  margin: 0;
  padding: 7px;
  background: #0B1D24;
  border-radius: 42px;
  box-shadow: 0 34px 64px -34px rgba(11, 29, 36, 0.55);
  width: clamp(216px, 27vw, 286px);
}
.phone img { display: block; border-radius: 35px; }

.phone--front { position: relative; z-index: 2; transform: translateX(-6%); }
.phone--back {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 8%;
  width: clamp(168px, 21vw, 226px);
  transform: rotate(6deg);
  opacity: 0.97;
}

.phone--offset { margin-top: clamp(28px, 5vw, 64px); }

/* ── The loop (dark slab) ─────────────────────────────────────────────── */

.loop { text-align: center; }

.loop__line {
  font-size: clamp(2rem, 5.4vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}
.loop__em { color: #F2A7B2; }

.loop__sub {
  margin: clamp(22px, 3vw, 30px) auto 0;
  max-width: 33em;
  font-size: var(--lede);
  line-height: 1.6;
  color: rgba(253, 251, 247, 0.72);
}

/* ── Steps ────────────────────────────────────────────────────────────── */

.steps__list {
  display: grid;
  gap: clamp(56px, 8vw, 104px);
  margin-top: clamp(44px, 6vw, 72px);
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.step--alt { direction: rtl; }
.step--alt > * { direction: ltr; }

.step__n {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.step__copy p:not(.step__n) {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 32em;
}
.step__copy b { color: var(--ink); font-weight: 700; }

.step__shot { justify-self: center; }
.step .phone { width: clamp(200px, 22vw, 248px); }

/* Breathing ring illustration (step two) */
.breath {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 320px);
  aspect-ratio: 1;
}
.breath__halo,
.breath__ring,
.breath__dot { grid-area: 1 / 1; border-radius: 50%; }

.breath__halo {
  width: 92%; height: 92%;
  background: var(--sky);
  animation: breathe 8s ease-in-out infinite;
}
.breath__ring {
  width: 58%; height: 58%;
  border: 2px solid rgba(7, 89, 106, 0.4);
  box-shadow: 0 0 0 clamp(14px, 4vw, 26px) rgba(7, 89, 106, 0.06);
  animation: breathe 8s ease-in-out infinite reverse;
}
.breath__dot {
  width: 20px; height: 20px;
  border: 3px solid var(--teal);
  background: var(--canvas);
}
.breath__label {
  position: absolute;
  bottom: -6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@keyframes breathe {
  0%, 100% { transform: scale(0.86); }
  50%      { transform: scale(1.04); }
}

/* ── Pause divider ────────────────────────────────────────────────────── */

.pause {
  display: grid;
  place-items: center;
  padding-block: clamp(30px, 4vw, 48px);
  color: rgba(7, 89, 106, 0.4);
}
.pause .ring { animation: breathe 8s ease-in-out infinite; }

/* ── Feature bands ────────────────────────────────────────────────────── */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
}
.feature--flip { direction: rtl; }
.feature--flip > * { direction: ltr; }

.feature__shots {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
}
.feature__shots .phone { width: clamp(160px, 21vw, 244px); }

.checks {
  display: grid;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 32px);
}
.checks li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  color: var(--ink);
  max-width: 30em;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 12px; height: 12px;
  border: 2px solid var(--teal);
  border-radius: 50%;
}
.checks b { font-weight: 800; }

/* ── Score ────────────────────────────────────────────────────────────── */

.score__head { max-width: 44rem; }

.score__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(36px, 5vw, 56px);
}

.tile {
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
}
.tile--peach { background: var(--peach); }
.tile--sky   { background: var(--sky); }
.tile--lilac { background: var(--lilac); }
.tile--rose  { background: var(--rose); }
.tile--mint  { background: var(--mint); }

.tile__n {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.tile__t { color: var(--ink-soft); font-size: 1rem; }

/* ── Why Sukoon ───────────────────────────────────────────────────────── */

.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 292px), 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(36px, 5vw, 56px);
}
.why .tile__n {
  font-size: clamp(1.16rem, 1.9vw, 1.42rem);
  line-height: 1.18;
  margin-bottom: 12px;
}

/* ── A day with Sukoon ────────────────────────────────────────────────── */

.day__list {
  position: relative;
  display: grid;
  gap: clamp(30px, 3.6vw, 44px);
  margin-top: clamp(40px, 5.5vw, 64px);
}
.day__list::before {
  content: '';
  position: absolute;
  left: 3.5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(7, 89, 106, 0.16);
}

.day__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(24px, 4vw, 56px);
  padding-left: clamp(34px, 4vw, 46px);
}

.day__time {
  position: relative;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.day__time .ring {
  position: absolute;
  left: clamp(-46px, -4vw, -34px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--canvas);
  color: var(--teal);
}

.day__body p {
  margin-top: 14px;
  color: var(--ink-soft);
  max-width: 34em;
}
.day__body b { color: var(--ink); font-weight: 700; }

.day__shot {
  display: grid;
  justify-items: center;
  align-items: start;
  width: clamp(178px, 20vw, 226px);
  aspect-ratio: 3 / 4;
  padding: clamp(16px, 2.2vw, 26px);
  border-radius: 30px;
  overflow: hidden;
}
.day__shot .phone { width: clamp(120px, 13vw, 156px); }
.day__shot--peach { background: var(--peach); }
.day__shot--sky   { background: var(--sky); }
.day__shot--lilac { background: var(--lilac); }
.day__shot--rose  { background: var(--rose); }
.day__shot--mint  { background: var(--mint); }

.breath--sm { width: min(100%, 148px); align-self: center; }
.breath--sm .breath__halo { background: rgba(255, 255, 255, 0.55); }
.breath--sm .breath__ring { box-shadow: 0 0 0 12px rgba(7, 89, 106, 0.05); }

/* ── Card grid ────────────────────────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 292px), 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(36px, 5vw, 56px);
}

.card {
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
}
.card--mint  { background: var(--mint); }
.card--peach { background: var(--peach); }
.card--sky   { background: var(--sky); }
.card--rose  { background: var(--rose); }
.card--lilac { background: var(--lilac); }

.card__t {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.card p { color: var(--ink-soft); }

.card--dark {
  grid-column: 1 / -1;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding-bottom: 0;
}
.card--dark .card__body { padding-bottom: clamp(24px, 3vw, 32px); }
.card--dark .card__t { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.card--dark p { color: rgba(253, 251, 247, 0.66); max-width: 34em; }
.card--dark img {
  display: block;
  width: min(100%, 232px);
  align-self: end;
  justify-self: end;
  margin-bottom: -14%;
  border-radius: 26px 26px 0 0;
}

/* ── Privacy ──────────────────────────────────────────────────────────── */

.privacy { text-align: center; display: grid; justify-items: center; }
.privacy .eyebrow { justify-content: center; }
.privacy .lede { color: #2C5259; max-width: 40em; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq__list {
  margin-top: clamp(32px, 4vw, 48px);
  max-width: 46rem;
  border-top: 1px solid rgba(16, 43, 51, 0.14);
}

.qa { border-bottom: 1px solid rgba(16, 43, 51, 0.14); }

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: '';
  width: 13px; height: 13px;
  flex: none;
  border-right: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .25s ease;
}
.qa[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }

.qa p {
  padding: 0 0 24px;
  max-width: 40em;
  color: var(--ink-soft);
}

/* ── Close ────────────────────────────────────────────────────────────── */

.close { text-align: center; display: grid; justify-items: center; }
.close .ring--lg { margin-bottom: clamp(24px, 3vw, 34px); }
.close__t { margin-bottom: clamp(28px, 3.4vw, 38px); }
.close__note {
  margin-top: 18px;
  font-size: 0.93rem;
  font-weight: 600;
  color: rgba(253, 251, 247, 0.66);
}

/* ── Document pages (privacy, support) ───────────────────────────────── */

.doc {
  padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(56px, 8vw, 96px);
  max-width: calc(50rem + var(--gutter) * 2);
  margin-inline: auto;
}

.doc__title {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 14px;
}

.doc__meta {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: clamp(28px, 4vw, 40px);
}

.doc__card {
  background: var(--mint);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.doc__card--sky { background: var(--sky); }
.doc__card p + p { margin-top: 12px; }
.doc__card .doc__h { margin-top: 0; }

.doc__body { font-size: 1.05rem; }
.doc__body h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.2;
  margin: clamp(38px, 4.5vw, 54px) 0 14px;
}
.doc__body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 28px 0 10px;
}
.doc__body p { color: var(--ink-soft); line-height: 1.72; }
.doc__body p + p { margin-top: 14px; }
.doc__body ul + p { margin-top: 18px; }
.doc__body b, .doc__body strong { color: var(--ink); font-weight: 700; }

.doc__body ul { display: grid; gap: 11px; margin: 16px 0 0; }
.doc__body ul li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  line-height: 1.62;
}
.doc__body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 10px; height: 10px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  opacity: 0.75;
}

.doc__body a { color: var(--teal); font-weight: 600; text-underline-offset: 3px; }

.doc__h {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.mailto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 2px solid rgba(7, 89, 106, 0.28);
  padding-bottom: 2px;
}
.mailto:hover { border-bottom-color: var(--teal); }

/* ── Footer ───────────────────────────────────────────────────────────── */

.foot {
  padding: clamp(44px, 6vw, 72px) var(--gutter) calc(clamp(32px, 4vw, 48px) + env(safe-area-inset-bottom));
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
}

.foot__cols {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(28px, 3.5vw, 40px);
  border-bottom: 1px solid rgba(16, 43, 51, 0.12);
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.foot__brand img { border-radius: 9px; }

.foot__h {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.foot__links { display: grid; gap: 9px; }
.foot__links a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.foot__links a:hover { color: var(--teal); }

.foot__tag { font-size: 0.92rem; color: var(--ink-soft); max-width: 26em; }
.foot__tag b { color: var(--ink); font-weight: 700; }

.foot__legal {
  padding-top: clamp(20px, 2.5vw, 28px);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ── Mobile dock ──────────────────────────────────────────────────────── */

.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(234, 244, 245, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid rgba(16, 43, 51, 0.08);
}
.dock .btn { width: 100%; }
.dock[hidden] { display: none; }

/* ── Scroll reveal (progressive enhancement) ──────────────────────────── */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1);
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(234, 244, 245, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    max-width: none;
    padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2);
  }
}

@media (max-width: 899px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 8px clamp(48px, 9vw, 72px);
  }
  .hero__stage {
    min-height: 0;
    margin-top: clamp(30px, 6vw, 48px);
    display: grid;
    place-items: center;
  }
  .phone { width: min(58vw, 272px); }
  .phone--front { transform: translateX(-11%); }
  .phone--back {
    right: 4%;
    top: 9%;
    width: min(34vw, 168px);
    transform: rotate(4deg);
  }

  .step,
  .feature,
  .feature--flip,
  .step--alt { grid-template-columns: minmax(0, 1fr); direction: ltr; }

  .day__row { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .day__shot {
    justify-self: start;
    width: min(52vw, 210px);
    padding: 18px;
  }
  .day__shot .phone { width: min(34vw, 140px); }

  .foot__cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .card--dark {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 4px;
  }
  .card--dark img { justify-self: center; margin-bottom: -18%; }

  .step__shot { margin-top: 8px; }
  .feature__shots { justify-content: flex-start; }
  .feature__shots .phone { width: min(42vw, 200px); }

  .dock:not([hidden]) { display: block; }
  body { padding-bottom: 0; }
}

@media (max-width: 560px) {
  .band { padding-block: clamp(60px, 13vw, 90px); }
  .hero__title { line-height: 0.98; }
  .step__shot.breath { width: min(72vw, 280px); }
  .breath--sm { width: min(40vw, 132px); }

  .badge img { height: 48px; }
  .badge--sm img { height: 42px; }

  /* One phone, full size — the second one only ever read as a sliver here. */
  .phone--back { display: none; }
  .phone--front { transform: none; }
  .phone { width: min(74vw, 320px); }

  .card--dark img { width: 84%; }
}

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