/* Creiden Tech Challenge — Creiden identity: Poppins, Creiden blue, department colors */
:root {
  --blue: #00539F;
  --blue-deep: #003E78;
  --cyan: #00C0F3;
  --yellow: #FFCC32;
  --teal: #007484;
  --magenta: #BD1A8D;
  --charcoal: #36454F;
  --sand: #E4DCCA;
  --tint-blue: #E5EEF6;
  --tint-cyan: #E5F8FE;
  --tint-teal: #E3F2F3;
  --tint-magenta: #F7DDEE;
  --tint-yellow: #FFF6D6;
  --paper: #FFFFFF;
  --ink: #1F2A33;
  --muted: #5B6B77;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 48px);
}
.t-cs { --c: var(--blue); --c-tint: var(--tint-blue); --on-c: #fff; }
.t-ai { --c: var(--cyan); --c-tint: var(--tint-cyan); --on-c: #0B2A3A; }
.t-data { --c: var(--teal); --c-tint: var(--tint-teal); --on-c: #fff; }
.t-cyber { --c: var(--magenta); --c-tint: var(--tint-magenta); --on-c: #fff; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Poppins", system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 16px/1 "Poppins", sans-serif; text-decoration: none;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 20px 34px; font-size: 18px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ghost { border-color: var(--blue); color: var(--blue); }
.btn-ghost:hover { background: var(--tint-blue); }
.btn-light { background: #fff; color: var(--c, var(--blue)); }
.btn-dark { background: #0B2A3A; color: #fff; }
.btn-outline { border-color: currentColor; color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,.14); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { box-shadow: 0 10px 30px rgba(255, 204, 50, .45); }
.btn[aria-disabled="true"] { opacity: .75; cursor: default; transform: none; box-shadow: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  padding: 0 var(--gutter) 40px; max-width: 1400px; margin: 0 auto;
}
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; gap: 16px; }
.brand img { width: 130px; height: auto; }
.topbar-links { display: flex; align-items: center; gap: 28px; }
.topbar-links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--charcoal); }
.topbar-links a:not(.btn):hover { color: var(--blue); }

.hero-grid { flex: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding: 24px 0; }
.hero-kicker { font-weight: 600; color: var(--blue); margin-bottom: 18px; font-size: 17px; }
.hero-title { font-size: clamp(44px, 6.1vw, 96px); font-weight: 800; line-height: .98; letter-spacing: -0.045em; color: var(--blue); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.hero-title .line:nth-child(1) > span { animation-delay: .1s; }
.hero-title .line:nth-child(2) > span { animation-delay: .22s; }
.hero-title .line:nth-child(3) > span { animation-delay: .34s; color: var(--charcoal); }
@keyframes rise { to { transform: none; } }
.hero-lede { max-width: 34em; margin-top: 28px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); opacity: 0; animation: fade .8s .7s var(--ease) forwards; }
.hero-lede strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; opacity: 0; animation: fade .8s .85s var(--ease) forwards; }
.hero-kicker { opacity: 0; animation: fade .6s 0s var(--ease) forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* the signature: the Creiden mark drawn by the four tracks */
.hero-mark { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.mark-svg { width: min(100%, 420px); overflow: visible; }
.mark-fill { fill: var(--blue); opacity: 0; transition: opacity 1s var(--ease); }
.mark-svg.filled .mark-fill { opacity: 1; }
.mark-strokes path { fill: none; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.mark-c { fill: #fff; opacity: 0; transform-origin: 189px 209px; transform: scale(.6) rotate(-40deg); transition: opacity .7s var(--ease), transform 1s var(--ease); }
.mark-svg.filled .mark-c { opacity: 1; transform: none; }
.mark-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; font-size: 14px; font-weight: 500; }
.mark-legend li { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mark-legend li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; }
.mark-legend li.on { opacity: 1; transform: none; }
.mark-legend a { text-decoration: none; color: var(--charcoal); }
.mark-legend a:hover { color: var(--c); }
.mark-legend .t-ai a:hover { color: #0090B8; }

.countdown { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-top: 2px solid var(--tint-blue); padding-top: 22px; opacity: 0; animation: fade .8s 1.1s var(--ease) forwards; }
.countdown-label { font-weight: 600; color: var(--charcoal); font-size: 15px; }
.countdown-digits { display: flex; gap: clamp(14px, 3vw, 40px); }
.countdown-digits div { display: flex; align-items: baseline; gap: 6px; }
.countdown-digits span { font-size: clamp(30px, 4vw, 52px); font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1; }
.countdown-digits small { font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
section { position: relative; }
.section-title { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -0.035em; color: inherit; }
.section-lede { max-width: 36em; margin-top: 20px; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* story: a day at the gym */
.story { background: var(--blue); color: #fff; padding: clamp(80px, 12vw, 150px) 0; }
.story .section-lede { color: rgba(255,255,255,.82); }
.case-facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 48px 0 0; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.case-facts div { padding: 22px 20px 22px 0; }
.case-facts div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.22); }
.case-facts dt { font-size: 14px; color: rgba(255,255,255,.7); }
.case-facts dd { margin: 4px 0 0; font-weight: 600; font-size: 17px; line-height: 1.35; }
.case-sub { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; margin-top: 64px; }
.case-track { font-weight: 700; font-size: 17px; line-height: 1.3; padding-top: 6px; color: var(--c); }
.day-item.t-cs .case-track { color: #fff; }
.day-item.t-data .case-track { color: #4FD1C5; }
.day-item.t-cyber .case-track { color: #FF7AC8; }
.case-job { margin-top: 10px; color: #fff !important; }
.case-job strong { color: var(--yellow); }
.day { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; }
.day-item { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.22); }
.day-item time { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; color: var(--c); line-height: 1; font-variant-numeric: tabular-nums; }
.day-item.t-cs time { color: #fff; }
.day-item.t-data time { color: #4FD1C5; }
.day-item.t-cyber time { color: #FF7AC8; }
.day-item h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; margin-bottom: 10px; }
.day-item p { color: rgba(255,255,255,.82); max-width: 40em; }
.day-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--yellow); text-underline-offset: 4px; }

/* tracks: sticky stacking panels */
.tracks { padding: clamp(80px, 12vw, 140px) 0 60px; background: var(--paper); }
.tracks .section-title { color: var(--blue); }
.stack { max-width: 1260px; margin: 56px auto 0; padding: 0 var(--gutter); }
.panel {
  position: sticky; top: calc(24px + var(--i, 0) * 18px);
  background: var(--c); color: var(--on-c);
  border-radius: 28px; min-height: min(78vh, 680px); margin-bottom: 40px;
  display: grid; grid-template-columns: 1fr 260px; overflow: hidden;
  transform-origin: 50% 0; will-change: transform;
  box-shadow: 0 -12px 40px rgba(0, 40, 80, .12);
}
.panel:nth-child(1) { --i: 0; } .panel:nth-child(2) { --i: 1; } .panel:nth-child(3) { --i: 2; } .panel:nth-child(4) { --i: 3; }
.panel-inner { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 36px; }
.panel-dept { font-weight: 600; font-size: 16px; opacity: .85; }
.panel-title { font-size: clamp(34px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-top: 10px; }
.panel-sum { font-size: clamp(17px, 1.5vw, 21px); max-width: 32em; margin-top: 20px; }
.panel-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; }
.panel-facts div { border-top: 2px solid currentColor; padding-top: 14px; }
.panel-facts dt { font-weight: 700; margin-bottom: 6px; }
.panel-facts dd { margin: 0; font-size: 15px; line-height: 1.55; opacity: .9; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.t-ai .btn-outline:hover { background: rgba(255,255,255,.3); }
.panel-art { align-self: end; justify-self: end; width: 240px; margin: 0 24px 24px 0; opacity: .5; color: var(--on-c); }
.panel-art .art-dots circle { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-in-out infinite; }
.panel-art .art-dots circle:nth-child(2n) { animation-delay: .4s; }
.panel-art .art-dots circle:nth-child(3n) { animation-delay: .8s; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.55); } }

/* how it works: timeline that draws on scroll */
.how { padding: clamp(80px, 12vw, 140px) 0; background: var(--tint-blue); }
.how .wrap { position: relative; }
.how .section-title { color: var(--blue); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; z-index: 1; }
.tl-item { padding-top: 40px; position: relative; }
.tl-item::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--tint-blue); border: 3px solid var(--blue); transition: background-color .4s; }
.tl-item.lit::before { background: var(--yellow); }
.tl-date { font-weight: 700; color: var(--blue); font-size: 15px; }
.tl-item h3 { font-size: 22px; margin: 6px 0 8px; }
.tl-item p:last-child { color: var(--muted); font-size: 15px; }
.tl-wrap { position: relative; margin-top: 60px; }
.tl-rail { position: absolute; left: 10px; right: 10px; top: 9px; height: 3px; background: rgba(0, 83, 159, .18); }
.tl-rail span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--blue); }

/* prize */
.prize { background: var(--charcoal); color: #fff; padding: clamp(80px, 12vw, 150px) 0; overflow: hidden; }
.prize-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.prize-text { font-size: clamp(18px, 1.6vw, 22px); margin-top: 24px; max-width: 30em; color: rgba(255,255,255,.88); }
.prize-note { margin-top: 18px; color: var(--sand); font-size: 15px; }

/* scoring */
.scoring { padding: clamp(80px, 12vw, 140px) 0; }
.scoring .section-title { color: var(--blue); }
.score-bar { display: flex; height: 76px; margin-top: 48px; gap: 4px; }
.score-bar span:first-child { border-radius: 16px 0 0 16px; } .score-bar span:last-child { border-radius: 0 16px 16px 0; }
.score-bar span { flex: var(--w) 1 0; min-width: 0; display: flex; align-items: center; padding-left: 16px; color: #fff; transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease); }
.score-bar.in span { transform: none; }
.score-bar span:nth-child(2) { transition-delay: .12s; } .score-bar span:nth-child(3) { transition-delay: .24s; }
.score-bar span:nth-child(4) { transition-delay: .36s; } .score-bar span:nth-child(5) { transition-delay: .48s; }
.score-bar b { font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; }
.s1 { --s: var(--blue); } .s2 { --s: var(--teal); } .s3 { --s: var(--magenta); } .s4 { --s: #0090B8; } .s5 { --s: var(--charcoal); }
.score-bar span { background: var(--s); }
.score-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin: 32px 0 0; }
.score-list div { border-top: 4px solid var(--s); padding-top: 14px; }
.score-list dt { font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.score-list dd { margin: 0; font-size: 14px; color: var(--muted); }

/* rules + faq */
.faq { padding: clamp(80px, 12vw, 140px) 0; background: var(--tint-yellow); }
.faq .section-title { color: var(--blue); }
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.rules { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.rules li { padding-left: 34px; position: relative; font-size: 17px; }
.rules li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; background: url("assets/logomark-blue.svg") center/contain no-repeat; }
.faq-list details { border-bottom: 2px solid rgba(0, 83, 159, .15); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { padding: 0 0 22px; color: var(--muted); max-width: 36em; }
.faq-list details[open] p { animation: fade .4s var(--ease); }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88em; background: rgba(0, 83, 159, .08); padding: .12em .4em; border-radius: 5px; }

/* prize bracket: four winners narrow to one internship */
.bracket { width: 100%; max-width: 460px; overflow: visible; }
.b-seg { stroke-width: 5; stroke: var(--c, rgba(255,255,255,.55)); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s var(--ease); }
.b-seg.t-cs { --c: #4A9BE8; } .b-seg.t-data { --c: #19B3C4; }
.b-seg.s-c { stroke: var(--yellow); stroke-width: 6; }
.b-node circle { fill: var(--c); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .6s cubic-bezier(.3,1.6,.5,1); }
.b-node.t-cs circle { fill: #4A9BE8; } .b-node.t-data circle { fill: #19B3C4; }
.b-node text { font: 700 11px "Poppins", sans-serif; fill: #fff; text-anchor: middle; opacity: 0; transition: opacity .4s .3s; }
.b-node.t-ai text { fill: #0B2A3A; }
.b-label { font: 600 13px "Poppins", sans-serif; fill: var(--sand); text-anchor: middle; opacity: 0; transition: opacity .6s; }
.b-label.l0, .b-label.l1 { opacity: 0; }
.b-int circle { fill: var(--charcoal); stroke: #fff; stroke-width: 3; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.b-int path { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .3s; }
.bracket.go .b-int circle { transform: none; transition-delay: 1.1s; }
.bracket.go .b-int path { opacity: 1; transition-delay: 1.4s; }
.bracket.go .l0 { opacity: 1; transition-delay: .2s; }
.b-label.l1:first-of-type { }
.b-prize { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4) rotate(-30deg); transition: opacity .6s, transform 1s cubic-bezier(.3,1.5,.5,1); }
.b-disc { fill: var(--blue); stroke: var(--yellow); stroke-width: 4; }
.b-halo { fill: none; stroke: var(--yellow); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.b-prize .b-label { fill: var(--yellow); font-size: 15px; opacity: 1; }
.bracket.go .b-node circle { transform: none; }
.bracket.go .b-node:nth-child(2) circle { transition-delay: .1s; } .bracket.go .b-node:nth-child(3) circle { transition-delay: .2s; } .bracket.go .b-node:nth-child(4) circle { transition-delay: .3s; }
.bracket.go .b-node text { opacity: 1; }
.bracket.go .s-a { stroke-dashoffset: 0; transition-delay: .5s; }
.bracket.go .s-b { stroke-dashoffset: 0; transition-delay: 1.6s; }
.bracket.go .s-c { stroke-dashoffset: 0; transition-delay: 2.3s; }
.bracket.go .l1 { opacity: 1; transition-delay: 1.1s; }
.bracket.go .b-prize { opacity: 1; transform: none; transition-delay: 2.6s; }
.bracket.go .b-halo { animation: halo 2.8s 3.4s ease-out infinite; }
@keyframes halo { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* submit */
.submit { background: var(--blue); color: #fff; padding: clamp(90px, 14vw, 180px) 0; overflow: hidden; }
.submit .wrap { position: relative; z-index: 1; }
.submit-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.submit-intro { position: sticky; top: 40px; }
.submit-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.submit-tips li { padding-left: 30px; position: relative; color: rgba(255,255,255,.88); }
.submit-tips li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--yellow); }
.entry { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 30px 80px rgba(0, 20, 50, .35); }
.entry fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 20px; }
.entry fieldset:disabled { opacity: .55; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label, .field .label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); }
.entry input:not([type=radio]):not([type=checkbox]), .entry select, .entry textarea {
  width: 100%; font: 400 16px/1.4 "Poppins", sans-serif; color: var(--ink); background: #F6F8FA;
  border: 2px solid #E1E6EA; border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background-color .2s;
}
.entry textarea { resize: vertical; min-height: 80px; }
.entry input:focus, .entry select:focus, .entry textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--tint-blue); }
.entry [aria-invalid="true"] { border-color: #C62828 !important; background: #FFF5F5 !important; }
.field-hint { font-size: 13px; color: var(--muted); }
.field-error { font-size: 13px; color: #C62828; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.track-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.track-pick label { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid #E1E6EA; border-radius: 12px; cursor: pointer; font-weight: 500; font-size: 14px; transition: border-color .2s, background-color .2s; }
.track-pick label::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: none; }
.track-pick input { position: absolute; opacity: 0; pointer-events: none; }
.track-pick label:has(input:checked) { border-color: var(--c); background: var(--c-tint); }
.track-pick label:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.entry-btn { width: 100%; }
.entry-btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.entry-privacy { font-size: 13px; color: var(--muted); text-align: center; }
.entry-status:empty { display: none; }
.entry-status { padding: 12px 16px; border-radius: 12px; font-weight: 500; font-size: 15px; margin-bottom: 18px; background: var(--tint-yellow); color: #6B4E00; }
.entry-status.err { background: #FDECEC; color: #B71C1C; }
.entry-done { text-align: center; padding: 20px 0; outline: none; }
.entry-done svg { width: 72px; margin: 0 auto 14px; fill: none; stroke: var(--teal); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.entry-done circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s var(--ease) forwards; }
.entry-done path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.entry-done h3 { font-size: 28px; color: var(--blue); }
.entry-done p { margin-top: 10px; color: var(--muted); }
.entry-done .ref { color: var(--ink); }
.entry-done .ref strong { font-size: 20px; letter-spacing: .04em; color: var(--blue); }
.btn-ghost-light { margin-top: 22px; border-color: var(--blue); color: var(--blue); }
.submit-title { font-size: clamp(44px, 5.4vw, 80px); font-weight: 800; letter-spacing: -0.05em; line-height: .95; }
.submit-text { font-size: clamp(18px, 1.6vw, 22px); margin: 26px 0 40px; color: rgba(255,255,255,.88); }
.submit-mark { position: absolute; right: -6%; bottom: -30%; width: min(60vw, 640px); fill: rgba(255,255,255,.06); transform: rotate(12deg); }

.site-foot { background: var(--blue-deep); color: rgba(255,255,255,.75); padding: 40px 0; font-size: 14px; }
.foot-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-grid img { width: 140px; height: auto; }

/* ---------- track brief pages ---------- */
.doc-page { background: var(--paper); }
.doc-head { background: var(--c); color: var(--on-c); padding: 0 var(--gutter) 0; }
.doc-bar { max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 20px 0; gap: 12px; flex-wrap: wrap; }
.doc-home { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; }
.t-ai .doc-home img { filter: brightness(0) saturate(100%) invert(12%) sepia(30%) saturate(1500%) hue-rotate(170deg); }
.doc-dept, .doc-title, .doc-tabs { max-width: 900px; margin-left: auto; margin-right: auto; }
.doc-dept { font-weight: 600; margin-top: 40px; opacity: .85; }
.doc-title { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin-top: 8px; animation: fade .7s var(--ease); }
.doc-tabs { display: flex; gap: 6px; margin-top: 40px; overflow-x: auto; }
.doc-tabs a { text-decoration: none; padding: 12px 18px; border-radius: 12px 12px 0 0; font-weight: 600; font-size: 15px; white-space: nowrap; opacity: .8; }
.doc-tabs a:hover { opacity: 1; background: rgba(255,255,255,.12); }
.doc-tabs a[aria-current="page"] { background: var(--paper); color: var(--ink); opacity: 1; }
.doc-body { max-width: 900px; margin: 0 auto; padding: 48px var(--gutter) 64px; }
.doc-body > * + * { margin-top: 1em; }
.doc-body h2 { font-size: 28px; margin-top: 2em; color: var(--c); }
.t-ai .doc-body h2 { color: #0081A8; }
.doc-body h3 { font-size: 20px; margin-top: 1.6em; }
.doc-body p, .doc-body li { max-width: 46em; }
.doc-body ul, .doc-body ol { padding-left: 1.3em; }
.doc-body li + li { margin-top: .35em; }
.doc-body a { color: var(--blue); text-underline-offset: 3px; }
.doc-body pre { background: #0F2233; color: #E5F8FE; padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: 14px; line-height: 1.55; }
.doc-body pre code { background: none; padding: 0; color: inherit; }
.table-wrap { overflow-x: auto; }
.doc-body table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc-body th, .doc-body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #E1E6EA; vertical-align: top; }
.doc-body th { background: var(--c-tint); font-weight: 600; }
.doc-body strong { color: var(--ink); }
.doc-body hr { border: 0; border-top: 2px solid var(--c-tint); margin: 2em 0; }
.doc-foot { max-width: 900px; margin: 0 auto 64px; padding: 28px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 2px solid var(--c-tint); color: var(--muted); font-size: 15px; }
.btn-track { background: var(--c); color: var(--on-c); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { order: -1; }
  .mark-svg { width: min(56vw, 260px); }
  .panel { grid-template-columns: 1fr; }
  .panel-art { display: none; }
  .panel-facts { grid-template-columns: 1fr; gap: 18px; }
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 40px; }
  .tl-item { padding: 0 0 36px; }
  .tl-item::before { left: -40px; top: 2px; }
  .tl-rail { left: 8.5px; right: auto; width: 3px; height: auto; top: 10px; bottom: 46px; }
  .tl-rail span { width: 100%; height: calc(var(--p, 0) * 100%); }
  .prize-grid { grid-template-columns: 1fr; }
  .bracket { max-width: 380px; }
  .score-list { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .case-facts { grid-template-columns: repeat(3, 1fr); }
  .submit-grid { grid-template-columns: 1fr; }
  .submit-intro { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar-links a:not(.btn) { display: none; }
  .brand img { width: 110px; }
  .countdown { flex-direction: column; align-items: flex-start; }
  .countdown-digits { gap: 16px; }
  .countdown-digits div { flex-direction: column; gap: 2px; }
  .day-item { grid-template-columns: 1fr; gap: 10px; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .case-facts div, .case-facts div + div { padding: 16px 12px 16px 0; border-left: 0; }
  .panel { position: relative; top: 0; min-height: 0; border-radius: 22px; margin-bottom: 20px; }
  .panel-actions .btn { width: 100%; white-space: normal; }
  .score-bar { height: 56px; }
  .score-bar span { padding-left: 8px; }
  .score-list { grid-template-columns: 1fr; }
  .mark-legend { font-size: 13px; gap: 6px 16px; }
  .field-row, .track-pick { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 720px) { .mark-svg { width: 170px; } .hero-mark { gap: 14px; } .hero-grid { padding-top: 8px; } }
@media (min-width: 1001px) { .panel-title { white-space: nowrap; } }
