:root {
  color-scheme: dark;
  --navy: #07111f;
  --navy-2: #0b1726;
  --blue: #7dd3fc;
  --ice: #dff7ff;
  --line: rgba(125, 211, 252, .25);
  --ink: #f8fafc;
  --muted: #a8bacb;
  --white: #f8fafc;
  --orange: #f59e0b;
  --focus: #fbbf24;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-width: 0; overflow-x: hidden; background: radial-gradient(circle at 20% 0%, rgba(125, 211, 252, .18), transparent 35%), var(--navy); color: var(--ink); line-height: 1.55; }
a { color: var(--blue); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 20; top: .5rem; left: .5rem; padding: .75rem 1rem; transform: translateY(-160%); background: var(--navy-2); border: 2px solid var(--blue); border-radius: 8px; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.site-header { min-height: 66px; padding: .85rem clamp(1rem, 5vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); background: rgba(7, 17, 31, .96); color: #fff; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-weight: 800; text-decoration: none; }
.brand span { width: 18px; height: 18px; border: 3px solid #8ad3f0; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--navy); }
.header-note { font-size: .88rem; color: #bde7f8; font-weight: 700; }

main { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; padding: clamp(2.5rem, 7vw, 5.5rem) 0 4rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(270px, .7fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-bottom: 2rem; }
.hero-copy, .price-card, .panel, article, fieldset, .field-grid > div { min-width: 0; }
.eyebrow { margin: 0 0 .45rem; color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, legend { color: var(--white); line-height: 1.12; }
h1 { max-width: 14ch; margin: 0; font-size: clamp(2.25rem, 6vw, 4.65rem); letter-spacing: -.045em; }
h2 { margin: 0 0 .8rem; font-size: clamp(1.45rem, 3vw, 2.1rem); letter-spacing: -.025em; }
p { overflow-wrap: anywhere; }
.lede { max-width: 63ch; margin: 1.15rem 0 1.4rem; color: #d6e4ee; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.deliverables { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.deliverables li { display: grid; padding-left: 1.55rem; position: relative; }
.deliverables li::before { content: "✓"; position: absolute; left: 0; color: #4ade80; font-weight: 900; }
.deliverables span { color: var(--muted); font-size: .94rem; }

.price-card { padding: clamp(1.4rem, 4vw, 2.2rem); border: 1px solid rgba(125, 211, 252, .42); border-radius: 24px; background: rgba(11, 23, 38, .96); box-shadow: 0 24px 70px rgba(2, 8, 23, .42); }
.capacity { margin: 0; color: var(--blue); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.price { margin: .55rem 0 0; }
.price strong { display: block; color: var(--white); font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.hero-actions { display: grid; gap: .75rem; margin-top: 1.2rem; }
.detail-link { width: fit-content; font-weight: 750; }

.button { display: inline-flex; width: fit-content; min-height: 48px; align-items: center; justify-content: center; padding: .72rem 1.15rem; border: 0; border-radius: 10px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--orange); color: #07111f; box-shadow: 0 8px 24px rgba(245, 158, 11, .24); }
.button.primary:hover { background: #fbbf24; }
.button.secondary { margin-top: .7rem; border: 1px solid var(--blue); background: rgba(125, 211, 252, .08); color: var(--ice); }
.button:disabled { cursor: wait; opacity: .58; }
.wide { width: 100%; }

.panel { margin-top: 1.25rem; padding: clamp(1.35rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11, 23, 38, .94); box-shadow: 0 20px 60px rgba(2, 8, 23, .28); }
.reviewer-panel, .source-panel { display: grid; grid-template-columns: minmax(220px, .6fr) minmax(0, 1.4fr); gap: clamp(1rem, 5vw, 4rem); }
.reviewer-panel { border-left: 5px solid var(--blue); }
.source-panel { border-left: 5px solid var(--orange); }
.reviewer-copy p, .source-copy p { margin: 0 0 .85rem; }
.reviewer-copy p:last-child, .source-copy p:last-child { margin-bottom: 0; }
.disclosure, .process-note, .checkout-help { padding: .9rem 1rem; border-radius: 10px; background: rgba(125, 211, 252, .09); color: #d7e8f0; }
.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.2rem 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .035); counter-increment: process; }
.process-list li::before { content: counter(process); display: grid; width: 2rem; height: 2rem; margin-bottom: .65rem; place-items: center; border-radius: 50%; background: var(--blue); color: var(--navy); font-weight: 850; }
.process-list strong, .process-list span { display: block; }
.process-list span { margin-top: .35rem; color: var(--muted); font-size: .94rem; }
.checkout-bridge { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 1rem; border: 1px solid rgba(125, 211, 252, .42); border-radius: 12px; background: rgba(125, 211, 252, .07); }
.checkout-bridge strong, .checkout-bridge span { display: block; }
.checkout-bridge span { margin-top: .2rem; color: var(--muted); }
.checkout-help { margin: 1rem 0 0; font-size: .92rem; }
.terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.4rem, 4vw, 3rem); }
.terms-grid article + article { border-left: 1px solid var(--line); padding-left: clamp(1.4rem, 4vw, 3rem); }
.terms-grid ul { margin: 0; padding-left: 1.2rem; }
.terms-grid li + li { margin-top: .7rem; }

.order-panel, .intake-panel { max-width: 850px; margin-inline: auto; margin-top: 1.75rem; scroll-margin-top: 1rem; }
.section-heading > p:last-child { color: var(--muted); }
.status, .form-status { margin: 1.2rem 0; padding: 1rem; border: 1px solid rgba(125, 211, 252, .42); border-radius: 10px; background: rgba(125, 211, 252, .09); color: var(--ice); font-weight: 700; overflow-wrap: anywhere; }
.status[data-tone="success"], .form-status[data-tone="success"] { border-color: rgba(74, 222, 128, .5); background: rgba(34, 197, 94, .12); color: #bbf7d0; }
.status[data-tone="error"], .form-status[data-tone="error"] { border-color: rgba(248, 113, 113, .52); background: rgba(239, 68, 68, .14); color: #fecaca; }
.status[data-tone="notice"], .form-status[data-tone="notice"] { border-color: rgba(251, 191, 36, .55); background: rgba(245, 158, 11, .12); color: #fde68a; }

.form-card { margin-top: 1rem; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 1.1rem; font-size: 1.25rem; font-weight: 850; }
label:not(.consent) { display: block; margin: .9rem 0 .35rem; color: var(--white); font-weight: 750; }
input:not([type="checkbox"]), select, textarea { display: block; width: 100%; max-width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid #9eb5c3; border-radius: 8px; background: #f8fafc; color: #172b3a; color-scheme: light; }
textarea { min-height: 88px; resize: vertical; }
small { display: block; margin-top: .35rem; color: var(--muted); }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .7rem; align-items: start; margin: 1rem 0; color: #d7e6ee; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: .18rem 0 0; accent-color: var(--blue); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.source-method { margin: 1.25rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; }
.source-method legend { margin: 0; padding: 0 .35rem; font-size: 1rem; }
.method-choice { display: flex; gap: .6rem; align-items: center; margin: .55rem 0; font-weight: 750; }
.method-choice input { width: 20px; height: 20px; accent-color: var(--blue); }
.upload-box { margin: 1rem 0; padding: 1rem; border: 1px dashed rgba(125, 211, 252, .56); border-radius: 12px; background: rgba(125, 211, 252, .06); }
#sourceFiles { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
.upload-file-button { display: inline-flex !important; width: auto; margin: .45rem 0 .55rem !important; cursor: pointer; }
#sourceFiles:focus-visible + .upload-file-button { outline: 3px solid #0c76a8; outline-offset: 3px; }
.upload-list { display: grid; gap: .65rem; margin-top: .8rem; }
.upload-item { padding: .75rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .04); }
.upload-item p { margin: 0 0 .4rem; font-weight: 750; }
.upload-item progress { width: 100%; }
.upload-item button { margin-top: .45rem; }
.artifact-downloads { display: grid; gap: .75rem; margin-top: 1rem; }
.artifact-download { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .04); }
.artifact-download small { color: var(--muted); }

footer { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.2rem; padding: 2rem 1rem; background: var(--navy); color: #b9d2df; font-size: .86rem; text-align: center; }
footer a { color: #d9f1fb; }

@media (max-width: 760px) {
  main { width: min(calc(100% - 1.25rem), 1120px); padding-top: 2.4rem; }
  .hero, .reviewer-panel, .source-panel, .terms-grid, .process-list { grid-template-columns: minmax(0, 1fr); }
  .checkout-bridge { align-items: stretch; flex-direction: column; }
  .hero { gap: 1.6rem; }
  h1 { max-width: 16ch; }
  .price-card { border-radius: var(--radius); }
  .terms-grid article + article { border-left: 0; border-top: 1px solid var(--line); padding: 1.4rem 0 0; }
}

@media (max-width: 480px) {
  .site-header { padding-inline: .75rem; }
  .brand { font-size: .9rem; }
  .header-note { max-width: 8ch; text-align: right; line-height: 1.15; }
  main { width: min(calc(100% - .75rem), 1120px); }
  .panel, .price-card { padding: 1.1rem; border-radius: 14px; }
  .field-grid { grid-template-columns: minmax(0, 1fr); }
  .button { width: 100%; }
  .artifact-download { align-items: stretch; flex-direction: column; }
  h1 { font-size: clamp(2rem, 12vw, 3rem); }
}

/* Public, privacy-safe ShiftScout sample */
.sample-panel { border-left: 5px solid #39d5ca; }
.sample-heading { max-width: 760px; }
.sample-heading > h2 + p { color: var(--muted); }
.sample-heading .sample-real-reel { margin: 1rem 0 0; padding: .9rem 1rem; border: 1px solid rgba(245, 158, 11, .65); border-left: 5px solid var(--orange); border-radius: 10px; background: rgba(245, 158, 11, .11); color: #fff2cf; }
.sample-heading .sample-real-reel strong { color: #fde68a; }
.sample-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: start; gap: 1rem; margin-top: 1.25rem; }
.sample-card, .sample-report-card { min-width: 0; margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .035); }
.sample-card h3, .sample-report-card h3 { margin: 0 0 .35rem; color: var(--white); font-size: 1.08rem; }
.sample-card p, .sample-report-card p { margin: .65rem 0 0; color: var(--muted); font-size: .92rem; }
.sample-video { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: .8rem; border: 1px solid rgba(125, 211, 252, .36); border-radius: 10px; background: #020617; }
.sample-report-card { display: block; color: inherit; text-decoration: none; }
.sample-report-card:hover { border-color: var(--blue); background: rgba(125, 211, 252, .08); }
.sample-report-preview { display: block; width: 100%; height: 420px; margin-top: .8rem; object-fit: cover; object-position: top; border: 1px solid rgba(125, 211, 252, .28); border-radius: 9px; background: #fff; }
.sample-link { display: inline-block; margin-top: .7rem; color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.sample-report-links { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; margin-top: .7rem; }
.sample-report-links .sample-link { margin-top: 0; }
.sample-transcript { margin-top: .8rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(125, 211, 252, .06); }
.sample-transcript summary { min-height: 44px; padding: .7rem .8rem; color: var(--ice); font-weight: 800; cursor: pointer; }
.sample-transcript > div { padding: 0 .8rem .8rem; }
.sample-transcript > div p { margin: .55rem 0 0; color: #d7e8f0; }
.sample-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.sample-actions p { flex: 1 1 360px; margin: 0; color: #d7e8f0; }
.sample-disclosure { margin: 1rem 0 0; padding: .85rem 1rem; border-radius: 10px; background: rgba(125, 211, 252, .09); color: #d7e8f0; }

@media (max-width: 760px) {
  .sample-grid { grid-template-columns: minmax(0, 1fr); }
  .sample-report-preview { height: 360px; }
}

@media (max-width: 480px) {
  .sample-actions { align-items: stretch; flex-direction: column; }
  .sample-actions p { flex-basis: auto; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
