/* Smith & Square: site styles. Mobile first, no framework.
   Contrast (WCAG AA) checked for every text/background pair used:
   ink on paper 14.4:1, ink on white 15.7:1, muted on paper 5.5:1, muted on white 6.0:1,
   accent on white 6.3:1, accent on paper 5.8:1, accent on tint 5.4:1, white on accent 6.3:1,
   white on accent-hover 8.2:1, error on white 6.5:1, error on error-tint 5.7:1, ink on tint 13.5:1, muted on tint 5.2:1,
   paper on ink 14.4:1, soft on ink 9.9:1, field border on white 3.9:1 (non-text, needs 3:1). */

:root {
  --ink: #1B2430;
  --paper: #F7F5F0;
  --white: #FFFFFF;
  --line: #E3DFD6;
  --muted: #5B6470;
  --accent: #2F6B55;
  --accent-hover: #25584A;
  --accent-tint: #E7F0EC;
  --highlight: #D9A441;
  --field: #7A828C;
  --soft: #C9CED4;
  --error: #B3261E;
  --error-tint: #FBEDEC;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --wrap: 1120px;
  --header-h: 60px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}
html:has(dialog[open]) { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.16em; }
a:hover { color: var(--accent-hover); }
a[href^="tel:"], a[href^="sms:"] { white-space: nowrap; } /* keep 0480 344 478 on one line */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.625rem, 1.25rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.1875rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 680px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 8px; top: -80px; z-index: 50;
  background: var(--ink); color: var(--white); padding: 12px 16px; font-weight: 600;
}
.skip:focus { top: 8px; color: var(--white); }
.show-sm { display: inline; }
.hide-sm { display: none; }
@media (min-width: 640px) {
  .show-sm { display: none; }
  .hide-sm { display: inline; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-hover); color: var(--white); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--white); color: var(--ink); }
.btn--small { min-height: 44px; padding: 8px 14px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 8px; min-height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.amp { color: var(--accent); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__link { display: none; }
.nav__call { color: var(--ink); border-color: var(--line); background: var(--white); }
.nav__call:hover { color: var(--ink); border-color: var(--ink); }
/* Very small phones (320px): keep the logo, Call and Order on one line without sideways scrolling. */
@media (max-width: 359px) {
  .brand { gap: 8px; font-size: 1rem; }
  .brand svg { width: 26px; height: 26px; }
  .nav { gap: 6px; }
  .site-header .btn--small { padding: 8px 10px; }
}
@media (min-width: 960px) {
  .nav { gap: 4px; }
  .nav__link {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
    color: var(--ink); text-decoration: none; font-weight: 500;
  }
  .nav__link:hover { color: var(--accent); text-decoration: underline; }
  .nav__call { margin-left: 8px; }
}

/* Section scaffolding */
.section { padding: 56px 0; border-top: 1px solid var(--line); }
.section--white { background: var(--white); }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section__head { max-width: 660px; margin-bottom: 28px; }
.section__head p { color: var(--muted); }
.section__more { margin-top: 20px; }
/* Heading on the left, content on the right (wide screens). */
@media (min-width: 1000px) {
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); column-gap: 64px; align-items: start; }
  .split > .section__head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.section__more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* Eyebrow label with a small dimension line |—| like on a drawing */
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 12px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; flex: none; width: 28px; height: 9px;
  background:
    linear-gradient(var(--accent), var(--accent)) left center / 100% 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left center / 1.5px 100% no-repeat,
    linear-gradient(var(--accent), var(--accent)) right center / 1.5px 100% no-repeat;
}
.tag {
  display: inline-block; flex: none; padding: 3px 7px;
  background: var(--ink); color: var(--paper);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4;
}

/* Hero */
.hero {
  padding: 28px 0 52px;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(27, 36, 48, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 36, 48, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
.hero__grid { display: grid; gap: 32px; }
.hero h1 { font-size: clamp(2.125rem, 1.5rem + 3.2vw, 3.5rem); line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 16px; }
.hero__lead { font-size: 1.125rem; max-width: 34em; margin-bottom: 24px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 100%; }
@media (min-width: 520px) { .hero__ctas .btn { flex: 0 0 auto; } }
@media (min-width: 900px) {
  .hero { padding: 64px 0 88px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 56px; }
}

/* Before/after slider. With JS: stacked, drag or arrow keys. Without JS: side by side. */
.compare { margin: 0; background: var(--white); border: 1px solid var(--line); padding: 10px; }
.compare__frame {
  --pos: 50%;
  position: relative; overflow: hidden;
  touch-action: pan-y; cursor: ew-resize;
  -webkit-user-select: none; user-select: none;
}
.compare__pane { position: relative; }
.compare__pane img { width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; }
.compare__pane--before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__label {
  position: absolute; bottom: 8px; padding: 3px 8px;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.compare__label--before { left: 8px; }
.compare__label--after { right: 8px; }
/* The range input is invisible and sits on the knob: keyboard and screen readers use it,
   while mouse and touch drags are handled on the whole frame (site.js). */
.compare__range {
  position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0;
  border: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--ink); pointer-events: none;
}
.compare__knob {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: var(--white); border: 2px solid var(--ink);
}
.compare__knob::before, .compare__knob::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.compare__knob::before { left: 8px; border-right: 7px solid var(--ink); }
.compare__knob::after { right: 8px; border-left: 7px solid var(--ink); }
.compare__range:focus-visible + .compare__handle .compare__knob { outline: 3px solid var(--accent); outline-offset: 2px; }
.compare figcaption { display: flex; align-items: flex-start; gap: 10px; padding: 10px 2px 2px; font-size: 0.9375rem; color: var(--muted); }
.compare figcaption .tag { margin-top: 2px; }
@media (scripting: none) {
  .compare__frame { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; cursor: auto; }
  .compare__pane--before { position: relative; inset: auto; clip-path: none; order: -1; }
  .compare__handle, .compare__range, .compare__hint { display: none; }
  .compare__label--after { right: auto; left: 8px; }
}

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { background: var(--white); border: 1px solid var(--line); padding: 20px 20px 22px; }
.step__num {
  display: block; margin-bottom: 10px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } .step { padding: 26px; } }

/* Styles gallery */
.styles-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .styles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.style-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1px solid var(--line); padding: 8px 8px 12px;
  color: var(--ink); text-decoration: none;
}
.style-card:hover { border-color: var(--field); color: var(--ink); }
.style-card img { width: 100%; height: auto; aspect-ratio: 480 / 679; border-bottom: 1px solid var(--line); }
.style-card__name { display: block; margin-top: 10px; font-weight: 700; line-height: 1.3; }
.style-card__price { display: block; font-size: 0.875rem; color: var(--muted); }
.style-card__price--extra { color: var(--accent); font-weight: 600; }
/* Site plan: one wide card under the styles, picture the width of one card, words beside it. */
.styles-grid__wide { grid-column: 1 / -1; }
.style-card--wide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px; align-items: start; padding: 8px; }
.style-card--wide img { border: 1px solid var(--line); }
.style-card--wide .style-card__name { margin-top: 2px; font-size: 1.0625rem; }
.style-card__text { display: block; margin-top: 8px; font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 720px) {
  .style-card--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px; }
  .style-card--wide .style-card__body { padding-top: 6px; max-width: 420px; }
}
.styles-note { max-width: 660px; margin-top: 22px; color: var(--muted); }

/* Large view dialog */
.viewer {
  width: min(100% - 24px, 720px); max-width: none; max-height: calc(100% - 24px);
  margin: auto; padding: 0; border: 0; border-radius: var(--radius);
  background: var(--white); color: var(--ink); overflow: auto;
}
.viewer::backdrop { background: rgba(27, 36, 48, 0.75); }
.viewer__head {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 16px; background: var(--white); border-bottom: 1px solid var(--line);
}
.viewer__title { margin: 0; font-size: 1.0625rem; }
.viewer__close {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 8px 12px;
  background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--radius);
  font: inherit; font-weight: 600; cursor: pointer;
}
.viewer__close:hover { background: var(--paper); }
.viewer__close svg { width: 14px; height: 14px; }
.viewer__img {
  width: 100%; height: auto; margin: 0 auto; background: var(--white);
  max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); object-fit: contain;
}
.viewer__desc { margin: 0; padding: 12px 16px 16px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }

/* Pricing */
.price-card { max-width: 760px; background: var(--white); border: 1px solid var(--line); }
.price-card__free { padding: 22px 20px; background: var(--accent-tint); border-bottom: 1px solid var(--line); }
.price-card__big { margin: 0 0 4px; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--accent); }
.prices { list-style: none; margin: 0; padding: 4px 20px; }
.price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.price:last-child { border-bottom: 0; }
.price__name { flex: 1 1 auto; font-weight: 600; }
.price__amount { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price__note { flex-basis: 100%; font-size: 0.9375rem; color: var(--muted); }
.price--cap .price__name { color: var(--accent); }
.price-card__foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.price-card__foot p { font-size: 0.9375rem; color: var(--muted); }
.price-card__foot strong { color: var(--ink); }
.price-card__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 18px; }
.price-card__ctas a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (min-width: 640px) {
  .price-card__free, .prices, .price-card__foot { padding-left: 28px; padding-right: 28px; }
}

/* FAQ */
.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 12px 0; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 100% no-repeat;
}
.faq details[open] summary::after { background: linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat; }
.faq summary:hover { color: var(--accent); }
.faq__a { padding: 0 0 20px; max-width: 640px; }

/* Closing call to action */
.cta { padding: 56px 0; background: var(--ink); color: var(--paper); }
.cta h2 { color: var(--white); }
.cta p, .cta li { color: var(--soft); }
.cta a:not(.btn) { color: var(--white); }
.cta a:not(.btn):hover { color: var(--accent-tint); }
.cta :focus-visible { outline-color: var(--paper); }
.cta .eyebrow { color: var(--soft); }
.cta .eyebrow::before {
  background:
    linear-gradient(var(--soft), var(--soft)) left center / 100% 1.5px no-repeat,
    linear-gradient(var(--soft), var(--soft)) left center / 1.5px 100% no-repeat,
    linear-gradient(var(--soft), var(--soft)) right center / 1.5px 100% no-repeat;
}
.cta__in { display: grid; gap: 24px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__actions .btn { flex: 1 1 100%; }
.cta .btn--primary { background: var(--paper); color: var(--ink); }
.cta .btn--primary:hover { background: var(--white); color: var(--ink); }
.btn--light { background: transparent; color: var(--white); border-color: var(--paper); }
.btn--light:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; min-height: 44px; }
.contact-list a { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 520px) { .cta__actions .btn { flex: 0 0 auto; } }
@media (min-width: 900px) {
  .cta { padding: 80px 0; }
  .cta__in { grid-template-columns: 1.2fr 1fr; align-items: center; column-gap: 56px; }
  .cta__actions, .contact-list { grid-column: 2; }
  .cta__in > div:first-child { grid-row: 1 / span 2; }
}

/* Footer */
.site-footer { padding: 40px 0 32px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.site-footer p { margin-bottom: 6px; }
.footer__grid { display: grid; gap: 24px; }
.footer__h { margin: 0 0 4px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ink); }
.footer__links a:hover { color: var(--accent); }
.footer__base { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }

/* Small pages: order intro, thanks, 404 */
.page-head { padding: 32px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 2.75rem); letter-spacing: -0.02em; margin-bottom: 10px; }
.page-head .lead { font-size: 1.125rem; }
.page-body { padding: 12px 0 64px; }
.muted { color: var(--muted); }
.notice {
  margin: 16px 0 0; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent);
}
.notice--error { background: var(--error-tint); border-color: #EBC8C5; border-left-color: var(--error); color: var(--ink); }
.notice__title { font-weight: 700; margin-bottom: 4px; }
.next-steps { margin: 0 0 24px; padding-left: 1.4em; }
.next-steps li { margin-bottom: 6px; padding-left: 4px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 20px; }
.btn-row .btn { flex: 1 1 100%; }
@media (min-width: 520px) { .btn-row .btn { flex: 0 0 auto; } }
@media (min-width: 900px) { .page-head { padding-top: 56px; } }

/* Order form */
.form { margin-top: 0; }
.group { margin: 0 0 32px; padding: 0; border: 0; min-width: 0; }
.group > legend, .group__title {
  display: block; width: 100%; padding: 0 0 10px; margin: 0 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em;
}
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field:last-child { margin-bottom: 0; }
.field > label, .field > legend, .label { display: block; padding: 0; margin: 0 0 6px; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.hint { margin: -2px 0 8px; font-size: 0.9375rem; color: var(--muted); }
.hint--after { margin: 8px 0 0; }
.input {
  display: block; width: 100%; min-height: 48px; padding: 10px 12px;
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--field); border-radius: var(--radius);
  font: inherit; font-size: max(1rem, 16px); line-height: 1.4;
}
textarea.input { min-height: 104px; resize: vertical; }
.input:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__error { margin: 6px 0 0; color: var(--error); font-weight: 600; font-size: 0.9375rem; }
.field__error::before { content: "! "; font-weight: 800; }

/* Option controls: the real input sits on top of its label, invisible, so the whole box is the target. */
.opt-box { position: relative; }
.opt-box > input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer; z-index: 1;
}
.opt-box > input:disabled { cursor: not-allowed; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } /* Levels 1 to 5+: one row, about 63px a button at 380px */
.seg label {
  display: flex; align-items: center; justify-content: center; min-height: 48px; height: 100%;
  padding: 8px 10px; text-align: center; line-height: 1.25; font-weight: 600;
  background: var(--white); border: 1.5px solid var(--field); border-radius: var(--radius);
}
.seg .opt-box:hover label { border-color: var(--ink); }
.seg input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--white); }
.seg input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.seg input:disabled + label { background: var(--paper); border-color: var(--line); color: var(--muted); }
.seg input:disabled:checked + label { background: var(--muted); border-color: var(--muted); color: var(--white); }
fieldset[aria-invalid="true"] .seg label { border-color: var(--error); }
/* A one-column list of choices, each with its price on the right (What do you need?). */
.seg--list { grid-template-columns: 1fr; }
.seg--list label { justify-content: space-between; gap: 12px; text-align: left; padding: 10px 14px; }
.seg__price { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.seg input:checked + label .seg__price { color: inherit; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice label {
  display: flex; flex-direction: column; height: 100%; padding: 10px 10px 12px;
  background: var(--white); border: 1.5px solid var(--field); border-radius: var(--radius);
}
.choice img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 10px; border: 1px solid var(--line); }
.choice__name { font-weight: 700; display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.choice__price { color: var(--accent); }
.choice__desc { font-size: 0.875rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.choice.opt-box:hover label { border-color: var(--ink); }
.choice input:checked + label { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-tint); }
.choice input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }

.check { display: block; }
.check label { display: block; position: relative; min-height: 44px; padding: 10px 0 10px 40px; font-weight: 500; line-height: 1.4; }
.check label::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 26px; height: 26px;
  background: var(--white); border: 1.5px solid var(--field); border-radius: 3px;
}
.check label::after {
  content: ""; position: absolute; left: 9px; top: 13px; width: 8px; height: 14px;
  border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(45deg); opacity: 0;
}
.check input:checked + label::before { background: var(--accent); border-color: var(--accent); }
.check input:checked + label::after { opacity: 1; }
.check input:focus-visible + label::before { outline: 3px solid var(--ink); outline-offset: 2px; }
.check input[aria-invalid="true"] + label::before { border-color: var(--error); border-width: 2px; }
.check__sub { display: block; font-size: 0.9375rem; color: var(--muted); }
/* Keep links out of tick box labels: on a phone the link takes the tap and the box stays empty.
   Put the link on its own line under the box instead, with its own 44px-high target. */
.check__more { margin: 4px 0 0; padding-left: 40px; }
.check__more a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }
.check__more svg { width: 15px; height: 15px; flex: none; }

/* File picker */
.drop {
  position: relative; padding: 18px 16px; text-align: center;
  background: var(--white); border: 1.5px dashed var(--field); border-radius: var(--radius);
}
.drop.is-over { border-color: var(--accent); background: var(--accent-tint); border-style: solid; }
.drop__btn { position: relative; display: inline-flex; }
.drop__btn > input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer; z-index: 1;
}
.drop__btn > label { margin: 0; }
.drop__btn > input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }
.drop__btn:hover > label { background: var(--accent-hover); }
.drop__or { display: none; margin: 8px 0 0; font-size: 0.9375rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .drop__or { display: block; } }
.drop--small { padding: 12px; text-align: left; }
.drop--small .drop__btn > label { background: var(--white); color: var(--ink); border-color: var(--ink); }
.drop--small .drop__btn:hover > label { background: var(--paper); }
@media (scripting: none) {
  .drop__btn > input { position: static; opacity: 1; width: 100%; height: auto; }
  .drop__btn > label, .drop__or { display: none; }
  .drop__btn { display: block; }
}
.file-list { list-style: none; margin: 10px 0 0; padding: 0; }
.file-list li {
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; margin-bottom: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.file__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.9375rem; }
.file__size { flex: none; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.file__remove {
  flex: none; min-height: 44px; min-width: 44px; padding: 6px 10px;
  background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer;
}
.file__remove:hover { border-color: var(--ink); }
.file-total { margin: 4px 0 0; font-size: 0.875rem; color: var(--muted); }

/* Price summary */
.summary { margin: 0 0 28px; background: var(--white); border: 1px solid var(--line); }
.summary__title { margin: 0; padding: 14px 18px; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
.summary__rows { list-style: none; margin: 0; padding: 6px 18px; }
.summary__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.summary__rows span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin: 0; padding: 12px 18px; border-top: 1px solid var(--line);
  font-weight: 700; font-size: 1.125rem;
}
.summary__total strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.summary__total strong.is-free { color: var(--accent); }
.summary__cap { margin: -6px 0 0; padding: 0 18px 12px; text-align: right; font-size: 0.875rem; color: var(--muted); }
.summary__note { margin: 0; padding: 12px 18px 14px; background: var(--paper); border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.summary__note strong { color: var(--ink); }

/* Sending */
.turnstile-box { min-height: 65px; }
.progress { margin-top: 14px; }
.progress progress {
  display: block; width: 100%; height: 10px; border: 0; border-radius: 5px; overflow: hidden;
  background: var(--line); color: var(--accent); -webkit-appearance: none; appearance: none;
}
.progress progress::-webkit-progress-bar { background: var(--line); }
.progress progress::-webkit-progress-value { background: var(--accent); }
.progress progress::-moz-progress-bar { background: var(--accent); }
.progress__label { margin: 6px 0 0; font-size: 0.9375rem; color: var(--muted); }
.form-msg:empty { display: none; }
.form-msg { margin-top: 14px; padding: 14px 16px; background: var(--error-tint); border: 1px solid #EBC8C5; border-left: 4px solid var(--error); }
.form-msg p { margin: 0 0 6px; }
.form-msg p:last-child { margin: 0; }
.form-msg__main { font-weight: 600; }

/* Done */
.done { padding: 24px 20px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent); margin-top: 24px; }
.done:focus { outline: none; }
.done:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.done h2 { font-size: 1.625rem; }
.order-id { display: inline-block; margin: 0 0 14px; padding: 8px 12px; background: var(--accent-tint); font-size: 1.125rem; }
.order-id strong { display: block; white-space: nowrap; font-size: 1.375rem; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
