/* ============ Tokens ============ */
:root {
  --paper: #f4f0ea;
  --paper-2: #ebe5dc;
  --stone: #ddd5c8;
  --ink: #1d1915;
  --ink-2: #2a2520;
  --text: #2b2621;
  --muted: #6b6158;
  --line: #d9d0c3;
  --rust: #a4501c;
  --rust-deep: #8a4216;
  --rust-soft: #f1e2d4;
  --cream: #f7efe4;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 48px -28px rgba(74, 44, 20, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --z-nav: 20; --z-fab: 30; --z-grain: 40;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.ar { font-family: var(--arabic); }
/* Arabic lines that sit under an English heading line up with it */
.hero__ar, .sec-head__ar, .row__ar, .plan__ar, .start__ar, .sec-head .muted.ar, .steps__list p { text-align: left; }
.sec-head--center .sec-head__ar, .sec-head--center .muted.ar { text-align: center; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: var(--z-grain); opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 0 0.1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Type helpers ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .35em;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--rust);
}
.eyebrow .ar { letter-spacing: 0; text-transform: none; font-weight: 600; }
.eyebrow--light { color: #f4c9a6; }
.muted { color: var(--muted); }

.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head h2 { margin-top: 14px; font-family: var(--serif); font-size: clamp(42px, 5.4vw, 72px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.sec-head__ar { margin-top: 10px; font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); color: var(--rust); }
.sec-head .muted { margin-top: 18px; font-size: 17px; max-width: 56ch; }
.sec-head .muted.ar { margin-top: 6px; }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head--center .muted { margin-inline: auto; }

/* ============ Buttons ============ */
.btn {
  display: inline-block; text-align: center; text-decoration: none; cursor: pointer;
  font: 500 15px/1.2 var(--sans); padding: 15px 26px; border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .ar { white-space: nowrap; font-weight: 600; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 28px; font-size: 16px; }
.btn--block { display: block; width: 100%; }
.btn--rust { background: var(--rust); color: #fff; box-shadow: 0 14px 30px -14px rgba(164, 80, 28, .7); }
.btn--rust:hover { background: var(--rust-deep); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #000; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--cream); }

.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow span { display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ============ Nav ============ */
.nav { position: sticky; top: 0; z-index: var(--z-nav); padding-top: 12px; }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 64px; padding: 0 10px 0 18px; border-radius: 999px;
  background: rgba(244, 240, 234, .72);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.is-scrolled .nav__inner { border-color: rgba(29,25,21,.08); background: rgba(244,240,234,.86); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 12px 30px -20px rgba(74,44,20,.3); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 22px; height: auto; }
.brand__name { font-family: var(--serif); font-size: 22px; line-height: 1; white-space: nowrap; letter-spacing: -.01em; }
.brand__name em { font-style: italic; color: var(--rust); }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  text-decoration: none; font-size: 14px; color: var(--text); padding: 8px 14px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav__links a .ar { color: var(--muted); margin-left: 4px; font-size: 13px; }
.nav__links a:hover, .nav__links a.is-active { background: rgba(29,25,21,.06); }
.nav__links a.is-active { color: var(--ink); }

/* ============ Hero ============ */
.hero { padding: 64px 0 96px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 {
  margin-top: 22px; font-family: var(--serif); color: var(--ink);
  font-size: clamp(54px, 8.2vw, 124px); line-height: .92; letter-spacing: -.035em;
}
.hero h1 i { color: var(--rust); }
.hero__ar { margin-top: 20px; font-weight: 700; color: var(--ink); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.35; }
.lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 48ch; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }
.hero__facts { margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid var(--line); }
.hero__facts div { padding: 18px 36px 0 0; }
.hero__facts div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.hero__facts dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero__facts dd { margin: 4px 0 0; font-size: 22px; font-weight: 500; color: var(--ink); }
.hero__facts dd .ar { font-size: 18px; font-weight: 600; }

.hero__art { margin: 0; position: relative; justify-self: center; width: min(440px, 100%); }
.niche {
  position: relative; aspect-ratio: 4 / 5.3; border-radius: 999px 999px var(--r-lg) var(--r-lg);
  background:
    radial-gradient(120% 80% at 50% 0%, #e9e1d5 0%, #d9cfc0 70%, #cfc3b2 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.55), inset 0 -40px 80px -40px rgba(74,44,20,.25), var(--shadow);
  overflow: hidden; display: grid; place-items: end center;
}
.niche::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 9%;
  background: linear-gradient(#cdbfac, #bfae98); border-radius: 6px 6px 0 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.niche img { position: relative; z-index: 1; width: 66%; margin-bottom: 7%; filter: drop-shadow(0 18px 18px rgba(60, 35, 15, .18)); }
.hero__art figcaption { text-align: center; margin-top: 22px; line-height: 1; }
.wordmark { display: block; font-family: var(--serif); font-size: 46px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.wordmark-sub { display: block; margin-top: 8px; font-size: 13px; letter-spacing: .42em; text-transform: uppercase; color: var(--rust); }

/* ============ Strip ============ */
.strip { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper-2); padding: 18px 0; }
.strip__track { display: flex; width: max-content; gap: 40px; animation: marquee 32s linear infinite; }
.strip__track span { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.strip__track span.ar { font-family: var(--arabic); font-size: 24px; font-weight: 600; color: var(--rust); }
.strip__track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--stone); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Inside (zig-zag) ============ */
.inside { padding: 128px 0 112px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.row--flip .row__text { order: 2; }
.row__num { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--rust); }
.row h3 { margin-top: 10px; font-family: var(--serif); font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; color: var(--ink); letter-spacing: -.01em; }
.row__ar { margin-top: 8px; font-weight: 700; font-size: 21px; color: var(--rust); }
.row__text > p:last-child { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 44ch; }

.row__visual { display: flex; justify-content: center; }
.mock {
  width: min(420px, 100%); background: var(--cream); border-radius: var(--r-lg); padding: 26px 26px 22px;
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.7);
  transform: rotate(-1.2deg);
}
.row--flip .mock { transform: rotate(1.2deg); }
.mock__title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.mock__title .ar { letter-spacing: 0; }
.mock--meals ul { list-style: none; margin: 0; padding: 0; }
.mock--meals li { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--line); }
.mock--meals li:first-child { border-top: 0; }
.mock--meals .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--rust); opacity: .85; }
.mock--meals li:nth-child(even) .dot { background: var(--stone); }
.mock--meals b { font-weight: 500; color: var(--ink); }
.mock--meals .ar { color: var(--muted); font-size: 14px; }
.lift { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 13px 14px; background: #fff; border-radius: var(--r-sm); margin-top: 8px; }
.lift span { font-weight: 500; color: var(--ink); font-size: 15px; }
.lift em { display: block; font-style: normal; font-weight: 600; color: var(--rust); font-size: 13px; }
.lift b { font-weight: 500; color: var(--muted); font-size: 14px; }
.lift i { font-style: normal; font-size: 12px; background: var(--rust-soft); color: var(--rust-deep); padding: 5px 9px; border-radius: 6px; white-space: nowrap; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; height: 150px; align-items: end; }
.bars span { height: calc(var(--h) * 100%); border-radius: 8px 8px 3px 3px; background: linear-gradient(var(--rust), #c77a45); opacity: .9; }
.bars span:nth-child(7) { background: var(--stone); }
.bars__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 10px; text-align: center; font-size: 12px; color: var(--muted); }

/* ============ Sample week ============ */
.week { padding: 112px 0; background: var(--paper-2); }
.week__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.week .sec-head { margin-bottom: 0; position: sticky; top: 120px; }
.tabs { background: var(--cream); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--shadow); }
.tabs__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--paper-2); border-radius: var(--r-md); padding: 6px; }
.tabs__list button {
  font: 500 14px/1.3 var(--sans); color: var(--muted); background: transparent; border: 0; cursor: pointer;
  padding: 12px 8px; border-radius: 12px; transition: background .25s, color .25s, box-shadow .25s;
}
.tabs__list button .ar { display: block; font-size: 13px; font-weight: 600; }
.tabs__list button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(74,44,20,.4); }
.tabs__list button[aria-selected="true"] .ar { color: var(--rust); }
.tabs__panel { padding: 12px 18px 8px; animation: fadeUp .4s var(--ease); }
.ex { list-style: none; margin: 0; padding: 0; counter-reset: ex; }
.ex li { counter-increment: ex; display: grid; grid-template-columns: 34px 1fr auto; grid-template-areas: "n name reps" "n ar reps"; column-gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); align-items: center; }
.ex li:first-child { border-top: 0; }
.ex li::before { content: counter(ex, decimal-leading-zero); grid-area: n; font-family: var(--serif); font-style: italic; color: var(--rust); font-size: 20px; }
.ex span { grid-area: name; font-weight: 500; color: var(--ink); font-size: 17px; }
.ex em { grid-area: ar; font-style: normal; color: var(--muted); font-size: 15px; }
.ex b { grid-area: reps; font-weight: 500; font-size: 15px; color: var(--ink); background: var(--paper-2); padding: 6px 12px; border-radius: 999px; }

/* ============ Plans ============ */
.plans { padding: 128px 0 112px; }
.plans__grid { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--r-lg);
  background: var(--cream); border: 1px solid rgba(255,255,255,.75); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { transform: translateY(-4px); }
.plan__head { min-height: 132px; }
.plan__tag { display: inline-flex; align-items: center; gap: .3em; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); height: 26px; }
.plan__tag .ar { letter-spacing: 0; font-weight: 600; }
.plan__tag--save { background: var(--rust-soft); color: var(--rust-deep); padding: 0 10px; border-radius: 6px; }
.plan h3 { margin-top: 14px; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--ink); }
.plan__ar { margin-top: 8px; font-weight: 700; font-size: 18px; color: var(--rust); }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; }
.price__num { font-size: 68px; font-weight: 500; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.price__cur { font-size: 20px; font-weight: 700; color: var(--ink); }
.price__old { font-size: 22px; color: var(--muted); text-decoration-color: var(--rust); text-decoration-thickness: 2px; }
.price__note { margin-top: 8px; font-size: 14px; color: var(--muted); min-height: 22px; }
.incl { list-style: none; margin: 26px 0 30px; padding: 0; flex: 1; }
.incl li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink); }
.incl li .ar { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.incl li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; border-radius: 6px;
  background: var(--rust-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23a4501c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.incl li.off { color: var(--muted); }
.incl li.off::before { background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 9h6' stroke='%239a8f84' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; }

.plan--featured { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 0 40px 70px -36px rgba(29,25,21,.7); position: relative; }
.plan--featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(90% 50% at 50% 0%, rgba(196,110,52,.28), transparent 70%); }
.plan--featured > * { position: relative; }
.plan--featured .plan__tag { color: #f0b98c; }
.plan--featured h3, .plan--featured .price__num, .plan--featured .price__cur, .plan--featured .incl li { color: #fbf4ea; }
.plan--featured .plan__ar { color: #f0b98c; }
.plan--featured .price__note, .plan--featured .incl li .ar { color: #b9ada0; }
.plan--featured .incl li { border-top-color: rgba(255,255,255,.1); }
.plan--featured .incl li::before { background-color: rgba(240,185,140,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23f0b98c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan--featured .btn--rust { background: #c4672a; }
.plan--featured .btn--rust:hover { background: #d4763a; }

/* ============ Steps ============ */
.steps { padding: 40px 0 120px; }
.steps .sec-head { margin-bottom: 40px; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps__list li { padding: 30px 32px 0 0; }
.steps__list li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--cream); font-weight: 500; }
.steps__list h3 { margin-top: 20px; font-family: var(--serif); font-size: 32px; color: var(--ink); line-height: 1.05; }
.steps__list p { margin-top: 8px; color: var(--muted); font-size: 17px; font-weight: 500; }

/* ============ Start / form ============ */
.start { padding: 0 0 120px; }
.start__panel {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start;
  padding: 64px; border-radius: 36px; color: #fbeee2; position: relative; overflow: hidden;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(255,190,140,.22), transparent 60%),
    radial-gradient(60% 70% at 100% 100%, rgba(60,20,0,.35), transparent 60%),
    var(--rust);
  box-shadow: 0 50px 80px -50px rgba(120, 50, 10, .8);
}
.start h2 { margin-top: 16px; font-family: var(--serif); font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -.02em; color: #fff; }
.start__ar { margin-top: 12px; font-weight: 700; font-size: 26px; color: #fff; }
.start__copy > p:not(.eyebrow):not(.start__ar) { margin-top: 18px; font-size: 17px; color: rgba(255,240,226,.85); max-width: 38ch; }
.start__wa {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 500;
  transition: background .25s;
}
.start__wa:hover { background: rgba(255,255,255,.2); }

.form {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  background: var(--cream); color: var(--text); border-radius: var(--r-lg); padding: 28px;
  box-shadow: 0 30px 60px -30px rgba(40, 15, 0, .6);
}
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 7px; padding: 0; }
.field label .ar, .field legend .ar { color: var(--muted); margin-left: 4px; }
.field input, .field select {
  width: 100%; font: 16px var(--sans); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d1915' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center/12px no-repeat; }
.field input:focus, .field select:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 4px rgba(164,80,28,.15); }
.field__err { display: none; margin-top: 6px; font-size: 13px; color: #a12b12; }
.field.is-invalid input { border-color: #b8391a; background: #fff7f3; }
.field.is-invalid .field__err { display: block; }

.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg legend { grid-column: 1 / -1; float: left; width: 100%; }
.seg label { margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label > span {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 8px 10px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; font-weight: 500; color: var(--ink);
  transition: border-color .2s, background .2s, color .2s;
}
.seg label > span .ar { color: var(--muted); margin: 0; font-size: 14px; }
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.seg input:checked + span .ar { color: #e8c3a2; }
.seg input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 2px; }
.form .btn { margin-top: 6px; }

/* ============ FAQ ============ */
.faq { padding: 0 0 128px; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq .sec-head { margin-bottom: 0; }
.faq__list { margin: 0; }
.faq__list > div { padding: 26px 0; border-top: 1px solid var(--line); }
.faq__list > div:last-child { border-bottom: 1px solid var(--line); }
.faq__list dt { font-weight: 700; font-size: 20px; color: var(--ink); text-align: right; }
.faq__list dd { margin: 8px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; text-align: right; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { text-decoration: none; font-weight: 500; color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.footer__links a:hover { color: var(--rust); border-color: currentColor; }
.footer__copy { font-size: 14px; color: var(--muted); }

/* ============ Mobile CTA ============ */
.fab {
  position: fixed; z-index: var(--z-fab); left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 17px;
  background: var(--ink); color: var(--cream); box-shadow: 0 18px 40px -16px rgba(29,25,21,.7);
  transform: translateY(140%); transition: transform .35s var(--ease);
}
.fab.is-visible { transform: translateY(0); }

/* ============ Reveal motion ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__art { order: -1; width: min(340px, 80%); }
  .hero__copy { text-align: left; }
  .row { grid-template-columns: 1fr; gap: 36px; }
  .row--flip .row__text { order: 0; }
  .week__grid, .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .week .sec-head { position: static; }
  .plans__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .plan__head { min-height: 0; }
  .start__panel { grid-template-columns: 1fr; padding: 48px 36px; gap: 36px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 32px); }
  .nav { padding-top: 8px; }
  .nav__inner { height: 58px; padding: 0 8px 0 14px; }
  .brand__name { font-size: 19px; }
  .nav .btn--sm .en { display: none; }
  .hero { padding: 36px 0 72px; }
  .hero__grid { gap: 32px; }
  .hero__art { width: min(200px, 56%); }
  .hero__art figcaption { margin-top: 14px; }
  .wordmark { font-size: 28px; }
  .hero h1 { margin-top: 16px; }
  .hero__facts dd { font-size: 17px; }
  .wordmark-sub { font-size: 11px; letter-spacing: .34em; }
  .lead { font-size: 17px; }
  .hero__cta .btn { width: 100%; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); }
  .hero__facts div { padding-right: 10px; }
  .hero__facts div + div { padding-left: 14px; }
  .strip__track span { font-size: 24px; }
  .inside, .plans { padding: 88px 0 72px; }
  .week { padding: 80px 0; }
  .sec-head { margin-bottom: 40px; }
  .mock { transform: none !important; padding: 20px; }
  .lift { grid-template-columns: 1fr auto; row-gap: 6px; }
  .lift b { grid-column: 2; grid-row: 1; justify-self: end; }
  .lift i { grid-column: 2; grid-row: 2; justify-self: end; }
  .lift > span { grid-row: 1 / span 2; }
  .tabs__list button { font-size: 13px; padding: 10px 4px; }
  .tabs__panel { padding: 8px 10px 4px; }
  .steps__list { grid-template-columns: 1fr; }
  .steps__list li, .steps__list li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; align-items: center; }
  .steps__list li .steps__n { grid-row: span 2; }
  .steps__list h3 { margin-top: 0; font-size: 26px; }
  .steps__list p { margin-top: 2px; font-size: 15px; }
  .steps { padding-bottom: 88px; }
  .start { padding-bottom: 88px; }
  .start__panel { padding: 36px 18px 18px; border-radius: 28px; }
  .start__copy { padding: 0 6px; }
  .form { grid-template-columns: 1fr 1fr; padding: 20px 16px; }
  .form .field--height { grid-column: 1 / -1; }
  .seg--3 label > span { flex-direction: column; gap: 0; font-size: 14px; line-height: 1.25; min-height: 56px; }
  .faq { padding-bottom: 96px; }
  .footer { padding-bottom: 110px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .fab { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Hero load-in (always ends visible, independent of scroll observers) */
.intro { animation: fadeUp .9s var(--ease) both; }
.hero__copy .intro:nth-child(2) { animation-delay: .06s; }
.hero__copy .intro:nth-child(3) { animation-delay: .12s; }
.hero__copy .intro:nth-child(4) { animation-delay: .18s; }
.hero__copy .intro:nth-child(5) { animation-delay: .24s; }
.hero__copy .intro:nth-child(6) { animation-delay: .3s; }
