/* The Name You Carry: shared styles. Palette matches the reading itself. */
/* Self-hosted fonts (SIL Open Font License, see /fonts/OFL-*.txt). Variable weights, three subsets. */
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/fonts/frank-ruhl-libre-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/fonts/frank-ruhl-libre-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-200F, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cream: #fbf7f2;
  --blush: #f6ece6;
  --paper: #fffcf8;
  --ink: #40353d;
  --soft: #5c5159;
  --accent: #a8785f;
  --accent-deep: #8a5f4d;
  --accent-deeper: #744c3c;
  --gold: #c2a183;
  --line: #e2d3c8;
  --field: #a08777;
  --err: #a1392b;
  --night: #40353d;
  --night-2: #4a3e47;
  --on-night: #fbf7f2;
  --on-night-soft: #e6d9cf;
  --on-night-gold: #e2c6ae;
  --serif: "Frank Ruhl Libre", "Times New Roman", Georgia, serif;
  --sans: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4.6vw, 40px);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 12px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 18px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 19px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.14; margin: 0; letter-spacing: -.004em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deeper); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; border-radius: 6px; }
.he { font-family: var(--serif); direction: rtl; unicode-bidi: isolate; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--cream); padding: 12px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--cream); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow { font: 500 13.5px/1.35 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--accent-deep); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: 12px;
  background: var(--accent-deep); color: var(--cream);
  font: 500 18.5px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 10px 22px -14px rgba(116, 76, 60, .8);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--accent-deeper); color: var(--cream); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-block { display: flex; width: 100%; }
.btn .arr { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--accent-deep); box-shadow: inset 0 0 0 1.5px var(--accent-deep); }
.btn-ghost:hover { background: var(--blush); color: var(--accent-deeper); }
.link-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; border: 0; background: none;
  color: var(--accent-deep); font: 400 16.5px/1.4 var(--sans); text-align: left;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer;
}
.link-btn:hover { color: var(--accent-deeper); }
.link-btn.quiet { color: var(--soft); }

/* ---------- Header ---------- */
.site-head { padding-top: 14px; padding-bottom: 4px; position: relative; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font: 500 19px/1 var(--serif); letter-spacing: .005em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 18px 0 56px; overflow: hidden; }
@supports (overflow: clip) { .hero { overflow: visible; overflow-x: clip; } }
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -140px; right: -30vw; width: 110vw; height: 110vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(246, 236, 230, .95), rgba(246, 236, 230, 0));
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "card" "trust"; }
.hero-grid > * { min-width: 0; }
.hero-copy { grid-area: copy; }
@media (max-width: 440px) { .hero .eyebrow { font-size: 12.5px; letter-spacing: .115em; } }
.hero h1 { font-size: clamp(30px, 3.7vw + 16px, 58px); line-height: 1.12; margin-top: 12px; color: var(--ink); }
.hero h1 .h1-q { display: block; color: var(--accent-deep); margin-top: .18em; }
.hero .sub { margin-top: 16px; font-size: clamp(18px, .45vw + 16.4px, 21px); line-height: 1.58; color: var(--soft); max-width: 40ch; }
.trust { grid-area: trust; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; color: var(--soft); }
.trust li { display: inline-flex; align-items: center; gap: 9px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
@media (min-width: 960px) {
  .hero { padding: 38px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); grid-template-areas: "copy card" "trust card"; column-gap: 64px; row-gap: 30px; align-items: start; }
  .hero-copy { align-self: end; padding-top: 34px; }
  .trust { align-self: start; }
}

/* Name card: the double rule echoes the cover of the reading */
.name-card {
  grid-area: card; position: relative; align-self: start;
  background: var(--paper); border: 1px solid var(--gold); border-radius: 20px;
  padding: 24px 18px 18px;
  box-shadow: 0 1px 0 rgba(64, 53, 61, .03), 0 28px 60px -36px rgba(64, 53, 61, .42);
  animation: cardIn .7s var(--ease) .08s both;
}
.name-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); border-radius: 15px; pointer-events: none; }
.name-card > * { position: relative; }
@media (min-width: 600px) { .name-card { padding: 34px 32px 26px; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.field-label { display: block; font: 500 17.5px/1.3 var(--sans); color: var(--ink); margin-bottom: 10px; }
.name-input {
  width: 100%; height: 62px; padding: 0 18px;
  border: 1.5px solid var(--field); border-radius: 13px; background: #fffefb;
  font: 400 21px/1.2 var(--sans); color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.name-input::placeholder { color: #7a6d74; opacity: 1; }
.name-input:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 4px rgba(138, 95, 77, .18); }
.name-input:dir(rtl), .name-input.is-rtl { font-family: var(--serif); font-size: 25px; }
.hint { margin-top: 9px; font-size: 16px; line-height: 1.45; color: var(--soft); }

.door-note, .note {
  margin-top: 14px; padding: 13px 15px; border-radius: 12px; background: var(--blush);
  font-size: 16.5px; line-height: 1.5; color: var(--ink);
}
.note-quiet { background: transparent; border: 1px solid var(--line); }

/* Live preview */
.preview { margin-top: 18px; min-height: 146px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.tiles { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 20px; direction: rtl; width: 100%; --tile: 72px; --gap: 8px; }
.word-item { list-style: none; }
.word { list-style: none; display: flex; gap: var(--gap); direction: rtl; margin: 0; padding: 0; }
.tile {
  width: var(--tile); height: calc(var(--tile) * 1.3); border-radius: calc(var(--tile) * .17);
  background: var(--blush);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.tile-l { font: 400 calc(var(--tile) * .56)/1 var(--serif); color: var(--ink); height: calc(var(--tile) * .62); display: flex; align-items: center; }
.tile-v { margin-top: calc(var(--tile) * .07); font: 500 calc(var(--tile) * .23)/1 var(--sans); color: var(--accent-deep); direction: ltr; }
.tile-n { margin-top: calc(var(--tile) * .06); font: 400 clamp(10.5px, calc(var(--tile) * .17), 13px)/1.1 var(--sans); color: var(--soft); direction: ltr; white-space: nowrap; }
.tile.in { animation: tileIn .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes tileIn { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
.tiles.ghost .tile { background: transparent; border: 1.5px dashed #d4c1b3; }
.preview-cap { margin-top: 14px; font: 400 17px/1.4 var(--serif); color: var(--accent-deep); }
.tiles.ghost + .preview-cap { color: var(--soft); font-family: var(--sans); font-size: 16px; }

/* Choice chips (spelling, suggestions) */
.choice { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.choice-q { font: 500 17.5px/1.35 var(--sans); color: var(--ink); }
.choice-note { margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 6px 18px;
  border: 1.5px solid var(--field); border-radius: 999px; background: #fffefb; color: var(--ink);
  font: 400 17px/1.25 var(--sans); cursor: pointer; text-align: left;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.chip .he { font-size: 25px; line-height: 1; }
.chip .lat { color: var(--soft); }
.chip:hover { border-color: var(--accent-deep); }
.chip[aria-pressed="true"] { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--cream); }
.chip[aria-pressed="true"] .lat { color: var(--on-night-soft); }
.chip-unsure { border-style: dashed; font-size: 16px; border-radius: 16px; padding: 10px 16px; }
.choice.has-err .chips { padding: 6px; margin-left: -6px; margin-right: -6px; border-radius: 16px; box-shadow: 0 0 0 2px var(--err); }

.err { margin-top: 10px; color: var(--err); font-size: 16px; line-height: 1.45; font-weight: 500; }
#continue { margin-top: 20px; }
.doors { margin-top: 10px; display: flex; flex-direction: column; align-items: flex-start; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw + 24px, 128px) 0; position: relative; }
.section-head { max-width: 760px; }
.section-head h2, .h2 { margin-top: 12px; font-size: clamp(28px, 2.4vw + 18px, 46px); }
.lede { margin-top: 16px; font-size: clamp(18px, .35vw + 16.8px, 20.5px); line-height: 1.6; color: var(--soft); max-width: 60ch; }

/* Samples: the pages sit on a dark wall, like prints */
.night { background: var(--night); color: var(--on-night); }
.night h2 { color: var(--on-night); }
.night .eyebrow { color: var(--on-night-gold); }
.night .lede { color: var(--on-night-soft); }
.gallery {
  list-style: none; display: flex; gap: 18px; margin: 38px calc(var(--gutter) * -1) 0; padding: 6px var(--gutter) 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 76%; max-width: 360px; scroll-snap-align: start; }
@media (min-width: 700px) { .shot { flex-basis: 330px; } .gallery { margin-right: calc(50% - 50vw); padding-right: var(--gutter); } }
.shot-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; -webkit-tap-highlight-color: transparent; }
.shot-btn img {
  width: 100%; aspect-ratio: 600 / 846; object-fit: cover; border-radius: 5px; background: #efe4da;
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .75), 0 2px 8px rgba(0, 0, 0, .25);
  transition: transform .45s var(--ease);
}
.shot-btn:hover img { transform: translateY(-4px); }
.tag { position: absolute; bottom: 14px; left: 12px; padding: 6px 9px; border-radius: 7px; background: rgba(64, 53, 61, .9); color: var(--cream); font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.zoom-ic { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(251, 247, 242, .95); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); }
.zoom-ic svg { width: 20px; height: 20px; }
.shot-cap { margin-top: 16px; font-size: 16.5px; line-height: 1.5; color: var(--on-night-soft); }
.shot-cap strong { display: block; margin-bottom: 3px; font: 500 20px/1.3 var(--serif); color: var(--on-night); }
.gallery-nav { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(251, 247, 242, .45); background: transparent;
  color: var(--on-night); display: grid; place-items: center; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.round-btn:hover { background: rgba(251, 247, 242, .1); border-color: var(--on-night); }
.round-btn[disabled] { opacity: .35; cursor: default; }
.round-btn svg { width: 20px; height: 20px; }
.gallery-count { font-size: 16px; color: var(--on-night-soft); min-width: 64px; text-align: center; }

.excerpt { margin-top: 56px; display: grid; gap: 30px; padding-top: 40px; border-top: 1px solid rgba(251, 247, 242, .18); }
@media (min-width: 900px) { .excerpt { grid-template-columns: 1fr 1fr; gap: 56px; } }
.excerpt figure { margin: 0; }
.excerpt blockquote { margin: 12px 0 0; font: 400 clamp(20px, .6vw + 17.5px, 24px)/1.55 var(--serif); color: var(--on-night); }
.excerpt blockquote::before { content: "\201C"; display: block; height: .5em; font-size: 2.4em; line-height: 1; color: var(--on-night-gold); margin-bottom: 8px; }
.excerpt figcaption { margin-top: 12px; font-size: 15.5px; color: var(--on-night-soft); }

/* What you get */
.get-grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "list" "price"; }
.get-head { grid-area: head; }
.get-list { grid-area: list; }
.get-price { grid-area: price; }
.get-price .price-row { margin-top: 0; }
@media (min-width: 960px) { .get-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "head list" "price list"; grid-template-rows: auto 1fr; column-gap: 80px; row-gap: 10px; align-items: start; } }
.get-list { list-style: none; border-top: 1px solid var(--line); }
.get-list li { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.get-num { grid-row: span 2; font: 400 40px/1 var(--serif); color: var(--accent); text-align: center; padding-top: 2px; }
.get-list h3 { font-size: clamp(21px, .5vw + 19px, 24px); line-height: 1.25; }
.get-list p { margin-top: 6px; color: var(--soft); }
.price-row { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.price-big { font: 500 38px/1 var(--serif); color: var(--ink); }
.price-big small { font: 400 18px/1 var(--sans); color: var(--soft); margin-left: 8px; }
.price-sub { margin-top: 10px; font-size: 16.5px; color: var(--soft); max-width: 36ch; }

/* How it is calculated */
.band { background: var(--blush); }
.how-grid { display: grid; gap: 38px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .how-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; } }
.how-copy p + p { margin-top: 16px; }
.how-copy .lede { margin-top: 18px; }
.key { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; direction: rtl; }
@media (min-width: 480px) { .key { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.key li { background: var(--paper); border-radius: 11px; padding: 11px 0 9px; text-align: center; }
.key .k-l { display: block; font: 400 29px/1.05 var(--serif); color: var(--ink); }
.key .k-v { display: block; margin-top: 5px; font: 500 15px/1 var(--sans); color: var(--accent-deep); direction: ltr; }
.key-cap { margin-top: 14px; font-size: 16px; color: var(--soft); }
.key-cap .he { font-size: 21px; color: var(--ink); }
.key-title { font: 500 17px/1.3 var(--sans); margin-bottom: 14px; color: var(--ink); }

/* FAQ */
.faq { margin-top: 30px; border-top: 1px solid var(--line); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 66px; padding: 18px 2px; border: 0; background: none; cursor: pointer; text-align: left;
  font: 500 clamp(19px, .4vw + 17.6px, 21px)/1.35 var(--serif); color: var(--ink);
}
.faq-ic { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: var(--accent-deep); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-ic::after { transform: rotate(90deg); }
.faq-item.open .faq-ic::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease); }
.faq-a > div { overflow: hidden; visibility: hidden; transition: visibility 0s linear .38s; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > div { visibility: visible; transition-delay: 0s; }
.faq-a p { padding: 0 2px 24px; color: var(--soft); max-width: 64ch; }

/* ---------- Details form ---------- */
.form-section { background: var(--blush); }
.form-wrap { max-width: 680px; margin: 0 auto; }
#details-title:focus { outline: none; }
.form-card {
  margin-top: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px 18px 24px; box-shadow: 0 28px 60px -40px rgba(64, 53, 61, .45);
}
@media (min-width: 600px) { .form-card { padding: 34px 36px 34px; } }
.recap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 16px; border-radius: 14px; background: var(--blush); }
.recap-label { font-size: 15.5px; color: var(--soft); width: 100%; }
.recap-name { font: 400 30px/1.1 var(--serif); color: var(--ink); }
.recap-lat { font-size: 17px; color: var(--soft); }
.recap .link-btn { margin-left: auto; }
.recap.is-empty .recap-name { font: 400 17px/1.4 var(--sans); color: var(--soft); }
.recap.has-err { box-shadow: 0 0 0 2px var(--err); }
.field { margin-top: 24px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; margin-bottom: 8px; padding: 0; font: 500 17.5px/1.35 var(--sans); color: var(--ink); }
.help { margin-top: 7px; font-size: 16px; line-height: 1.5; color: var(--soft); }
.help em { font-style: normal; color: var(--ink); }
.input, .select, .textarea {
  display: block; width: 100%; min-height: 56px; padding: 13px 15px;
  border: 1.5px solid var(--field); border-radius: 12px; background: #fffefb; color: var(--ink);
  font: 400 18px/1.4 var(--sans); -webkit-appearance: none; appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 4px rgba(138, 95, 77, .18); }
.select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238a5f4d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.select:invalid, .select.is-empty { color: #6f6369; }
.textarea { min-height: 128px; resize: vertical; }
[aria-invalid="true"] { border-color: var(--err) !important; box-shadow: 0 0 0 3px rgba(161, 57, 43, .13) !important; }
.dob { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr) minmax(0, 1.1fr); gap: 10px; }
.dob .select { padding-left: 12px; padding-right: 30px; background-position: right 8px center; font-size: 17.5px; }
.suggest { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 16.5px; color: var(--ink); }
.suggest .link-btn { min-height: 44px; }
.check { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.check input { flex: none; width: 26px; height: 26px; margin: 1px 0 0; accent-color: var(--accent-deep); cursor: pointer; }
.field-consent { margin-top: 26px; }

/* Price and payment */
.pay { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.price .amt { font: 500 44px/1 var(--serif); color: var(--ink); }
.price .once { font-size: 18px; color: var(--soft); }
.price-note { margin-top: 8px; font-size: 17px; color: var(--ink); }
.guarantee { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 13px; background: var(--blush); font-size: 16.5px; line-height: 1.5; }
.guarantee svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--accent-deep); }
.pay-area { margin-top: 22px; }
.pay-buttons { position: relative; min-height: 56px; }
.pp-btn + .pp-btn { margin-top: 10px; }
.pay-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 112px; border-radius: 12px; border: 1.5px dashed var(--line); color: var(--soft); font-size: 16px; }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent-deep); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-soon { padding: 18px 18px; border-radius: 13px; border: 1.5px solid var(--line); background: #fffefb; font-size: 17px; line-height: 1.55; }
.pay-soon strong { display: block; font: 500 21px/1.3 var(--serif); margin-bottom: 4px; }
.pay-note { margin-top: 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--soft); }
.pay-note svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--soft); }
.pay-msg { margin-top: 14px; padding: 13px 15px; border-radius: 12px; font-size: 16.5px; line-height: 1.5; background: #f9e7e2; color: #7a2a1f; }
.pay-msg.calm { background: var(--blush); color: var(--ink); }
.btn-mock { background: #2f2a2e; border: 2px dashed #e0b24a; }
.btn-mock:hover { background: #1f1b1e; }
.pay-dev { margin-top: 8px; font-size: 14.5px; color: var(--soft); }
.processing { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(251, 247, 242, .92); }
.processing div { display: flex; align-items: center; gap: 14px; font: 500 20px/1.3 var(--serif); color: var(--ink); }

/* ---------- Footer ---------- */
.site-foot { background: var(--night); color: var(--on-night-soft); padding: 58px 0 calc(44px + env(safe-area-inset-bottom)); font-size: 16px; line-height: 1.6; }
.site-foot .brand { color: var(--on-night); }
.site-foot .brand:hover { color: var(--on-night); }
.foot-grid { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1fr auto; align-items: end; } }
.foot-tag { margin-top: 10px; color: var(--on-night-soft); }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-links a, .foot-links button { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-night); font-size: 16.5px; text-decoration: underline; text-decoration-color: rgba(251, 247, 242, .4); text-underline-offset: 4px; background: none; border: 0; padding: 0; cursor: pointer; }
.foot-links a:hover, .foot-links button:hover { text-decoration-color: var(--on-night); color: var(--on-night); }
.foot-legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(251, 247, 242, .16); font-size: 15px; color: var(--on-night-soft); }
.site-foot :focus-visible { outline-color: var(--on-night-gold); }

/* ---------- Sticky mobile CTA ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 247, 242, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -14px 34px -22px rgba(64, 53, 61, .5);
  transform: translateY(110%); visibility: hidden;
  transition: transform .38s var(--ease), visibility 0s linear .38s;
}
.sticky.on { transform: none; visibility: visible; transition: transform .38s var(--ease), visibility 0s; }
.sticky .btn { min-height: 54px; }
@media (min-width: 900px) { .sticky { display: none; } }

/* ---------- Dialogs ---------- */
dialog { color: var(--ink); }
.lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #262024; color: var(--on-night); overflow: hidden; }
.lb::backdrop { background: rgba(38, 31, 36, .9); }
.lb[open] { display: flex; flex-direction: column; }
.lb-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; }
.lb-title { font: 500 17px/1.3 var(--serif); color: var(--on-night); padding-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-tools { display: flex; gap: 8px; flex: none; }
.lb-stage { flex: 1; display: flex; flex-direction: column; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 4px 12px 16px; }
.lb-stage img { flex: none; width: 100%; max-width: 860px; margin: auto; border-radius: 4px; background: #efe4da; cursor: zoom-in; transition: none; }
.lb.zoomed .lb-stage img { width: 210%; max-width: 1500px; cursor: zoom-out; }
@media (min-width: 900px) { .lb.zoomed .lb-stage img { width: 1500px; } }
.lb-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(251, 247, 242, .12); }
.lb-cap { font-size: 15.5px; line-height: 1.45; color: var(--on-night-soft); text-align: center; flex: 1; }
.lb-fallback { position: fixed; inset: 0; z-index: 95; }

.modal { width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); margin: auto; padding: 0; border: 0; border-radius: 20px; background: var(--paper); box-shadow: 0 40px 90px -30px rgba(38, 31, 36, .6); overflow: auto; }
.modal::backdrop { background: rgba(64, 53, 61, .55); }
.modal-in { padding: 26px 20px 24px; }
@media (min-width: 600px) { .modal-in { padding: 34px 34px 30px; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-head h2 { font-size: 28px; }
.x-btn { flex: none; width: 46px; height: 46px; margin: -6px -6px 0 0; border: 0; border-radius: 50%; background: var(--blush); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.x-btn svg { width: 18px; height: 18px; }
.modal .field:first-of-type { margin-top: 18px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.modal-fallback { position: fixed; inset: 12px; z-index: 96; }

/* ---------- Simple pages (thanks, legal, 404) ---------- */
.page { padding: 34px 0 90px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(32px, 2.6vw + 22px, 48px); margin-top: 14px; }
.page .lede { margin-top: 14px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16.5px; text-decoration: none; }
.back svg { width: 18px; height: 18px; }
.legal h2 { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); font-size: clamp(26px, 1.4vw + 20px, 34px); scroll-margin-top: 16px; }
.legal h3 { margin-top: 26px; font-size: 21px; }
.legal p, .legal li { margin-top: 12px; color: var(--soft); }
.legal ul { padding-left: 22px; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal .toc, .toc { list-style: none; display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 18px; padding-left: 0; }
.legal .toc li { margin-top: 0; }
.legal code { font-size: .9em; background: var(--blush); padding: 1px 6px; border-radius: 5px; color: var(--ink); }
.toc a { display: inline-flex; min-height: 44px; align-items: center; }
.steps { list-style: none; margin-top: 30px; border-top: 1px solid var(--line); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps .get-num { font-size: 34px; }
.steps h3 { font-size: 21px; }
.steps p { margin-top: 4px; color: var(--soft); }
.ref-box { margin-top: 22px; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 14px 18px; border-radius: 13px; background: var(--blush); }
.ref-box span { font-size: 15.5px; color: var(--soft); }
.ref-box strong { font: 500 22px/1.2 var(--serif); letter-spacing: .03em; }
.big-mark { font: 400 clamp(84px, 10vw + 40px, 140px)/1 var(--serif); color: var(--gold); direction: rtl; text-align: left; }

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