:root {
  --ink: #202329;
  --muted: #596270;
  --blue: #2169d3;
  --line: #dfe4ec;
  --paper-blue: #f5f8fe;
  --green: #267156;
  --container: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: #fff; font: 17px/1.65 "Lato", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0 0 16px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(40px, 4.7vw, 64px); font-weight: 900; }
h2 { font-size: 32px; font-weight: 900; }
h3 { font-size: 22px; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -70px; left: 16px; z-index: 5; background: #fff; padding: 12px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 18px; color: var(--ink); text-decoration: none; }
.brand img { width: 132px; height: auto; }
.brand-event { border-left: 1px solid var(--line); padding-left: 18px; font-size: 18px; font-weight: 900; white-space: nowrap; }
.primary-nav { display: flex; gap: 26px; align-items: center; font-size: 15px; font-weight: 700; }
.primary-nav a { color: var(--muted); text-decoration: none; }
.primary-nav a:hover, .primary-nav [aria-current] { color: var(--blue); }
.primary-nav .nav-submit { color: var(--blue); }
.eyebrow { font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.hero { padding: 72px 0 66px; background: linear-gradient(120deg, #fff 40%, #f0f5ff); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 72px; align-items: center; }
.hero h1 span { color: var(--blue); }
.hero-lede { max-width: 580px; font-size: 19px; color: var(--muted); margin: 24px 0; }
.hero-meta { font-size: 14px; color: var(--muted); margin-top: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-size: 15px; font-weight: 900; cursor: pointer; transition: background .15s; }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: #174f9f; }
.button-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.button-secondary:hover { background: var(--paper-blue); }
button:disabled { opacity: .55; cursor: not-allowed; }
.brief { background: #fff; border: 1px solid #cbd8ee; border-radius: 14px; box-shadow: 0 12px 35px #243e7110; overflow: hidden; }
.brief-top { display: flex; justify-content: space-between; gap: 12px; padding: 15px 24px; border-bottom: 1px solid var(--line); background: var(--paper-blue); font-size: 11px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.status { color: var(--green); }
.brief-body { padding: 26px 28px; }
.deadline-date { font-size: 40px; font-weight: 900; letter-spacing: -.04em; line-height: 1.2; }
.deadline-time { font-size: 14px; color: var(--muted); margin: 8px 0 22px; }
.brief dl { margin: 0; }
.brief dl div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.brief dt { color: var(--muted); }
.brief dd { margin: 0; font-weight: 700; }
.submission-counter { display: flex; align-items: center; gap: 15px; padding: 16px 20px; background: var(--paper-blue); border: 1px solid var(--line); border-radius: 8px; }
.submission-counter > strong { color: var(--blue); font-size: 32px; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; min-width: 0; }
.submission-counter > div { min-width: 0; }
.submission-counter span { display: block; font-size: 14px; font-weight: 700; }
.submission-counter small { margin: 2px 0 0; font-size: 12px; }
.brief .submission-counter { margin-top: 16px; padding: 14px; }
.page-heading .submission-counter { width: fit-content; max-width: 100%; margin-top: 24px; }
.section { padding: 56px 0; }
.prize-section { padding-bottom: 0; }
.prize-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prize-card { padding: 22px 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-blue); }
.prize-card:first-child { border-color: #abc5ed; }
.prize-card p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.prize-card h3 { font-size: 36px; color: var(--blue); margin: 0; }
.prize-note { color: var(--muted); font-size: 12px; margin-top: 12px; }
.project-workspace { margin-bottom: 30px; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.workspace-heading h2, .editor-title { font-size: 23px; margin-bottom: 0; }
.editor-title { margin-bottom: 20px; }
.project-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.project-row strong { overflow-wrap: anywhere; }
.project-row button { flex-shrink: 0; color: var(--blue); background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 6px 12px; cursor: pointer; }
.empty-projects { color: var(--muted); font-size: 15px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading > p { color: var(--muted); font-size: 15px; max-width: 290px; margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps li { border-top: 2px solid var(--line); padding-top: 18px; }
.step-number { display: block; font-size: 13px; font-weight: 900; color: var(--blue); margin-bottom: 16px; }
.steps p { color: var(--muted); font-size: 16px; }
.steps .step-note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; }
.steps > li > .text-link { justify-self: start; align-self: start; }
@media (min-width: 621px) {
  .steps { row-gap: 0; }
  .steps li { display: grid; grid-template-rows: subgrid; grid-row: span 5; }
}
.text-link { font-size: 15px; font-weight: 700; }
.details-band { background: var(--paper-blue); border-block: 1px solid var(--line); }
.details-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
.compact-list { padding-left: 20px; color: var(--muted); margin: 20px 0; }
.compact-list li { padding-left: 4px; margin-bottom: 10px; }
.resources { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.resources a { background: #fff; padding: 8px 13px; border: 1px solid var(--line); border-radius: 5px; font-size: 14px; font-weight: 700; text-decoration: none; }
.help-line { color: var(--muted); font-size: 15px; }
.site-footer { padding: 26px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); }
.notice { padding: 16px 20px; border: 1px solid #cbd8ee; background: var(--paper-blue); border-radius: 8px; font-size: 15px; margin-bottom: 24px; }
.closure { margin: 0; text-align: center; border-radius: 0; }
.page-heading { padding: 50px 0 30px; }
.page-heading h1 { font-size: 44px; }
.page-heading p { color: var(--muted); max-width: 660px; }
.narrow { max-width: 760px; }
.legal-content { padding-bottom: 44px; }
.legal-content section { margin-bottom: 28px; }
.legal-content h2 { font-size: 22px; margin-bottom: 10px; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content li { padding-left: 5px; margin-bottom: 14px; }
.legal-content strong { color: var(--ink); }
.legal-content ol { padding-left: 22px; }
.version { color: var(--muted); font-size: 13px; }
.submission-layout { display: grid; grid-template-columns: 1fr 280px; gap: 54px; padding-bottom: 56px; align-items: start; }
.submission-aside { font-size: 15px; color: var(--muted); padding: 24px; background: var(--paper-blue); border-radius: 8px; }
.submission-aside h2 { color: var(--ink); font-size: 20px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full-width { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: 15px; }
input:not([type=checkbox]):not([type=hidden]), textarea, select { display: block; width: 100%; padding: 11px 12px; border: 1px solid #bec9d8; border-radius: 6px; background: #fff; color: var(--ink); margin-top: 7px; font-size: 16px; }
textarea { resize: vertical; min-height: 100px; }
small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 5px; }
.optional { color: var(--muted); font-weight: 400; }
.check-label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400; margin: 20px 0; }
.check-label input { margin: 5px 0 0; width: 17px; height: 17px; flex-shrink: 0; }
.integration-options { padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; }
.integration-options legend { font-size: 15px; font-weight: 700; padding-inline: 5px; }
.integration-options p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.integration-options .check-label { margin: 12px 0; }
.form-actions { display: flex; gap: 18px; align-items: center; }
.form-actions p { color: var(--muted); font-size: 13px; margin: 0; }
.form-message { margin: 20px 0; padding: 15px; background: #edf8f1; border-radius: 6px; }
.form-message[data-error=true] { background: #fff0ef; color: #8b2929; }
.signin-card { margin: 60px auto 100px; padding: 36px; border: 1px solid var(--line); border-radius: 12px; max-width: 490px; }
.signin-card h1 { font-size: 36px; }
.signin-card p { color: var(--muted); }
.signin-card .button { width: 100%; margin: 8px 0 16px; }
.header-sign-in { color: var(--blue); }
.header-account { position: relative; }
.header-account-trigger { display: flex; align-items: center; gap: 8px; background: transparent; border: 0; cursor: pointer; padding: 6px; color: var(--ink); font-size: 14px; }
.header-account-trigger img { border-radius: 50%; width: 28px; height: 28px; }
.header-account-menu { position: absolute; top: 44px; right: 0; z-index: 10; min-width: 220px; max-width: 290px; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 10px 25px #20232915; overflow-wrap: anywhere; }
.header-account-menu a, .header-account-menu button { display: block; padding: 8px 0; background: none; border: 0; text-decoration: none; cursor: pointer; font-size: 14px; color: var(--blue); }
.header-account-identity { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.header-account-identity strong, .header-account-identity span { display: block; font-size: 13px; }
@media (max-width: 850px) {
  .header-inner { flex-wrap: wrap; padding-block: 18px; gap: 15px; }
  .primary-nav { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr 0.85fr; gap: 30px; }
  .hero { padding-block: 48px; }
  .brief-top { padding-inline: 18px; font-size: 10px; }
  .brief-body { padding: 22px; }
  .deadline-date { font-size: 34px; }
  .steps { column-gap: 24px; }
  .details-grid { gap: 36px; }
  .submission-layout { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 36px); }
  .header-inner { justify-content: center; }
  .brand img { width: 117px; }
  .brand-event { font-size: 17px; }
  .primary-nav { width: 100%; justify-content: center; gap: 21px; font-size: 14px; }
  .hero-grid, .steps, .details-grid, .form-grid { grid-template-columns: 1fr; }
  .prize-grid { grid-template-columns: 1fr; gap: 10px; }
  .prize-card { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; }
  .prize-card h3 { font-size: 28px; }
  .prize-card p { font-size: 14px; margin: 0; }
  .hero-grid { gap: 34px; }
  .hero { padding-block: 36px; }
  .hero h1 { max-width: 430px; }
  .hero-lede { font-size: 18px; }
  .hero-actions .button { flex: 1; padding-inline: 14px; }
  .section { padding-block: 36px; }
  .section-heading { display: block; }
  .section-heading > p { max-width: none; margin-top: 14px; }
  .steps { gap: 26px; }
  .steps h3 { margin-bottom: 10px; }
  .step-number { margin-bottom: 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-heading { padding-top: 34px; }
  .page-heading h1 { font-size: 36px; }
  .signin-card { margin-block: 35px 60px; padding: 26px; }
  .form-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 380px) {
  .brand { gap: 12px; }
  .brand img { width: 96px; }
  .brand-event { padding-left: 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
