/* בינה פיננסית: the founders' list page. Brand tokens from docs/design/tokens.md; fonts self-hosted (OFL). */

@font-face {
  font-family: 'Plex Hebrew';
  src: url('/fonts/ibm-plex-sans-hebrew-hebrew-300-normal.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Plex Hebrew';
  src: url('/fonts/ibm-plex-sans-hebrew-hebrew-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Plex Hebrew';
  src: url('/fonts/ibm-plex-sans-hebrew-hebrew-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Plex Hebrew';
  src: url('/fonts/ibm-plex-sans-hebrew-hebrew-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Plex Hebrew';
  src: url('/fonts/ibm-plex-sans-hebrew-hebrew-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Plex Hebrew';
  src: url('/fonts/ibm-plex-sans-hebrew-latin-400-normal.woff2') format('woff2');
  font-weight: 300 500;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plex Hebrew';
  src: url('/fonts/ibm-plex-sans-hebrew-latin-600-normal.woff2') format('woff2');
  font-weight: 600 700;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #070b14;
  --ink: #0b1220;
  --ink-2: #5b6474;
  --paper: #faf9f6;
  --mist: #f1f0ec;
  --surface: #ffffff;
  --line: #e6e4dd;
  --accent: #4c5fd5;
  --accent-2: #8193ff;
  --on-dark: #edeff4;
  --on-dark-2: #a3acbb;
  --dark-line: rgba(255, 255, 255, 0.14);
  --radius: 28px;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Plex Hebrew', 'IBM Plex Sans Hebrew', -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'SF Mono', ui-monospace, 'Menlo', 'Consolas', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.num {
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

/* ---------- Navigation: one translucent bar, the same over every section ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--dark-line);
  color: var(--on-dark);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand img {
  width: auto;
}
.brand-mark {
  height: 34px;
}
.brand-word {
  height: 20px;
}
.brand-tia {
  height: 20px;
  opacity: 0.85;
}
.brand .divider {
  width: 1px;
  height: 22px;
  background: var(--dark-line);
}
.hero-mark img {
  display: block;
  width: clamp(80px, 9vw, 112px);
  height: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 18px 50px rgba(76, 95, 213, 0.45));
}
.brand .name {
  white-space: nowrap;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9375rem;
}
.nav-links a:not(.pill) {
  color: var(--on-dark-2);
  text-decoration: none;
}
.nav-links a:not(.pill):hover {
  color: var(--on-dark);
}
@media (max-width: 760px) {
  .nav-links a:not(.pill) {
    display: none;
  }
}
.pill .short {
  display: none;
}
@media (max-width: 480px) {
  .brand .divider,
  .brand-tia {
    display: none;
  }
  .pill .long {
    display: none;
  }
  .pill .short {
    display: inline;
  }
  .brand {
    gap: 10px;
  }
}

/* ---------- Buttons ---------- */

.pill {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.pill:hover {
  background: #3d4fc2;
}
.pill:active {
  transform: scale(0.98);
}
.pill.light {
  background: #fff;
  color: var(--ink);
}
.pill.light:hover {
  background: #e9ebf3;
}
.pill.small {
  min-height: 36px;
  padding: 8px 16px;
  font-size: 0.9375rem;
}
.textlink {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.textlink::after {
  content: ' ‹';
}
.textlink:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  margin-top: -65px;
  padding: calc(65px + clamp(72px, 12vw, 140px)) 0 0;
  background: var(--night);
  color: var(--on-dark);
  text-align: center;
  isolation: isolate;
}
.hero::before {
  /* Over the video: the clip shows through, a soft dark patch keeps the text readable, the bottom fades to night. */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(48% 40% at 50% 52%, rgba(7, 11, 20, 0.62), transparent 78%),
    radial-gradient(60% 50% at 50% 0%, rgba(76, 95, 213, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.3) 0%, rgba(7, 11, 20, 0.2) 40%, rgba(7, 11, 20, 0.55) 72%, #070b14 100%);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
}
.video-toggle {
  position: absolute;
  top: calc(65px + 16px);
  inset-inline-end: var(--gutter);
  z-index: 2;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  background: rgba(7, 11, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--on-dark);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}
.video-toggle:hover {
  background: rgba(7, 11, 20, 0.8);
}
.hero::after {
  /* A ledger grid that fades out: the finance motif, in hairlines. */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--accent-2);
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  font-weight: 500;
}
.hero h1 {
  margin: 0;
  font-size: clamp(3.25rem, 11vw, 8.25rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 30%, #b9c2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .eyebrow,
.hero .lead,
.hero-note {
  text-shadow: 0 1px 18px rgba(7, 11, 20, 0.9);
}
.hero .lead {
  max-width: 30ch;
  text-wrap: balance;
  margin: 28px auto 0;
  color: var(--on-dark);
  font-size: clamp(1.25rem, 2.6vw, 1.875rem);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero .lead strong {
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 40px;
}
.hero .textlink {
  color: var(--accent-2);
}
.hero-note {
  margin: 20px 0 0;
  color: var(--on-dark-2);
  font-size: 0.9375rem;
}

/* The product glimpse: a trial-balance review card, decorative only. */
.glimpse {
  position: relative;
  width: min(100%, 860px);
  margin: clamp(56px, 9vw, 96px) auto 0;
  padding: 0 0 0;
  perspective: 1600px;
}
.ledger {
  margin: 0 auto;
  border: 1px solid var(--dark-line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.12) inset,
    0 40px 120px rgba(76, 95, 213, 0.25);
  text-align: start;
  overflow: hidden;
  transform: rotateX(8deg);
  transform-origin: 50% 100%;
}
.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--dark-line);
  font-size: 0.9375rem;
}
.ledger-head .title {
  font-weight: 600;
}
.ledger-head .meta {
  color: var(--on-dark-2);
  font-size: 0.875rem;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.ledger-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.8fr;
  gap: 12px;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9375rem;
}
.ledger-row.cols {
  color: var(--on-dark-2);
  font-size: 0.8125rem;
}
.ledger-row .num {
  font-family: var(--mono);
  font-size: 0.875rem;
  text-align: end;
}
.ledger-row .delta {
  color: var(--on-dark-2);
}
.ledger-row.flag {
  background: rgba(129, 147, 255, 0.12);
}
.ledger-row.flag .delta {
  color: #c4ccff;
  font-weight: 600;
}
.insight {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 16px 24px 24px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(129, 147, 255, 0.14);
  border: 1px solid rgba(129, 147, 255, 0.35);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.insight b {
  color: #fff;
}
.insight .tag {
  flex: none;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-2);
  color: var(--night);
  font-size: 0.8125rem;
  font-weight: 600;
}
@media (max-width: 640px) {
  .ledger-row {
    grid-template-columns: 1.4fr 1fr 0.8fr;
    padding-inline: 16px;
  }
  .ledger-row > :nth-child(2) {
    display: none;
  }
  .ledger-head,
  .insight {
    margin-inline: 0;
    padding-inline: 16px;
  }
  .insight {
    margin: 12px 16px 20px;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(96px, 13vw, 168px) 0;
}
.section.mist {
  background: var(--mist);
}
.section.dark {
  background: var(--night);
  color: var(--on-dark);
}
.kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
}
.dark .kicker {
  color: var(--accent-2);
}
.h2 {
  margin: 0;
  max-width: 20ch;
  text-wrap: balance;
  font-size: clamp(2.25rem, 5.6vw, 4.25rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.h2.center {
  margin-inline: auto;
  text-align: center;
}
.sub {
  max-width: 44ch;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.6;
}
.dark .sub {
  color: var(--on-dark-2);
}
.sub.center {
  margin-inline: auto;
  text-align: center;
}

/* The story: a long read, set like an essay. */
.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .story {
    grid-template-columns: 5fr 6fr;
    gap: 80px;
    align-items: start;
  }
  .story .h2 {
    position: sticky;
    top: 120px;
  }
}
.prose p {
  margin: 0 0 1.4em;
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  line-height: 1.75;
  color: #2a3140;
}
.prose p:first-child::first-line {
  font-weight: 600;
  color: var(--ink);
}
.statement {
  margin: clamp(72px, 10vw, 128px) auto 0;
  max-width: 22ch;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.statement span {
  color: var(--ink-2);
}

/* Before and after. */
.shift {
  display: grid;
  gap: 20px;
  margin-top: clamp(48px, 7vw, 80px);
}
@media (min-width: 860px) {
  .shift {
    grid-template-columns: 1fr 1fr;
  }
}
.shift-card {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.shift-card.after {
  background: var(--ink);
  color: var(--on-dark);
  border-color: var(--ink);
}
.shift-card h3 {
  margin: 0 0 24px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink-2);
}
.shift-card.after h3 {
  color: var(--accent-2);
}
.shift-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.shift-card li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.5;
}
.shift-card.after li {
  border-top-color: var(--dark-line);
}
.shift-card.before li {
  color: var(--ink-2);
}

/* What's inside: a bento grid. */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(48px, 7vw, 80px);
}
@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }
  .tile.wide {
    grid-column: span 2;
  }
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: clamp(28px, 3.4vw, 40px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.tile.ink {
  background: var(--ink);
  color: var(--on-dark);
  border-color: var(--ink);
}
.tile.indigo {
  background: linear-gradient(160deg, #3f51c7, #2b3aa8);
  color: #fff;
  border-color: transparent;
}
.tile .label {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
}
.tile.ink .label {
  color: #c4ccff;
}
.tile.indigo .label {
  color: #fff;
}
.tile h3 {
  margin: 12px 0 0;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.tile p {
  margin: 20px 0 0;
  max-width: 36ch;
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.tile.ink p {
  color: var(--on-dark-2);
}
.tile.indigo p {
  color: #eef0ff;
}
.tile .badge {
  align-self: flex-start;
  margin-top: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 0.8125rem;
  font-weight: 600;
}
.week {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}
.week span {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}
.week span.live {
  background: var(--accent-2);
}

/* How we work. */
.principles {
  display: grid;
  gap: 40px;
  margin-top: clamp(48px, 7vw, 80px);
  padding: 0;
  list-style: none;
}
@media (min-width: 860px) {
  .principles {
    grid-template-columns: repeat(3, 1fr);
  }
}
.principles li {
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}
.principles .n {
  display: block;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--ink-2);
}
.principles h3 {
  margin: 0 0 12px;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.principles p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.0625rem;
}

/* Who's behind it. */
.people {
  display: grid;
  gap: 16px;
  margin-top: clamp(48px, 7vw, 72px);
}
@media (min-width: 860px) {
  .people {
    grid-template-columns: 1fr 1fr;
  }
}
.person {
  padding: clamp(28px, 3.4vw, 40px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.person h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.person .role {
  margin: 8px 0 20px;
  color: var(--accent);
  font-weight: 600;
}
.person p {
  margin: 0;
  color: var(--ink-2);
}

/* ---------- The founders' list ---------- */

.join {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.join::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 15% 50%, rgba(76, 95, 213, 0.35), transparent 70%);
}
.join-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 960px) {
  .join-grid {
    grid-template-columns: 5fr 6fr;
    gap: 72px;
    align-items: start;
  }
}
.perks {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.perks li {
  position: relative;
  padding-block: 14px;
  padding-inline-start: 32px;
  border-top: 1px solid var(--dark-line);
  color: var(--on-dark);
}
.perks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
}

.card {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.fields {
  display: grid;
  gap: 20px;
}
@media (min-width: 560px) {
  .fields {
    grid-template-columns: 1fr 1fr;
  }
  .field.full {
    grid-column: 1 / -1;
  }
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-dark);
}
.field .opt {
  color: var(--on-dark-2);
  font-weight: 400;
}
.field input,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(7, 11, 20, 0.55);
  color: #fff;
  font: inherit;
  font-size: 1.0625rem;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--on-dark-2) 50%),
    linear-gradient(135deg, var(--on-dark-2) 50%, transparent 50%);
  background-position:
    18px 24px,
    24px 24px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-inline-start: 16px;
  padding-inline-end: 16px;
}
.field select option {
  color: var(--ink);
  background: #fff;
}
.field input[dir='ltr'] {
  text-align: left;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(129, 147, 255, 0.35);
}
.field [aria-invalid='true'] {
  border-color: #ff9b8f;
}
.error {
  margin: 8px 0 0;
  color: #ffb4aa;
  font-size: 0.9375rem;
}
.error:empty {
  display: none;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  color: var(--on-dark);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--accent-2);
}
.notice {
  margin: 20px 0 0;
  color: var(--on-dark-2);
  font-size: 0.875rem;
  line-height: 1.65;
}
.notice a {
  color: var(--on-dark);
}
.submit {
  width: 100%;
  min-height: 56px;
  margin-top: 28px;
  font-size: 1.125rem;
}
.submit[disabled] {
  opacity: 0.7;
  cursor: progress;
}
.form-status {
  margin: 16px 0 0;
  color: #ffb4aa;
  font-size: 0.9375rem;
}
.form-status:empty {
  display: none;
}
.hp {
  position: absolute;
  inset-inline-start: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.join .h2 {
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
}

/* The ticket that replaces the form after a sign-up. */
.ticket {
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #ffffff, #e9ecff);
  color: var(--ink);
  text-align: center;
}
.ticket:focus {
  outline: 3px solid var(--accent-2);
  outline-offset: 4px;
}
.ticket .label {
  margin: 0;
  color: var(--accent);
  font-weight: 600;
}
.ticket h3 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.ticket .number {
  margin: 28px auto 0;
  padding: 18px 28px;
  max-width: 320px;
  border: 1px dashed rgba(11, 18, 32, 0.3);
  border-radius: 16px;
  font-size: 1.125rem;
}
.ticket .number b {
  display: block;
  color: var(--ink);
  margin-top: 4px;
  font-family: var(--mono);
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  letter-spacing: 0.04em;
}
.ticket p {
  margin: 24px 0 0;
  color: var(--ink-2);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin: clamp(40px, 6vw, 64px) auto 0;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mist);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0 0 28px;
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 1.0625rem;
}

/* ---------- Footer ---------- */

.footer {
  padding: 56px 0 64px;
  background: var(--night);
  color: var(--on-dark-2);
  font-size: 0.875rem;
}
.footer .wrap {
  display: grid;
  gap: 24px;
}
.footer img {
  height: 28px;
  width: auto;
}
.footer p {
  margin: 0;
  line-height: 1.7;
}
.footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer a {
  color: var(--on-dark);
}

/* ---------- Inner pages (privacy, accessibility, thanks) ---------- */

.page {
  padding: clamp(64px, 10vw, 120px) 0;
}
.page .wrap {
  max-width: 760px;
}
.page h1 {
  margin: 0 0 12px;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.page .updated {
  margin: 0 0 40px;
  color: var(--ink-2);
}
.page h2 {
  margin: 48px 0 12px;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page p,
.page li {
  color: #2a3140;
}
.page ul {
  padding-inline-start: 22px;
}
.page .back {
  display: inline-block;
  margin-top: 48px;
}
.page .ticket {
  margin-top: 32px;
}

/* ---------- Motion: quiet, and none for those who ask for none ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-mark,
  .hero .eyebrow,
  .hero h1,
  .hero .lead,
  .hero-actions,
  .hero-note,
  .glimpse {
    animation: rise 1s var(--ease) both;
  }
  .hero h1 {
    animation-delay: 0.08s;
  }
  .hero .lead {
    animation-delay: 0.2s;
  }
  .hero-actions,
  .hero-note {
    animation-delay: 0.32s;
  }
  .glimpse {
    animation-duration: 1.4s;
    animation-delay: 0.45s;
  }
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.9s var(--ease),
      transform 0.9s var(--ease);
  }
  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ledger {
    transform: none;
  }
}

@media print {
  .nav,
  .join,
  .hero::after {
    display: none;
  }
}

.ticket h1 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
