/* ==========================================================================
   Medical Spa Eilat
   Type and rhythm measured from apple.com/il (SF, weight 600 headlines,
   17px body, pill buttons 980px, 20px tiles, white / light grey sections).
   Colours are the owner system's own tokens; warmth comes from photography.
   No gradients, no shadows, no decorative borders.
   ========================================================================== */
:root {
  --ink: #0a1929;          /* system navy-900. Text on light: 17.7:1 */
  --ink-2: #4f5f71;        /* secondary text: 6.4:1 on white, 5.9:1 on grey */
  --paper: #ffffff;
  --grey: #f4f8fc;         /* system navy-50, the light section colour */
  --line: #dde5ee;
  --blue: #1f6fb8;         /* system blue-600. Buttons and links: 5.2:1 */
  --blue-press: #1a5c99;
  --night: #0a1929;
  --night-ink-2: #c3d2e1;  /* 11.5:1 on night */
  --cyan: #15c5e8;         /* system cyan-500. Only on night: 8.6:1 */
  --star: #fbbc04;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Hebrew", "Helvetica Neue", Arial, sans-serif;
  --r-tile: 20px;
  --gutter: 20px;
  --max: 1080px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
html, body { margin: 0; max-width: 100vw; overflow-x: hidden; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---------- Buttons (Apple: pill, weight 400) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 980px;
  background: var(--blue); color: #fff; font-size: 17px; font-weight: 400; white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--blue-press); }
.btn:active { transform: scale(.97); }
.btn[disabled] { background: #c9d3de; color: #fff; cursor: default; transform: none; }
.btn-sm { min-height: 32px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 30px; font-size: 18px; }
.btn-outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--grey); }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { background: #48d3ef; }
.link-more { color: var(--blue); font-size: 17px; display: inline-flex; gap: 4px; }
.link-more::after { content: "‹"; font-size: 1.1em; line-height: 1; transform: translateY(1px); }
.link-more:hover { text-decoration: underline; }
.link-btn { color: var(--blue); font-size: 17px; padding: 8px 4px; }
.link-btn.light { color: #fff; }

/* ---------- Nav (the one translucent bar, as on apple.com) ---------- */
.nav {
  position: fixed; z-index: 40; top: 0; inset-inline: 0; height: 52px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.nav-in { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; }
.nav-links { display: none; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* ---------- Hero ---------- */
.hero { padding-top: 52px; }
.hero-copy { padding-top: 48px; padding-bottom: 36px; text-align: center; }
.hero h1 { font-size: clamp(40px, 10.4vw, 80px); line-height: 1.05; font-weight: 600; letter-spacing: -.015em; }
.hero-sub { margin: 18px auto 0; max-width: 30em; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.35; color: var(--ink-2); letter-spacing: .005em; }
.hero-actions { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.g-proof { margin-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink-2); }
.g-proof b { color: var(--ink); font-weight: 600; }
.g-logo { width: 18px; height: 18px; flex: none; }
.g-logo.lg { width: 40px; height: 40px; }
.stars { display: inline-flex; gap: 2px; }
.stars i { width: 14px; height: 14px; background: var(--star); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars.lg i { width: 22px; height: 22px; }
.hero-media { max-width: 1360px; margin-inline: auto; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 1360 / 907; object-fit: cover; }
@media (max-width: 699px) { .hero-media img { aspect-ratio: 4 / 3.3; object-position: 52% 50%; } }
@media (min-width: 900px) {
  .hero-copy { padding-top: 76px; padding-bottom: 48px; }
  .hero-media { padding-inline: var(--gutter); }
  .hero-media img { border-radius: var(--r-tile); }
}

/* ---------- Sections ---------- */
.sec { padding: 80px 0; }
.sec-grey { background: var(--grey); }
.sec-night { background: var(--night); color: #fff; }
.sec-title { font-size: clamp(32px, 7vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -.005em; }
.sec-lead { margin-top: 16px; max-width: 34em; font-size: clamp(19px, 2.2vw, 21px); line-height: 1.4; color: var(--ink-2); letter-spacing: .01em; }
.sec-night .sec-lead { color: var(--night-ink-2); }
@media (min-width: 900px) { .sec { padding: 120px 0; } }

/* Tiles (Apple bento: white on grey, 20px, no border, no shadow) */
.tiles { margin-top: 44px; display: grid; gap: 14px; }
.tile { background: var(--paper); border-radius: var(--r-tile); overflow: hidden; position: relative; display: flex; flex-direction: column; }
.tile-text { padding: 28px 26px 30px; }
.tile h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.12; font-weight: 600; letter-spacing: .004em; }
.tile p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.tile img { width: 100%; object-fit: cover; }
.tile-wide img { aspect-ratio: 4 / 3; object-position: center 80%; }
.tile-photo { min-height: 380px; background: #1a0f08; }
.tile-photo img { position: absolute; inset: 0; height: 100%; }
.tile-photo .on-photo { position: relative; margin-top: auto; color: #fff; background: rgba(10, 25, 41, .62); }
.tile-photo .on-photo p { color: #e6eef7; }
.tile-ink { background: var(--night); color: #fff; justify-content: flex-end; }
.tile-ink p { color: var(--night-ink-2); }
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .tile-wide { grid-column: span 6; flex-direction: row; align-items: stretch; }
  .tile-wide .tile-text { flex: 1; align-self: center; padding: 48px; }
  .tile-wide img { width: 52%; aspect-ratio: 4 / 3.2; object-position: center 70%; }
  .tile:nth-child(2) { grid-column: span 3; min-height: 340px; justify-content: flex-end; }
  .tile-photo { grid-column: span 3; min-height: 340px; }
  .tile-ink { grid-column: span 6; }
  .tile-text { padding: 40px; }
  .tile-ink .tile-text { display: flex; justify-content: space-between; align-items: baseline; gap: 40px; }
  .tile-ink p { margin: 0; max-width: 26em; }
}

/* Place */
.place { display: grid; gap: 40px; }
.place-media img { width: 100%; height: auto; border-radius: var(--r-tile); aspect-ratio: 9 / 7; object-fit: cover; }
.facts { margin-top: 32px; display: grid; gap: 18px; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-weight: 600; font-size: 19px; }
.facts dd { color: var(--night-ink-2); }
@media (min-width: 900px) { .place { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; } }

/* Reviews */
.rev-head { text-align: center; display: grid; justify-items: center; gap: 14px; margin-bottom: 40px; }
.review-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px var(--gutter) 20px; scrollbar-width: none; }
.review-rail::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .review-rail { padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); } }
.review { flex: 0 0 84%; max-width: 360px; scroll-snap-align: center; background: var(--grey); border-radius: var(--r-tile); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review-top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 17px; flex: none; }
.review-who { flex: 1; min-width: 0; }
.review-who b { display: block; font-weight: 600; font-size: 16px; }
.review-who span { font-size: 13px; color: var(--ink-2); }
.review p { font-size: 16px; line-height: 1.5; }
.review-tag { font-size: 13px; color: var(--ink-2); }
.center .link-more { margin-top: 8px; }

/* Inside: video tiles */
.stories { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story { position: relative; border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 1 / 1; background: #1a0f08; text-align: start; }
.story img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story:hover img { transform: scale(1.03); }
.story-label { position: absolute; inset-inline: 0; bottom: 0; padding: 14px 16px; color: #fff; font-weight: 600; font-size: 16px; background: rgba(10, 25, 41, .62); display: flex; align-items: center; gap: 10px; }
.story-label::before { content: ""; width: 0; height: 0; border-block: 7px solid transparent; border-inline-end: 11px solid #fff; flex: none; }
@media (min-width: 900px) { .stories { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* Team */
.team { display: grid; gap: 36px; }
.team-media { position: relative; border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 1 / 1; background: #1a1410; }
.team-media img { width: 100%; height: 100%; object-fit: cover; }
.team-sound { position: absolute; bottom: 16px; inset-inline-start: 16px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 15px; padding: 9px 16px; border-radius: 980px; }
.quote { margin-top: 32px; }
.quote p { font-size: clamp(21px, 2.6vw, 26px); line-height: 1.35; font-weight: 600; letter-spacing: .004em; }
.quote cite { display: block; margin-top: 10px; font-style: normal; color: var(--ink-2); font-size: 15px; }
@media (min-width: 900px) { .team { grid-template-columns: 5fr 6fr; align-items: center; gap: 72px; } }

/* Menu */
.menu { margin-top: 40px; display: grid; gap: 12px; }
.menu-item { background: var(--paper); border-radius: var(--r-tile); padding: 24px 26px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; text-align: start; transition: transform .2s var(--ease); }
.menu-item:active { transform: scale(.985); }
.menu-item h3 { font-size: 21px; font-weight: 600; }
.menu-item .mins { color: var(--ink-2); font-size: 15px; }
.menu-item .price { grid-row: span 2; text-align: end; font-size: 28px; font-weight: 600; line-height: 1.1; }
.menu-item .price small { display: block; font-size: 13px; font-weight: 400; color: var(--blue); margin-top: 4px; }
.couple { margin-top: 12px; background: var(--night); color: #fff; border-radius: var(--r-tile); padding: 28px 26px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.couple h3 { font-size: 24px; font-weight: 600; }
.couple p { margin-top: 6px; color: var(--night-ink-2); }
@media (min-width: 900px) {
  .menu { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .menu-item { grid-template-columns: 1fr; padding: 36px 32px; min-height: 230px; align-content: space-between; }
  .menu-item .price { grid-row: auto; text-align: start; font-size: 40px; }
  .couple { flex-direction: row; justify-content: space-between; align-items: center; padding: 36px 40px; margin-top: 18px; }
}

/* FAQ */
.faq { margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--blue); line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { color: var(--ink-2); padding: 0 0 24px; max-width: 40em; }
@media (min-width: 900px) { .faq-wrap { display: grid; grid-template-columns: 4fr 7fr; gap: 72px; } .faq { margin-top: 0; } }

/* Visit */
.visit { display: grid; gap: 40px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hours { background: var(--paper); border-radius: var(--r-tile); padding: 6px 24px; }
.hours div { display: flex; justify-content: space-between; padding: 16px 0; }
.hours div + div { border-top: 1px solid var(--line); }
.hours dt { color: var(--ink-2); }
.hours dd { font-weight: 600; }
.hours .today dt, .hours .today dd { color: var(--blue); }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; align-items: center; } }

.final { padding: 100px 0 120px; }
.final .sec-title { margin-bottom: 32px; }

.footer { background: var(--grey); color: var(--ink-2); font-size: 13px; padding: 22px 0 calc(110px + var(--safe-b)); border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-direction: column; gap: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 900px) { .footer { padding-bottom: 28px; } .footer-row { flex-direction: row; justify-content: space-between; } }

/* Mobile book bar: the second translucent element, iOS toolbar style */
.bookbar {
  position: fixed; z-index: 45; inset-inline: 0; bottom: 0;
  padding: 10px var(--gutter) calc(10px + var(--safe-b));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(10, 25, 41, .08);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.bookbar.show { transform: none; }
.bookbar-text { display: flex; flex-direction: column; line-height: 1.25; }
.bookbar-text b { font-size: 15px; font-weight: 600; }
.bookbar-text span { font-size: 13px; color: var(--ink-2); display: inline-flex; gap: 4px; }
@media (min-width: 900px) { .bookbar { display: none; } }

/* Gentle image reveal only (no text animation) */
.fade { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fade.in { opacity: 1; transform: none; }

/* ==========================================================================
   Booking sheet. iOS grouped list: #f2f2f7 ground, white cells.
   ========================================================================== */
.sheet-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .3s; }
.sheet-scrim.open { opacity: 1; }
.sheet {
  position: fixed; z-index: 61; inset-inline: 0; bottom: 0;
  height: calc(100dvh - 12px);
  background: #f2f2f7; color: var(--ink);
  border-radius: 14px 14px 0 0;
  display: flex; flex-direction: column;
  transform: translateY(102%); transition: transform .45s cubic-bezier(.32, .72, 0, 1);
  overscroll-behavior: contain;
}
.sheet.open { transform: none; }
.sheet-grab { width: 36px; height: 5px; border-radius: 3px; background: #c7c7cc; margin: 6px auto 0; flex: none; }
.sheet-head { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 4px 12px 8px; flex: none; }
.sheet-head #sheetBack { justify-self: start; }
.sheet-head #sheetBack[hidden] { display: block !important; visibility: hidden; }
.sheet-head #sheetClose { justify-self: end; }
.sheet-title-wrap { text-align: center; }
.sheet-head h2 { font-size: 17px; font-weight: 600; }
.sheet-step { display: block; font-size: 13px; color: var(--ink-2); }
.sheet-progress { height: 2px; background: #e3e3e8; flex: none; }
.sheet-progress i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .4s var(--ease); }
.sheet-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 22px 16px 40px; }
.sheet-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px calc(10px + var(--safe-b)); background: rgba(249, 249, 249, .94); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(60, 60, 67, .18); }
.sheet-total { display: flex; flex-direction: column; line-height: 1.25; }
.sheet-total b { font-size: 20px; font-weight: 600; }
.sheet-total span { font-size: 13px; color: var(--ink-2); }
.sheet-foot .btn { min-width: 150px; min-height: 50px; }
@media (min-width: 760px) {
  .sheet { inset: 0; margin: auto; width: 540px; height: min(800px, calc(100dvh - 48px)); border-radius: 16px; transform: translateY(24px); opacity: 0; transition: transform .35s var(--ease), opacity .25s; overflow: hidden; }
  .sheet.open { transform: none; opacity: 1; }
  .sheet-grab { display: none; }
  .sheet-head { padding-top: 12px; }
}

.q { font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: .004em; margin: 0 4px 6px; }
.q-sub { color: var(--ink-2); font-size: 15px; margin: 0 4px 16px; }
.block + .block { margin-top: 32px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: rgba(118, 118, 128, .12); border-radius: 9px; padding: 2px; }
.seg button { min-height: 36px; border-radius: 7px; font-size: 15px; color: var(--ink); }
.seg button[aria-pressed="true"] { background: #fff; font-weight: 600; }
.seg button:disabled { opacity: .35; }

.group { background: #fff; border-radius: 12px; overflow: hidden; }
.opt { display: grid; grid-template-columns: 1fr auto 22px; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; text-align: start; min-height: 56px; }
.opt + .opt { border-top: .5px solid rgba(60, 60, 67, .29); }
.opt b { font-weight: 400; display: block; }
.opt small { color: var(--ink-2); font-size: 14px; }
.opt .opt-price { font-size: 17px; text-align: end; line-height: 1.2; color: var(--ink-2); }
.opt .opt-price small { display: block; color: var(--blue); font-size: 12px; }
.opt .check { width: 22px; height: 22px; }
.opt[aria-checked="true"] .check::after { content: ""; display: block; width: 18px; height: 18px; margin: 2px; background: var(--blue); clip-path: polygon(10% 52%, 22% 40%, 40% 58%, 80% 16%, 92% 28%, 40% 82%); }

.person { padding: 12px 16px 14px; }
.person + .person { border-top: .5px solid rgba(60, 60, 67, .29); }
.person-label { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 980px; background: #fff; font-size: 15px; color: var(--ink); transition: background-color .15s, color .15s; }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; }

.dates { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; }
.dates::-webkit-scrollbar { display: none; }
.date { flex: 0 0 60px; height: 74px; border-radius: 12px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; scroll-snap-align: start; }
.date .dw { font-size: 12px; color: var(--ink-2); }
.date .dn { font-size: 21px; font-weight: 600; line-height: 1.15; }
.date .dm { font-size: 11px; color: var(--ink-2); }
.date[aria-pressed="true"] { background: var(--blue); color: #fff; }
.date[aria-pressed="true"] .dw, .date[aria-pressed="true"] .dm { color: #dbe8f5; }
.date:disabled { opacity: .35; cursor: default; }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
@media (min-width: 420px) { .times { grid-template-columns: repeat(4, 1fr); } }
.time { min-height: 48px; border-radius: 10px; background: #fff; font-size: 17px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.time small { font-size: 11px; color: var(--blue); }
.time[aria-pressed="true"] { background: var(--blue); color: #fff; }
.time[aria-pressed="true"] small { color: #dbe8f5; }
.period { font-size: 13px; color: var(--ink-2); margin: 22px 4px 0; }
.empty { color: var(--ink-2); padding: 28px 0; text-align: center; }
.empty a { color: var(--blue); }
.loading { display: flex; gap: 6px; justify-content: center; padding: 40px 0; }
.loading i { width: 8px; height: 8px; border-radius: 50%; background: #aeaeb2; animation: blink 1s infinite; }
.loading i:nth-child(2) { animation-delay: .15s; } .loading i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }

.field { display: block; padding: 10px 16px; }
.field + .field { border-top: .5px solid rgba(60, 60, 67, .29); }
.field span { display: block; font-size: 13px; color: var(--ink-2); }
.field input, .field textarea { width: 100%; background: transparent; border: 0; color: var(--ink); font: inherit; font-size: 17px; padding: 3px 0; outline: none; resize: none; }
.field input::placeholder, .field textarea::placeholder { color: #a3adb9; }
.field.err span { color: #d70015; }
.form-err { color: #d70015; font-size: 15px; margin: 10px 4px 0; min-height: 1em; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.summary { margin-top: 22px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; font-size: 16px; }
.sum-row + .sum-row { border-top: .5px solid rgba(60, 60, 67, .29); }
.sum-row span:first-child { color: var(--ink-2); }
.sum-row span:last-child { text-align: end; }
.fine { color: var(--ink-2); font-size: 13px; margin: 14px 4px 0; line-height: 1.5; }
.fine a { text-decoration: underline; }

.done { text-align: center; padding-top: 20px; }
.done-mark { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; transform: scale(.5); opacity: 0; transition: transform .5s cubic-bezier(.32, 1.4, .5, 1), opacity .25s; }
.done-mark::after { content: ""; width: 32px; height: 32px; background: #fff; clip-path: polygon(14% 52%, 26% 40%, 42% 56%, 76% 22%, 88% 34%, 42% 80%); }
.done.in .done-mark { transform: none; opacity: 1; }
.done h3 { font-size: 28px; font-weight: 700; }
.done p { color: var(--ink-2); margin: 10px auto 0; max-width: 26em; }
.done .group { text-align: start; margin-top: 24px; }
.done-actions { display: grid; gap: 10px; margin-top: 22px; }
.done-actions .btn { min-height: 50px; }

/* Story viewer */
.story-viewer { position: fixed; inset: 0; z-index: 80; background: #000; display: flex; align-items: center; justify-content: center; }
.story-viewer video { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 760px) { .story-viewer video { width: auto; height: 100%; aspect-ratio: 9 / 16; } }
.story-bars { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); inset-inline: 10px; display: flex; gap: 4px; z-index: 3; max-width: 520px; margin-inline: auto; }
.story-bars span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.story-bars i { display: block; height: 100%; width: 0; background: #fff; }
.story-top { position: absolute; top: calc(22px + env(safe-area-inset-top, 0px)); inset-inline: 14px; display: flex; justify-content: space-between; align-items: center; z-index: 3; max-width: 520px; margin-inline: auto; }
.story-name { font-weight: 600; color: #fff; }
.story-tap { position: absolute; top: 80px; bottom: 120px; width: 35%; z-index: 2; }
.story-tap.prev { inset-inline-start: 0; }
.story-tap.next { inset-inline-end: 0; }
.story-cta { position: absolute; bottom: calc(24px + var(--safe-b)); inset-inline: 0; display: flex; justify-content: center; z-index: 3; }

body.locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .fade { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
