/* =============================================================
   ספר הוראות ההפעלה האישי שלך — Sales page
   My Human Design · Michal Ye'ela
   Quiet, intelligent. Brand-true. Chart motifs woven in subtly.
   Type: Bellefair (display) · Noto Sans Hebrew (body) · Savyon (touch)
   ============================================================= */

/* Google Fonts loaded via <link rel="preload"> in each page's <head> — @import removed to avoid chained blocking request */

@font-face {
  font-family: 'Savyon Chen Kipper';
  src: url('fonts/OHSavyonChenKipper-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

:root {
  /* palette */
  --cream:      #FFFCF5;
  --cream-2:    #FBF6EC;
  --sand:       #E9E3D7;
  --sand-2:     #E2DBCB;
  --line:       #CDC3AC;
  --line-soft:  #DAD2C0;
  --blush:      #B6967E;
  --terra:      #CB8874;
  --terra-deep: #B5705C;
  --gold:       #EDCC94;
  --gold-deep:  #D8AE6A;
  --brown:      #694D2F;
  --brown-ink:  #3D2D1C;
  --bug:        #9A9082;   /* cool, muted taupe for "bug" states */
  --bug-deep:   #7E7466;

  /* fonts */
  /* Latin glyphs render in Cormorant Garamond; Hebrew falls through to Bellefair */
  --f-display: 'Cormorant Garamond', 'Bellefair', Georgia, serif;
  --f-body:    'Noto Sans Hebrew', -apple-system, system-ui, sans-serif;
  --f-latin:   'Cormorant Garamond', Georgia, serif;
  --f-hand:    'Savyon Chen Kipper', 'Bellefair', serif;

  /* ===== Type scale (single source of truth) ===== */
  /* Display (Cormorant/Bellefair) */
  --fs-d-xxl: clamp(46px, 8.5vw, 84px);
  --fs-d-xl:  clamp(34px, 5.2vw, 58px);
  --fs-d-l:   clamp(26px, 3.4vw, 40px);
  --fs-d-m:   clamp(21px, 2.4vw, 28px);
  --fs-d-s:   clamp(18px, 1.7vw, 21px);
  --fs-d-xs:  clamp(15px, 1.2vw, 17px);
  /* Hand (Savyon) */
  --fs-h-xl:  clamp(40px, 8vw, 84px);
  --fs-h-l:   clamp(26px, 3.2vw, 40px);
  --fs-h-m:   clamp(20px, 2.2vw, 26px);
  --fs-h-s:   clamp(17px, 1.6vw, 20px);
  /* Body (Noto Sans Hebrew) */
  --fs-b-l:   clamp(19px, 1.6vw, 22px);
  --fs-b-m:   clamp(18px, 1.5vw, 20px);
  --fs-b-s:   15px;
  --fs-b-xs:  13px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 200ms;
  --med: 380ms;
  --slow: 640ms;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;

  /* accent is tweakable */
  --accent: var(--terra);
  --accent-deep: var(--terra-deep);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown-ink);
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  direction: rtl;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--brown-ink); }

/* ===== Layout ===== */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }
.wrap--mid { max-width: 940px; }
.section { padding-block: clamp(40px, 5.5vw, 80px); position: relative; }
.section--sand { background: var(--sand); }
.section--cream { background: var(--cream); }
.section--brown { background: var(--brown); color: var(--cream); }

/* ===== Typography ===== */
.eyebrow {
  font-family: var(--f-display);
  font-size: var(--fs-d-s);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--blush);
  display: inline-block;
  margin: 0 0 clamp(18px, 2vw, 26px);
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--gold { color: var(--gold-deep); }
.section--brown .eyebrow { color: var(--gold); }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--fs-d-xxl);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--brown-ink);
  margin: 0;
}
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--fs-d-xl);
  line-height: 1.08;
  color: var(--brown-ink);
  margin: 0;
}
.h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--fs-d-m);
  line-height: 1.2;
  color: var(--brown-ink);
  margin: 0;
}
.section--brown .h2, .section--brown .display, .section--brown .h3 { color: var(--cream); }

.lede {
  font-size: var(--fs-b-l);
  line-height: 1.75;
  color: var(--brown);
  margin: 0;
  text-wrap: pretty;
}
.section--brown .lede { color: rgba(255,252,245,0.82); }
.body { font-size: var(--fs-b-m); line-height: 1.85; color: var(--brown); margin: 0; text-wrap: pretty; }
.body strong, .lede strong { font-weight: 600; color: var(--brown-ink); }
.body em, .lede em { font-style: normal; color: var(--accent-deep); font-weight: 600; }
.muted { color: var(--blush); }

/* handwritten touch */
.hand {
  font-family: var(--f-hand);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
}

/* ===== Chart motifs (subtle) ===== */
/* vertical channel hairline w/ terminal nodes — echoes the book pages */
.spine {
  position: absolute;
  top: 0; bottom: 0;
  inset-inline-start: var(--gutter);
  width: 1px;
  background: var(--line-soft);
  pointer-events: none;
  opacity: 0.8;
}
.spine::before, .spine::after {
  content: ""; position: absolute;
  inset-inline-start: 50%;
  width: 7px; height: 7px;
  transform: translateX(50%) rotate(45deg);
  border: 1px solid var(--line);
  background: var(--cream);
}
.spine::before { top: 6%; }
.spine::after { bottom: 6%; }

/* small geometric node — used as eyebrow ornament / list bullet */
.node { display: inline-block; width: 9px; height: 9px; vertical-align: middle; }
.node--diamond { transform: rotate(45deg); border: 1px solid var(--accent); }
.node--tri { width: 0; height: 0; border-inline: 6px solid transparent; border-bottom: 10px solid var(--accent); }
.node--sq { border: 1px solid var(--accent); }

/* L corner bracket */
.corner { position: absolute; width: 26px; height: 26px; pointer-events: none; }
.corner--tr { top: 0; inset-inline-end: 0; border-top: 1px solid var(--line); border-inline-end: 1px solid var(--line); }
.corner--bl { bottom: 0; inset-inline-start: 0; border-bottom: 1px solid var(--line); border-inline-start: 1px solid var(--line); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--short { width: 52px; height: 2px; background: var(--accent); opacity: 0.85; }

/* ===== Buttons ===== */
.btn {
  --btn-bg: var(--brown);
  --btn-fg: var(--cream);
  appearance: none;
  border: 1px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(15px, 1.2vw, 17px);
  letter-spacing: 0.01em;
  padding: 17px 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
              border-color var(--fast) var(--ease), transform var(--med) var(--ease-out);
  text-align: center;
  position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .btn__arrow { width: 12px; height: 12px; flex: none; transition: transform var(--fast) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(-4px); }
.btn .btn__price { opacity: 0.72; font-weight: 400; }

.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--cream); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--brown { --btn-bg: var(--brown); --btn-fg: var(--cream); }
.btn--brown:hover { background: var(--brown-ink); border-color: var(--brown-ink); }
.btn--ghost {
  background: transparent; color: var(--brown); border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--brown); background: transparent; color: var(--brown-ink); }
.btn--on-brown { --btn-bg: var(--cream); --btn-fg: var(--brown-ink); border-color: var(--cream); }
.btn--on-brown:hover { background: var(--gold); border-color: var(--gold); }
.btn--lg { padding: 21px 40px; font-size: clamp(16px, 1.4vw, 19px); }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ===== Header (logo only, minimal) ===== */
.masthead {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(16px, 2.2vw, 26px) var(--gutter) 0;
  background: var(--cream);
}
.masthead img { height: clamp(30px, 3.2vw, 40px); width: auto; }

/* ===== S01 Hero ===== */
.hero {
  background: var(--cream);
  text-align: center;
  padding: clamp(28px, 4vw, 46px) var(--gutter) clamp(30px, 4vw, 52px);
  position: relative;
  overflow: hidden;
}
.hero__inner { max-width: 920px; margin: 0 auto; position: relative; z-index: 2; }
.hero__eyebrow {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: var(--fs-b-xs);
  letter-spacing: 0.16em;
  color: var(--blush);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(20px, 2.4vw, 30px);
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: ""; width: 26px; height: 1px; background: var(--line);
}
.hero__title {
  font-family: var(--f-hand);
  font-weight: 400;
  font-size: var(--fs-h-xl);
  line-height: 1.14;
  color: var(--brown-ink);
  margin: 0 auto clamp(20px, 2.6vw, 30px);
  max-width: 17ch;
  text-wrap: balance;
}
.hero__quip { font-family: var(--f-hand); font-size: 1.12em; color: var(--accent-deep); }
.hero__sub {
  font-size: var(--fs-b-l);
  line-height: 1.7;
  color: var(--brown);
  max-width: 50ch;
  margin: 0 auto clamp(26px, 3.4vw, 38px);
  text-wrap: pretty;
}
.hero__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.hero__scrollcue { display: none; }
@keyframes cueBounce { 0%, 100% { transform: translateY(0); opacity: 0.55; } 50% { transform: translateY(7px); opacity: 1; } }
.hero__meta {
  margin-top: clamp(22px, 2.6vw, 30px);
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 22px;
  font-size: 13px; letter-spacing: 0.03em; color: var(--blush);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero__meta i { width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold-deep); display: inline-block; }
/* faint chart glyph behind hero */
.hero__glyph {
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1200px, 150vw);
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
  color: var(--blush);
}
.hero__handoff {
  margin-top: clamp(30px, 4vw, 48px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__handoff-line {
  font-family: var(--f-hand);
  font-size: var(--fs-h-m);
  color: var(--blush);
}
.hero__handoff-arrow { width: 1px; height: 34px; background: var(--line); position: relative; }
.hero__handoff-arrow::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  width: 7px; height: 7px; border-inline-start: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(-45deg);
}

/* ===== S01b Lead (editorial continuation) ===== */
.lead { background: var(--cream); padding-block: clamp(18px, 2.4vw, 38px) clamp(48px, 7vw, 96px); }
.lead__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.lead__hook { font-family: var(--f-display); font-size: var(--fs-d-l); line-height: 1.18; color: var(--brown-ink); margin: 0 0 clamp(18px, 2.2vw, 26px); text-wrap: balance; }
.lead__hook em { font-family: var(--f-hand); font-style: normal; color: var(--accent-deep); }
.lead__open { font-size: var(--fs-b-l); line-height: 1.7; color: var(--brown); margin: 0 auto 30px; max-width: 60ch; text-wrap: pretty; }
.lead__open b { font-family: var(--f-hand); font-weight: 400; color: var(--accent-deep); font-size: 1.2em; }
.lead__open em, .lead__body em { font-style: normal; color: var(--accent-deep); font-weight: 600; }
.lead__body { font-size: var(--fs-b-m); line-height: 1.85; color: var(--brown); margin: 0 auto 34px; max-width: 62ch; text-wrap: pretty; }
.lead__punch { position: relative; font-family: var(--f-display); font-size: var(--fs-d-l); line-height: 1.18; color: var(--brown-ink); margin: 0; padding-top: clamp(26px, 3vw, 36px); }
.lead__punch::before { content: ""; position: absolute; top: 0; inset-inline-start: 50%; transform: translateX(50%); width: 46px; height: 2px; background: var(--accent); }
.lead__punch span { color: var(--accent-deep); }
.lead__punch s { color: var(--blush); text-decoration-thickness: 1.5px; text-decoration-color: var(--terra); }

/* from → to transition motif (lives across the page) */
.transition { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.transition__from { color: var(--blush); }
.transition__to { color: var(--brown-ink); }
.transition__arrow { flex: none; width: clamp(34px, 4vw, 46px); color: var(--accent); display: inline-flex; align-items: center; }
.transition__arrow svg { width: 100%; height: auto; display: block; }

/* ===== S02 Bug → Feature slider ===== */
.bf { background: var(--sand); overflow: hidden; }
.bf__head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 4.4vw, 56px); }
.bf__head .h2 { margin-bottom: 18px; }
.bf__hint {
  font-family: var(--f-hand);
  font-size: var(--fs-h-m);
  color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 12px;
}
.bf__hint svg { width: 30px; height: 16px; }
.bf__hint svg path { stroke: var(--accent-deep); }

.bf__stage { position: relative; max-width: 820px; margin: 0 auto; }
.bf__cards { position: relative; }
.bf__card { position: relative; }
.bf__card { display: none; }
.bf__card.is-active { display: block; }
.bf__card.is-active::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--line-soft); background: var(--cream-2);
  z-index: 0; pointer-events: none;
}

/* the comparison card */
.bf-card {
  --p: 0; /* 0 = bug, 1 = feature */
  position: relative;
  z-index: 1;
  background: var(--cream);
  border: 1px solid var(--line);
  min-height: clamp(380px, 44vw, 440px);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  box-shadow: 0 30px 60px -26px rgba(61,45,28,0.45), 0 1px 0 rgba(255,252,245,0.6) inset;
}
.bf-card__topic {
  position: relative; z-index: 6;
  text-align: center;
  padding: clamp(20px, 2.4vw, 30px) clamp(20px, 3vw, 40px) 0;
  pointer-events: none;
}
.bf-card__topic-kicker {
  font-family: var(--f-body); font-weight: 600;
  font-size: var(--fs-b-xs); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blush);
}
.bf-card__topic-title {
  font-family: var(--f-display);
  font-size: var(--fs-d-m);
  line-height: 1.12;
  color: var(--brown-ink);
  margin-top: 8px;
  text-wrap: balance;
}
.bf-card__panes { position: absolute; inset: 0; }
.bf-pane {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: clamp(9px, 1.3vw, 14px);
  padding: clamp(28px, 3.6vw, 46px);
  padding-inline-start: clamp(42px, 7%, 90px);
  isolation: isolate;
}
.bf-pane > :not(.bf-pane__fx) { position: relative; z-index: 2; max-width: min(60%, 40ch); }
.bf-pane__frame { font-family: var(--f-hand); font-size: var(--fs-h-s); line-height: 1; }
.bf-pane__expr { font-family: var(--f-display); font-size: var(--fs-d-l); line-height: 1.12; margin: 0; text-wrap: balance; max-width: 18ch; }
/* category tag — sits at the very top of the pane like a label/badge */
.bf-pane__marker {
  order: -1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 clamp(3px, 0.7vw, 8px);
  line-height: 1;
}
.bf-pane__marker::before {
  content: ""; flex: none; width: 7px; height: 7px;
}
.bf-pane__signal { display: none; }
.bf-pane__state { font-family: var(--f-body); font-weight: 700; font-size: var(--fs-b-xs); letter-spacing: 0.2em; line-height: 1; }
.bf-pane__lead { font-family: var(--f-display); font-size: var(--fs-d-s); line-height: 1.22; margin: 0; text-wrap: balance; }
.bf-pane__text { font-size: var(--fs-b-s); line-height: 1.62; margin: 0; max-width: 44ch; }

/* bug pane (base) — cool, "miscalibrated": the signal reads broken/jagged */
.bf-pane--bug { background: linear-gradient(160deg, #E4E1D8 0%, #CDC7B9 100%); color: var(--bug-deep); }
.bf-pane--bug .bf-pane__frame { color: var(--bug); }
.bf-pane--bug .bf-pane__expr { color: var(--bug-deep); }
.bf-pane--bug .bf-pane__state { color: var(--bug-deep); }
.bf-pane--bug .bf-pane__lead { color: var(--bug-deep); }
.bf-pane--bug .bf-pane__text { color: #5C5446; }
.bf-pane--bug .bf-pane__marker { background: rgba(126,116,102,0.09); border: 1px solid rgba(126,116,102,0.34); }
.bf-pane--bug .bf-pane__marker::before { border-radius: 50%; background: var(--bug); }

/* feature pane (revealed) — warm, "calibrated": continuous signal + aligned node */
.bf-pane--feature {
  background:
    radial-gradient(135% 95% at 50% 122%, rgba(237,204,148,0.62) 0%, rgba(242,226,189,0) 56%),
    linear-gradient(160deg, #FFF8EA 0%, #F2E2BD 100%);
  color: var(--brown-ink);
  clip-path: inset(0 0 0 calc((1 - var(--p)) * 100%));
}
.bf-pane--feature .bf-pane__frame { color: var(--accent-deep); }
.bf-pane--feature .bf-pane__expr { color: var(--brown-ink); }
.bf-pane--feature .bf-pane__state { color: var(--brown-ink); }
.bf-pane--feature .bf-pane__lead { color: var(--brown-ink); }
.bf-pane--feature .bf-pane__text { color: var(--brown); }
.bf-pane--feature .bf-pane__marker { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%); border: 1px solid var(--gold-deep); box-shadow: 0 3px 12px rgba(216,174,106,0.4); }
.bf-pane--feature .bf-pane__marker::before { transform: rotate(45deg); background: var(--brown-ink); }

/* glitch on the bug expression — slightly "out of register" */
.bf-pane--bug .bf-pane__expr { text-shadow: 1.1px 0 rgba(203,136,116,0.22), -1.1px 0 rgba(108,128,150,0.18); }

/* ===== Card FX — sci-fi minimal atmosphere ===== */
.bf-pane__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bf-pane__scan { position: absolute; inset: 0; }
.bf-pane--bug .bf-pane__scan { background: repeating-linear-gradient(0deg, rgba(60,55,48,0.055) 0 1px, transparent 1px 3px); }
.bf-pane--feature .bf-pane__scan { background: repeating-linear-gradient(0deg, rgba(216,174,106,0.07) 0 1px, transparent 1px 4px); opacity: 0.7; }
.bf-pane__wave { position: absolute; inset-inline-end: clamp(24px, 6%, 70px); top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: clamp(4px, 0.8vw, 7px); height: clamp(60px, 12vw, 104px); }
.bf-pane__wave i { width: clamp(3px, 0.5vw, 5px); height: 30%; border-radius: 1px; transition: height var(--slow) var(--ease); }
.bf-pane--bug .bf-pane__wave { animation: waveJitter 1.5s steps(5) infinite; }
.bf-pane--bug .bf-pane__wave i { background: var(--bug-deep); opacity: 0.62; }
.bf-pane--bug .bf-pane__wave i:nth-child(1){height:32%}
.bf-pane--bug .bf-pane__wave i:nth-child(2){height:72%}
.bf-pane--bug .bf-pane__wave i:nth-child(3){height:20%}
.bf-pane--bug .bf-pane__wave i:nth-child(4){height:88%}
.bf-pane--bug .bf-pane__wave i:nth-child(5){height:44%}
.bf-pane--bug .bf-pane__wave i:nth-child(6){height:64%}
.bf-pane--bug .bf-pane__wave i:nth-child(7){height:26%}
.bf-pane--bug .bf-pane__wave i:nth-child(8){height:80%}
.bf-pane--bug .bf-pane__wave i:nth-child(9){height:38%}
.bf-pane--bug .bf-pane__wave i:nth-child(10){height:56%}
.bf-pane--feature .bf-pane__wave i { background: var(--gold-deep); box-shadow: 0 0 7px rgba(216,174,106,0.75); }
.bf-pane--feature .bf-pane__wave i:nth-child(1){height:22%}
.bf-pane--feature .bf-pane__wave i:nth-child(2){height:40%}
.bf-pane--feature .bf-pane__wave i:nth-child(3){height:58%}
.bf-pane--feature .bf-pane__wave i:nth-child(4){height:78%}
.bf-pane--feature .bf-pane__wave i:nth-child(5){height:92%}
.bf-pane--feature .bf-pane__wave i:nth-child(6){height:92%}
.bf-pane--feature .bf-pane__wave i:nth-child(7){height:78%}
.bf-pane--feature .bf-pane__wave i:nth-child(8){height:58%}
.bf-pane--feature .bf-pane__wave i:nth-child(9){height:40%}
.bf-pane--feature .bf-pane__wave i:nth-child(10){height:22%}
@keyframes waveJitter { 0%{transform:translateY(-50%) scaleY(1)} 50%{transform:translateY(-50%) scaleY(0.84)} 100%{transform:translateY(-50%) scaleY(1)} }

/* boot-up sweep when the slider enters view / when switching cards */
.bf__stage.is-in .bf__card.is-active .bf-card { animation: bootIn 760ms var(--ease); }
@keyframes bootIn {
  0% { filter: brightness(1.7) contrast(0.82) saturate(0.7); }
  9% { filter: brightness(0.8); }
  20% { filter: brightness(1.28); }
  34% { filter: brightness(0.94); }
  100% { filter: none; }
}

/* drag handle */
/* handle uses physical right so it tracks the reveal correctly in RTL:
   --p 0 => near right (start), 1 => left. Reveal grows from the right. */
.bf-handle {
  position: absolute; top: 0; bottom: 0;
  right: calc(var(--p) * 100%);
  transform: translateX(50%);
  width: 2px;
  background: linear-gradient(180deg, rgba(216,174,106,0.2), var(--gold-deep) 18%, var(--gold) 50%, var(--gold-deep) 82%, rgba(216,174,106,0.2));
  box-shadow: 0 0 10px rgba(216,174,106,0.6), 0 0 2px rgba(216,174,106,0.95);
  z-index: 7; cursor: ew-resize;
}
.bf-handle__grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: radial-gradient(circle at 50% 50%, #FFFDF8 0%, var(--cream) 70%);
  border: 1.5px solid var(--gold-deep);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 18px rgba(216,174,106,0.5), 0 0 0 5px rgba(237,204,148,0.14), 0 6px 18px rgba(105,77,47,0.2);
  animation: gripPulse 2.4s var(--ease) infinite;
}
@keyframes gripPulse { 0%,100%{ box-shadow: 0 0 16px rgba(216,174,106,0.42), 0 0 0 4px rgba(237,204,148,0.12), 0 6px 18px rgba(105,77,47,0.2); } 50%{ box-shadow: 0 0 26px rgba(216,174,106,0.62), 0 0 0 8px rgba(237,204,148,0.05), 0 6px 18px rgba(105,77,47,0.2); } }
@media (prefers-reduced-motion: reduce) { .bf-handle__grip { animation: none; } }
.bf-handle__grip svg { width: 19px; height: 19px; color: var(--gold-deep); }

/* ===== Variation B — continuous morph track ===== */
.bf.var-b .bf-card { touch-action: pan-y; }
.bf.var-b .bf-pane--feature { clip-path: none; opacity: var(--p); transform: translateX(calc((1 - var(--p)) * -7%)); }
.bf.var-b .bf-pane--bug { opacity: calc(1 - var(--p)); transform: translateX(calc(var(--p) * 7%)); }
.bf.var-b .bf-handle { display: none; }
.bf.var-b .bf-card { border-color: color-mix(in oklab, var(--line), var(--accent) calc(var(--p) * 60%)); }
.bf-track {
  display: none;
  margin-top: 22px;
  position: relative;
  height: 46px;
  align-items: center;
}
.bf.var-b .bf-track { display: flex; }
.bf-track__rail {
  position: absolute; inset-inline: 8px; top: 50%; height: 2px;
  background: var(--line); transform: translateY(-50%);
}
.bf-track__fill {
  position: absolute; top: 50%; height: 2px; transform: translateY(-50%);
  right: 8px; background: var(--accent);
  width: calc(var(--p, 0) * (100% - 16px));
}
.bf-track__thumb {
  position: absolute; top: 50%;
  right: calc(8px + var(--p, 0) * (100% - 16px));
  transform: translate(50%, -50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--cream); border: 1.5px solid var(--brown);
  cursor: grab; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(105,77,47,0.14);
}
.bf-track__thumb svg { width: 18px; height: 12px; color: var(--brown); }
.bf-track__label { font-family: var(--f-body); font-size: var(--fs-b-xs); font-weight: 600; letter-spacing: 0.08em; color: var(--bug); white-space: nowrap; }
.bf-track__label--bug { position: absolute; right: 0; top: -4px; }
.bf-track__label--feat { position: absolute; left: 0; top: -4px; color: var(--gold-deep); }

/* slider nav */
.bf__nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: clamp(26px, 3vw, 38px); }
.bf__dots { display: inline-flex; gap: 9px; }
.bf__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background var(--fast), transform var(--fast); }
.bf__dot.is-active { background: var(--accent); transform: scale(1.25); }
.bf__arrow {
  width: 46px; height: 46px; border: 1px solid var(--line); background: transparent;
  color: var(--brown); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: border-color var(--fast), color var(--fast), background var(--fast);
}
.bf__arrow:hover { border-color: var(--brown); background: var(--cream); }
.bf__arrow svg { width: 14px; height: 14px; }
.bf__count { font-family: var(--f-display); font-size: var(--fs-b-s); color: var(--blush); letter-spacing: 0.1em; direction: ltr; min-width: 46px; text-align: center; }
.bf__arrow.is-pulse { border-color: var(--accent); color: var(--accent); animation: bfPulse 1.4s var(--ease) infinite; }
@keyframes bfPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(203,136,116,0.4); } 50% { box-shadow: 0 0 0 9px rgba(203,136,116,0); } }
@media (prefers-reduced-motion: reduce) { .bf__arrow.is-pulse { animation: none; } }
.bf__counter { font-family: var(--f-display); font-size: var(--fs-b-s); color: var(--blush); letter-spacing: 0.1em; direction: ltr; }

/* ===== S03 Product statement ===== */
.product { background: var(--cream); text-align: center; }
.product__inner { max-width: 820px; margin: 0 auto; position: relative; }
.product__name { font-family: var(--f-display); font-size: var(--fs-d-xl); line-height: 1.08; color: var(--brown-ink); margin: 14px 0 10px; text-wrap: balance; }
.product__tagline { font-family: var(--f-display); font-size: var(--fs-d-m); color: var(--accent-deep); margin: 0 0 clamp(20px, 2.4vw, 28px); }
.product__lead { font-size: var(--fs-b-l); line-height: 1.6; color: var(--brown-ink); margin: 0 auto clamp(22px, 2.6vw, 30px); max-width: 56ch; text-wrap: pretty; }
.product__spec { list-style: none; margin: 0 auto clamp(26px, 3.2vw, 38px); padding: 0; max-width: 760px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--cream-2); }
.product__spec li { padding: clamp(14px, 1.8vw, 20px) 12px; text-align: center; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.product__spec li:first-child { border-inline-start: 0; }
.product__spec-k { font-family: var(--f-body); font-size: var(--fs-b-xs); font-weight: 600; letter-spacing: 0.14em; color: var(--blush); }
.product__spec-v { font-family: var(--f-display); font-size: var(--fs-d-s); color: var(--brown-ink); line-height: 1.15; }
.product__body { margin: 0 auto clamp(30px, 3.6vw, 42px); max-width: 60ch; }
.product__cta { display: flex; justify-content: center; }

/* ===== S04 What is HD ===== */
.whatis { background: var(--sand); }
.whatis__grid {
  display: grid; grid-template-columns: 1fr 1.15fr; grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 5vw, 80px); row-gap: clamp(18px, 2.4vw, 28px);
  align-items: start;
}
.whatis__visual { grid-column: 1; grid-row: 1 / 3; align-self: center; position: relative; display: flex; align-items: center; justify-content: center; }
.whatis__intro { grid-column: 2; grid-row: 1; }
.whatis__body { grid-column: 2; grid-row: 2; }
.chart-frame { position: relative; isolation: isolate; max-width: 360px; margin: 0 auto; background: linear-gradient(160deg, #E8E0D0 0%, #D9CDB6 100%); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.chart-frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line); z-index: -1; }
.chart-frame img { width: 100%; height: auto; display: block; }
.chart-frame__cap { margin: 18px 0 0; text-align: center; font-family: var(--f-display); font-size: var(--fs-b-xs); letter-spacing: 0.22em; text-transform: uppercase; color: var(--blush); }
.whatis__intro .h2 { margin-bottom: clamp(20px, 2.4vw, 28px); max-width: 16ch; }
/* "not X / yes Y" chips — visualises what HD is *not* vs what it is */
.whatis__nots { list-style: none; margin: 0 0 clamp(24px, 3vw, 32px); padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.whatis__nots li { font-family: var(--f-body); font-size: var(--fs-b-s); font-weight: 500; padding: 8px 16px; border: 1px solid var(--line); color: var(--blush); background: var(--cream); white-space: nowrap; }
.whatis__nots .is-not { text-decoration: line-through; text-decoration-color: var(--terra); text-decoration-thickness: 1.5px; }
.whatis__nots .is-yes { border-color: var(--accent); color: var(--brown-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 9px; background: rgba(203,136,116,0.12); }
.whatis__nots .is-yes::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--accent); flex: none; }
.whatis__lead {
  font-family: var(--f-hand);
  font-size: var(--fs-h-m);
  line-height: 1.4;
  color: var(--accent-deep);
  margin-top: clamp(24px, 3vw, 34px);
}

/* ===== S05 Three layers ===== */
.layers { background: var(--cream); }
.layers__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }
.layers__head .h2 { margin-bottom: 16px; }
.layers__grid { display: grid; grid-template-columns: 0.9fr 1.5fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.layers__nav { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.layers__btn {
  width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: clamp(18px, 2.2vw, 26px) 4px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  cursor: pointer; text-align: start;
  transition: padding-inline-start var(--fast) var(--ease);
}
.layers__btn-num { font-family: var(--f-display); font-size: var(--fs-d-l); color: var(--blush); direction: ltr; transition: color var(--fast); }
.layers__btn-title { font-family: var(--f-display); font-size: var(--fs-d-m); color: var(--brown); line-height: 1.15; transition: color var(--fast); }
.layers__btn-mark { width: 10px; height: 10px; transform: rotate(45deg); border: 1px solid var(--line); transition: all var(--fast); }
.layers__btn:hover { padding-inline-start: 12px; }
.layers__btn:hover .layers__btn-title { color: var(--brown-ink); }
.layers__btn[aria-selected="true"] .layers__btn-num { color: var(--accent); }
.layers__btn[aria-selected="true"] .layers__btn-title { color: var(--brown-ink); }
.layers__btn[aria-selected="true"] .layers__btn-mark { background: var(--accent); border-color: var(--accent); }
.layers__panels { position: relative; min-height: 320px; }
.layers__panel {
  position: absolute; inset: 0; opacity: 0; transform: translateY(10px);
  pointer-events: none; transition: opacity var(--med) var(--ease), transform var(--med) var(--ease);
}
.layers__panel.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.layers__panel-label { font-family: var(--f-body); font-weight: 600; font-size: var(--fs-b-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.layers__panel-q { font-family: var(--f-display); font-size: var(--fs-d-l); color: var(--brown-ink); line-height: 1.14; margin: 0 0 18px; }
.layers__panel-body { font-size: var(--fs-b-m); line-height: 1.8; color: var(--brown); margin: 0 0 22px; max-width: 52ch; }
.layers__panel-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-b-s); color: var(--blush);
  border-top: 1px solid var(--line); padding-top: 18px;
}
.layers__panel-tag b { color: var(--brown-ink); font-weight: 600; }
.layers__panel-tag .node--diamond { border-color: var(--accent); }

/* ===== S06 Flipbook ===== */
.flip { background: var(--brown); color: var(--cream); position: relative; overflow: hidden; }
.flip__head { text-align: center; max-width: 720px; margin: 0 auto clamp(34px, 4vw, 50px); }
.flip__head .eyebrow { color: var(--gold); }
.flip__head .h2 { color: var(--cream); margin-bottom: 16px; }
.flip__head .lede { color: rgba(255,252,245,0.78); margin-inline: auto; max-width: 50ch; }

/* desktop 2-col so the phone shares the row with the intro copy */
.flip__layout { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); align-items: center; }
.flip__viewport { position: relative; display: flex; flex-direction: column; align-items: center; }
/* desktop: phone mockup */
.phone {
  position: relative;
  width: clamp(280px, 32vw, 370px);
  background: #15110C;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 2px 0 rgba(255,252,245,0.06) inset, 0 40px 90px rgba(0,0,0,0.4);
}
.phone__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 24px; background: #15110C; border-radius: 0 0 16px 16px; z-index: 4;
}
.phone__screen {
  position: relative; border-radius: 32px; overflow: hidden; background: var(--cream);
  aspect-ratio: 1080 / 1920;
  touch-action: pan-y;
}
.flip__rail { position: absolute; inset: 0; display: flex; transition: transform var(--med) var(--ease); }
.flip__page { position: relative; flex: 0 0 100%; height: 100%; }
.flip__page img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* CTA button overlay on locked pages — horizontally centered, sits just below the
   page's horizontal divider line (~58% down on the book template) */
.flip__btn {
  position: absolute; left: 50%; top: 62.5%;
  transform: translateX(-50%);
  z-index: 3; cursor: pointer; border: 0; background: transparent; padding: 0; width: 72%;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.18));
  transition: transform var(--fast) var(--ease);
}
.flip__btn img { width: 100%; height: auto; }
.flip__btn:hover { transform: translateX(-50%) translateY(-3px); }

/* page edge nav (desktop) */
.flip__edge {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(237,204,148,0.4); background: rgba(21,17,12,0.35);
  color: var(--gold); cursor: pointer; display: none; align-items: center; justify-content: center;
  z-index: 6; transition: background var(--fast), border-color var(--fast); backdrop-filter: blur(4px);
}
.flip__edge:hover { background: rgba(21,17,12,0.6); border-color: var(--gold); }
.flip__edge svg { width: 16px; height: 16px; }
.flip__edge--prev { inset-inline-start: clamp(-8px, 2vw, 40px); }
.flip__edge--next { inset-inline-end: clamp(-8px, 2vw, 40px); }

.flip__controls { display: flex; align-items: center; gap: 18px; margin-top: clamp(24px, 3vw, 34px); }
.flip__dots { display: inline-flex; gap: 7px; flex-wrap: wrap; max-width: 240px; justify-content: center; }
.flip__dot { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(237,204,148,0.32); cursor: pointer; transition: background var(--fast), transform var(--fast); }
.flip__dot.is-active { background: var(--gold); transform: scale(1.3); }
.flip__arrow {
  width: 44px; height: 44px; border: 1px solid rgba(237,204,148,0.4); background: transparent;
  color: var(--gold); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: border-color var(--fast), background var(--fast);
}
.flip__arrow:hover { border-color: var(--gold); background: rgba(237,204,148,0.1); }
.flip__arrow svg { width: 14px; height: 14px; }
.flip__counter { font-family: var(--f-display); font-size: var(--fs-b-s); color: var(--gold); letter-spacing: 0.12em; direction: ltr; }

.flip__sticky-cta { margin-top: clamp(30px, 4vw, 46px); display: flex; justify-content: center; }
.flip__swipehint {
  display: none; margin-top: 16px; font-size: var(--fs-b-xs); color: rgba(237,204,148,0.7);
  letter-spacing: 0.06em; text-align: center;
}

/* ===== S07 Pricing ===== */
.price { background: var(--cream); }
.price__head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 60px); }
.price__head .h2 { margin-bottom: 16px; }
.price__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 34px); align-items: stretch; max-width: 940px; margin: 0 auto; }
.tier {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3vw, 38px);
  display: flex; flex-direction: column;
}
.tier--featured {
  background: linear-gradient(180deg, #FFFBF2 0%, #FBF3E2 100%);
  border-color: var(--gold-deep);
}
.tier__flag {
  position: absolute; top: 0; inset-inline-end: clamp(24px, 3vw, 38px);
  transform: translateY(-50%);
  background: var(--gold); color: var(--brown-ink);
  font-family: var(--f-body); font-weight: 600; font-size: 11px; letter-spacing: 0.14em;
  padding: 7px 16px; text-transform: uppercase;
}
.tier__name { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 32px); color: var(--brown-ink); margin: 0 0 6px; line-height: 1.1; }
.tier__sub { font-size: 14px; color: var(--blush); letter-spacing: 0.04em; margin: 0 0 clamp(18px, 2.2vw, 26px); }
.tier__desc { font-size: clamp(14.5px, 1.2vw, 16px); line-height: 1.7; color: var(--brown); margin: 0 0 clamp(22px, 2.6vw, 30px); }
.tier__desc b { color: var(--brown-ink); font-weight: 600; }
.tier__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: clamp(22px, 2.6vw, 30px); margin-top: auto; }
.tier__amount { font-family: var(--f-display); font-size: clamp(56px, 7vw, 84px); line-height: 0.9; color: var(--brown-ink); }
.tier__cur { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 30px); color: var(--accent-deep); }
.tier--featured .tier__cur { color: var(--gold-deep); }
.tier__list { list-style: none; margin: 0 0 clamp(24px, 3vw, 32px); padding: 0; display: flex; flex-direction: column; gap: 11px; }
.tier__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--brown); }
.tier__list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; transform: rotate(45deg); border: 1px solid var(--accent); }
.tier--featured .tier__list li::before { border-color: var(--gold-deep); }
.price__foot { text-align: center; margin-top: clamp(32px, 4vw, 48px); }
.price__foot .muted { font-size: 14px; }

/* ===== S08 Testimonials — carousel ===== */
.voices { background: var(--sand); }
.voices__head { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.voices__carousel { max-width: clamp(420px, 58vw, 660px); margin: 0 auto; }
.voices__viewport { position: relative; overflow: hidden; }
.voices__track { position: relative; }
.voice { position: absolute; top: 0; inset-inline: 0; opacity: 0; transform: translateX(7%); transition: opacity var(--med) var(--ease), transform var(--med) var(--ease); pointer-events: none; }
.voice.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; z-index: 1; }
.voice__card { background: var(--cream); border: 1px solid var(--line); padding: 14px; }
.voice__shot { width: 100%; height: auto; display: block; border: 1px solid var(--line-soft); }
.voice__cap { font-size: var(--fs-b-xs); color: var(--blush); text-align: center; padding-top: 12px; letter-spacing: 0.03em; }
.voice--empty .voice__card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  border-style: dashed; min-height: 340px; gap: 14px; color: var(--blush);
}
.voice--empty .voice__icon { width: 40px; height: 40px; opacity: 0.5; }
.voice--empty span { font-size: var(--fs-b-s); line-height: 1.5; max-width: 22ch; }
.voices__nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: clamp(22px, 2.6vw, 32px); }
.voices__dots { display: inline-flex; gap: 9px; }
.voices__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background var(--fast), transform var(--fast); }
.voices__dot.is-active { background: var(--brown); transform: scale(1.25); }
.voices__arrow { width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; color: var(--brown); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: border-color var(--fast), background var(--fast); }
.voices__arrow:hover { border-color: var(--brown); background: var(--cream); }
.voices__arrow svg { width: 14px; height: 14px; }

/* ===== S09 About ===== */
.about { background: var(--cream); }
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 76px); row-gap: clamp(18px, 2.4vw, 26px); align-items: start; }
.about__portrait { grid-column: 1; grid-row: 1 / 3; position: relative; isolation: isolate; }
.about__head { grid-column: 2; grid-row: 1; }
.about__copy { grid-column: 2; grid-row: 2; }
.about__portrait img { width: 100%; height: auto; display: block; }
.about__portrait::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--line); z-index: -1;
}
.about__eyebrow-en { font-family: var(--f-display); font-size: var(--fs-d-m); color: var(--gold-deep); margin: 0 0 6px; }
.about__head .h2 { margin-bottom: 0; max-width: 14ch; }
.about__head .h2 b { color: var(--accent-deep); font-weight: 400; }
.about__intro { font-size: var(--fs-b-m); line-height: 1.9; color: var(--brown-ink); margin: 0 0 22px; max-width: 42ch; }
.about__intro:last-child { margin-bottom: 0; }
.about__rule { width: 48px; height: 1px; background: var(--blush); opacity: 0.5; margin: 26px 0; }
.about__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--slow) var(--ease); }
.about__more-inner { overflow: hidden; }
.about__copy.is-open .about__more { grid-template-rows: 1fr; }
.about__toggle {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0;
  margin-top: 18px; color: var(--accent-deep); font-family: var(--f-body); font-size: var(--fs-b-s); cursor: pointer;
  border-bottom: 1px solid var(--accent); transition: color var(--fast), border-color var(--fast);
}
.about__toggle:hover { color: var(--brown-ink); border-color: var(--brown-ink); }
.about__toggle-arrow { transition: transform var(--med) var(--ease); }
.about__copy.is-open .about__toggle-arrow { transform: rotate(180deg); }

/* ===== S10 How it works ===== */
.how { background: var(--sand); }
.how__head { margin-bottom: clamp(36px, 4.4vw, 52px); text-align: center; }
.how__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.4vw, 48px); }
.how__step { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.how__num { font-family: var(--f-display); font-size: clamp(38px, 4.6vw, 60px); color: var(--blush); line-height: 1; direction: ltr; display: block; margin-bottom: 14px; }
.how__step-title { font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); color: var(--brown-ink); margin: 0 0 10px; }
.how__step-body { font-size: 15px; line-height: 1.65; color: var(--brown); margin: 0 0 14px; max-width: 30ch; }
.how__time { font-family: var(--f-body); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); }

/* ===== S11 Order form ===== */
.form-sec { background: var(--cream); border-top: 1px solid var(--line); }
.form-sec__inner { max-width: 760px; margin: 0 auto; }
.form-sec__grid { display: grid; gap: clamp(24px, 3vw, 44px); }
.form-aside__inner { background: linear-gradient(180deg, #FFFBF2 0%, #FBF3E2 100%); border: 1px solid var(--gold-deep); padding: clamp(26px, 3vw, 38px); }
.form-aside__title { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 28px); color: var(--brown-ink); margin: 14px 0 16px; line-height: 1.15; }
.form-aside__price { font-family: var(--f-display); color: var(--brown-ink); line-height: 1; margin: 0 0 24px; display: flex; align-items: baseline; gap: 5px; font-size: clamp(46px, 5vw, 66px); }
.form-aside__price > span:first-child { font-size: 0.36em; color: var(--blush); }
.form-aside__cur { font-size: 0.42em; color: var(--gold-deep); }
.form-aside__list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.form-aside__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--brown); }
.form-aside__list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 6px; transform: rotate(45deg); border: 1px solid var(--gold-deep); }
.form-aside__rule { height: 1px; background: var(--line); margin: 4px 0 18px; }
.form-aside__note { font-size: 13.5px; line-height: 1.65; color: var(--blush); margin: 0; }
.form-sec__head { text-align: center; margin-bottom: clamp(34px, 4vw, 50px); }
.form-sec__head .h2 { margin-bottom: 14px; }
.form-sec__head .lede { margin-inline: auto; max-width: 46ch; }
.fstep { margin-bottom: clamp(34px, 4vw, 48px); }
.fstep__label { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 2vw, 26px); }
.fstep__num { font-family: var(--f-display); font-size: 20px; color: var(--accent-deep); }
.fstep__name { font-family: var(--f-body); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); }
.fstep__rule { flex: 1; height: 1px; background: var(--line); }

.fgrid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.field { border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); padding: 16px 18px 12px; display: flex; flex-direction: column; gap: 6px; background: var(--cream); transition: background var(--fast); }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: var(--fs-b-xs); letter-spacing: 0.04em; color: var(--blush); }
.field__label .req { color: var(--accent); margin-inline-start: 2px; }
.field input, .field select {
  border: 0; background: transparent; padding: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.4;
  color: var(--brown-ink); outline: none; width: 100%; direction: rtl;
}
.field input[type="date"], .field input[type="time"] { direction: ltr; text-align: start; }
.field input::placeholder { color: var(--blush); opacity: 0.7; }
.field:focus-within { background: var(--cream-2); }
.field:focus-within .field__label { color: var(--accent-deep); }

/* tier select */
.tier-select { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tier-select input { position: absolute; opacity: 0; pointer-events: none; }
.tier-opt {
  display: block; cursor: pointer; border: 1px solid var(--line); background: var(--cream);
  padding: 18px 20px; transition: border-color var(--fast), background var(--fast), box-shadow var(--fast);
  position: relative;
}
.tier-opt__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tier-opt__head { display: flex; align-items: center; gap: 10px; }
.tier-opt__name { font-family: var(--f-display); font-size: clamp(18px, 1.8vw, 22px); color: var(--brown-ink); white-space: nowrap; }
.tier-opt__price { font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); color: var(--accent-deep); white-space: nowrap; }
.tier-opt__desc { font-size: 13px; line-height: 1.5; color: var(--blush); margin-top: 8px; }
.tier-opt__check {
  flex: none;
  width: 18px; height: 18px; border: 1px solid var(--line); display: grid; place-items: center;
}
.tier-opt__check::after { content: ""; width: 8px; height: 8px; transform: rotate(45deg) scale(0); background: var(--accent); transition: transform var(--fast) var(--ease); }
.tier-select input:checked + .tier-opt { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tier-select input:checked + .tier-opt .tier-opt__check { border-color: var(--accent); }
.tier-select input:checked + .tier-opt .tier-opt__check::after { transform: rotate(45deg) scale(1); }

/* segmented for-me / other */
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 16px; cursor: pointer; font-size: 16px; color: var(--brown); transition: background var(--fast), color var(--fast); border-inline-start: 1px solid var(--line); }
.seg label:first-of-type { border-inline-start: 0; }
.seg input:checked + label { background: var(--brown); color: var(--cream); }
.cond { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--med) var(--ease), margin var(--med) var(--ease); }
.cond-inner { overflow: hidden; }
.cond.is-open { grid-template-rows: 1fr; margin-top: 16px; }
.cond__hint { font-size: 14px; color: var(--blush); margin: 0 0 12px; }

.checkbox { display: flex; align-items: flex-start; gap: 12px; margin: clamp(26px, 3vw, 34px) 0; cursor: pointer; font-size: var(--fs-b-s); line-height: 1.6; color: var(--brown); }
.checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox__box { flex: none; width: 18px; height: 18px; border: 1px solid var(--line); background: var(--cream); margin-top: 3px; position: relative; transition: border-color var(--fast); }
.checkbox__box::after { content: ""; position: absolute; inset: 4px; background: var(--brown); transform: scale(0); transition: transform var(--fast) var(--ease); }
.checkbox input:checked ~ .checkbox__box { border-color: var(--brown); }
.checkbox input:checked ~ .checkbox__box::after { transform: scale(1); }

.mock-note {
  background: rgba(237,204,148,0.16); border: 1px dashed var(--gold-deep); padding: 14px 18px;
  font-size: 12.5px; color: var(--brown); line-height: 1.6; margin-bottom: clamp(26px, 3vw, 34px);
  display: flex; gap: 12px; align-items: flex-start;
}
.mock-note strong { color: var(--brown-ink); }

/* swipe-to-order finger slider */
.swipe {
  position: relative; margin-top: clamp(20px, 2.4vw, 30px);
  height: 70px; background: var(--sand); border: 1px solid var(--line);
  overflow: hidden; user-select: none; touch-action: pan-y;
}
.swipe__fill { position: absolute; inset: 0; left: auto; right: 0; width: 70px; background: var(--accent); transition: width var(--fast) linear; }
.swipe__label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: clamp(17px, 1.8vw, 22px); color: var(--brown); letter-spacing: 0.02em;
  pointer-events: none; z-index: 1;
}
.swipe__thumb {
  position: absolute; top: 4px; bottom: 4px; right: 4px;
  width: 62px; background: var(--accent); color: var(--cream);
  display: flex; align-items: center; justify-content: center; cursor: grab; z-index: 3;
  transition: box-shadow var(--fast);
}
.swipe__thumb:active { cursor: grabbing; }
.swipe__thumb svg { width: 22px; height: 16px; }
.swipe.is-done .swipe__thumb { background: var(--brown); }
.swipe.is-done .swipe__label { color: var(--cream); }
.form-submit-note { text-align: center; font-size: var(--fs-b-xs); color: var(--blush); letter-spacing: 0.03em; margin-top: 16px; }

/* progressive disclosure of the lower form */
.form-continue { margin-top: clamp(22px, 2.6vw, 30px); }
.form-continue.is-hidden { display: none; }
.form-rest { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows var(--med) var(--ease), opacity var(--med) var(--ease); }
.form-rest__inner { overflow: hidden; }
.form-rest.is-open { grid-template-rows: 1fr; opacity: 1; }

/* ===== S12 FAQ ===== */
.faq { background: var(--sand); }
.faq__head { text-align: center; margin-bottom: clamp(34px, 4vw, 52px); }
.faq__list { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; }
.faq__item { border-top: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.faq__item.is-in { opacity: 1; transform: none; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px;
  padding: clamp(20px, 2.2vw, 26px) 4px; cursor: pointer;
  font-family: var(--f-display); font-size: var(--fs-d-m); color: var(--brown-ink);
  transition: color var(--fast);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent-deep); }
.faq__plus { width: 22px; height: 22px; color: var(--brown); transition: transform var(--med) var(--ease), color var(--fast); flex: none; }
.faq__item[open] .faq__plus { transform: rotate(45deg); color: var(--accent); }
.faq__item[open] .faq__q { color: var(--accent-deep); }
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--med) var(--ease); }
.faq__body-inner { overflow: hidden; }
.faq__item[open] .faq__body { grid-template-rows: 1fr; }
.faq__body p { margin: 0; padding: 0 4px clamp(20px, 2.2vw, 26px); font-size: clamp(15px, 1.2vw, 16.5px); line-height: 1.8; color: var(--brown); max-width: 70ch; }
.faq__body a { color: var(--accent-deep); border-bottom: 1px solid var(--line); }

/* ===== Final CTA ===== */
.final { background: var(--brown); color: var(--cream); text-align: center; }
.final__title { margin: 0 auto clamp(28px, 3.4vw, 40px); max-width: 24ch; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.final__hand { font-family: var(--f-hand); font-size: clamp(26px, 3.2vw, 46px); color: var(--gold); line-height: 1.2; }
.final__statement { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 4.2vw, 56px); color: var(--cream); line-height: 1.12; text-wrap: balance; }
.final__cta { display: flex; justify-content: center; }

/* ===== Footer ===== */
.foot { background: var(--sand); border-top: 1px solid var(--line); padding: clamp(36px, 4.4vw, 56px) var(--gutter); }
.foot__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.foot__logo img { height: 34px; width: auto; }
.foot__nav { display: inline-flex; gap: 14px; justify-content: center; }
.foot__nav a { width: 38px; height: 38px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--brown); transition: border-color var(--fast), color var(--fast); }
.foot__nav a:hover { border-color: var(--brown); color: var(--brown-ink); }
.foot__legal { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; font-size: 12px; color: var(--blush); }
.foot__legal a { border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.foot__legal a:hover { color: var(--brown); border-color: var(--brown); }

/* ===== Sticky CTA ===== */
.sticky {
  position: fixed; inset-block-end: 18px; inset-inline-start: 18px; z-index: 40;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity var(--med) var(--ease), transform var(--med) var(--ease);
  box-shadow: 0 18px 44px rgba(61,45,28,0.28);
}
.sticky.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* tier emphasis toggle (tweak) */
body.tiers-equal .tier--featured { background: var(--cream); border-color: var(--line); }
body.tiers-equal .tier--featured .tier__cur { color: var(--accent-deep); }
body.tiers-equal .tier--featured .tier__list li::before { border-color: var(--accent); }
body.tiers-equal .tier__flag { display: none; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (min-width: 821px) {
  .flip__edge { display: flex; }
  /* flipbook: phone shares the row with the intro copy */
  .flip__layout { grid-template-columns: 0.85fr 1fr; gap: clamp(36px, 5vw, 80px); }
  .flip__aside { text-align: right; }
  .flip__aside .flip__head { text-align: right; margin: 0; max-width: 32ch; }
  .flip__aside .flip__head .lede { margin-inline: 0; }
  .flip__aside .flip__sticky-cta { justify-content: flex-start; margin-top: clamp(28px, 3.4vw, 40px); }
}
@media (min-width: 1024px) {
  /* Desktop: use the width — no narrow centre strip (per brief §rules) */
  .form-sec__inner { max-width: 1160px; }
  .form-sec__grid { grid-template-columns: 0.82fr 1.18fr; grid-template-rows: auto 1fr; align-items: start; }
  .form-tier { grid-column: 2; grid-row: 1; }
  .form-aside { grid-column: 1; grid-row: 1 / 3; }
  .form-sec__main { grid-column: 2; grid-row: 2; }
  .form-aside__inner { position: sticky; top: 28px; }
  .form-sec__head { text-align: center; }

  /* FAQ: sticky heading beside the list */
  .faq .wrap { display: grid; grid-template-columns: 0.66fr 1.34fr; gap: clamp(40px, 5vw, 84px); align-items: start; max-width: 1160px; }
  .faq__head { text-align: right; margin: 0; position: sticky; top: 40px; }
  .faq__list { max-width: none; margin: 0; }

  /* Bug/Feature: give the card real presence */
  .bf__stage { max-width: 960px; }
  .bf-card { min-height: clamp(400px, 32vw, 460px); }

  /* Pricing & how a touch wider */
  .price__grid { max-width: 1040px; }
}
@media (max-width: 980px) {
  .whatis__grid { grid-template-columns: 1fr; gap: 30px; }
  .whatis__intro { grid-column: 1; grid-row: 1; }
  .whatis__visual { grid-column: 1; grid-row: 2; max-width: 320px; margin: 0 auto; }
  .whatis__body { grid-column: 1; grid-row: 3; }
  .layers__grid { grid-template-columns: 1fr; gap: 26px; }
  .layers__panels { min-height: 0; }
  .about__grid { grid-template-columns: 1fr; gap: 26px; }
  .about__head { grid-column: 1; grid-row: 1; }
  .about__portrait { grid-column: 1; grid-row: 2; max-width: 340px; margin: 0 auto; }
  .about__copy { grid-column: 1; grid-row: 3; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  /* pricing: swipe sideways instead of stacking down the page */
  .price__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 14px; scrollbar-width: none; }
  .price__grid::-webkit-scrollbar { display: none; }
  .tier { scroll-snap-align: center; }
  .tier__flag { font-size: 10px; padding: 6px 12px; }
  /* how: swipe the 3 steps sideways instead of a long column */
  .how__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .how__list::-webkit-scrollbar { display: none; }
  .how__step { scroll-snap-align: center; }
  .tier-select { grid-template-columns: 1fr; }
  /* product spec strip → 2×2 on mobile */
  .product__spec { grid-template-columns: 1fr 1fr; }
  .product__spec li:nth-child(odd) { border-inline-start: 0; }
  .product__spec li:nth-child(n+3) { border-top: 1px solid var(--line); }
  /* product: CTA right after the spec table, body text last; hide the close hairline */
  .product__inner { display: flex; flex-direction: column; }
  .product__body { order: 1; margin-top: clamp(24px, 5vw, 32px); }
  .spine { display: none; }
  .foot__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
  .foot__legal { align-items: center; }
  /* mobile flipbook: no phone bezel */
  .phone { width: min(360px, 86vw); background: transparent; border-radius: 0; padding: 0; box-shadow: none; }
  .phone__notch { display: none; }
  .phone__screen { border-radius: 4px; border: 1px solid rgba(237,204,148,0.25); box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
  .flip__swipehint { display: block; }
  /* hero fills the first screen so the lead text sits below the fold until scroll */
  .hero { min-height: 84svh; display: flex; flex-direction: column; justify-content: center; }
  .hero__inner { width: 100%; }
  /* hero scroll cue (mobile) — invites "there's more below", no words */
  .hero__scrollcue { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-top: clamp(26px, 7vw, 46px); color: var(--blush); animation: cueBounce 1.8s var(--ease) infinite; }
  .hero__scrollcue svg { width: 24px; height: 15px; }
  /* mobile: CTA sits between the intro copy and the phone */
  .flip .wrap { display: flex; flex-direction: column; }
  .flip__head { order: 0; }
  .flip__sticky-cta { order: 1; margin: clamp(18px,4vw,26px) 0 clamp(26px,6vw,38px); }
  .flip__viewport { order: 2; }
  .bf-pane { padding: clamp(26px, 6.5vw, 34px); padding-inline-start: clamp(34px, 9%, 64px); gap: clamp(10px, 3vw, 15px); justify-content: flex-start; }
  .bf-pane > :not(.bf-pane__fx) { max-width: 100%; }
  .bf-pane__frame { font-size: clamp(22px, 6.2vw, 28px); }
  .bf-pane__expr { font-size: clamp(26px, 7.2vw, 34px); max-width: 100%; }
  .bf-pane__lead { font-size: clamp(19px, 5.2vw, 24px); }
  .bf-pane__text { font-size: clamp(15.5px, 4.2vw, 18px); line-height: 1.6; }
  .bf-pane__wave { display: none; }
  .bf-card { min-height: clamp(500px, 140vw, 620px); }
  .sticky { inset-inline: 14px; inset-block-end: 14px; }
  .sticky .btn { width: 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .fgrid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal, .faq__item { opacity: 1 !important; transform: none !important; }
  .hero__scrollcue { animation: none !important; }
}
