/* wiper · v8
   Product landing page in a showroom language: one container, full-bleed photos,
   restrained headings, the product as the hero. Hebrew RTL first. Light only.
   Order follows the page. Each component keeps its phone rules next to it.
   Breakpoints: 760/761 phone, 860 small tablet, 899/900 footer and bar, 1000 header nav. */

@font-face { font-family: "Fredoka"; src: url("assets/fonts/fredoka-hebrew-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Fredoka"; src: url("assets/fonts/fredoka-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: "Handjet"; src: url("assets/fonts/handjet-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2212; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f6f2f0;
  --sakura: #f7dde0;
  --ink: #3a1e2a;
  --ink-2: #6b4a57;
  --line: rgb(58 30 42 / .12);
  --line-2: rgb(58 30 42 / .24);
  --line-3: rgb(58 30 42 / .45);
  --field: #8a6f7b;
  --accent: #7a2340;
  --accent-2: #5e1a31;
  --error: #a3271c;
  --tbd-bg: #fff3cc;
  --tbd-ink: #5a4300;
  --tbd-rule: #8c6a00;

  --font: "Fredoka", "Segoe UI", Arial, sans-serif;           /* Hebrew + Latin */
  --font-num: "Handjet", "Fredoka", ui-monospace, monospace;  /* digits, LCD feel */
  --num-settings: "ELSH" 2, "ELGR" 1;

  /* Type scale (~1.2): every size on the page comes from here (the hero keeps its own vw sizes) */
  --fs-xs: .9375rem;   /* 15px labels, dimensions */
  --fs-s: 1.0625rem;   /* 17px secondary text */
  --fs-m: 1.1875rem;   /* 19px body */
  --fs-l: 1.375rem;    /* 22px card titles, questions */
  --fs-xl: 1.75rem;    /* 28px big numbers, confirmations */
  --fs-lead: clamp(1.1875rem, 1.1rem + .3vw, 1.375rem);
  --fs-h2: clamp(2rem, 1.6rem + 1.5vw, 2.75rem);

  --max: 1328px;
  --gutter: clamp(16px, 3.9vw, 56px);
  --section: clamp(72px, 8.5vw, 120px);
  --r: 24px;      /* large media and panels */
  --r-s: 16px;    /* card-size media */
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 760px) { :root { --gutter: 20px; --section: 56px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; caret-color: var(--accent); }
body { margin: 0; background: var(--bg); font-size: var(--fs-m); line-height: 1.6; text-align: start; overflow-x: clip; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: #fff; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: .2em; }
bdi { unicode-bidi: isolate; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tbd { display: inline-block; padding: .05em .55em; border: 1px dashed var(--tbd-rule); border-radius: 6px; background: var(--tbd-bg); color: var(--tbd-ink); font-size: var(--fs-xs); line-height: 1.6; }
.skip { position: fixed; inset-inline-start: 16px; top: -120px; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff; font-weight: 700; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
@media (max-width: 760px) { body { line-height: 1.65; } }

/* ---------- Layout and type ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--text { width: min(100% - 2 * var(--gutter), 760px); }
.section { padding-block: var(--section); }
.section--tint { background: var(--bg-2); }
.sec-head { max-width: 760px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; display: grid; justify-items: center; gap: 12px; }
.h2 { font-family: var(--font); font-weight: 600; font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 60ch; }
@media (min-width: 861px) {
  /* heading on the start (right) side, its lead or control beside it */
  .sec-head { max-width: none; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; justify-items: start; column-gap: clamp(32px, 5vw, 80px); text-align: start; }
  .sec-head > :not(.h2) { grid-column: 2; }
  .wrap--text .sec-head { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sec-head { margin-bottom: 28px; gap: 10px; }
  .h2 { line-height: 1.2; }
  .sec-head .h2 { max-width: 16ch; margin-inline: auto; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-size: var(--fs-s); font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.btn:hover { background: var(--accent-2); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: var(--fs-s); }
.btn--block { width: 100%; min-height: 56px; font-size: var(--fs-m); }

/* ---------- Logo (inline <symbol id="logo">, currentColor; the hanko stays red) ---------- */
.logo { display: block; height: 40px; width: auto; aspect-ratio: 2760 / 1220; color: var(--accent); }
.brand { display: flex; align-items: center; color: inherit; text-decoration: none; white-space: nowrap; }

/* ---------- Floating capsule header (secondary pages only) ---------- */
.top { position: fixed; z-index: 50; top: calc(14px + env(safe-area-inset-top, 0px)); inset-inline: 0; pointer-events: none; }
.top__pill {
  pointer-events: auto; width: min(100% - 2 * var(--gutter) + 24px, var(--max) + 24px); margin-inline: auto;
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding-block: 8px; padding-inline: 18px 10px;
  background: rgb(255 255 255 / .94); border-radius: 999px; box-shadow: 0 10px 30px -16px rgb(58 30 42 / .35), 0 0 0 1px rgb(58 30 42 / .06);
}
.top .btn { margin-inline-start: auto; }
.top__nav { display: none; }
.top__nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-s); padding: 10px 14px; border-radius: 999px; }
.top__nav a:hover { background: var(--bg-2); }
@media (min-width: 1000px) { .top__nav { display: flex; gap: 2px; margin-inline-start: 28px; } }
@media (max-width: 760px) { .top .logo { height: 36px; } }
@media (max-width: 374px) {
  .top__pill { gap: 6px; padding-inline: 12px 6px; }
  .top .btn--sm { padding: 0 12px; font-size: var(--fs-xs); }
}

/* ---------- 1. Hero ---------- */
.hero { position: relative; height: clamp(560px, 86svh, 860px); background: rgb(205 186 178); overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 38% 70%; }
.hero__inner { position: relative; height: 100%; }
.hero__copy { position: absolute; top: clamp(56px, 10svh, 110px); inset-inline-start: 0; width: min(520px, 42%); }
.hero__title { font-family: var(--font); font-weight: 600; }
.hero__name { display: block; }
.logo--hero { height: clamp(120px, 6rem + 6vw, 210px); color: var(--ink); margin-inline-start: -2%; }
.hero__kind { display: block; margin-top: .45em; font-size: clamp(1.375rem, 1.1rem + .9vw, 2rem); font-weight: 500; line-height: 1.2; color: var(--accent); }
.hero__lead { margin-top: 18px; font-size: clamp(1.125rem, 1.05rem + .35vw, 1.375rem); color: var(--ink); max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.specs-strip { position: absolute; inset-inline: 0; bottom: clamp(28px, 5svh, 56px); display: flex; justify-content: center; gap: clamp(28px, 6vw, 96px); text-align: center; }
.specs-strip li { display: grid; justify-items: center; gap: 2px; }
.specs-strip__label { font-size: var(--fs-xs); font-weight: 600; color: var(--ink); }
.specs-strip__num { direction: ltr; unicode-bidi: isolate; font-family: var(--font-num); font-variation-settings: var(--num-settings); font-weight: 500; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.specs-strip__num small { font-size: .38em; font-weight: 500; margin-inline-start: 4px; vertical-align: 1em; letter-spacing: 0; }
.specs-strip__sub { font-size: var(--fs-xs); color: var(--ink); }

/* Tablet: the copy gets more room, the product sits lower */
@media (min-width: 761px) and (max-width: 1099px) {
  .hero__copy { width: min(440px, 58%); }
  .hero__media img { object-position: 30% 85%; }
}

/* Phone: one centred column that scales with the screen width.
   The photo keeps its own shape (never cropped); the button straddles the photo and the strip below. */
@media (max-width: 760px) {
  .hero { height: auto; display: flex; flex-direction: column; background: var(--bg-2); overflow: visible; }
  .hero__inner, .hero__copy { display: contents; }
  .hero__copy { text-align: center; }
  .hero__title, .hero__lead { order: 1; padding-inline: var(--gutter); }
  .hero__title { padding-top: 5vw; }
  .logo--hero { height: min(24vw, 130px); margin-inline: auto; }
  .hero__kind { margin-top: .2em; font-size: min(6vw, 1.75rem); }
  .hero__lead { margin: 1.5vw auto 0; max-width: 90vw; font-size: min(4.4vw, 1.25rem); line-height: 1.55; }
  .hero__media { position: relative; order: 2; inset: auto; height: auto; margin-top: 2vw; }
  .hero__media img { position: static; width: 100%; height: auto; object-fit: fill;
    -webkit-mask-image: linear-gradient(transparent, #000 14%); mask-image: linear-gradient(transparent, #000 14%); }
  .hero__actions { order: 3; position: relative; z-index: 2; margin: -7vw var(--gutter) 0; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 16px; }
  .hero__actions .btn { flex: 1; min-height: 14vw; max-height: 64px; padding-inline: 16px; font-size: min(4.4vw, 1.125rem); box-shadow: 0 10px 24px -12px rgb(58 30 42 / .55); }
  .specs-strip { position: static; order: 4; padding: 4vw var(--gutter) 5vw; gap: 8px; justify-content: space-between; }
  .specs-strip li { flex: 1; }
  .specs-strip__label, .specs-strip__sub { font-size: min(3.6vw, .9375rem); }
  .specs-strip__num { font-size: min(8vw, 2.25rem); }
}
@media (max-width: 374px) {
  .hero__actions { gap: 10px; }
  .hero__actions .btn { padding-inline: 12px; }
}

/* ---------- 2. Scene: full-bleed lifestyle photo, copy on the open wall (left on desktop) ---------- */
.scene { position: relative; height: clamp(560px, 92svh, 920px); overflow: hidden; background: var(--bg-2); }
.scene__media, .scene__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__media img { object-fit: cover; object-position: 50% 75%; }
.scene__copy { position: relative; padding-top: clamp(40px, 6svh, 72px); display: grid; justify-items: end; gap: 12px; text-align: end; }
.scene__copy > * { max-width: min(560px, 42vw); }
.scene__copy .lead { color: var(--ink); }
@media (min-width: 761px) {
  /* soft light behind the copy, so it reads over the wall */
  .scene__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 55% at 0% 0%, rgb(255 255 255 / .82), rgb(255 255 255 / 0) 100%); }
}
@media (max-width: 760px) {
  .scene { height: auto; display: flex; flex-direction: column; background: var(--bg); }
  .scene__media { position: relative; order: 2; height: auto; aspect-ratio: 5504 / 3072; }
  .scene__media img { object-position: 50% 50%; }
  .scene__copy { order: 1; width: auto; padding: var(--section) var(--gutter) 24px; justify-items: center; text-align: center; }
  .scene__copy > * { max-width: none; }
  .scene__copy .h2 { max-width: 16ch; margin-inline: auto; }
}

/* ---------- 3. Cards: four equal (2 × 2 on tablets); a swipe row on phones ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card picture { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-s); overflow: hidden; background: var(--bg-2); }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card__title { margin-top: 20px; font-family: var(--font); font-weight: 700; font-size: var(--fs-l); line-height: 1.3; }
.card__text { margin-top: 6px; color: var(--ink-2); max-width: 36ch; }
@media (min-width: 761px) and (max-width: 1099px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }
@media (max-width: 760px) {
  .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .card__title, .card__text { text-align: center; margin-inline: auto; }
  .card__title { margin-top: 14px; }
  .card__text { font-size: var(--fs-s); }
}

/* ---------- 4. Control panel photo + four facts ---------- */
.panel { margin: 0; border-radius: var(--r); overflow: hidden; background: rgb(239 239 234); }
.panel img { width: 100%; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(28px, 3vw, 44px); }
.facts li { display: grid; gap: 4px; padding-inline: 24px; border-inline-start: 1px solid var(--line-2); }
.facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts b { font-family: var(--font); font-size: var(--fs-l); font-weight: 700; }
.facts span { color: var(--ink-2); }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .facts li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
}
@media (max-width: 760px) {
  .control { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
  .panel { background: rgb(239 237 230); }
  .facts { grid-template-columns: 1fr; margin-top: 0; gap: 0; }
  .facts li, .facts li:nth-child(odd) { padding: 14px 0; border-inline-start: 0; border-bottom: 1px solid var(--line-2); }
  .facts li:last-child { border-bottom: 0; }
  .facts span { font-size: var(--fs-s); }
}

/* ---------- 5. Size tabs, top view with dimension lines, spec ---------- */
.pills { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; background: var(--bg-2); border-radius: 999px; }
.pills [role="tab"] { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: var(--fs-s); font-weight: 700; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s; }
.pills [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; }
.size { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.size__fig { margin: 0; display: flex; justify-content: center; }
.size__shot { position: relative; width: min(100%, 360px); padding-inline-start: 52px; padding-bottom: 52px; }
.size__shot img { width: 100%; }
.dim { position: absolute; display: flex; align-items: center; justify-content: center; gap: 4px; font-family: var(--font); font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); white-space: nowrap; }
/* The vertical label uses physical sides: logical props would rotate with writing-mode (RTL start = right) */
.dim--len { right: 0; top: 0; bottom: 52px; width: 36px; writing-mode: vertical-rl; }
.dim--len::before { content: ""; position: absolute; top: 0; bottom: 0; left: -8px; border-left: 1.5px solid var(--line-3); }
.dim--wid { inset-inline-start: 52px; inset-inline-end: 0; bottom: 0; height: 36px; }
.dim--wid::before { content: ""; position: absolute; inset-inline: 0; top: -8px; border-top: 1.5px solid var(--line-3); }
.spec { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; font-variant-numeric: tabular-nums; }
.spec > div { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }
.spec dd { margin: 0; font-weight: 600; }
.spec bdi { white-space: nowrap; }
@media (max-width: 860px) { .size { grid-template-columns: 1fr; } .spec { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .pills { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .pills::-webkit-scrollbar { display: none; }
  .pills [role="tab"] { padding: 0 16px; }
  .size { gap: 24px; }
  .size__shot { width: min(100%, 250px); }
  .spec { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .spec > div { padding: 12px 0; }
  .spec dd { font-size: var(--fs-s); }
}

/* ---------- 6. Install: three photo cards ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.step { display: grid; justify-items: start; align-content: start; gap: 10px; text-align: start; }
.step__img { display: block; width: 100%; margin-bottom: 8px; border-radius: var(--r-s); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__num { display: block; font-family: var(--font-num); font-variation-settings: var(--num-settings); font-weight: 500; font-size: var(--fs-xl); line-height: 1; color: var(--accent); }
.step__title { font-family: var(--font); font-weight: 600; font-size: var(--fs-l); }
.step__text { color: var(--ink-2); max-width: 26ch; }
.steps__done { margin-top: clamp(32px, 4vw, 56px); display: flex; justify-content: center; align-items: center; gap: 10px; font-family: var(--font); font-weight: 600; font-size: var(--fs-l); color: var(--accent); }
.steps__done svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--accent); color: #fff; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step { gap: 6px; justify-items: center; text-align: center; }
  .step__num { font-size: var(--fs-xl); }
  .step__title { font-size: var(--fs-l); }
  .step__text { font-size: var(--fs-s); }
}

/* ---------- 7. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding-block: 16px; font-family: var(--font); font-weight: 700; font-size: var(--fs-l); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--ink), var(--ink)) center / 16px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 16px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 760px) {
  .faq summary { min-height: 60px; padding-block: 14px; font-size: var(--fs-l); }
  .faq details p { font-size: var(--fs-s); }
}

/* ---------- Mood: one full-bleed atmosphere photo before the form ---------- */
.mood { margin: 0 0 var(--section); }
.mood img { display: block; width: 100%; height: min(92svh, 56.25vw); object-fit: cover; }
@media (max-width: 760px) { .mood img { height: auto; aspect-ratio: 4 / 3.4; object-position: 62% 50%; } }

/* ---------- 8. CTA: sakura box with the seigaiha (青海波) brand pattern ---------- */
.cta { padding-bottom: var(--section); }
.cta__box { position: relative; overflow: hidden; isolation: isolate; background: var(--sakura); border-radius: var(--r); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28' viewBox='0 0 56 28'%3E%3Cg fill='none' stroke='%237A2340' stroke-width='2'%3E%3Cpath d='M0 28a28 28 0 0 1 56 0M8 28a20 20 0 0 1 40 0M16 28a12 12 0 0 1 24 0M-28 14a28 28 0 0 1 56 0M28 14a28 28 0 0 1 56 0'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 56px 28px;
  -webkit-mask-image: linear-gradient(to left, transparent 35%, #000 100%); mask-image: linear-gradient(to left, transparent 35%, #000 100%); }
.form { display: grid; gap: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input[type="text"], .field input[type="tel"] { width: 100%; min-height: 54px; padding: 0 18px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--field); border-radius: 14px; }
.field input[type="tel"] { text-align: right; }
.field input::placeholder { color: #7a5f6a; opacity: 1; }
.field input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__opt { font-weight: 400; color: var(--ink-2); }
.field__err { margin-top: 6px; color: var(--error); font-size: var(--fs-xs); font-weight: 700; }
.field__err:empty { display: none; }
.sent { display: grid; gap: 8px; justify-items: center; text-align: center; padding-block: 24px; }
.sent:focus { outline: none; }
.sent svg { width: 56px; height: 56px; padding: 13px; border-radius: 50%; background: var(--accent); color: #fff; }
.sent__title { font-family: var(--font); font-size: var(--fs-xl); font-weight: 700; }
@media (max-width: 860px) {
  .cta__box { grid-template-columns: 1fr; }
  .cta__box::before { -webkit-mask-image: linear-gradient(to top, #000, transparent 45%); mask-image: linear-gradient(to top, #000, transparent 45%); }
}
@media (max-width: 760px) {
  .cta__box { padding: 28px 20px; gap: 24px; }
  .cta__txt { text-align: center; }
}

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #f6e7ec; padding: 48px 0 calc(116px + env(safe-area-inset-bottom, 0px)); }
.foot__in { display: grid; gap: 18px; justify-items: start; }
.foot .logo { color: #f6e7ec; height: 46px; }
.foot__tag { font-family: var(--font); font-weight: 500; font-size: var(--fs-m); color: #f6e7ec; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot__links a { color: #fff; display: inline-block; padding-block: 8px; font-weight: 600; }
.foot :focus-visible { outline-color: #fff; }
@media (min-width: 900px) { .foot__in { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }
@media (max-width: 899px) {
  .foot { padding: 28px 0 calc(24px + env(safe-area-inset-bottom, 0px)); }
  .foot__in { justify-items: center; text-align: center; gap: 6px; }
  .foot .brand { justify-content: center; margin-inline: auto; }
  .foot .logo { height: 36px; }
  .foot__tag { font-size: var(--fs-s); }
  .foot__links { justify-content: center; }
}

/* ---------- Sticky product bar (appears after the hero) ---------- */
.bar { position: fixed; z-index: 45; inset-inline: 0; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.bar__pill { position: relative; pointer-events: auto; width: min(100% - 2 * var(--gutter) + 24px, var(--max) + 24px); margin-inline: auto; display: flex; align-items: center; gap: 8px; min-height: 64px; padding-block: 8px; padding-inline: 26px 10px; background: #fff; border-radius: 999px; box-shadow: 0 12px 36px -14px rgb(58 30 42 / .4), 0 0 0 1px rgb(58 30 42 / .06); overflow: hidden; }
.bar__progress { position: absolute; top: 0; inset-inline-start: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--accent); }
.bar__name { font-family: var(--font); font-weight: 600; font-size: var(--fs-l); white-space: nowrap; }
.bar__name .logo { height: 32px; color: var(--ink); }
.bar__links { display: none; gap: 2px; margin-inline-start: 24px; }
.bar__links a { position: relative; display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 999px; }
.bar__links a:hover { background: var(--bg-2); }
.bar__links a[aria-current="true"] { color: var(--accent); }
.bar .btn { margin-inline-start: auto; }
.js .bar { transform: translateY(150%); transition: transform .5s var(--ease); }
.js .bar.is-on { transform: none; }
@media (min-width: 900px) { .bar__links { display: flex; } }
@media (max-width: 760px) {
  .bar__pill { padding-inline: 20px 8px; min-height: 60px; }
  .bar__name { font-size: var(--fs-s); }
}

/* ---------- Secondary pages (accessibility, privacy) ---------- */
.doc { padding: 136px 0 var(--section); }
.doc__title { font-family: var(--font); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.15; margin-bottom: 24px; }
.doc__body { background: var(--bg-2); border-radius: var(--r); padding: clamp(22px, 4vw, 44px); }
.doc__h { font-family: var(--font); font-weight: 700; font-size: var(--fs-l); margin: 28px 0 8px; }
.doc__body > .doc__h:first-child { margin-top: 0; }
.doc__body p, .doc__body ul { margin: 0 0 12px; }
.doc__body ul { padding-inline-start: 1.25em; list-style: disc; }
.doc__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 700; }
.doc__back svg { width: 20px; height: 20px; transform: scaleX(-1); }

/* ---------- Smooth scroll (Lenis, desktop wheel/trackpad only; touch stays native) ---------- */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-horizontal] { overscroll-behavior: contain; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
}
