@font-face { font-family: "DM Sans"; src: url("/assets/dm-sans.ttf") format("truetype"); font-weight: 100 1000; font-style: normal; font-display: swap; }

/* Pitch presentation tokens (sites/pitch/src/assets/styles.css). */
:root {
  color-scheme: dark;
  --bg: oklch(0.16 0.012 240);
  --bg-raised: oklch(0.2 0.014 240);
  --text: oklch(0.96 0.005 230);
  --muted: oklch(0.74 0.012 235);
  --faint: oklch(0.62 0.012 235);
  --hairline: oklch(1 0 0 / 0.14);
  --accent: oklch(0.84 0.12 210);
  --glass: oklch(0.19 0.016 240 / 0.74);
  --glass-solid: oklch(0.19 0.016 240);
  --violet: #7b5cf0; --cyan: #5cd6e8; --blue: #3565d8; --teal: #2fb5a6;
  --gutter: 7%;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; min-width: 280px; color: var(--text); font: 400 17px/1.55 "DM Sans", system-ui, sans-serif; font-feature-settings: "tnum"; font-synthesis: none; }
::selection { background: var(--cyan); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; text-decoration-color: oklch(1 0 0 / 0.4); }
a:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
a, button, summary, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 650; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
p { max-width: 60ch; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 10; padding: 0.6rem 1rem; border-radius: 7px; background: var(--text); color: var(--bg); }
.skip:focus { top: 1rem; }

/* Cover: the pitch title slide, with the color field on the right. */
.cover { position: relative; isolation: isolate; overflow-x: clip; }
.field { position: absolute; z-index: -1; top: 0; right: 0; left: 30%; height: max(100svh, 720px); overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%), linear-gradient(180deg, #000 55%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 38%), linear-gradient(180deg, #000 55%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.field::before { content: ""; position: absolute; inset: -12% -40% -12% 0; will-change: transform;
  background:
    linear-gradient(180deg, oklch(0.16 0.012 240 / 0.55), transparent 30%, transparent 70%, oklch(0.16 0.012 240 / 0.7)),
    linear-gradient(90deg, #1b2a6b 0%, var(--blue) 9%, var(--cyan) 17%, var(--teal) 25%, #173a5e 33%, var(--violet) 43%, #2a2470 50%, var(--blue) 58%, var(--cyan) 66%, var(--teal) 72%, #1b2a6b 80%, var(--violet) 90%, var(--blue) 100%);
  filter: blur(46px) saturate(0.9) brightness(0.82);
  animation: drift 18s ease-in-out infinite alternate, hue 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(-22%); } }
@keyframes hue { from { filter: blur(46px) saturate(0.9) brightness(0.82) hue-rotate(-8deg); } to { filter: blur(46px) saturate(0.9) brightness(0.82) hue-rotate(10deg); } }

.masthead { max-width: 1600px; margin: auto; padding: 2rem var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 44px; font-size: 1.35rem; font-weight: 650; letter-spacing: -0.03em; text-decoration: none; }
.brand img { display: block; width: 32px; height: 32px; }
.masthead nav { display: flex; gap: 2rem; font-size: 0.95rem; color: var(--muted); }
.masthead nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.masthead nav a:hover { color: var(--text); text-decoration: underline; }

.entrance { max-width: 1600px; min-height: calc(100svh - 108px); margin: auto; padding: 2rem var(--gutter) 6rem; display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: clamp(40px, 7vw, 128px); align-items: center; }
h1 { font-size: clamp(3rem, 6.4vw, 6.5rem); line-height: 0.95; letter-spacing: -0.055em; max-width: 9ch; }
.intro .definition { margin-top: 2rem; max-width: 31ch; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.4; letter-spacing: -0.01em; color: var(--muted); text-wrap: pretty; }
.invitation { margin-top: 1.25rem; color: var(--faint); }
.paths { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 2rem; }
.paths a { display: inline-flex; align-items: center; min-height: 44px; }

/* Registration: glass panel and controls from the approved pitch login. */
.glass { border: 1px solid var(--hairline); border-radius: 16px; background: var(--glass); backdrop-filter: blur(24px) saturate(120%); box-shadow: 0 40px 80px -40px oklch(0 0 0 / 0.6), inset 0 1px 0 oklch(1 0 0 / 0.06); }
@supports not (backdrop-filter: blur(1px)) { .glass { background: var(--glass-solid); } }
.registration { padding: 40px; }
.registration h2 { font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
.registration > p { margin-top: 14px; font-size: 16px; color: var(--muted); }
form { margin-top: 28px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
label { display: block; margin: 20px 0 10px; font-size: 14px; font-weight: 500; }
label:first-of-type { margin-top: 0; }
input, textarea, button { font: inherit; }
input, textarea { display: block; width: 100%; min-height: 54px; padding: 14px 16px; font-size: 16px; color: var(--text); background: oklch(0.16 0.012 240 / 0.85); border: 1px solid oklch(1 0 0 / 0.24); border-radius: 7px; caret-color: var(--cyan); }
input:hover, textarea:hover { border-color: var(--muted); }
textarea { resize: vertical; }
.help, .privacy, .notice { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.privacy { margin-top: 18px; }
.notice { color: var(--text); }
details { margin: 20px 0; }
summary { cursor: pointer; display: flex; align-items: center; gap: 0.35em; flex-wrap: wrap; min-height: 44px; font-size: 14px; }
summary span { color: var(--faint); }
.optional-fields { padding-top: 10px; }
.cf-turnstile { margin: 1rem 0; min-height: 65px; }
button { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 54px; margin-top: 14px; padding: 14px 18px; border: 0; border-radius: 7px; background: var(--accent); color: var(--bg); font-size: 15px; font-weight: 650; cursor: pointer; }
button:hover { background: oklch(0.9 0.09 210); }
button:active { background: var(--cyan); }
button svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
button:disabled { cursor: default; background: oklch(1 0 0 / 0.1); color: var(--muted); }
fieldset:disabled input, fieldset:disabled textarea { opacity: 0.6; }
.returning { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--muted); }
.returning a { color: var(--text); }

/* Summary: a plain content slide, text left and supporting note right. */
.summary { max-width: 1600px; min-height: 80svh; margin: auto; padding: 8rem var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: clamp(40px, 7vw, 128px); align-items: center; }
.summary h2 { font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
.summary .definition { margin-top: 1.5rem; max-width: 32ch; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--muted); }
.founder-note { padding-top: 1.5rem; border-top: 1px solid var(--hairline); }
.founder-note h3 { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.founder-note p { margin-top: 1rem; max-width: 40ch; }
.founder-note a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0.75rem; }

footer { max-width: 1600px; margin: auto; padding: 1.5rem var(--gutter) 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: 13px; color: var(--faint); }
footer a, footer span { display: inline-flex; align-items: center; min-height: 44px; }

/* 404 */
.lost { max-width: 1600px; margin: auto; padding: 8rem var(--gutter); }
.lost p { margin-top: 1.5rem; }

@media (max-width: 1000px) {
  :root { --gutter: 5%; }
  .entrance, .summary { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
  .registration { padding: 32px; }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  body { font-size: 16px; }
  .masthead { padding: 1rem var(--gutter); gap: 1rem; }
  .masthead nav { gap: 1.25rem; font-size: 0.85rem; }
  .brand { font-size: 1.15rem; gap: 0.6rem; }
  .brand img { width: 26px; height: 26px; }
  .entrance { grid-template-columns: minmax(0, 1fr); gap: 2rem; min-height: 0; padding-top: 1.5rem; padding-bottom: 3rem; }
  h1 { font-size: clamp(2.6rem, 13vw, 3.6rem); max-width: 11ch; }
  .intro .definition { margin-top: 1.25rem; font-size: 1.1rem; }
  .invitation { margin-top: 1rem; }
  .paths { margin-top: 1rem; gap: 0 1.5rem; }
  .registration { padding: 26px 22px; }
  .registration h2 { font-size: 26px; }
  .field { inset: 0 -25% auto 8%; height: 640px; opacity: 0.8;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }
  .summary { grid-template-columns: minmax(0, 1fr); gap: 3rem; min-height: 0; padding-block: 5rem; }
  footer { justify-content: flex-start; }
}
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .masthead nav { gap: 0.9rem; }
  .registration { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
