@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #141414;
  --bg-elevated: #1b1b1b;
  --bg-card: #1e1e1e;
  --surface-white: #f7f7f5;
  --ink: #f5f5f4;
  --ink-dark: #141414;
  --muted: #a3a3a0;
  --subtle: #787874;
  --line: #2a2a28;
  --line-strong: #3a3a37;
  --accent: #F5C83D;
  --accent-hover: #e6b828;
  --pink: #FF91AC;
  --gold: #F5C83D;
  --orange: #E86A17;
  --green: #7CB342;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.085) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p, h1, h2, h3, h4, dl, dd {
  margin: 0;
}

p + p {
  margin-top: 16px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(245, 200, 61, 0.12);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(245, 200, 61, 0.28);
}

.wrap {
  width: min(1060px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--ink-dark);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  transform: translateY(-200%);
  z-index: 100;
}

.skip-link:focus {
  transform: none;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 20, 20, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover {
  color: var(--ink);
}

.n8n-mini {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(245, 200, 61, 0.5);
  flex-shrink: 0;
}

.edition {
  color: var(--subtle);
  font-weight: 400;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  color: var(--muted);
}

nav a {
  text-decoration: none;
  transition: color 0.15s ease;
}

nav a:hover {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--ink-dark);
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: var(--ink-dark);
  transform: translateY(-1px);
}

/* EYEBROW & PILLS */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.pill-pink {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink-dark);
  font-weight: 600;
}

.pill-gold {
  border-color: rgba(245, 200, 61, 0.45);
  color: var(--accent);
  background: rgba(245, 200, 61, 0.08);
}

/* HERO */
.hero {
  padding: 72px 0 64px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(54px, 8.6vw, 108px);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  color: #ffffff;
}

.accent-dot {
  color: var(--accent);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
  font-weight: 500;
  color: #b8b8b4;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-lead {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.65;
  color: #d6d6d2;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.button-primary {
  background: var(--accent);
  color: var(--ink-dark);
  border: 1px solid var(--accent);
}

.button-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--ink-dark);
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--muted);
  color: #ffffff;
}

/* FLIER-INSPIRED PARTNER CARD */
.partner-card {
  background: var(--surface-white);
  color: #4a4a47;
  border-radius: 22px;
  padding: 26px 36px 34px;
  margin-bottom: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.partner-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6b66;
  margin-bottom: 18px;
}

.partner-card-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  justify-items: center;
}

.partner-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 12px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.partner-logo-link:hover {
  transform: scale(1.03);
}

.partner-logo-link img {
  max-height: 118px;
  width: auto;
  object-fit: contain;
}

/* HOST BAR */
.host-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.host-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.host-free {
  color: var(--accent);
}

.host-logos {
  display: flex;
  align-items: center;
  gap: 18px;
}

.host-plus {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--subtle);
}

.n8n-logo {
  height: 30px;
  width: auto;
}

.sthlmai-logo {
  height: 62px;
  width: auto;
}

/* SECTIONS */
.section {
  border-top: 1px solid var(--line);
  padding: 72px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: #ffffff;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
}

.section-body p {
  color: #cfcfcb;
  max-width: 660px;
}

.section-body strong {
  color: #ffffff;
  font-weight: 600;
}

.section-side h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3.2vw, 36px);
}

.side-note {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* FACTS LIST */
.facts-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.facts-list > div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.facts-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.facts-list dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--subtle);
  margin-bottom: 3px;
}

.facts-list dd {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
}

/* CHALLENGES */
.section-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-header-row .eyebrow {
  margin-bottom: 12px;
}

.section-header-row h2 {
  margin-bottom: 0;
}

.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-nav a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  color: var(--muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.quick-nav a:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.section-intro {
  max-width: 680px;
  color: var(--muted);
  margin: 18px 0 32px;
}

.challenges-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.challenge {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.challenge[open] {
  border-color: var(--line-strong);
}

.challenge summary {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 28px;
  cursor: pointer;
  list-style: none;
}

.challenge summary::-webkit-details-marker {
  display: none;
}

.challenge-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--subtle);
  align-self: flex-start;
  padding-top: 4px;
}

.challenge-head {
  flex: 1;
  display: block;
}

.challenge-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 8px;
}

.track-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.track-orange { background: var(--orange); }
.track-green { background: var(--green); }
.track-gold { background: var(--gold); }
.track-pink { background: var(--pink); }

.challenge-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.5vw, 26px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.toggle {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
}

.toggle::before,
.toggle::after {
  content: "";
  position: absolute;
  background: var(--muted);
  width: 12px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease;
}

.toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

details[open] .toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.challenge-content {
  padding: 0 28px 30px 68px;
  color: #cececa;
  font-size: 15.5px;
  line-height: 1.72;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.challenge-content h3 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin: 26px 0 10px;
}

.challenge-content ul,
.challenge-content ol {
  padding-left: 20px;
  margin: 10px 0 18px;
}

.challenge-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.challenge-content strong {
  color: #ffffff;
  font-weight: 600;
}

.challenge-brand-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.mini-logo-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.mini-logo-wide {
  width: 82px;
}

.mini-logo-box img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.callout {
  border-left: 3px solid var(--pink);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 22px 0;
}

.callout-orange { border-left-color: var(--orange); }
.callout-green { border-left-color: var(--green); }

.callout h4,
.what-you-get h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 6px;
}

.callout p,
.what-you-get p {
  font-size: 14.5px;
  color: #c8c8c4;
}

.what-you-get {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0 20px;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

.pillar-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 4px;
  color: #ffffff;
}

.pillar-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.persona-note {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(124, 179, 66, 0.08);
  border: 1px solid rgba(124, 179, 66, 0.25);
  font-size: 14.5px;
}

/* SCHEDULE TIMELINE */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.timeline li:first-child {
  padding-top: 0;
}

.timeline li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.timeline time {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.timeline-highlight time {
  color: var(--accent);
}

.timeline h3 {
  font-size: 16.5px;
  margin-bottom: 4px;
}

.timeline p {
  font-size: 14px;
  color: var(--muted);
}

/* RULES GRID */
.rules-grid {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rule-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rule-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.rule-card h3 {
  font-size: 17px;
  color: #ffffff;
}

.rule-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* JUDGING & SCORECARD */
.pitch-formula {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.pitch-formula .eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
}

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

.formula-steps > div {
  font-size: 14px;
  color: #cfcfcb;
  line-height: 1.5;
}

.formula-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(245, 200, 61, 0.16);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  margin-right: 8px;
}

.scorecard-wrap {
  margin-top: 28px;
}

.scorecard-wrap .eyebrow {
  margin-bottom: 12px;
}

.scorecard {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14.5px;
}

.scorecard th,
.scorecard td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.scorecard th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.scorecard tbody tr:last-child td {
  border-bottom: 0;
}

.scorecard td:first-child {
  width: 34%;
  color: #ffffff;
}

.scorecard td:last-child {
  color: #c8c8c4;
}

/* JOIN CTA */
.join-section {
  padding: 24px 0 80px;
}

.join-card {
  background: linear-gradient(135deg, #1d1c17 0%, #181818 100%);
  border: 1px solid rgba(245, 200, 61, 0.32);
  border-radius: 22px;
  padding: 40px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.join-card .eyebrow {
  color: var(--accent);
  margin-bottom: 10px;
}

.join-card h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  margin-bottom: 10px;
}

.join-meta {
  font-size: 14.5px;
  color: var(--muted);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  background: #101010;
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-top .eyebrow {
  margin-bottom: 16px;
}

.footer-hosts {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-partners {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}

.footer-partners a {
  text-decoration: none;
  color: #d4d4d0;
}

.footer-partners a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--subtle);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .formula-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .edition {
    display: none;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 48px 0 44px;
  }

  .partner-card {
    padding: 22px 20px 26px;
  }

  .partner-card-logos {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section {
    padding: 52px 0;
  }

  .challenge summary {
    padding: 20px;
    gap: 14px;
  }

  .challenge-content {
    padding: 20px;
  }

  .challenge-brand-strip {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .timeline li {
    grid-template-columns: 68px 1fr;
    gap: 16px;
  }

  .join-card {
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .nav-cta,
  .partner-logo-link,
  .toggle::after {
    transition: none;
  }
}

