/* TCG Payout: all site styles in one file (the theme file).
   Synthwave look from the design concept in ../design-concept/. Colors, fonts and glows
   are the variables in :root: change them here and the whole site follows.
   Fonts are hosted on this site (assets/fonts, free SIL Open Font License), so pages
   make no outside requests. No frameworks, so pages load fast. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-800.woff2") format("woff2"); }
@font-face { font-family: "Orbitron"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/orbitron-600.woff2") format("woff2"); }
@font-face { font-family: "Orbitron"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/orbitron-800.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  /* Design tokens from the design concept. Keep these names: the appraisal ticker uses them. */
  --bg-deep: #0a0118;
  --bg-panel: #150a2e;
  --grid-line: #2a1454;
  --magenta: #ff2e9a;
  --magenta-glow: #ff2e9a99;
  --cyan: #22e5ff;
  --cyan-glow: #22e5ff99;
  --gold: #ffcc33;
  --gold-glow: #ffcc3399;
  --text-dim: #a99bd6;
  --text-bright: #f4eeff;

  /* Site roles, built from the tokens above. */
  --ink: var(--text-bright);      /* headings, labels */
  --text: #ddd4f5;                /* body text */
  --muted: var(--text-dim);       /* hints and notes */
  --line: #3d1f6e;                /* borders */
  --line-soft: var(--grid-line);  /* dividers */
  --bg: var(--bg-deep);
  --surface: var(--bg-panel);     /* cards and panels */
  --well: #0a0420;                /* inputs and inner boxes */
  --raise: #1e1440;               /* hover and table heads */
  --ok: #3ee08f;
  --ok-tint: #06301f;
  --warn-tint: #3a2c08;
  --danger: #ff7a95;
  --danger-tint: #3a0f1f;
  --focus: var(--cyan);
  --radius: 16px;
  --gradient: linear-gradient(90deg, var(--magenta), var(--cyan));
  --glow: 0 0 0 1px #ff2e9a1f, 0 0 32px #ff2e9a14, 0 0 70px #22e5ff0f;
  --glow-strong: 0 0 0 1px #ff2e9a33, 0 0 40px #ff2e9a33, 0 0 90px #22e5ff22;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-machine: "Orbitron", "Inter", system-ui, sans-serif;  /* logo, numbers, buttons */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); font-synthesis-weight: none; }
/* Synthwave floor grid and the magenta glow at the top. Decorative, fixed behind everything. */
body::before {
  content: ""; position: fixed; left: -25%; right: -25%; bottom: 0; height: 46vh; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .45;
  transform: perspective(500px) rotateX(60deg); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent); mask-image: linear-gradient(to top, #000 30%, transparent);
}
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, #ff2e9a24, transparent 60%); }
::selection { background: #ff2e9a59; color: #fff; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--text-bright); }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.05rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.05rem); letter-spacing: -.01em; }
h3 { font-size: 1.12rem; }
/* Bold display headlines: big page titles, section titles and form steps. */
.hero h1, .page-head h1, .section-head h2, .section.cta h2, .step-title { font-weight: 800; text-transform: uppercase; letter-spacing: -.025em; line-height: 1.02; }
/* Magenta/cyan split on the biggest headlines only. */
.hero h1, .page-head h1, .step-title { text-shadow: -.035em 0 #ff2e9aa6, .035em 0 #22e5ffa6; }
@media (prefers-contrast: more) { .hero h1, .page-head h1, .step-title { text-shadow: none; } }
/* Small label above a headline, with a short neon line. */
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--magenta); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.kicker::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--magenta); box-shadow: 0 0 8px var(--magenta-glow); }
@media (max-width: 520px) { .kicker { gap: 10px; font-size: .72rem; letter-spacing: .1em; } .kicker::before { width: 20px; } }
strong, b { font-weight: 600; color: var(--text-bright); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.container { width: min(1080px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 50; background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 8px 12px; border-radius: 8px; }
.hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .btn:active { transform: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(10, 1, 24, .9); border-bottom: 1px solid var(--line-soft); box-shadow: 0 1px 0 #ff2e9a26, 0 8px 30px #00000066; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(10, 1, 24, .74); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 0 6px #ff2e9a66); }
/* The wordmark: magenta-to-cyan gradient text. The glow is a filter, not a text-shadow,
   so it sits behind the letters instead of muddying the gradient. */
.logo span {
  font-family: var(--font-machine); font-weight: 800; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px #ff2e9a59);
}
.logo b { font-weight: 800; color: inherit; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cyan); }
.nav a.btn, .nav a.btn:hover, .nav a.btn[aria-current="page"] { color: var(--bg-deep); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--well); font-weight: 600; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--cyan); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 210px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--glow-strong); }
.menu-panel a { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--raise); color: var(--cyan); }
@media (max-width: 800px) { .nav { display: none; } .menu { display: block; } }

/* ---------- Buttons, pills, notices ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 12px;
  font-family: var(--font-machine); font-weight: 600; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: box-shadow .15s, background-color .15s, border-color .15s, color .15s, transform .08s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--gradient); color: var(--bg-deep); box-shadow: 0 0 22px #ff2e9a66; }
.btn-primary:hover { color: var(--bg-deep); box-shadow: 0 0 30px var(--magenta-glow), 0 0 54px #22e5ff40; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--raise); border-color: var(--cyan); color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .76rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border: 1px solid #22e5ff40; border-radius: 999px; background: #0d3a44; color: var(--cyan); font-weight: 600; font-size: .84rem; letter-spacing: .02em; }
.pill svg { width: 16px; height: 16px; }
.alert { padding: 14px 16px; border: 1px solid; border-radius: 12px; margin: 0 0 18px; font-weight: 600; }
.alert-info { background: var(--warn-tint); border-color: #ffcc3340; color: var(--gold); }
.alert-ok { background: var(--ok-tint); border-color: #3ee08f40; color: var(--ok); }
.alert-error { background: var(--danger-tint); border-color: #ff7a9566; color: #ffb3c2; }
.alert ul { margin: 6px 0 0; font-weight: 500; }

/* Draft markers: shown only while the site is unfinished. Must all be gone before publishing. */
.draft-banner { background: #fff3a6; color: #4d3900; text-align: center; padding: 8px 16px; font-weight: 600; font-size: .9rem; border-bottom: 1px solid #e6cf5c; }
.todo { background: #fff3a6; color: #4d3900; outline: 2px dashed #c79a00; outline-offset: 1px; border-radius: 4px; padding: 0 3px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 52px; background: radial-gradient(800px 380px at 85% 20%, #ff2e9a1f, transparent 70%), radial-gradient(700px 360px at 10% 0%, #22e5ff14, transparent 70%); }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { margin-top: 14px; }
.lead { font-size: 1.15rem; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; color: var(--ink); font-weight: 500; font-size: .96rem; }
.checks li::before { content: "✓"; margin-right: 8px; color: var(--cyan); font-weight: 600; }
.hero-art svg { width: 100%; max-width: 420px; height: auto; display: block; margin-inline: auto; filter: drop-shadow(0 0 28px #ff2e9a40); }
@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 260px; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
[id] { scroll-margin-top: 80px; }  /* keeps headings clear of the sticky header after a menu jump */
.section.alt { background: rgba(21, 10, 46, .55); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 1.05rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--glow); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { margin: 0 0 1em; }
.card .tag { display: inline-block; margin-top: 4px; padding: 3px 10px; border-radius: 6px; background: #0d3a44; color: var(--cyan); font-weight: 600; font-size: .85rem; }
.icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 12px; background: var(--raise); color: var(--cyan); box-shadow: inset 0 0 0 1px #22e5ff33, 0 0 18px #22e5ff1f; }
.icon svg { width: 24px; height: 24px; }
.section.cta { text-align: center; }
.section.cta .cta-row { justify-content: center; }

/* ---------- Bulk rates: price cards ---------- */
.price-group + .price-group { margin-top: 26px; }
.price-group-label { margin: 0 0 12px; color: var(--text-dim); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.price-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.price-card {
  position: relative; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--glow);
  /* A thin neon ring tucked into the bottom-right corner, clear of the text. */
  background: radial-gradient(circle 90px at calc(100% + 34px) calc(100% + 44px), transparent 78px, #ff2e9a4d 79px, transparent 81px), radial-gradient(circle 120px at 100% 100%, #ff2e9a14, transparent), var(--surface);
}
.price-card .price { margin: 0; font-family: var(--font-machine); font-weight: 800; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; color: var(--gold); text-shadow: 0 0 18px var(--gold-glow); }
.price-card .unit { margin: 8px 0 14px; color: var(--text-dim); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.price-card h3 { margin: 0; font-size: 1.05rem; }
.price-card .what { margin: 4px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
/* Flat-rate cards glow cyan instead of gold. */
.price-card.flat { background: radial-gradient(circle 90px at calc(100% + 34px) calc(100% + 44px), transparent 78px, #22e5ff4d 79px, transparent 81px), radial-gradient(circle 120px at 100% 100%, #22e5ff12, transparent), var(--surface); }
.price-card.flat .price { color: var(--cyan); text-shadow: 0 0 18px var(--cyan-glow); }
.rates-note { margin-top: 20px; }
.quote-rates { padding: 8px 0 36px; }
.quote-rates .section-head { margin-bottom: 18px; }
.note { color: var(--muted); font-size: .94rem; }
@media (max-width: 520px) {
  .price-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .price-card { padding: 16px 14px 18px; }
  .price-card .price { font-size: 1.7rem; }
  .price-card .unit { font-size: .66rem; letter-spacing: .08em; }
  .price-card h3 { font-size: .98rem; }
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--glow); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%; background: var(--gradient); color: var(--bg-deep); font-family: var(--font-machine); font-weight: 800; box-shadow: 0 0 18px #ff2e9a59; }
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--text); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; transition: border-color .15s, box-shadow .15s; }
.faq details[open] { border-color: #ff2e9a66; box-shadow: 0 0 24px #ff2e9a1f; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--magenta); font-family: var(--font-machine); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 18px 16px; }
.faq .answer > :last-child { margin-bottom: 0; }
.conditions { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: .95rem; }
.conditions th, .conditions td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.conditions th { color: var(--ink); white-space: nowrap; }
/* On phones each condition stacks: the name on one line, its description below. */
@media (max-width: 560px) {
  .conditions tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .conditions th, .conditions td { display: block; padding: 0 4px; border-bottom: 0; }
  .conditions th { margin-bottom: 2px; color: var(--cyan); }
}

/* ---------- Inner pages ---------- */
.page-head { padding: 44px 0 12px; }
.page-head p:not(.kicker) { color: var(--muted); max-width: 42em; font-size: 1.05rem; }
.prose { max-width: 780px; padding-bottom: 64px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.9em; }
.prose li { margin-bottom: .4em; }
.updated { color: var(--muted); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: #06010f; border-top: 1px solid var(--line-soft); box-shadow: 0 -1px 0 #22e5ff1f; color: var(--text-dim); padding: 42px 0 30px; font-size: .93rem; }
.site-footer a { color: var(--text-bright); }
.site-footer a:hover { color: var(--cyan); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.legal { margin-top: 22px; color: #8f82bd; font-size: .84rem; }
.legal p { margin: 0 0 .5em; }

/* ---------- Submission form ---------- */
.form-wrap { padding: 8px 0 72px; }
.form-card { max-width: 840px; padding: clamp(18px, 4vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--glow-strong), inset 0 1px 0 #ffffff0d; }
fieldset { min-width: 0; margin: 0 0 30px; padding: 0; border: 0; }
legend { margin-bottom: 6px; padding: 0; color: var(--ink); font-size: 1.3rem; font-weight: 600; }
.legend-hint { margin: 0 0 16px; color: var(--muted); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label, .label { color: var(--ink); font-weight: 600; font-size: .95rem; }
.optional { color: var(--muted); font-weight: 400; }
.hint { color: var(--muted); font-size: .88rem; }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--well); color: var(--ink); font: inherit;
}
::placeholder { color: #8a7fb8; opacity: 1; }
select option { background: var(--bg-panel); color: var(--ink); }
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); outline: 3px solid #22e5ff40; outline-offset: 0; box-shadow: 0 0 18px #22e5ff26; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 1.3fr 1.3fr .8fr; gap: 14px; }
.row-2 > .field, .row-3 > .field { margin-bottom: 14px; }
@media (max-width: 640px) { .row-2, .row-3 { grid-template-columns: 1fr; gap: 0; } }

.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 640px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label { position: relative; display: block; height: 100%; padding: 16px 44px 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--well); cursor: pointer; color: var(--ink); font-weight: 600; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.choice label:hover { border-color: #ff2e9a80; }
.choice label small { display: block; margin-top: 3px; color: var(--muted); font-weight: 400; font-size: .9rem; }
.choice input:checked + label { border-color: var(--magenta); background: #24082f; box-shadow: 0 0 0 1px var(--magenta), 0 0 24px #ff2e9a40; }
.choice input:checked + label::after { content: "✓"; position: absolute; top: 14px; right: 16px; color: var(--magenta); font-weight: 600; }
.choice input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.ticks { display: grid; gap: 8px; margin: 4px 0 0; }
.tick { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 500; }
.tick input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--magenta); flex: none; }
.tick span small { display: block; color: var(--muted); font-weight: 400; }

.form-section { margin: 0 0 30px; padding: 22px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(10, 4, 32, .55); }
.form-section > h2 { font-size: 1.25rem; margin-bottom: 4px; }
.entry { margin-bottom: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.entry-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.entry-head h3 { margin: 0; font-size: 1rem; }
.link-btn { padding: 6px 4px; border: 0; background: none; color: var(--danger); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-drop { position: relative; display: grid; place-items: center; gap: 6px; min-height: 128px; padding: 12px; border: 2px dashed #4b2a85; border-radius: 12px; background: var(--well); color: var(--muted); font-weight: 600; font-size: .9rem; text-align: center; cursor: pointer; transition: border-color .15s, color .15s; }
.photo-drop:hover { border-color: var(--cyan); color: var(--cyan); }
.photo-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.photo-drop.has-photo { border-style: solid; border-color: var(--cyan); background: #08262d; color: var(--cyan); }
.photo-drop .preview { max-height: 92px; max-width: 100%; border-radius: 6px; }
.photo-drop svg { width: 28px; height: 28px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs img { width: 66px; height: 66px; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; }
.photo-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.error-text { margin: 0; color: var(--danger); font-size: .88rem; font-weight: 600; }
.photo-field .error-text { margin-top: 6px; }
.invalid > input, .invalid > select, .invalid > textarea, .photo-drop.invalid { border-color: var(--danger); }
.add-row { margin-top: 4px; }
.summary-box { margin: 0 0 22px; padding: 14px 16px; border-radius: 12px; background: var(--well); border: 1px solid var(--line); font-size: .95rem; }
.progress { height: 12px; margin: 10px 0 4px; overflow: hidden; border-radius: 999px; background: var(--grid-line); }
.progress b { display: block; width: 0; height: 100%; background: var(--gradient); box-shadow: 0 0 12px var(--magenta-glow); transition: width .2s; }
.submit-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* ---------- Step-by-step form ---------- */
.step[hidden] { display: none !important; }
.stepper { margin: 0 0 22px; }
.stepper-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.stepper-count { color: var(--text-bright); }
.stepper-name { color: var(--text-dim); text-align: right; }
.stepper-bar { display: flex; gap: 6px; }
.stepper-bar span { flex: 1; height: 5px; border-radius: 999px; background: var(--grid-line); transition: background-color .2s, box-shadow .2s; }
.stepper-bar span.done { background: var(--magenta); }
.stepper-bar span.now { background: var(--gradient); box-shadow: 0 0 10px var(--magenta-glow); }
.step-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.step-head .kicker { margin-bottom: 10px; }
.step-badge { flex: none; margin-bottom: 10px; padding: 4px 12px; border: 1px solid var(--magenta); border-radius: 999px; color: var(--magenta); font-family: var(--font-machine); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.step-title { font-size: clamp(1.6rem, 4.6vw, 2.4rem); margin: 0 0 10px; }
.step-title:focus { outline: none; }
.step-lead { margin: 0 0 22px; color: var(--muted); }
.check-note { margin: 16px 0 0; }
.step-nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.step-nav .nav-right { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-left: auto; }
/* Condition check on each individual card: click what you see. */
.cond-check { margin: 4px 0 16px; padding: 14px 16px 16px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--well); }
.cond-check legend { padding: 0 6px; color: var(--ink); font-weight: 600; }
.cond-check > .hint { margin: 0 0 12px; }
.cond-q { margin-bottom: 12px; }
.cond-q > .label { display: block; margin-bottom: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-opt span { display: inline-block; padding: 8px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: .9rem; font-weight: 500; cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.seg-opt span:hover { border-color: #ff2e9a80; }
.seg-opt input:checked + span { border-color: var(--magenta); background: #24082f; box-shadow: 0 0 0 1px var(--magenta), 0 0 16px #ff2e9a40; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.cond-check.invalid { border-color: var(--danger); }
/* Phones: less padding on the boxes-inside-boxes so the answer buttons get room. */
@media (max-width: 520px) {
  .form-section { padding: 14px 12px; }
  .entry { padding: 12px 10px; }
  .cond-check { padding: 10px 10px 12px; }
}
.cond-result { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.cond-result strong { color: var(--cyan); }
.review-list { margin: 0 0 18px; padding: 0; list-style: none; }
.review-list li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.review-list li:last-child { border-bottom: 0; }
.review-list b { display: inline-block; min-width: 9em; color: var(--text-dim); font-weight: 600; }
@media (max-width: 520px) { .review-list b { display: block; min-width: 0; } }
pre.preview-json { max-height: 360px; overflow: auto; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #05010d; color: #d7cdf5; font-size: .8rem; }
