/* ─────────────────────────────────────────────────────────────
   עונים לי במשימות — tokens, shared components, landing sections.
   The עונים לי family language (~/maane/DESIGN.md): ink on cream paper, one dial yellow.
   Yellow fills (the one action, a live state, the marker); text and strokes on paper stay ink.
   app.html loads this file too.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #fbf9f3;
  --surface: #fffdf7;
  --surface-2: #f4eedf;
  --ink: #1b1a17;
  --ink-soft: #57534a;
  --line: rgba(27, 26, 23, .14);
  --line-strong: rgba(27, 26, 23, .32);
  --accent: #ffe81a;          /* dial yellow: the answered hole of the logo */
  --accent-ink: #1b1a17;
  --accent-soft: #f6f0df;     /* ivory */
  --accent-text: #1b1a17;     /* yellow is unreadable on paper: marks drawn on paper are ink */
  --achiya: #3a2168;
  --warn: #b42318;
  --band: #1f1d19;
  --band-2: rgba(255, 255, 255, .08);
  --on-band: #fbf6e8;
  --on-band-soft: #d8cfb9;
  --phone: #1b1a17;
  --me: #1b1a17;
  --me-ink: #fbf6e8;
  --agent: #f4eedf;
  --slip: #fffefa;

  --f-display: "Suez One", Georgia, serif;
  --f-body: "Varela Round", system-ui, sans-serif;
  --f-ui: "Secular One", system-ui, sans-serif;
  --f-num: "Secular One", system-ui, sans-serif;
  --w-display: 400;
  --w-ui: 400;
  --display-scale: 1;

  --r: 26px 8px 26px 8px;      /* family leaf corner */
  --r-sm: 16px 5px 16px 5px;
  --r-xs: 10px 3px 10px 3px;
  --r-pill: 999px;
  --bw: 2px;
  --shadow: 3px 4px 0 rgba(27, 26, 23, .86);
  --shadow-soft: 0 14px 34px -20px rgba(27, 26, 23, .4), 3px 4px 0 rgba(27, 26, 23, .1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  --pen-ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'%3E%3Cpath d='M182 22C150 4 52 2 20 24C-2 40 30 74 104 74C170 74 200 54 186 30C178 18 158 10 134 8' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --head-h: 68px;
  color-scheme: light;
}

/* ── base ── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0; background: var(--bg) var(--grain); color: var(--ink);
  font: 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: var(--w-display); line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
button, input, select, textarea { font: inherit; color: inherit; }
b, strong { font-family: var(--f-ui); font-weight: var(--w-ui); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--accent); }
.band :focus-visible { outline-color: var(--on-band); }
.skip-link {
  position: fixed; z-index: 100; top: 8px; inset-inline-start: 8px; min-height: 44px; padding: 11px 16px;
  background: var(--ink); color: var(--bg); border-radius: var(--r-sm); text-decoration: none;
  font: var(--w-ui) 16px var(--f-ui); transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.i { display: inline-block; width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 11px 22px; border: var(--bw) solid var(--ink); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); font: var(--w-ui) 17px/1.15 var(--f-ui);
  text-decoration: none; cursor: pointer; box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px) scale(.97); box-shadow: 1px 1px 0 var(--ink); }
.btn--pen { background: var(--accent); color: var(--accent-ink); }
.btn--big { min-height: 58px; padding: 15px 28px; font-size: 19px; border-radius: var(--r); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 16px; }
.btn--ghost { background: transparent; box-shadow: none; border-color: var(--line-strong); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn .i { width: 1.1em; height: 1.1em; }

/* ── brand: the family header (logo, name, the product as a smaller descriptor, «מבית אחיה אוטומציה») ── */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 42px; height: 42px; flex: none; }
.brand__txt { display: grid; line-height: 1.05; }
.brand__line { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.brand__name { font: 26px/1 var(--f-display); }
.brand__channel { font: 16px/1 var(--f-ui); color: var(--ink-soft); }
.brand__by { margin-top: 4px; font: 12px/1.3 var(--f-body); color: var(--ink-soft); }
.brand__by b { font: inherit; color: var(--achiya); }

/* ── phone + chat bubbles (hero demo; the dashboard reuses the bubbles) ── */
.phone {
  position: relative; width: min(100%, 330px); margin-inline: auto; padding: 11px;
  background: var(--phone); border-radius: 50px;
  box-shadow: 0 44px 70px -36px rgba(27, 26, 23, .6), 8px 10px 0 rgba(27, 26, 23, .15);
}
.phone__screen { height: 620px; border-radius: 40px; background: var(--surface); display: flex; flex-direction: column; }
.phone__status { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px 2px; font: 600 13px/1 system-ui, sans-serif; direction: ltr; }
.phone__island { width: 88px; height: 26px; border-radius: 14px; background: var(--phone); }
.phone__bat { position: relative; width: 23px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; opacity: .8; }
.phone__bat::after { content: ""; position: absolute; inset: 1.5px 6px 1.5px 1.5px; border-radius: 1px; background: currentColor; }
.phone__head { display: flex; align-items: center; gap: 10px; padding: 8px 16px 10px; border-bottom: 1px solid var(--line); }
.ava {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font: var(--w-display) 19px/1 var(--f-display);
}
.phone__who b { display: block; font-size: 16px; line-height: 1.2; }
.phone__who small { font-size: 12.5px; color: var(--ink-soft); }
.chat {
  flex: 1; min-height: 0; list-style: none; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 10px; padding: 14px 12px 18px;
}
@supports (overflow-y: clip) { .chat { overflow-x: visible; overflow-y: clip; } }
.msg { max-width: 86%; font-size: 15px; line-height: 1.45; }
.msg--me {
  align-self: flex-end; padding: 9px 13px; border-radius: 18px; border-end-end-radius: 5px;
  background: var(--me); color: var(--me-ink);
}
.msg--agent { align-self: flex-start; }
.msg--agent > p { padding: 10px 13px; border-radius: 18px; border-end-start-radius: 5px; background: var(--agent); }
.msg__cap { display: block; margin-top: 6px; font-size: 13.5px; opacity: .85; }
.voice { display: flex; align-items: center; gap: 10px; }
.wave { width: 92px; height: 22px; fill: currentColor; }
.voice__len { font-size: 12.5px; opacity: .75; }
.photo { display: flex; align-items: center; gap: 10px; }
.photo__thumb { width: 46px; height: 58px; flex: none; border-radius: 6px; background: var(--slip); color: var(--ink); display: grid; place-items: center; }
.photo__thumb .i { width: 28px; height: 28px; }
.acts { display: flex; gap: 8px; margin-top: 10px; }
.act {
  flex: 1; min-height: 44px; padding: 6px 10px; border: var(--bw) solid var(--ink); border-radius: var(--r-xs);
  background: var(--surface); color: var(--ink); font: var(--w-ui) 15px/1.1 var(--f-ui); cursor: pointer;
}
.act--yes { background: var(--accent); color: var(--accent-ink); }
.acted { display: flex; align-items: center; gap: 6px; margin-top: 8px; font: var(--w-ui) 14.5px var(--f-ui); color: var(--accent-text); }
.typing { display: inline-flex; gap: 4px; padding: 13px 15px; border-radius: 18px; border-end-start-radius: 5px; background: var(--agent); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); opacity: .5; }

/* «מה עשיתי» — the torn receipt the agent hands back. It breaks out of the phone on purpose. */
.msg--slip { max-width: none; align-self: stretch; margin-inline-end: -46px; position: relative; z-index: 2; }
.slip {
  transform: rotate(-2.5deg); transform-origin: 100% 0;
  filter: drop-shadow(0 10px 12px rgba(27, 26, 23, .2)) drop-shadow(2px 3px 0 rgba(27, 26, 23, .15));
}
.slip__paper {
  --z: 6px; padding: 14px 16px 16px; background: var(--slip); color: var(--ink);
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(2 * var(--z)) 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) 51% repeat-x;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(2 * var(--z)) 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) 51% repeat-x;
}
.slip__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1.5px dashed var(--line-strong); font: var(--w-ui) 15px/1.2 var(--f-ui); }
.slip__head span { font: 13px/1 var(--f-num); color: var(--ink-soft); }
.slip__steps { list-style: none; display: grid; gap: 6px; }
.slip__steps li { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; line-height: 1.35; }
.slip__sum { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 8px; border-top: 1.5px dashed var(--line-strong); font: var(--w-ui) 14px/1.2 var(--f-ui); }
.tick { flex: none; width: 20px; height: 20px; margin-top: -1px; fill: none; stroke: var(--accent-text); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }

/* picks under the phone: the pen circles what is chosen */
.picks { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 12px; margin-top: 26px; }
.picks__label { font: var(--w-ui) 15px var(--f-ui); color: var(--ink-soft); }
.pick {
  position: relative; min-height: 44px; padding: 8px 16px; border: var(--bw) solid var(--ink); border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); font: var(--w-ui) 15.5px/1.1 var(--f-ui); cursor: pointer;
}
.pick[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.pick[aria-pressed="true"]::after {
  content: ""; position: absolute; inset: -8px -10px; pointer-events: none; background: var(--accent);
  -webkit-mask: var(--pen-ring) center / 100% 100% no-repeat; mask: var(--pen-ring) center / 100% 100% no-repeat;
}

/* ── page header ── */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.top__in { display: flex; align-items: center; gap: 28px; min-height: var(--head-h); }
.top__nav { display: flex; gap: 24px; margin-inline-start: auto; }
.top__nav a { padding: 10px 2px; font: var(--w-ui) 16px var(--f-ui); color: var(--ink-soft); text-decoration: none; }
.top__nav a:hover { color: var(--ink); }
@media (max-width: 860px) { .top__nav { display: none; } .top__in > .btn { margin-inline-start: auto; } }

/* ── sections ── */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { font-size: calc(clamp(34px, 5vw, 56px) * var(--display-scale)); }
.sec-head p { margin-top: 12px; font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-soft); }
.kicker { margin-bottom: 12px; font: var(--w-ui) 15px var(--f-ui); color: var(--ink-soft); }
.band { background: var(--band) var(--grain); color: var(--on-band); }
.band .sec-head p, .band .kicker { color: var(--on-band-soft); }
.fine { font-size: 15px; color: var(--ink-soft); }

/* hero */
.hero { overflow-x: clip; padding-block: clamp(24px, 4vw, 56px) clamp(64px, 8vw, 104px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 48px 56px; }
.hero h1 { font-size: calc(clamp(48px, 7.4vw, 100px) * var(--display-scale)); line-height: 1.02; }
.lead { margin-top: 22px; max-width: 28em; font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.circ { position: relative; display: inline-block; white-space: nowrap; }
.circ svg { position: absolute; inset-inline-start: -11%; top: -13%; width: 122%; height: 134%; overflow: visible; pointer-events: none; }
.circ path { fill: none; stroke: var(--accent-text); stroke-width: 4.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero__demo { position: relative; }
.hero__demo::before {
  content: ""; position: absolute; z-index: 0; top: 34px; left: 50%; width: min(80%, 320px); height: 560px;
  border: var(--bw) solid var(--ink); border-radius: var(--r);
  background: repeating-linear-gradient(180deg, transparent 0 33px, color-mix(in srgb, var(--accent) 15%, transparent) 33px 34px) 0 70px / 100% calc(100% - 96px) no-repeat, var(--surface-2);
  transform: translateX(-74%) rotate(7deg); box-shadow: 4px 5px 0 rgba(27, 26, 23, .12);
}
.hero__demo .phone { z-index: 1; transform: rotate(-2deg); }
@media (max-width: 900px) { .hero__in { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .msg--slip { margin-inline-end: -30px; } .phone__screen { height: 600px; } }

/* a day with the agent */
.day__line { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.day__line::before {
  content: ""; position: absolute; top: 21px; inset-inline: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 15px);
  transform-origin: 100% 50%;
}
.moment { position: relative; }
.moment__time { display: flex; align-items: center; gap: 12px; font: var(--w-ui) 22px/1 var(--f-num); }
.moment__dot { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--surface); border: var(--bw) solid var(--ink); }
.moment__kind { margin: 16px 0 10px; font: var(--w-ui) 15px var(--f-ui); color: var(--ink-soft); }
.bubble {
  max-width: 360px; padding: 14px 16px; border: var(--bw) solid var(--ink); border-radius: 20px; border-start-start-radius: 6px;
  background: var(--surface); font-size: 16.5px; line-height: 1.5; box-shadow: var(--shadow-soft);
}
.bubble .acts { pointer-events: none; }
.bubble .act { min-height: 38px; display: grid; place-items: center; }
@media (max-width: 760px) {
  .day__line { grid-template-columns: 1fr; gap: 30px; }
  .day__line::before { top: 22px; bottom: 22px; inset-inline: 21px auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 15px); transform-origin: 50% 0; }
  .moment__kind, .moment .bubble { margin-inline-start: 56px; }
  .moment__kind { margin-top: 8px; }
}

/* connections */
.keys { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.key {
  display: grid; align-content: start; justify-items: start; gap: 8px; padding: 22px 18px;
  background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow-soft);
}
.key > .i { width: 40px; height: 40px; stroke-width: 1.7; margin-bottom: 6px; }
.key b { font-size: 18px; line-height: 1.2; }
.key__access { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; color: var(--ink-soft); }
.key__access .i { color: var(--accent-text); }
.key--more { background: var(--ink); color: var(--bg); }
.key__num { font: var(--w-display) calc(42px * var(--display-scale))/1 var(--f-display); direction: ltr; }
.note-line { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--ink-soft); }
.note-line .i { color: var(--accent-text); }
@media (max-width: 960px) { .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); } .key--more { grid-column: 1 / -1; } }

/* business */
.biz__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 48px; }
.btn--light { background: var(--on-band); color: var(--band); border-color: var(--on-band); box-shadow: 3px 4px 0 rgba(0, 0, 0, .55); }
.biz__scene { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.night { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r); background: var(--band-2); }
.scene-time { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font: var(--w-ui) 15px var(--f-ui); color: var(--on-band-soft); }
.bb { max-width: 88%; padding: 9px 13px; border-radius: 16px; font-size: 15.5px; line-height: 1.45; }
.bb--cust { align-self: flex-start; background: rgba(255, 255, 255, .1); border-end-start-radius: 5px; }
.bb--agent { align-self: flex-end; background: var(--on-band); color: var(--band); border-end-end-radius: 5px; }
.morning {
  padding: 20px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--surface); color: var(--ink);
  transform: rotate(-2deg) translateY(30px); box-shadow: var(--shadow), 0 30px 60px -20px rgba(0, 0, 0, .55);
}
.morning .scene-time { color: var(--ink-soft); }
.morning__title { margin-bottom: 10px; font: var(--w-display) calc(26px * var(--display-scale))/1.15 var(--f-display); }
.morning__list { list-style: none; }
.morning__list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; }
.morning__list .i { color: var(--accent-text); }
.morning__list .is-wait .i { color: var(--ink-soft); }
@media (max-width: 960px) { .biz__in, .biz__scene { grid-template-columns: 1fr; } .morning { transform: rotate(-1.5deg); } }

/* advantages */
.edge__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile {
  display: flex; flex-direction: column; padding: 16px 16px 20px;
  background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow-soft);
}
.tile__art { display: grid; place-items: center; height: 112px; margin-bottom: 16px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); }
.tile__art svg { width: 100%; height: 100%; overflow: visible; }
.tile h3 { font-size: calc(21px * var(--display-scale)); line-height: 1.18; }
.tile p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.art-stroke { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.art-pen { fill: none; stroke: var(--accent-text); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.art-fill { fill: var(--accent); }
.art-paper { fill: var(--surface); stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; }
.art-text { fill: currentColor; font-family: var(--f-display); font-weight: var(--w-display); }
.art-ui { fill: currentColor; font-family: var(--f-ui); font-weight: var(--w-ui); }
.art-ink { fill: currentColor; }
.art-oninv { fill: none; stroke: var(--accent-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.art-inv { fill: var(--accent-ink); }
.art-soft { fill: var(--accent-soft); }
.art-edge { stroke: currentColor; stroke-width: 2.5; }
.art-bold { stroke-width: 4; }
.art-thick { stroke-width: 6; }
.art-heavy { stroke-width: 7; }
@media (max-width: 1060px) { .edge__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .edge__grid { grid-template-columns: 1fr; gap: 12px; }
  .tile { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 14px; padding: 12px; }
  .tile__art { grid-row: span 2; width: 96px; height: 96px; margin: 0; padding: 6px; }
  .tile h3 { align-self: end; font-size: calc(19px * var(--display-scale)); }
  .tile p { margin: 0; font-size: 15px; }
}

/* how to start */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; margin-bottom: 44px; }
.step { position: relative; padding: 30px 22px 22px; background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow-soft); }
.step__n {
  position: absolute; top: -23px; inset-inline-start: 18px; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--accent); color: var(--accent-ink);
  font: var(--w-display) 24px/1 var(--f-display); box-shadow: var(--shadow);
}
.step__art { display: grid; place-items: center; height: 104px; margin-bottom: 16px; border-radius: var(--r-sm); background: var(--surface-2); }
.step h3 { font-size: calc(22px * var(--display-scale)); }
.step p { margin-top: 6px; font-size: 16px; color: var(--ink-soft); }
.fake-input { display: inline-flex; align-items: center; min-width: 180px; min-height: 46px; padding: 8px 14px; border: var(--bw) solid var(--ink); border-radius: var(--r-xs); background: var(--surface); font: var(--w-ui) 18px var(--f-ui); }
.caret { display: inline-block; width: 2px; height: 1.2em; margin-inline-start: 3px; background: var(--accent); }
.qr-mini { width: 74px; height: 74px; }
.step__art .msg--me { font-size: 15px; }
.start__cta { text-align: center; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 520px; } }

/* comparison */
.vs__table {
  width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden;
  background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow-soft);
}
.vs__table th, .vs__table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: start; font-weight: 400; }
.vs__table tr:last-child > * { border-bottom: 0; }
.vs__table thead th { font: var(--w-ui) 17px/1.25 var(--f-ui); }
.vs__table tbody th { font-size: 16.5px; line-height: 1.4; }
.vs__table td { width: 22%; text-align: center; }
.vs__us { background: var(--accent-soft); }
.vs__table thead .vs__us { background: var(--accent); color: var(--accent-ink); }
.yes { width: 28px; height: 28px; color: var(--accent-text); stroke-width: 3; vertical-align: middle; }
.no { font: var(--w-ui) 20px var(--f-ui); color: var(--ink-soft); }
@media (max-width: 560px) { .vs__table th, .vs__table td { padding: 12px 10px; } .vs__table td { width: 24%; } .vs__table tbody th { font-size: 15.5px; } }

/* pricing */
.period { display: inline-flex; margin: 0 0 30px; padding: 4px; border: var(--bw) solid var(--ink); border-radius: var(--r-pill); background: var(--surface); }
.period label { position: relative; }
.period input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.period span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); font: var(--w-ui) 16px var(--f-ui); }
.period input:checked + span { background: var(--ink); color: var(--bg); }
.period input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.period em { padding: 2px 8px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); font-size: 13.5px; font-style: normal; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px;
  background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow-soft);
}
.plan--rec { box-shadow: 0 0 0 6px var(--accent), var(--shadow); }
.plan__badge { position: absolute; top: -15px; inset-inline-start: 20px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); font: var(--w-ui) 14px/1.2 var(--f-ui); }
.plan h3 { font-size: calc(26px * var(--display-scale)); }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font: var(--w-display) calc(54px * var(--display-scale))/1 var(--f-display); direction: ltr; }
.plan__price span { color: var(--ink-soft); }
.plan__year { min-height: 1.6em; font-size: 14.5px; color: var(--ink-soft); }
.plan__credits { font: var(--w-ui) 17px var(--f-ui); }
.plan__fit { color: var(--ink-soft); font-size: 16px; }
.plan__feat { list-style: none; display: grid; gap: 6px; font-size: 15.5px; }
.plan__feat li { display: flex; gap: 8px; align-items: flex-start; }
.plan__feat .i { color: var(--accent-text); margin-top: .2em; }
.plan .btn { margin-top: auto; }
.price__terms { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; list-style: none; color: var(--ink-2, var(--ink-soft)); }
.price__terms li { display: flex; align-items: center; gap: 8px; }
.price__terms .i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent); stroke-width: 3; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; gap: 28px; } }

/* privacy */
.privacy__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 48px; }
.privacy__art svg { display: block; width: 100%; max-width: 300px; margin-inline: auto; overflow: visible; }
.promises { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin-top: 30px; }
.promises li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; }
.promises .i { grid-row: span 2; width: 30px; height: 30px; color: var(--accent-text); }
.promises b { font-size: 18px; }
.promises span { font-size: 16px; color: var(--ink-soft); }
@media (max-width: 760px) { .privacy__in, .promises { grid-template-columns: 1fr; } .privacy__art svg { max-width: 220px; } }

/* faq */
.faq__in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 32px 48px; align-items: start; }
.faq__in h2 { font-size: calc(clamp(34px, 5vw, 56px) * var(--display-scale)); }
.faq__list { display: grid; gap: 12px; }
.faq__list details { background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r-sm); box-shadow: var(--shadow-soft); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 58px; padding: 14px 18px; list-style: none; cursor: pointer; font: var(--w-ui) 18px/1.3 var(--f-ui); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary .i { transition: transform .2s ease; }
.faq__list details[open] summary .i { transform: rotate(180deg); }
.faq__list details p { padding-inline: 18px; font-size: 16.5px; color: var(--ink-soft); }
.faq__list details p + p { margin-top: 8px; }
.faq__list details p:last-child { padding-bottom: 18px; }
@media (max-width: 860px) { .faq__in { grid-template-columns: 1fr; } }

/* final */
.final { text-align: center; }
.final h2 { font-size: calc(clamp(38px, 6vw, 68px) * var(--display-scale)); }
.final__asks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0 34px; }
.final__asks li { padding: 10px 16px; border-radius: 18px; border-end-end-radius: 5px; background: var(--me); color: var(--me-ink); font-size: 16.5px; }
.final .fine { margin-top: 16px; }

/* footer */
.foot { padding-block: 34px; border-top: 1px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-inline-start: auto; }
.foot nav a { display: inline-block; padding: 10px 0; color: var(--ink-soft); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot p { width: 100%; font-size: 14.5px; color: var(--ink-soft); }

/* ── motion: one short semantic move per section, then it stops ── */
@media (prefers-reduced-motion: no-preference) {
  .circ path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s .35s cubic-bezier(.65, .05, .35, 1) forwards; }
  .chat > .is-new { animation: pop .32s cubic-bezier(.2, .8, .3, 1.2) both; }
  .slip__steps li.is-new { animation: fade .25s ease-out both; }
  .slip__steps li.is-new .tick path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .35s .05s ease-out forwards; }
  .typing i { animation: blink 1s infinite; }
  .typing i:nth-child(2) { animation-delay: .15s; }
  .typing i:nth-child(3) { animation-delay: .3s; }
  .caret { animation: caret 1s steps(1) 4; }
  .js [data-reveal] .rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal].in .rv { opacity: 1; transform: none; }
  .js [data-reveal].in .rv:nth-child(2) { transition-delay: .18s; }
  .js [data-reveal].in .rv:nth-child(3) { transition-delay: .36s; }
  .js [data-reveal].in .rv:nth-child(4) { transition-delay: .48s; }
  .js [data-reveal].in .rv:nth-child(5) { transition-delay: .6s; }
  .js .day__line::before { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.65, .05, .35, 1); }
  .js .day.in .day__line::before { transform: none; }
  .js .morning.rv { transform: rotate(-6deg) translateY(70px); }
  .js .in .morning.rv { transform: rotate(-2deg) translateY(30px); transition-delay: .3s; }
  .btn, .pick { transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  .js .day__line::before { transform: scaleY(0); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 960px) {
  .js .morning.rv, .js .in .morning.rv { transform: rotate(-1.5deg); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes caret { 50% { opacity: 0; } }

/* ── text pages (privacy, terms, accessibility) ── */
.doc { max-width: 44rem; padding-block: 40px 64px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc h2 { margin-top: 36px; font-size: 24px; }
.doc p, .doc li { margin-top: 12px; font-size: 17.5px; line-height: 1.65; }
.doc ul { padding-inline-start: 1.2em; }
.doc__date { color: var(--ink-soft); font-size: 15px; }
.foot b.by { font: inherit; color: var(--achiya); }
