/* ─── Fonts: self-hosted, Hebrew + Latin subsets ─── */
@font-face {
  font-family: 'Heebo';
  src: url('fonts/heebo-hebrew.woff2') format('woff2');
  font-weight: 500 800;
  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: 'Heebo';
  src: url('fonts/heebo-latin.woff2') format('woff2');
  font-weight: 500 800;
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Assistant';
  src: url('fonts/assistant-hebrew.woff2') format('woff2');
  font-weight: 400 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: 'Assistant';
  src: url('fonts/assistant-latin.woff2') format('woff2');
  font-weight: 400 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Tokens ─── */
:root {
  --navy: #6d4bb5;
  --navy-2: #5c3d9d;
  --navy-deep: #1a1024;
  --green: #6d4bb5;
  --green-hover: #5c3d9d;
  --green-bright: #a882e8;
  --green-soft: #f0eafb;
  --bg: #faf8fe;
  --tint: #f5f1fc;
  --ink: #3c3352;
  --muted: #6a6280;
  --line: #d9cdf3;
  --white: #fff;
  --danger: #b3261e;

  --font-head: 'Heebo', 'Arial Hebrew', 'Noto Sans Hebrew', system-ui, sans-serif;
  --font-body: 'Assistant', 'Arial Hebrew', 'Noto Sans Hebrew', system-ui, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -28px rgb(26 16 36 / 0.55), 0 8px 20px -12px rgb(26 16 36 / 0.25);
  --shadow-card: 0 1px 0 rgb(40 24 70 / 0.04), 0 14px 32px -20px rgb(40 24 70 / 0.28);
  --wrap: 1160px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.7; color: var(--ink); background: var(--white); }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.625rem, 4.4vw, 2.5rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
p { margin: 0; text-wrap: pretty; }

a { color: var(--navy-2); }
a:hover { color: var(--green); }
img, svg { display: block; max-inline-size: 100%; }
:focus-visible { outline: 3px solid #f2a900; outline-offset: 3px; border-radius: 6px; }

.wrap { max-inline-size: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tint { background: linear-gradient(180deg, var(--bg) 0%, var(--tint) 100%); }

.section-head { max-inline-size: 660px; margin-block-end: clamp(32px, 5vw, 56px); }
.section-head p { margin-block-start: 14px; color: var(--muted); font-size: 1.125rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem;
  color: var(--green); background: var(--green-soft);
  padding: 4px 14px; border-radius: 999px; margin-block-end: 14px;
}
.eyebrow::before { content: ''; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--green); }

.skip { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-block-start: 12px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-block-size: 56px; padding: 12px 28px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; line-height: 1.2;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn--primary {
  background: linear-gradient(180deg, #7f5cc9 0%, var(--green) 100%); color: var(--white);
  box-shadow: 0 10px 22px -10px rgb(109 75 181 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.18);
}
.btn--primary:hover { background: var(--green-hover); color: var(--white); transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgb(109 75 181 / 0.75); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--ghost:hover { background: var(--tint); }
.btn--block { inline-size: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn .arrow { inline-size: 20px; block-size: 20px; }
[dir='rtl'] .arrow { transform: scaleX(-1); }

/* ─── Header ─── */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 40;
  background: rgb(255 255 255 / 0.92); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-block-size: 68px; gap: 16px; }
.logo { display: flex; direction: ltr; align-items: center; gap: 12px; min-block-size: 44px; text-decoration: none; }
.logo i, .logo em { display: block; flex: none; background: var(--navy); }
.logo i { block-size: 52px; inline-size: 68px; -webkit-mask: url('img/pinook-logo.png') center/contain no-repeat; mask: url('img/pinook-logo.png') center/contain no-repeat; }
.logo em { display: none; }
.header-call {
  display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; padding: 8px 18px;
  border-radius: 999px; background: var(--green-soft); color: var(--green);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-decoration: none;
  white-space: nowrap; flex: none; transition: background-color .15s ease;
}
.header-call:hover { background: #e6dcf8; color: var(--green-hover); }
.header-call bdi { color: var(--navy); }
.header-call svg { inline-size: 18px; block-size: 18px; }
@media (max-width: 480px) { .header-call .label { display: none; } }
@media (max-width: 400px) {
  .site-header .wrap { gap: 10px; }
  .header-call { padding: 8px 12px; gap: 6px; font-size: 0.9375rem; }
  .header-call svg { inline-size: 16px; block-size: 16px; }
  .logo { gap: 8px; }
  .logo i { block-size: 46px; inline-size: 60px; }
}

/* ─── Hero (navy) ─── */
.hero {
  position: relative; overflow: hidden; color: #e4dcf3;
  background:
    radial-gradient(640px 420px at 88% 8%, rgb(168 130 232 / 0.18) 0%, transparent 70%),
    linear-gradient(90deg, rgb(26 16 36 / 0.72) 0%, rgb(26 16 36 / 0.86) 45%, rgb(26 16 36 / 0.96) 100%),
    url('img/hero-bg.jpg') center 60% / cover no-repeat,
    var(--navy-deep);
  padding-block: clamp(36px, 6vw, 84px) clamp(56px, 8vw, 104px);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%); mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; }
@media (max-width: 899px) {
  .hero { background:
    linear-gradient(180deg, rgb(26 16 36 / 0.7) 0%, rgb(26 16 36 / 0.92) 40%, var(--navy-deep) 75%),
    url('img/hero-bg.jpg') 30% 0 / 190% auto no-repeat,
    var(--navy-deep); }
}
html.a11y-contrast .hero { background: #000 !important; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; align-items: center; } }
.hero h1 { color: var(--white); }
.hero h1 .hl { color: #c4a8f5; }
.hero-branches {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem; color: #e4dcf3;
  background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
  padding: 6px 14px; border-radius: 999px; margin-block-end: 20px;
}
.hero-branches svg { inline-size: 18px; block-size: 18px; color: var(--green-bright); }
.hero-sub { margin-block-start: 20px; font-size: clamp(1.125rem, 2.6vw, 1.3125rem); line-height: 1.6; color: #cfc3e6; max-inline-size: 42ch; }
.hero-sub strong { color: var(--white); font-weight: 700; }

.chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--white);
}
.chip svg { inline-size: 18px; block-size: 18px; color: var(--green-bright); flex: none; }
@media (max-width: 600px) {
  .chips { margin-block-start: 20px; gap: 8px; }
  .chip { padding: 5px 12px; font-size: 0.9375rem; gap: 6px; }
  .chip svg { inline-size: 16px; block-size: 16px; }
}

/* ─── Lead form ─── */
.form-card {
  position: relative; background: var(--white); border-radius: 24px; box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 36px); scroll-margin-block-start: 88px; color: var(--ink);
}
.form-card::before {
  content: ''; position: absolute; inset-inline: 28px; inset-block-start: 0; block-size: 4px;
  border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--green-bright), var(--green));
}
.form-card h2 { font-size: clamp(1.375rem, 3.4vw, 1.75rem); }
.form-card .form-lead { margin-block: 6px 22px; color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }

.field { margin-block-end: 16px; }
.field label, .field .label { display: block; margin-block-end: 6px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); font-size: 0.9375rem; }
.field input[type='text'], .field input[type='tel'], .field select {
  inline-size: 100%; min-block-size: 52px; padding: 10px 14px;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input:hover, .field select:hover { border-color: #c9b8ec; }
.field select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235c3d9d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center;
}
.field input:focus, .field select:focus { outline: none; background-color: var(--white); border-color: var(--green); box-shadow: 0 0 0 4px rgb(109 75 181 / 0.15); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid #f2a900; outline-offset: 2px; }
.ltr-field { direction: ltr; text-align: right; }
.ltr-field::placeholder { text-align: right; }
.field[data-invalid] input, .field[data-invalid] select { border-color: var(--danger); background-color: #fdf5f4; }
.field-error { margin-block-start: 6px; color: var(--danger); font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }

.row-2 { display: grid; gap: 0 14px; }
@media (min-width: 520px) { .row-2 { grid-template-columns: 1fr 1fr; } }

.check { display: flex; align-items: flex-start; gap: 10px; margin-block: 4px 20px; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.check input { flex: none; inline-size: 22px; block-size: 22px; margin: 1px 0 0; accent-color: var(--green); }
.form-note { margin-block-start: 12px; font-size: 0.875rem; line-height: 1.5; color: var(--muted); text-align: center; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.spinner { inline-size: 20px; block-size: 20px; border-radius: 50%; border: 3px solid rgb(255 255 255 / 0.4); border-block-start-color: var(--white); animation: spin .8s linear infinite; display: none; }
.is-submitting .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status:empty { display: none; }
.form-status { margin-block-start: 14px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 1rem; line-height: 1.5; }
.form-status.is-error { background: #fdecea; color: #7a1a14; }

.form-success { text-align: center; padding-block: 16px; }
.form-success .tick { inline-size: 72px; block-size: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; box-shadow: 0 0 0 10px rgb(240 234 251 / 0.5); }
.form-success .tick svg { inline-size: 36px; block-size: 36px; }
.form-success p { margin-block-start: 10px; color: var(--muted); }

/* ─── Pressure map illustration ─── */
.pmap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #3a2566 0%, #26184a 45%, #1a1024 100%);
  padding: 22px 22px 18px; color: #ddd3f0;
}
.pmap svg { margin-inline: auto; inline-size: 100%; max-inline-size: 360px; block-size: auto; }

/* ─── Video ─── */
.video-sec { padding-block-end: clamp(32px, 5vw, 56px); }
.video-sec .section-head { margin-block-end: clamp(24px, 4vw, 36px); }
.video-frame { max-inline-size: 360px; margin-inline: auto; aspect-ratio: 576 / 1024; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.video-frame video, .video-frame iframe { display: block; inline-size: 100%; block-size: 100%; border: 0; object-fit: cover; background: var(--navy); }
@media (max-width: 480px) { .video-frame { max-inline-size: 300px; } }
.video-ph { background: radial-gradient(circle at 50% 45%, #3a2566 0%, #26184a 55%, #1a1024 100%); color: #e4dcf3; }
.video-ph small { color: #b7abcf; }
.video-ph .play { display: grid; place-items: center; inline-size: 76px; block-size: 76px; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: var(--white); box-shadow: 0 0 0 10px rgb(168 130 232 / 0.18); }
.video-ph .play svg { inline-size: 32px; block-size: 32px; margin: 0; opacity: 1; transform: scaleX(-1); }
[dir='rtl'] .video-ph .play svg { transform: none; }

/* ─── Scan animation (step 1): scan line sweeps down and reveals the pressure map ─── */
.pmap::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgb(196 168 245 / 0.08) 1px, transparent 1px), linear-gradient(90deg, rgb(196 168 245 / 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
}
.pmap::after {
  content: ''; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 3px; pointer-events: none; opacity: 0;
  background: #c4a8f5; box-shadow: 0 0 14px 4px rgb(168 130 232 / 0.7), 0 0 40px 10px rgb(168 130 232 / 0.25);
}
.pmap.is-scanning svg { animation: scan-reveal 5.5s ease-in-out infinite; }
.pmap.is-scanning::after { animation: scan-line 5.5s ease-in-out infinite; }
@keyframes scan-reveal {
  0% { clip-path: inset(0 0 100% 0); opacity: 1; }
  45% { clip-path: inset(0 0 0 0); opacity: 1; }
  85% { clip-path: inset(0 0 0 0); opacity: 1; }
  100% { clip-path: inset(0 0 0 0); opacity: 0; }
}
@keyframes scan-line {
  0% { inset-block-start: 4%; opacity: 0; }
  5% { opacity: 1; }
  45% { inset-block-start: 96%; opacity: 1; }
  52%, 100% { inset-block-start: 96%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .pmap.is-scanning svg, .pmap.is-scanning::after { animation: none; } }

/* ─── Steps ─── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-card), 0 0 0 1px rgb(217 205 243 / 0.7); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -22px rgb(40 24 70 / 0.4), 0 0 0 1px var(--line); }
.step-media { aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.step-media img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center 55%; }
.step-media .pmap { block-size: 100%; border-radius: 0; display: grid; align-content: center; padding: 14px; }
.step-media .pmap svg { max-inline-size: 190px; }
.step-body { position: relative; padding: 34px 24px 28px; }
.step-num {
  position: absolute; inset-block-start: -22px; inset-inline-start: 22px;
  display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%;
  background: var(--green); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.125rem;
  box-shadow: 0 0 0 5px var(--white), 0 8px 16px -6px rgb(109 75 181 / 0.6);
}
.step p { margin-block-start: 8px; color: var(--muted); }

.ph {
  position: relative; block-size: 100%; display: grid; place-items: center; text-align: center;
  padding: 20px; color: var(--navy-2);
  background: repeating-linear-gradient(135deg, rgb(92 61 157 / 0.05) 0 12px, transparent 12px 24px), linear-gradient(160deg, #f5f1fc, #ece5f8);
}
.ph svg { inline-size: 40px; block-size: 40px; margin: 0 auto 10px; opacity: .8; }
.ph span { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem; line-height: 1.45; max-inline-size: 26ch; }
.ph small { display: block; margin-block-start: 4px; font-size: 0.8125rem; color: var(--muted); }

/* ─── Benefits ─── */
.benefits { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .benefits { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.benefit {
  background: var(--white); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s ease, transform .2s ease;
}
.benefit:hover { transform: translateY(-2px); box-shadow: var(--shadow-card), 0 0 0 1px #d2c2f0; }
.benefit .ic {
  inline-size: 52px; block-size: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin-block-end: 16px;
}
.benefit:nth-child(even) .ic { background: var(--tint); color: var(--navy-2); }
.benefit .ic svg { inline-size: 26px; block-size: 26px; }
.benefit h3 { font-size: 1.125rem; }
.benefit p { margin-block-start: 6px; font-size: 1rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 480px) { .benefit p { display: none; } .benefit { padding: 18px 14px; } }

/* ─── Suitability ─── */
.fit-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
.fit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fit-list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--white); box-shadow: 0 6px 16px -12px rgb(40 24 70 / 0.4), inset 0 0 0 1px var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy);
}
.fit-list li::before { content: ''; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); flex: none; }
.fit-note { margin-block-start: 22px; font-size: 0.9375rem; color: var(--muted); }
/* Image carries text on its right panel: keep its own ratio so nothing is cropped */
.fit-media { border-radius: 24px; overflow: hidden; aspect-ratio: 1200 / 1158; box-shadow: var(--shadow-card); }
.fit-media img { inline-size: 100%; block-size: 100%; object-fit: cover; }

/* ─── Exploded insole story ─── */
.story { --blueprint: #1a1024; --line: #ddd3f0; --line-dim: #9d8fbd; --insole: #2f86d6; --mint: #c4a8f5;
  position: relative; block-size: 260vh; background: var(--blueprint); color: #e4dcf3; }
.story-stage {
  position: sticky; inset-block-start: 0; block-size: 100vh; block-size: 100svh; overflow: hidden;
  display: grid; align-items: center;
  background-image:
    linear-gradient(rgb(221 211 240 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(221 211 240 / 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.story-grid { display: grid; gap: 24px; align-items: center; inline-size: 100%; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 0.8fr 1.2fr; gap: 48px; } }

.story-copy { position: relative; min-block-size: 240px; }
.story-copy h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; }
.caption { position: absolute; inset-inline: 0; inset-block-start: 0; opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.caption.is-on { opacity: 1; transform: none; pointer-events: auto; }
.caption p { margin-block-start: 16px; font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.6; color: #cfc3e6; max-inline-size: 36ch; }
.caption .btn { margin-block-start: 26px; }

.drawing { position: relative; inline-size: 100%; max-inline-size: 760px; margin-inline: auto; aspect-ratio: 600 / 440; }
.drawing svg { inline-size: 100%; block-size: 100%; overflow: visible; }
.drawing .shoe, .drawing .foot { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.drawing .shoe { stroke: var(--line); stroke-width: 1.8; }
.drawing .shoe .detail { stroke: var(--line-dim); stroke-width: 1.2; }
.drawing .foot .foot-body { stroke: #ece5f8; stroke-width: 1.9; fill: rgb(221 211 240 / 0.08); }
.drawing .foot .foot-detail { stroke: var(--line-dim); stroke-width: 1.3; }
.layer { transition: transform .08s linear; will-change: transform; }
.insole-fill { fill: var(--insole); }
.insole-edge { fill: none; stroke: var(--mint); stroke-width: 1.6; }
.insole-glow { fill: var(--insole); filter: blur(14px); opacity: calc(var(--lift, 0) * .7); }

/* Callouts: leader lines in the SVG, labels as HTML on top */
.leader { stroke: var(--mint); stroke-width: 1.2; fill: none; }
.leader-dot { fill: var(--mint); }
.callout-line { opacity: var(--co, 0); transition: opacity .3s ease; }
.callout-label {
  position: absolute; transform: translate(-50%, -50%); /* centred on a physical point of the SVG artwork */
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  background: rgb(26 16 36 / 0.85); box-shadow: inset 0 0 0 1px rgb(196 168 245 / 0.55);
  font-family: var(--font-head); font-weight: 600; font-size: clamp(.8125rem, 1.4vw, .9375rem); color: #fff;
  opacity: var(--co, 0); transition: opacity .3s ease;
}

@media (max-width: 899px) {
  .story-grid { grid-template-rows: auto auto; }
  .drawing { order: -1; max-inline-size: 520px; }
  .story-copy { min-block-size: 220px; }
  .callout-label { font-size: .75rem; padding: 4px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .story { block-size: auto; }
  .story-stage { position: relative; block-size: auto; padding-block: 72px; }
  .caption { position: relative; opacity: 1; transform: none; display: none; }
  .caption.is-final { display: block; }
  .layer, .callout-line, .callout-label { transition: none; }
}

/* ─── Mobile: button in the hero, form after the video and story ─── */
.hero-cta, .hero-cta-note, .form-slot-sec { display: none; }
@media (max-width: 899px) {
  .hero .form-card { display: none; }
  .hero-cta { display: flex; margin-block-start: 26px; }
  .hero-cta-note { display: block; margin-block-start: 10px; font-size: 0.9375rem; color: #cfc3e6; text-align: center; }
  .form-slot-sec { display: block; background: linear-gradient(180deg, var(--tint) 0%, var(--bg) 100%); }
}

/* ─── Health-fund refunds ─── */
.refund-sec { background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%); }
.refund-grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .refund-grid { grid-template-columns: 1.1fr 0.9fr; } }
.refund-grid .section-head { margin-block-end: 0; }
.refund-grid .section-head p + p { margin-block-start: 10px; }
.refund-card { background: var(--white); border-radius: 24px; padding: clamp(22px, 4vw, 32px); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); }
.refund-funds { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.refund-funds li { display: grid; place-items: center; min-block-size: 64px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.refund-funds img { block-size: 30px; inline-size: auto; max-inline-size: 100%; object-fit: contain; }
.refund-form-title { font-size: 1.25rem; margin-block-start: 4px; }
.refund-form-lead { margin-block: 4px 16px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.refund-card .form-success h3 { font-size: 1.25rem; }
.refund-note { margin-block-start: 12px; font-size: 0.875rem; color: var(--muted); text-align: center; }

/* ─── Google reviews ─── */
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin-block-start: 14px; color: var(--muted); font-family: var(--font-head); font-weight: 600; }
.rating strong { font-size: 1.75rem; font-weight: 800; color: var(--navy); line-height: 1; }
.rating-stars, .review-stars { display: inline-flex; gap: 2px; }
.rating-stars svg { inline-size: 20px; block-size: 20px; fill: #f5b301; }
.reviews { display: grid; gap: 18px; }
@media (min-width: 700px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
/* Phones: one row that swipes sideways, next card peeking */
@media (max-width: 699px) {
  .reviews { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
  .review { scroll-snap-align: start; }
}
.review {
  margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 20px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card), 0 0 0 1px rgb(217 205 243 / 0.7);
}
.review-stars svg { inline-size: 18px; block-size: 18px; fill: #f5b301; }
.review blockquote { margin: 0; flex-grow: 1; }
.review blockquote p { font-size: 1.0625rem; line-height: 1.7; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 10px; padding-block-start: 14px; border-block-start: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.review-avatar { display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 800; flex: none; }
.review-src { margin-inline-start: auto; font-weight: 500; font-size: 0.875rem; color: var(--muted); }
.reviews-more { margin-block-start: 26px; text-align: center; }
.reviews-more a { font-family: var(--font-head); font-weight: 700; color: var(--green); }

/* ─── Rating by the submit button ─── */
.form-rating { display: flex; align-items: center; justify-content: center; gap: 8px; margin-block-start: 12px; font-size: 0.9375rem; color: var(--muted); }
.form-rating strong { color: var(--navy); font-family: var(--font-head); }
.form-rating-stars { display: inline-flex; gap: 1px; }
.form-rating-stars svg { inline-size: 16px; block-size: 16px; fill: #f5b301; }

/* Screen-reader-only text */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ─── Nearest branch / open now ─── */
.locate { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-block-end: 26px; }
.locate-btn {
  display: inline-flex; align-items: center; gap: 8px; min-block-size: 48px; padding: 10px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); background: var(--white); box-shadow: inset 0 0 0 2px var(--navy);
}
.locate-btn:hover { background: var(--tint); }
.locate-btn svg { inline-size: 20px; block-size: 20px; color: var(--green); }
.locate-btn[disabled] { opacity: .7; cursor: progress; }
.locate-status:empty { display: none; }
.locate-status { font-family: var(--font-head); font-weight: 600; color: var(--navy); text-align: center; }
.branch.is-nearest { box-shadow: 0 0 0 2.5px var(--green), var(--shadow-card); }
.near-badge {
  align-self: flex-start; padding: 3px 12px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 0.8125rem;
  background: var(--green); color: var(--white);
}
.branch-nav { text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; color: var(--navy-2); }
.open-now {
  margin: 26px auto 0; inline-size: fit-content; display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
}
.open-now::before { content: ''; inline-size: 10px; block-size: 10px; border-radius: 50%; background: #a79fb8; }
.open-now.is-open { color: var(--green); }
.open-now.is-open::before { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.open-now + .hours { margin-block-start: 10px; }

/* ─── Branches ─── */
.branches { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .branches { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .branches { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.branch {
  display: flex; flex-direction: column; gap: 12px; padding: 24px 20px 20px;
  background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .2s ease, transform .2s ease;
}
.branch:hover { transform: translateY(-2px); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); }
.branch h3 { display: flex; align-items: center; gap: 10px; }
.branch h3 svg { inline-size: 36px; block-size: 36px; padding: 8px; border-radius: 50%; background: var(--green-soft); color: var(--green); flex: none; }
.branch .addr { font-size: 0.9375rem; color: var(--muted); line-height: 1.5; }
.branch button {
  margin-block-start: auto; min-block-size: 46px; padding: 8px 12px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem;
  color: var(--green); background: var(--green-soft); border: 0; transition: background-color .15s ease, color .15s ease;
}
.branch button:hover { background: var(--green); color: var(--white); }
.hours {
  margin: 28px auto 0; inline-size: fit-content; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px;
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  background: var(--bg); padding: 10px 22px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
}
.hours svg { inline-size: 22px; block-size: 22px; color: var(--green); }

/* ─── Closing CTA ─── */
.closing {
  position: relative; overflow: hidden; color: #e4dcf3; text-align: center;
  background:
    radial-gradient(560px 320px at 50% 0%, rgb(168 130 232 / 0.2) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.closing h2 { color: var(--white); }
.closing p { margin-block: 16px 32px; font-size: 1.125rem; max-inline-size: 52ch; margin-inline: auto; color: #cfc3e6; }
.closing .btn:focus-visible { outline-color: #ffd166; }
.closing .wrap > .btn { margin: 6px; }
.btn--wa { background: rgb(255 255 255 / 0.04); color: var(--white); box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.4); }
.btn--wa:hover { background: rgb(255 255 255 / 0.1); color: var(--white); }
.btn--wa svg { inline-size: 22px; block-size: 22px; color: var(--green-bright); }

/* ─── Footer ─── */
.site-footer { background: #140b1c; color: #b7abcf; padding-block: 40px 110px; font-size: 0.9375rem; line-height: 1.6; }
@media (min-width: 900px) { .site-footer { padding-block-end: 40px; } }
.footer-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block-end: 22px; margin-block-end: 22px; border-block-end: 1px solid rgb(255 255 255 / 0.1); color: #e4dcf3; font-size: 1rem; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; background: rgb(255 255 255 / 0.07); color: var(--white); transition: background-color .15s ease; }
.social a:hover { background: var(--green); color: var(--white); }
.social svg { inline-size: 20px; block-size: 20px; }
.site-footer .disclaimer { max-inline-size: 72ch; }
.site-footer nav { margin-block-start: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: #e4dcf3; }
.site-footer a:hover { color: #c4a8f5; }
.site-footer .copy { margin-block-start: 16px; color: #8f82a8; font-size: 0.875rem; }

/* ─── Sticky mobile CTA ─── */
.sticky-cta {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 50;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.95); backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px -12px rgb(40 24 70 / 0.35); transition: transform .25s ease;
}
.sticky-cta[hidden] { display: block; transform: translateY(110%); visibility: hidden; }
@media (min-width: 900px) { .sticky-cta { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta, .step, .benefit, .branch, .btn { transition: none; } }

/* ─── Accessibility menu ─── */
.a11y { position: fixed; inset-inline-end: 16px; inset-block-end: 16px; z-index: 60; }
@media (max-width: 899px) { .a11y { inset-block-end: 92px; } }
.a11y-toggle {
  display: grid; place-items: center; inline-size: 52px; block-size: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: var(--white); box-shadow: 0 10px 24px -8px rgb(26 16 36 / .55), 0 0 0 3px var(--white);
}
.a11y-toggle:hover { background: var(--navy-2); }
.a11y-toggle svg { inline-size: 28px; block-size: 28px; }
.a11y-panel {
  position: absolute; inset-inline-end: 0; inset-block-end: 64px; inline-size: min(320px, calc(100vw - 32px));
  background: var(--white); color: var(--ink); border-radius: 20px; padding: 18px; box-shadow: var(--shadow), 0 0 0 1px var(--line);
  max-block-size: calc(100vh - 180px); overflow: auto;
}
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-block-end: 14px; }
.a11y-head h2 { font-size: 1.25rem; }
.a11y-close { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; border: 0; background: var(--bg); color: var(--navy); cursor: pointer; }
.a11y-close svg { inline-size: 20px; block-size: 20px; }
.a11y-size { display: grid; grid-template-columns: 1fr 44px 56px 44px; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 14px; background: var(--bg); margin-block-end: 10px; font-family: var(--font-head); font-weight: 600; }
.a11y-size button { block-size: 44px; border-radius: 12px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); cursor: pointer; }
.a11y-size output { text-align: center; font-size: .9375rem; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button {
  min-block-size: 52px; padding: 8px; border-radius: 14px; border: 0; cursor: pointer; line-height: 1.25;
  background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); font-family: var(--font-head); font-weight: 600; font-size: .9375rem; color: var(--navy);
}
.a11y-grid button[aria-pressed='true'] { background: var(--green); color: var(--white); box-shadow: none; }
.a11y-reset { margin-block-start: 12px; inline-size: 100%; min-block-size: 44px; border-radius: 999px; border: 0; background: var(--bg); color: var(--navy); font-family: var(--font-head); font-weight: 700; cursor: pointer; }
.a11y-link { display: block; margin-block-start: 10px; text-align: center; font-weight: 600; }

/* Accessibility modes (classes on <html>) */
html.a11y-gray body > *:not(.a11y) { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed currentColor; outline-offset: 2px; }
html.a11y-font body, html.a11y-font h1, html.a11y-font h2, html.a11y-font h3, html.a11y-font button, html.a11y-font input, html.a11y-font select { font-family: Arial, 'Arial Hebrew', sans-serif !important; letter-spacing: .02em; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1.5L9.5 21z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast body *:not(svg):not(svg *):not(img):not(video) { background: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important; }
html.a11y-contrast a, html.a11y-contrast a * { color: #ffe14d !important; }
html.a11y-contrast .btn, html.a11y-contrast button, html.a11y-contrast input, html.a11y-contrast select { outline: 2px solid #fff !important; }
html.a11y-contrast .hero::after, html.a11y-contrast .form-card::before { display: none !important; }
html.a11y-contrast .a11y-grid button[aria-pressed='true'] { background: #ffe14d !important; color: #000 !important; }
html.a11y-contrast .logo i, html.a11y-contrast .logo em { background: #fff !important; }

/* ─── Site palette: buttons on dark backgrounds (as in palette-2026.css) ─── */
.hero .hero-cta, .closing .btn--primary, .story .btn--primary {
  background: #a882e8; color: #1a1024; box-shadow: 0 10px 22px -10px rgb(168 130 232 / 0.55);
}
.hero .hero-cta:hover, .closing .btn--primary:hover, .story .btn--primary:hover { background: #bb9bf0; color: #1a1024; }
.btn--wa svg { color: #25d366; }
