:root {
  color-scheme: dark;
  --background: #151619;
  --surface: #1d1f23;
  --raised: #26282d;
  --ink: #f5f3ee;
  --muted: #a3a4ab;
  --line: #2e3036;
  --tint: #33211a;
  --accent: #ff6b1a;
  --accent-hover: #ff8038;
  --accent-text: #ff8d4d;
  --on-accent: #1c0e04;
  --shadow: 0 1px 2px #0000004d, 0 16px 36px -16px #000000b3;
  --display: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  font: 16px/1.5 var(--display);
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button, input[type="radio"], input[type="checkbox"] { cursor: pointer; }
input { accent-color: var(--accent); }
button:disabled { cursor: wait; opacity: .5; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p, figure, ol, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
.shell { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 16px; border-radius: 0 0 8px 8px; background: var(--ink); color: var(--background); font-size: .875rem; font-weight: 500; text-decoration: none; }
.skip:focus { top: 0; }

/* Floating nav */
.nav-wrap { position: sticky; top: 0; z-index: 10; padding: 16px 16px 0; pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(700px, 100%); height: 52px; margin-inline: auto; padding: 0 8px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #1d1f23d9; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.04em; text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #000; background: #fff; font-size: 1rem; line-height: 1; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: #d6d5d2; font-size: .875rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--accent-text); }
.nav-cta { padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--background); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: #fff; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 56px 24px 64px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 30% 0 0; z-index: -1; background: radial-gradient(ellipse 46% 50% at 50% 55%, #ff6b1a1c, #ff6b1a00 100%); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .8125rem; font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 { margin-top: 22px; font-size: clamp(2.35rem, 6.4vw, 3.5rem); line-height: 1.14; letter-spacing: -.022em; }
.lede { max-width: 520px; margin-top: 16px; color: #d6d5d2; font-size: clamp(1.02rem, 2.2vw, 1.22rem); line-height: 1.5; text-wrap: pretty; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 24px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; transition: background-color .15s, transform .15s; }
.button:active:not(:disabled) { transform: scale(.98); }
.primary { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 #ffffff4d, 0 10px 22px -10px #ff6b1ab3; }
.primary:is(:hover, :focus-visible):not(:disabled) { background: var(--accent-hover); }
.secondary { border-color: var(--line); background: var(--raised); color: var(--ink); }
.secondary:hover { background: #2f3137; }
.large { margin-top: 26px; padding: 11px 36px; font-size: 1.125rem; }

.fan { display: flex; justify-content: center; align-items: flex-end; margin-top: 56px; }
.cut { position: relative; flex: none; width: clamp(104px, 21vw, 212px); aspect-ratio: 9 / 16; overflow: hidden; border: clamp(3px, .6vw, 6px) solid #34363c; border-radius: clamp(14px, 2.6vw, 26px); background: #0c0d0f; box-shadow: 0 2px 4px #00000059, 0 30px 60px -24px #000000d9; }
.cut img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.cut::before { content: ""; position: absolute; inset: 0; z-index: 1; mix-blend-mode: color; }
.cut::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #0000 45%, #000000c7 100%); }
.cut figcaption { position: absolute; inset: auto 0 0; z-index: 2; display: grid; gap: 4px; padding: clamp(8px, 1.6vw, 16px); color: #fff; text-align: left; }
.cut figcaption span { font: 500 clamp(.5rem, 1.1vw, .6875rem)/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.cut figcaption b { font-size: clamp(.68rem, 1.7vw, 1.05rem); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.cut-heist { z-index: 1; width: clamp(120px, 24vw, 244px); }
.cut-heist img { filter: contrast(1.15) saturate(.8) brightness(.82); }
.cut-luxury { transform: rotate(-7deg) translate(8%, 5%); }
.cut-luxury::before { background: #c79a3c; opacity: .8; }
.cut-luxury img { filter: brightness(1.05) contrast(1.05); }
.cut-nature { transform: rotate(7deg) translate(-8%, 5%); }
.cut-nature::before { background: #2f9a58; opacity: .7; }
.cut-nature figcaption { padding-left: 20%; }
.hero-note { margin-top: 34px; color: var(--muted); font-size: .95rem; font-style: italic; }

/* Sections */
.band { padding: 72px 0; scroll-margin-top: 56px; }
.heading { display: flex; flex-direction: column; align-items: center; max-width: 620px; margin: 0 auto 36px; text-align: center; }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); line-height: 1.15; letter-spacing: -.022em; }
.heading > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); font-size: 1.05rem; text-wrap: pretty; }
.eyebrow { margin-bottom: 12px; color: var(--accent-text); font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.card { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }

/* How it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; list-style: none; }
.how li { position: relative; padding: 10px 10px 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.how li:hover { transform: translateY(-3px); border-color: #45474f; }
.how-art { display: grid; place-items: center; height: 168px; padding: 18px; border-radius: 16px; }
.art-1 { background: linear-gradient(160deg, #47291a, #2e1d14); }
.art-2 { background: linear-gradient(160deg, #453718, #2d2513); }
.art-3 { background: linear-gradient(160deg, #33353b, #25272b); }
.how-number { display: block; margin: 20px 12px 6px; font: 500 .8rem/1 var(--mono); }
.n-1 { color: var(--accent-text); }
.n-2 { color: #f0b74a; }
.n-3 { color: #c3c4ca; }
.how h3 { margin: 0 12px; font-size: 1.06rem; letter-spacing: -.01em; }
.how h3 a { text-decoration: none; }
.how h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.how li > p { margin: 6px 12px 0; color: var(--muted); font-size: .92rem; }
.mock { width: 100%; max-width: 250px; padding: 12px; border: 1px solid #ffffff12; border-radius: 14px; background: #1a1b1f; box-shadow: 0 12px 26px -12px #000000cc; font-size: .75rem; text-align: left; }
.mock-row { display: flex; align-items: center; gap: 10px; }
.mock-row img, .mock-file { flex: none; width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.mock-file { display: grid; place-items: center; background: var(--ink); color: var(--background); font: 500 .56rem/1 var(--mono); }
.mock-row div { min-width: 0; flex: 1; display: grid; }
.mock b { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mock-row span:not(.mock-file), .mock-caption { color: var(--muted); font-size: .68rem; }
.pill { padding: 3px 8px; border-radius: 999px; font-size: .66rem; font-style: normal; font-weight: 600; }
.pill-accent { background: var(--tint); color: var(--accent-text); }
.pill-green { background: #17301f; color: #73dc97; }
.mock-chips { display: flex; gap: 6px; }
.mock-chips i { padding: 4px 9px; border: 1px solid #3a3c43; border-radius: 999px; font-style: normal; font-weight: 500; }
.mock-chips .on { border-color: #f0b74a; background: #3a2e14; color: #f6c869; }
.mock-bar { height: 6px; margin: 12px 0 7px; overflow: hidden; border-radius: 999px; background: #33353b; }
.mock-bar span { display: block; width: 80%; height: 100%; border-radius: inherit; background: #f0b74a; }

/* Challenge brief */
.brief { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 12px; scroll-margin-top: 80px; }
.brief > img { width: 100%; height: 100%; min-height: 320px; max-height: 420px; border-radius: 16px; object-fit: cover; object-position: 70% center; }
.brief-copy { padding: 16px 24px 16px 0; }
.brand { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; }
.brief-copy h3 { margin-top: 12px; font-size: 1.5rem; letter-spacing: -.02em; }
.brief-copy h3 + p { margin-top: 8px; color: var(--muted); text-wrap: pretty; }
.brief-copy strong { color: var(--ink); font-weight: 600; }
.brief dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0 18px; }
.brief dl div { padding: 10px 12px; border-radius: 12px; background: var(--raised); }
dt { color: var(--muted); font-size: .74rem; }
dd { margin-top: 2px; font-weight: 600; font-size: .86rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-size: .9rem; font-weight: 600; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }

/* Create and submit */
.allowance { margin-top: 14px; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--accent-text); font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.workbench { display: grid; grid-template-columns: 1fr minmax(200px, .5fr); gap: 36px; max-width: 860px; margin-inline: auto; padding: 32px; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend, .field-label { display: block; margin-bottom: 8px; padding: 0; font-size: .88rem; font-weight: 600; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .88rem; font-weight: 500; transition: background-color .15s, border-color .15s; }
.choices label:hover { background: var(--raised); }
.choices label:has(:checked) { border-color: var(--accent); background: var(--tint); color: var(--accent-text); }
.choices label:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.choices input, .rights input { margin: 0; }
input[type="text"], input[type="file"] { width: 100%; min-height: 46px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--background); color: var(--ink); }
input[type="text"]::placeholder { color: #7f8088; }
input[type="text"]:hover, input[type="file"]:hover { border-color: #45474f; }
input[type="file"] { padding: 8px; font-size: .9rem; }
input::file-selector-button { margin-right: 10px; padding: 5px 12px; border: 0; border-radius: 8px; background: var(--raised); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; }
.hint { margin-top: 8px; color: var(--muted); font-size: .85rem; }
form .button { margin-top: 18px; }
.status { margin-top: 10px; color: var(--muted); font-size: .87rem; }
.status:empty { display: none; }
.status[data-error] { color: #ff9e96; }
.render { justify-self: center; width: min(100%, 215px); }
.player { position: relative; display: grid; place-items: center; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #0c0d0f; box-shadow: 0 20px 40px -20px #000000cc; }
.player > img, .player > video { position: absolute; inset: 0; width: 100%; height: 100%; }
.player > img { object-fit: cover; object-position: 75% center; opacity: .47; }
.player > span { position: relative; color: #fff; font-size: .85rem; font-weight: 600; text-shadow: 0 1px 10px #000; }
.render .text-link { margin-top: 12px; }
.use-clip { display: flex; width: 100%; margin-top: 10px; font-size: .87rem; }
.entry, .receipt { max-width: 620px; margin-inline: auto; padding: 32px; }
.entry .field-label:not(:first-child) { margin-top: 16px; }
.rights { display: flex; align-items: baseline; gap: 9px; margin-top: 16px; font-size: .9rem; }
.receipt { display: grid; grid-template-columns: 1fr 150px; gap: 12px 24px; }
.receipt .receipt-label { color: var(--accent-text); font-size: .85rem; font-weight: 600; }
.receipt h3 { margin-top: 4px; font-size: 1.45rem; letter-spacing: -.02em; overflow-wrap: anywhere; }
.receipt #receipt-detail { margin-top: 6px; color: var(--muted); }
.receipt video { grid-row: span 2; width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; background: #0c0d0f; }
.receipt .button { align-self: end; justify-self: start; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 720px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: 16px; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent-text); font-size: 1.3rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); text-wrap: pretty; }

.footer { display: flex; justify-content: space-between; gap: 12px; padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }

@media (max-width: 820px) {
  .how { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .brief { grid-template-columns: 1fr; gap: 8px; }
  .brief > img { min-height: 0; aspect-ratio: 16 / 10; }
  .brief-copy { padding: 16px 12px 12px; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .hero { padding: 40px 16px 48px; }
  .fan { margin-top: 40px; }
  .band { padding: 48px 0; }
  .heading { margin-bottom: 26px; }
  .workbench { grid-template-columns: 1fr; gap: 24px; }
  .workbench, .entry, .receipt { padding: 20px; }
  .receipt { grid-template-columns: 1fr; }
  .receipt video { width: min(100%, 175px); grid-row: auto; }
}

@media (max-width: 380px) {
  .brief dl { grid-template-columns: 1fr 1fr; }
}

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