:root {
  --ink: #111315;
  --night: #050505;
  --orange: #ff6a00;
  --amber: #ffb21a;
  --teal: #169b8f;
  --paper: #fff8f1;
  --white: #ffffff;
  --muted: #68717d;
  --line: rgba(17, 19, 21, 0.14);
  --shadow: 0 22px 60px rgba(7, 17, 31, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px clamp(20px, 4vw, 54px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 17, 31, 0.94);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: linear-gradient(145deg, #ff8a2a, #f04d05);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.brand-name,
.brand-line {
  display: block;
  line-height: 1.1;
}

.brand-name {
  font-weight: 900;
}

.brand-line {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-nav a:hover {
  color: #fff;
}

.nav-cta {
  padding: 9px 16px;
  border: 1px solid rgba(255, 178, 26, 0.72);
  background: rgba(255, 178, 26, 0.16);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px 0 76px;
  background:
    linear-gradient(120deg, rgba(5, 5, 5, 0.9), rgba(17, 19, 21, 0.76) 48%, rgba(5, 5, 5, 0.96)),
    url("../assets/fsc-2036.png") center / cover;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.32), #000 60%, rgba(0, 0, 0, 0.45));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 820px;
  color: #fff3e8;
  font-size: clamp(1.22rem, 2.1vw, 1.8rem);
  font-weight: 800;
  line-height: 1.3;
}

.hero-description {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 650;
  line-height: 1.55;
}

.hero-actions,
.work-actions,
.score-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
  margin-top: 34px;
}

.hero-stats div {
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(4, 16, 28, 0.6);
  backdrop-filter: blur(10px);
}

.hero-stats span {
  display: block;
  color: var(--amber);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  font-weight: 950;
  line-height: 1;
}

.hero-stats strong {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--amber);
  color: #14100a;
  box-shadow: 0 12px 26px rgba(255, 178, 26, 0.28);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button-dark {
  background: var(--night);
  color: #fff;
}

.button-disabled {
  border-color: rgba(104, 113, 125, 0.28);
  background: #e8edf2;
  color: #5b6570;
  cursor: not-allowed;
  pointer-events: none;
}

.section {
  padding: 88px 0;
}

.section-white {
  background: #fff;
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.18), transparent 38%),
    linear-gradient(135deg, var(--night), #17110c);
  color: #fff;
}

.summit-section {
  padding: 92px 0;
  background:
    linear-gradient(120deg, rgba(12, 178, 222, 0.94), rgba(0, 70, 172, 0.94)),
    url("../assets/fsc-2036.png") left center / contain no-repeat;
  color: #fff;
}

.summit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 44px;
  align-items: stretch;
}

.summit-copy h2 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5.2vw, 5.6rem);
  line-height: 0.98;
}

.summit-copy p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.summit-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(4, 16, 28, 0.32);
  box-shadow: 0 22px 60px rgba(0, 32, 82, 0.28);
}

.summit-card strong {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summit-card h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.96;
}

.summit-card p {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.summit-date {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.summit-date span {
  color: #fff8e8;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 950;
  line-height: 0.86;
}

.summit-date small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.2rem;
  font-weight: 950;
  text-transform: uppercase;
}

.summit-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.summit-card li {
  padding: 7px 10px;
  background: rgba(255, 178, 26, 0.18);
  color: #fff7dc;
  font-size: 0.82rem;
  font-weight: 900;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

.section-heading h2,
.split h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.step-card p,
.criteria-card p,
.work-card p {
  color: var(--muted);
}

.section-dark .section-heading p,
.section-dark .form-intro,
.section-dark label {
  color: rgba(255, 255, 255, 0.78);
}

.overview-grid,
.criteria-grid,
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.overview-card,
.criteria-card,
.timeline-card,
.work-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.06);
}

.overview-card {
  border-top: 4px solid var(--orange);
}

.overview-card strong,
.criteria-card strong,
.timeline-card strong {
  display: block;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overview-card h3,
.criteria-card h3,
.timeline-card h3,
.work-card h3 {
  margin: 14px 0 10px;
  font-size: 1.18rem;
  line-height: 1.22;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.topic-card {
  display: grid;
  gap: 12px;
  min-height: 292px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.06);
}

.topic-card img {
  width: 58px;
  height: 58px;
}

.topic-card strong,
.group-grid strong {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topic-card h3,
.group-grid h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.topic-card p,
.group-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.group-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  background: #fff8f1;
}

.hero-trust-line {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 750;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.value-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.06);
}

.value-grid strong {
  color: var(--orange);
}

.value-grid h3 {
  margin: 12px 0 8px;
  color: var(--night);
}

.value-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.showcase-note {
  padding: 14px 16px;
  border-left: 4px solid var(--teal);
  background: #f1fbfa;
}

.poc-stage {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid rgba(22, 155, 143, 0.25);
  background: #f1fbfa;
  color: #0b746b;
}

.start-checklist {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.start-checklist div {
  padding: 16px;
  background: #fff8f1;
}

.fee-grid,
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.fee-card,
.awards-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 106, 0, 0.18);
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.08);
}

.fee-card span,
.awards-grid strong {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fee-card strong,
.awards-grid h3 {
  color: var(--night);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.fee-card p,
.awards-grid p {
  margin: 0;
  color: var(--muted);
}

.fee-note {
  background: #fff7ed;
}

.fee-explainer,
.rules-grid,
.judging-notes,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.fee-explainer article,
.rules-grid article,
.judging-notes article,
.policy-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.06);
}

.fee-explainer h3,
.rules-grid h3,
.judging-notes h3,
.policy-grid h3 {
  margin-top: 0;
  color: var(--night);
}

.fee-explainer ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.fee-explainer li + li {
  margin-top: 0.6rem;
}

.special-awards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.special-awards span {
  padding: 9px 11px;
  border: 1px solid rgba(22, 155, 143, 0.24);
  background: #f1fbfa;
  color: #0b746b;
  font-size: 0.84rem;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: start;
}

.requirements-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirements-list li {
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  background: #fff0e3;
  font-weight: 800;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.countdown-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.06);
}

.countdown-card.is-urgent {
  border-top-color: var(--orange);
}

.countdown-card strong,
.countdown-card span,
.countdown-card p {
  display: block;
}

.countdown-card strong {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown-card span {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 850;
}

.countdown-card p {
  margin: 22px 0 0;
  color: var(--night);
  font-size: clamp(1.55rem, 3.3vw, 2.8rem);
  font-weight: 950;
  line-height: 1;
}

.timeline-ribbon {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--line);
  background: #07111f;
  color: #fff;
}

.timeline-ribbon div {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.timeline-ribbon div:last-child {
  border-right: 0;
}

.timeline-ribbon b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--amber);
  color: #17110c;
  font-weight: 950;
}

.timeline-ribbon span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.deadline-callout {
  display: inline-grid;
  gap: 4px;
  min-width: min(100%, 320px);
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 5px solid var(--amber);
  background: rgba(255, 255, 255, 0.1);
}

.deadline-callout strong {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deadline-callout span {
  color: #fff;
  font-size: 1.55rem;
  font-weight: 950;
}

.registration-status-panel {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.registration-status-panel div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 4px 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255, 178, 26, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.registration-status-panel span {
  display: grid;
  width: 38px;
  height: 38px;
  grid-row: span 2;
  place-items: center;
  background: var(--amber);
  color: #17110c;
  font-weight: 950;
}

.registration-status-panel strong {
  color: #fff;
  line-height: 1.2;
}

.registration-status-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.submission-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.submission-form label {
  display: grid;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 800;
}

.submission-form .wide {
  grid-column: 1 / -1;
}

.submission-form input,
.submission-form select,
.submission-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 19, 21, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

.submission-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.auth-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 5, 5, 0.28);
}

.auth-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.participant-status {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-left: 4px solid var(--amber);
  background: rgba(255, 178, 26, 0.12);
}

.participant-status strong {
  color: #fff;
  line-height: 1.2;
}

.participant-status span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.criteria-card {
  min-height: 250px;
}

.criteria-card strong {
  color: var(--teal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.grouped-gallery {
  display: grid;
  gap: 28px;
}

.work-group {
  display: grid;
  gap: 14px;
}

.sample-work-group {
  padding: 18px;
  border: 1px solid rgba(255, 178, 26, 0.38);
  background: #fff8f1;
}

.work-group-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.work-group-heading span {
  color: var(--night);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 950;
  line-height: 1;
}

.work-group-heading strong {
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-card {
  display: grid;
  align-content: space-between;
  gap: 16px;
  scroll-margin-top: 96px;
}

.work-card.is-sample {
  border-color: rgba(255, 106, 0, 0.28);
  border-top: 5px solid var(--orange);
  box-shadow: 0 18px 42px rgba(255, 106, 0, 0.12);
}

.project-id {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 4px 10px;
  background: var(--night);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 950;
}

.rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 2px;
}

.rank-row .rank-badge {
  display: inline-grid;
  min-width: 52px;
  min-height: 40px;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
}

.rank-row strong {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-line {
  font-weight: 800;
}

.student-line {
  margin-top: -6px;
  color: var(--teal) !important;
  font-size: 0.92rem;
  font-weight: 850;
}

.topic-line {
  display: inline-flex;
  width: fit-content;
  margin: -4px 0 0;
  padding: 6px 9px;
  background: #fff0e3;
  color: #6c3107 !important;
  font-size: 0.84rem;
  font-weight: 900;
}

.work-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--orange);
  font-weight: 900;
  text-decoration: none;
}

.video-embed {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #050505;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vote-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.vote-row strong {
  color: var(--orange);
  font-size: 1.8rem;
  line-height: 1;
}

.vote-row span {
  color: var(--muted);
  font-weight: 850;
}

.sample-note strong {
  font-size: 1rem;
}

.sample-note span {
  color: var(--teal);
}

.works-locked {
  margin-top: 4px;
}

.vote-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-left: auto;
  padding: 8px 12px;
  background: var(--night);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.share-row span {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.share-row a,
.share-row button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.empty-state,
.empty-table {
  padding: 24px;
  border-left: 4px solid var(--amber);
  background: #fff0e3;
  color: #3d1d09;
  font-weight: 800;
}

.timeline-card {
  min-height: 180px;
}

.score-page {
  padding-top: 106px;
}

.score-header {
  padding: 44px 0 28px;
  background: var(--night);
  color: #fff;
}

.score-header h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.site-footer {
  padding: 34px 0;
  background: #060a10;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: var(--amber);
}

.thanks-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--night), #17110c);
  color: #fff;
}

.thanks-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.thanks-panel {
  width: min(820px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border-left: 4px solid var(--amber);
  background: rgba(255, 255, 255, 0.08);
}

.thanks-panel h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.04;
}

.thanks-panel p:not(.eyebrow) {
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.thanks-status-list {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
}

.thanks-status-list div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.thanks-status-list strong {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thanks-status-list span {
  color: rgba(255, 255, 255, 0.84);
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.organizer-page {
  min-height: 100vh;
  background: #f5f7fb;
  color: #101820;
}

.organizer-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(22px, 5vw, 56px);
}

.organizer-panel {
  width: min(900px, 100%);
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}

.organizer-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.03;
}

.organizer-lede {
  max-width: 620px;
  color: #536170;
  font-size: 1.05rem;
}

.organizer-auth {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 26px 0;
  padding: 18px;
  border-radius: 8px;
  background: #f4f7fb;
}

.organizer-auth p,
.small-note {
  margin: 0;
  color: #627085;
}

.admin-card,
.phase-control {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #d7dee8;
  border-radius: 8px;
}

.admin-card h2,
.phase-control h2 {
  margin-top: 0;
}

.admin-card label {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  color: #4c5968;
  font-weight: 800;
}

.admin-card input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c9d3df;
  border-radius: 6px;
  color: #17212b;
  font-family: inherit;
}

.phase-options {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.phase-options button {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 18px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.phase-options button:hover,
.phase-options button:focus-visible {
  border-color: var(--orange);
  outline: none;
}

.phase-options button.is-active {
  border-color: var(--orange);
  background: #fff7ed;
  box-shadow: inset 4px 0 0 var(--orange);
}

.phase-options strong {
  font-size: 1.04rem;
}

.phase-options span {
  color: #64748b;
}

.submission-manager {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #d7dee8;
  border-radius: 8px;
}

.submission-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.submission-edit-card {
  padding: 18px;
  border: 1px solid #dbe3ed;
  border-radius: 8px;
  background: #fbfcfe;
}

.submission-edit-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.submission-edit-header strong,
.submission-edit-header span {
  display: block;
}

.submission-edit-header span {
  color: #667085;
  font-size: 0.9rem;
}

.submission-status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.submission-status-badge {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid #d7dee8;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: #fff;
}

.submission-status-badge span {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.submission-status-badge strong {
  color: #111827;
  font-size: 0.95rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.submission-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.submission-edit-actions button {
  padding: 10px 12px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-weight: 850;
  cursor: pointer;
}

.submission-edit-actions button:first-child {
  border-color: var(--orange);
  background: #fff7ed;
}

.submission-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.submission-edit-grid label {
  display: grid;
  gap: 6px;
  color: #475467;
  font-size: 0.88rem;
  font-weight: 850;
}

.submission-edit-grid .wide {
  grid-column: 1 / -1;
}

.submission-edit-grid input,
.submission-edit-grid textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  color: #111827;
  font: inherit;
  font-weight: 600;
}

.demo-page {
  min-height: 100vh;
  background: #0b0f14;
  color: #fff;
}

.demo-hero {
  display: grid;
  min-height: 92vh;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(32px, 7vw, 90px);
}

.demo-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.96;
}

.demo-copy p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.demo-tags span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(255, 178, 26, 0.38);
  background: rgba(255, 178, 26, 0.11);
  color: #fff7dc;
  font-size: 0.82rem;
  font-weight: 900;
}

.demo-visual {
  display: grid;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 106, 0, 0.14), rgba(22, 155, 143, 0.12));
}

.demo-dashboard-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.demo-dashboard-top span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-dashboard-top strong {
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.chart-row {
  display: grid;
  height: 240px;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  align-items: end;
}

.chart-row span {
  position: relative;
  height: var(--h);
  transform: translateY(var(--y));
  border-radius: 4px 4px 0 0;
  background: var(--orange);
}

.chart-row span:nth-child(even) {
  background: var(--teal);
}

.chart-row span::before {
  position: absolute;
  top: -18px;
  bottom: -18px;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.5);
  content: "";
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
}

.signal-grid i {
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.signal-grid i:nth-child(3n) {
  background: rgba(255, 178, 26, 0.76);
}

.signal-grid i:nth-child(5n) {
  background: rgba(22, 155, 143, 0.8);
}

.demo-insight-row {
  padding: 16px;
  border-left: 4px solid var(--amber);
  background: rgba(255, 255, 255, 0.08);
}

.demo-insight-row b {
  display: block;
  color: var(--amber);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-insight-row p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.demo-band,
.demo-section {
  padding: clamp(54px, 7vw, 96px) clamp(24px, 7vw, 90px);
}

.demo-band {
  background: #f8fafc;
  color: #101820;
}

.demo-grid,
.demo-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.demo-grid article,
.demo-steps article {
  padding: 22px;
  border-left: 4px solid var(--orange);
  background: #fff;
}

.demo-grid strong,
.demo-steps span {
  color: var(--orange);
  font-weight: 950;
}

.demo-grid h2,
.demo-steps h3 {
  margin: 8px 0;
}

.demo-grid p,
.demo-steps p {
  color: #536170;
}

.demo-section {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.demo-topic-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: stretch;
  padding: clamp(54px, 7vw, 96px) clamp(24px, 7vw, 90px);
  background:
    linear-gradient(135deg, rgba(255, 178, 26, 0.16), rgba(255, 178, 26, 0) 42%),
    #101820;
}

.demo-topic-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1;
}

.demo-topic-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.demo-topic-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.demo-topic-metrics div {
  display: grid;
  align-content: space-between;
  min-height: 210px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.demo-topic-metrics strong {
  color: var(--amber);
  font-size: 1.6rem;
}

.demo-topic-metrics span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.demo-section-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1;
}

.demo-section-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .overview-grid,
  .criteria-grid,
  .timeline-grid,
  .fee-grid,
  .fee-explainer,
  .rules-grid,
  .judging-notes,
  .policy-grid,
  .awards-grid,
  .countdown-grid,
  .topic-grid,
  .group-grid,
  .value-grid,
  .start-checklist,
  .split,
  .summit-grid,
  .demo-hero,
  .demo-section,
  .demo-topic-section,
  .demo-topic-metrics {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .demo-grid,
  .demo-steps,
  .timeline-ribbon,
  .submission-status-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .timeline-ribbon div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }

  .brand-line {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: rgba(7, 17, 31, 0.97);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 8px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .submission-edit-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }
}

@media (max-width: 480px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 1160px);
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-actions .button,
  .submission-form .button {
    width: 100%;
  }
}
