/* Skooling — marketing site
   Brand values come from stoodiV2/lib/core/theme/app_colors.dart and the app
   icon (ios/Runner/Assets.xcassets/AppIcon.appiconset). Keep them in sync. */

:root {
  --paper: #f6f7fb;
  --paper-2: #eceff8;
  --card: #ffffff;
  --ink: #07101c; /* app darkBgSurface */
  --ink-2: #464d72; /* app lightTextSecondary */
  --muted: #8892b0; /* app lightTextTertiary */
  --line: rgba(7, 16, 28, 0.09);
  --line-strong: rgba(7, 16, 28, 0.16);

  --blue: #2e6ef7; /* app primary / gradientStart */
  --blue-mid: #2e9bf5; /* gradientMid */
  --cyan: #4fc3f7; /* gradientEnd */
  --icon-violet: #4a44ff; /* left edge of the app icon */
  --icon-sky: #00c6ff; /* right edge of the app icon */
  --violet: #7c5cf6; /* app secondary */
  --orange: #ff8c42; /* orangeGradientStart */
  --gold: #ffd23f; /* orangeGradientEnd */
  --pink: #ec4899; /* pinPink */
  --warning: #f59e0b;
  --online: #4ade80;

  --app-dark: #020912; /* app darkBg */
  --app-dark-card: #16173a;
  --app-dark-nav: #0e0f26;
  --app-light: #f2f4ff; /* app lightBg */

  --grad-brand: linear-gradient(135deg, #2e6ef7 0%, #2e9bf5 50%, #4fc3f7 100%);
  --grad-icon: linear-gradient(100deg, #4a44ff 0%, #2e6ef7 24%, #0ea5ff 62%, #00c6ff 100%);
  --grad-orange: linear-gradient(135deg, #ff8c42, #ffd23f);

  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --radius-xl: clamp(24px, 3vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::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(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--blue);
  color: #fff;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

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

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ─── Type ─────────────────────────────────────────────────────────────── */

.display,
.h2 {
  font-family: var(--f-display);
  font-weight: 750;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96;
}

.display em,
.h2 em,
.manifesto em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.display {
  font-size: clamp(2.9rem, 5.9vw, 6.2rem);
  line-height: 0.92;
}
.display span,
.display em {
  display: block;
}
.display em {
  font-size: 1.1em;
  line-height: 0.9;
}
.display-md {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}

.h2 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 0.98;
}
.h2 em {
  font-size: 1.08em;
}
.h2-xl {
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
}

.lead {
  margin-top: 24px;
  max-width: 34em;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-2);
}

/* ─── Buttons & stores ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover {
  background: #17223a;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.stores-center {
  justify-content: center;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 176px;
  padding: 11px 22px 11px 18px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  box-shadow: 0 10px 30px -12px rgba(7, 16, 28, 0.55);
}
.store:hover {
  transform: translateY(-2px);
}
.store svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex: none;
}
.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.store small {
  font-size: 11px;
  opacity: 0.72;
  letter-spacing: 0.02em;
}
.store b {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.store-light {
  background: #fff;
  color: var(--ink);
}
.store[aria-disabled="true"] {
  cursor: default;
}
.store[aria-disabled="true"]:hover {
  transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.link-arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ─── Header ───────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(246, 247, 251, 0.94);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand-lg {
  font-size: 28px;
}
.brand-lg img {
  width: 40px;
  height: 40px;
}

.primary-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.primary-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.primary-nav a:hover {
  color: var(--ink);
  background: rgba(7, 16, 28, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(7, 16, 28, 0.06);
}
.lang button {
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
.lang button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(7, 16, 28, 0.12);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 16, 28, 0.06);
  cursor: pointer;
}
.menu-toggle i {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.menu-toggle i:nth-of-type(1) {
  top: 16px;
}
.menu-toggle i:nth-of-type(2) {
  top: 24px;
}
.menu-open .menu-toggle i:nth-of-type(1) {
  top: 20px;
  transform: rotate(45deg);
}
.menu-open .menu-toggle i:nth-of-type(2) {
  top: 20px;
  transform: rotate(-45deg);
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  padding-inline: clamp(8px, 1.4vw, 20px);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 24px;
  max-width: 1480px;
  min-height: min(820px, calc(100vh - 88px));
  margin-inline: auto;
  padding: clamp(56px, 7vw, 104px) clamp(24px, 5vw, 80px) 0;
  border-radius: var(--radius-xl);
  background: var(--grad-icon);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* the big glossy circle from the app icon */
.hero-sheen {
  position: absolute;
  z-index: -1;
  width: 110vmax;
  height: 110vmax;
  right: -38vmax;
  top: -62vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04) 72%, transparent 100%);
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-copy {
  align-self: center;
  padding-bottom: clamp(48px, 7vw, 104px);
}

.hero-lead {
  max-width: 30em;
  margin: 28px 0 36px;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 560px;
}

.phone-hero {
  font-size: clamp(8.4px, 0.95vw, 11px);
  margin-bottom: -9em;
  transform: rotate(2.5deg);
  box-shadow: 0 60px 120px -30px rgba(3, 12, 50, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.float {
  position: absolute;
  z-index: 3;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(3, 12, 50, 0.45);
}

.float-event {
  left: -6%;
  top: 44%;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 16px 10px 10px;
  transform: rotate(-4deg);
}
.fe-cover {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
}
.fe-when {
  font-size: 12px;
  font-weight: 700;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: saturate(1.3) brightness(0.92);
}
.fe-title {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.fe-friends {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}

.avatars {
  display: inline-flex;
}
.avatars img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -7px;
}
.avatars img:first-child {
  margin-left: 0;
}

.float-verify {
  right: -4%;
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 12px;
  transform: rotate(3deg);
}
.float-verify img {
  width: 34px;
  height: 34px;
}
.float-verify b {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}
.float-verify span {
  font-size: 12px;
  color: var(--muted);
}

/* ─── Phone mock (sized in em so a single font-size scales it) ─────────── */

.phone {
  position: relative;
  flex: none;
  width: 30em;
  height: 63em;
  padding: 0.9em;
  border-radius: 5em;
  background: linear-gradient(145deg, #1d2130, #07090f);
  box-shadow: 0 50px 90px -30px rgba(7, 16, 28, 0.55), inset 0 0 0 0.15em rgba(255, 255, 255, 0.08);
  font-family: var(--f-body);
  line-height: 1.3;
}

.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 4.1em;
  overflow: hidden;
}
.screen.dark {
  background: var(--app-dark);
  color: #fff;
}
.screen.light {
  background: var(--app-light);
  color: #0b0c1e;
}

.statusbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5em;
  padding: 0 2.8em;
  font-size: 1.35em;
  font-weight: 600;
  flex: none;
}
.statusbar span {
  font-size: 1em;
}
.sb-right {
  width: 4.6em;
  height: 1em;
  fill: currentColor;
}
.island {
  position: absolute;
  left: 50%;
  top: 1em;
  width: 8.2em;
  height: 2.4em;
  transform: translateX(-50%);
  border-radius: 2em;
  background: #000;
}
.screen .statusbar {
  font-size: 1.35em;
}
.screen .statusbar .island {
  font-size: 0.74em;
}

/* Discover */
.d-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.2em 1.8em 1em;
}
.d-title {
  font-size: 2.6em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.d-sub {
  font-size: 1.25em;
  color: #b0b8d8;
}
.d-sub b {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.d-tune {
  display: grid;
  place-items: center;
  width: 3.8em;
  height: 3.8em;
  border-radius: 50%;
  border: 0.1em solid rgba(255, 255, 255, 0.16);
}
.d-tune svg {
  width: 1.9em;
  height: 1.9em;
  fill: #fff;
}

.d-stack {
  position: relative;
  flex: 1;
  margin: 0 1.4em;
}
.d-card {
  position: absolute;
  inset: 0;
  border-radius: 2.6em;
  overflow: hidden;
  background: var(--app-dark-card) var(--img) center 18% / cover no-repeat;
  display: flex;
  align-items: flex-end;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
  will-change: transform;
}
.d-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 9, 18, 0.96) 0%, rgba(2, 9, 18, 0.7) 38%, rgba(2, 9, 18, 0.1) 62%, transparent 72%);
}
.d-card-body {
  position: relative;
  z-index: 1;
  padding: 1.8em;
}
.d-name {
  display: flex;
  align-items: center;
  gap: 0.25em;
  font-size: 2.4em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.d-name img {
  width: 1.2em;
  height: 1.2em;
}
.d-row {
  display: flex;
  align-items: center;
  gap: 0.55em;
  margin-top: 0.3em;
  font-size: 1.28em;
  color: rgba(255, 255, 255, 0.92);
}
.d-row img {
  width: 1.1em;
  height: 1.1em;
}
.d-lang {
  font-size: 0.72em;
  font-weight: 700;
  width: 1.55em;
  text-align: center;
}
.d-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: 0.9em;
}
.d-chips span {
  padding: 0.45em 0.9em;
  border-radius: 99em;
  background: rgba(255, 255, 255, 0.16);
  border: 0.08em solid rgba(255, 255, 255, 0.18);
  font-size: 1.12em;
  font-weight: 500;
}
.d-chips i {
  font-style: normal;
}

/* stacked cards: data-pos set by JS, CSS fallback shows first on top */
.d-card:nth-child(1) {
  z-index: 3;
}
.d-card:nth-child(2) {
  z-index: 2;
  transform: scale(0.95) translateY(1.4em);
  opacity: 0.6;
}
.d-card:nth-child(3) {
  z-index: 1;
  transform: scale(0.9) translateY(2.8em);
  opacity: 0;
}
.d-card[data-pos="0"] {
  z-index: 3;
  transform: none;
  opacity: 1;
}
.d-card[data-pos="1"] {
  z-index: 2;
  transform: scale(0.95) translateY(1.4em);
  opacity: 0.6;
}
.d-card[data-pos="2"] {
  z-index: 1;
  transform: scale(0.9) translateY(2.8em);
  opacity: 0;
}
.d-card[data-pos="out"] {
  z-index: 4;
  transform: translateX(120%) rotate(18deg);
  opacity: 0;
}

.d-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.4em;
  padding: 1.6em 0 1.2em;
}
.d-btn {
  display: grid;
  place-items: center;
  width: 5.4em;
  height: 5.4em;
  border-radius: 50%;
  border: 0.14em solid rgba(255, 255, 255, 0.16);
}
.d-btn svg,
.d-btn img {
  width: 2.6em;
  height: 2.6em;
}
.c-warn {
  fill: var(--warning);
}
.tint-orange {
  filter: brightness(0) saturate(100%) invert(64%) sepia(56%) saturate(1200%) hue-rotate(335deg) brightness(102%);
}
.d-btn-main {
  width: 7em;
  height: 7em;
  border: 0;
  background: var(--grad-brand);
  box-shadow: 0 1em 2.4em -0.6em rgba(46, 110, 247, 0.8);
}
.d-btn-main svg {
  width: 3.8em;
  height: 3.8em;
  fill: #fff;
}

.tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 7.4em;
  padding: 0 1.2em 1.8em;
  background: var(--app-dark-nav);
  flex: none;
}
.tabbar span {
  display: grid;
  place-items: center;
  width: 4.6em;
  height: 4.6em;
}
.tabbar img {
  width: 2.5em;
  height: 2.5em;
  opacity: 0.7;
}
.tabbar .on img {
  width: 3.6em;
  height: 3.6em;
  opacity: 1;
  filter: drop-shadow(0 0 1em rgba(124, 92, 246, 0.6));
}

/* Match */
.match .statusbar {
  align-self: stretch;
}
.match {
  align-items: center;
  text-align: center;
  background: radial-gradient(120% 60% at 50% 0%, #1e2a6b 0%, var(--app-dark) 62%);
}
.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.confetti i {
  position: absolute;
  width: 0.7em;
  height: 1.3em;
  border-radius: 0.2em;
  background: var(--cyan);
  opacity: 0.85;
}
.confetti i:nth-child(1) { left: 12%; top: 11%; transform: rotate(20deg); background: var(--gold); }
.confetti i:nth-child(2) { left: 26%; top: 7%; transform: rotate(-30deg); }
.confetti i:nth-child(3) { left: 71%; top: 9%; transform: rotate(45deg); background: var(--pink); }
.confetti i:nth-child(4) { left: 86%; top: 15%; transform: rotate(-12deg); background: var(--violet); }
.confetti i:nth-child(5) { left: 8%; top: 27%; transform: rotate(60deg); background: var(--pink); }
.confetti i:nth-child(6) { left: 90%; top: 30%; transform: rotate(30deg); background: var(--gold); }
.confetti i:nth-child(7) { left: 18%; top: 36%; transform: rotate(-50deg); background: var(--blue); }
.confetti i:nth-child(8) { left: 80%; top: 42%; transform: rotate(10deg); }
.confetti i:nth-child(9) { left: 55%; top: 5%; transform: rotate(-70deg); background: var(--gold); }
.confetti i:nth-child(10) { left: 40%; top: 13%; transform: rotate(80deg); background: var(--orange); }

.m-avatars {
  position: relative;
  display: flex;
  margin: 1.4em 0 1.6em;
}
.m-avatars > img {
  width: 9.4em;
  height: 9.4em;
  border-radius: 50%;
  object-fit: cover;
  border: 0.35em solid var(--app-dark);
  box-shadow: 0 0 0 0.25em rgba(79, 195, 247, 0.6);
}
.m-avatars > img + img {
  margin-left: -2em;
}
.m-spark {
  position: absolute;
  left: 50%;
  bottom: -0.8em;
  display: grid;
  place-items: center;
  width: 4em;
  height: 4em;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff;
}
.m-spark img {
  width: 2.4em;
  height: 2.4em;
}
.m-kicker {
  font-size: 1.8em;
  font-weight: 600;
  color: #b0b8d8;
}
.m-title {
  font-size: 4em;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.m-sub {
  margin-top: 0.6em;
  font-size: 1.35em;
  color: #b0b8d8;
}
.m-common {
  width: calc(100% - 3.2em);
  margin: 2em 1.6em 0;
  padding: 1.4em;
  border-radius: 2em;
  background: var(--app-dark-card);
  border: 0.08em solid rgba(255, 255, 255, 0.08);
  text-align: left;
}
.m-common-head {
  margin-bottom: 1em;
  font-size: 1.35em;
  font-weight: 600;
}
.m-common-head b {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.m-item {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.7em 0;
  border-top: 0.08em solid rgba(255, 255, 255, 0.06);
}
.m-ic {
  display: grid;
  place-items: center;
  width: 3.6em;
  height: 3.6em;
  border-radius: 1em;
  background: rgba(46, 110, 247, 0.22);
  font-size: 1em;
  flex: none;
}
.m-ic img {
  width: 1.8em;
  height: 1.8em;
}
.m-ic-orange {
  background: rgba(255, 140, 66, 0.2);
  font-size: 1.7em;
  width: 2.1em;
  height: 2.1em;
  border-radius: 0.6em;
}
.m-ic-pink {
  background: rgba(236, 72, 153, 0.22);
}
.m-item small {
  display: block;
  font-size: 1.1em;
  color: #666e96;
}
.m-item b {
  display: block;
  font-size: 1.3em;
  font-weight: 600;
}
.m-cta {
  width: calc(100% - 3.2em);
  margin: auto 1.6em 0;
  padding: 1.1em;
  border-radius: 99em;
  background: var(--grad-brand);
  font-size: 1.45em;
  font-weight: 700;
  width: calc(100% - 2.2em);
}
.m-ghost {
  margin: 1em 0 3.2em;
  font-size: 1.3em;
  color: #b0b8d8;
}

/* Events (light) */
.e-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4em 1.8em 1em;
}
.e-title {
  font-size: 2.6em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.e-plus {
  display: grid;
  place-items: center;
  width: 3.8em;
  height: 3.8em;
  border-radius: 50%;
  background: var(--grad-orange);
  box-shadow: 0 0.8em 1.6em -0.6em rgba(255, 140, 66, 0.8);
}
.e-plus svg {
  width: 2.2em;
  height: 2.2em;
  fill: #fff;
}
.e-chips {
  display: flex;
  gap: 0.6em;
  padding: 0 1.8em;
  white-space: nowrap;
}
.e-chips span,
.ui-chips span {
  padding: 0.55em 1.1em;
  border-radius: 99em;
  background: #fff;
  border: 0.08em solid rgba(46, 110, 247, 0.12);
  font-size: 1.2em;
  font-weight: 600;
  color: #464d72;
}
.e-chips .on,
.ui-chips .on {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
}
.e-label {
  padding: 1.5em 1.8em 0.8em;
  font-size: 1.55em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.screen .e-label {
  font-size: 1.5em;
  padding: 1em 1.2em 0.55em;
}
.e-hero {
  position: relative;
  height: 20em;
  margin: 0 1.8em;
  border-radius: 2.2em;
  overflow: hidden;
  background: #ccc var(--img) center / cover;
  color: #fff;
  display: flex;
  align-items: flex-end;
  flex: none;
}
.e-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 9, 18, 0.85), transparent 60%);
}
.e-badge {
  position: absolute;
  top: 1.2em;
  left: 1.2em;
  z-index: 1;
  padding: 0.5em 0.9em;
  border-radius: 99em;
  background: rgba(255, 255, 255, 0.95);
  color: #0b0c1e;
  font-size: 1.15em;
  font-weight: 700;
}
.e-hero-body {
  position: relative;
  z-index: 1;
  padding: 1.4em;
  width: 100%;
}
.e-hero-body > b {
  display: block;
  font-size: 2em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.e-hero-body > span {
  display: flex;
  align-items: center;
  gap: 0.3em;
  font-size: 1.2em;
  opacity: 0.9;
}
.e-hero-body > span svg {
  width: 1.1em;
  height: 1.1em;
  fill: #fff;
}
.e-going {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-top: 0.7em;
  font-size: 1.15em;
  font-weight: 600;
}
.e-going .avatars img {
  width: 2em;
  height: 2em;
  border-width: 0.15em;
  margin-left: -0.6em;
}
.e-going .avatars img:first-child {
  margin-left: 0;
}
.e-map {
  position: relative;
  height: 11em;
  margin: 0 1.8em;
  border-radius: 2em;
  overflow: hidden;
  background: #e6ebf7;
  flex: none;
}
.e-map .road {
  position: absolute;
  background: #fff;
  height: 0.7em;
  border-radius: 1em;
}
.e-map .r1 { left: -10%; right: -10%; top: 38%; transform: rotate(-8deg); }
.e-map .r2 { left: 30%; width: 0.7em; height: 140%; top: -20%; transform: rotate(14deg); }
.e-map .r3 { left: 55%; right: -10%; top: 75%; transform: rotate(6deg); }
.e-map .river {
  position: absolute;
  left: 72%;
  top: -20%;
  width: 2.2em;
  height: 150%;
  background: #cfe3fb;
  transform: rotate(18deg);
}
.pin {
  position: absolute;
  width: 2em;
  height: 2em;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 0.3em solid #fff;
  box-shadow: 0 0.4em 0.8em rgba(0, 0, 0, 0.18);
}
.pin-blue { left: 20%; top: 18%; background: var(--blue); }
.pin-pink { left: 62%; top: 42%; background: var(--pink); }
.pin-orange { left: 40%; top: 60%; background: var(--orange); }
.me {
  position: absolute;
  left: 46%;
  top: 30%;
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0.35em #fff, 0 0 0 1.4em rgba(46, 110, 247, 0.18);
}
.e-row {
  display: flex;
  align-items: center;
  gap: 1em;
  margin: 1em 1.8em 0;
  padding: 0.9em;
  border-radius: 1.8em;
  background: #fff;
}
.e-thumb {
  width: 4.6em;
  height: 4.6em;
  border-radius: 1.2em;
  background-size: cover;
  flex: none;
}
.e-row b {
  display: block;
  font-size: 1.35em;
}
.e-row small {
  display: block;
  font-size: 1.12em;
  color: #8892b0;
}

/* Chat (light) */
.c-head {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.4em 1.6em 1.2em;
  border-bottom: 0.08em solid rgba(46, 110, 247, 0.1);
}
.c-head b {
  display: block;
  font-size: 1.6em;
}
.c-head small {
  display: block;
  font-size: 1.1em;
  color: #16a34a;
}
.c-back,
.c-more {
  width: 2.4em;
  height: 2.4em;
  fill: #0b0c1e;
}
.c-more {
  margin-left: auto;
}
.c-av {
  position: relative;
}
.c-av img {
  width: 4.2em;
  height: 4.2em;
  border-radius: 50%;
  object-fit: cover;
}
.c-av i {
  position: absolute;
  right: 0.1em;
  bottom: 0.1em;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: var(--online);
  border: 0.2em solid var(--app-light);
}
.c-banner {
  display: flex;
  align-items: center;
  gap: 1em;
  margin: 1.2em 1.6em 0;
  padding: 1em 1.2em;
  border-radius: 1.6em;
  background: #fff;
  border: 0.08em solid rgba(255, 140, 66, 0.35);
}
.c-banner > span {
  font-size: 2em;
}
.c-banner small {
  display: block;
  font-size: 1.1em;
  color: #8892b0;
}
.c-banner b {
  display: block;
  font-size: 1.35em;
}
.c-day {
  margin: 1.6em 0 0.6em;
  text-align: center;
  font-size: 1.1em;
  color: #8892b0;
}
.c-msgs {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  padding: 0 1.6em;
}
.c-msgs p {
  max-width: 78%;
  padding: 0.75em 1.1em;
  border-radius: 1.4em;
  font-size: 1.35em;
  line-height: 1.35;
}
.c-msgs .in {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 0.4em;
}
.c-msgs .out {
  align-self: flex-end;
  background: var(--grad-brand);
  color: #fff;
  border-bottom-right-radius: 0.4em;
}
.c-compose {
  display: flex;
  align-items: center;
  margin: auto 1.4em 3em;
  padding: 0.5em 0.5em 0.5em 1.6em;
  border-radius: 99em;
  background: #fff;
  border: 0.08em solid rgba(46, 110, 247, 0.12);
}
.c-compose span {
  flex: 1;
  font-size: 1.35em;
  color: #8892b0;
}
.c-compose i {
  display: grid;
  place-items: center;
  width: 3.8em;
  height: 3.8em;
  border-radius: 50%;
  background: var(--grad-brand);
}
.c-compose svg {
  width: 1.8em;
  height: 1.8em;
  fill: #fff;
}

/* ─── Ticker ───────────────────────────────────────────────────────────── */

.ticker {
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
}
.ticker ul {
  display: flex;
  flex: none;
  gap: clamp(28px, 4vw, 56px);
  padding-right: clamp(28px, 4vw, 56px);
}
.ticker li {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}
.ticker li:nth-child(even) span {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  color: var(--ink-2);
}
.js .ticker-track.is-running {
  animation: marquee 48s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ─── Manifesto ────────────────────────────────────────────────────────── */

.manifesto {
  padding-block: clamp(80px, 12vw, 170px);
}
.manifesto p {
  max-width: 21em;
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 4.4vw, 3.9rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.manifesto em {
  color: var(--blue);
  font-size: 1.08em;
}

/* ─── Steps ────────────────────────────────────────────────────────────── */

.section-head {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.steps {
  padding-bottom: clamp(90px, 12vw, 160px);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
}
.step-n {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--blue);
}
.step h3 {
  margin-top: 28px;
  font-family: var(--f-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.step p {
  margin-top: 12px;
  color: var(--ink-2);
}
.step-ui {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 118px;
  margin-top: auto;
  padding-top: 28px;
  font-size: 10px;
}
.ui-search {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 1.1em 1.4em;
  border-radius: 1.4em;
  background: var(--app-light);
  font-size: 1.45em;
  font-weight: 600;
}
.ui-search svg {
  width: 1.4em;
  height: 1.4em;
  fill: var(--muted);
}
.ui-code {
  display: flex;
  gap: 0.6em;
}
.ui-code span {
  display: grid;
  place-items: center;
  flex: 1;
  height: 4.6em;
  border-radius: 1.2em;
  background: var(--app-light);
  font-size: 1.5em;
  font-size: 1.7em;
  font-weight: 700;
}
.ui-code .caret {
  box-shadow: inset 0 0 0 0.12em var(--blue);
  position: relative;
}
.ui-code .caret::after {
  content: "";
  width: 0.1em;
  height: 1.2em;
  background: var(--blue);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.ui-prompt {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  padding: 1.4em 1.6em;
  border-radius: 1.8em;
  background: var(--app-light);
}
.ui-prompt-q {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--ink-2);
}
.ui-prompt-q i {
  font-style: normal;
}
.ui-prompt-a {
  font-family: var(--f-display);
  font-size: 2.2em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ui-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  font-size: 1.2em;
}
.ui-chips span {
  font-size: 1.3em;
  padding: 0.7em 1.3em;
  background: var(--app-light);
}

/* ─── Chapters ─────────────────────────────────────────────────────────── */

.chapter {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 100px);
}
.chapter-flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.chapter-flip .chapter-copy {
  order: 2;
}

.facts {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.facts li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.facts li b {
  color: var(--ink);
  font-weight: 600;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 720px;
  padding: 56px 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
}
.stage .phone {
  font-size: clamp(8px, 0.86vw, 10.5px);
}
.stage-ink {
  justify-content: flex-start;
  padding-left: 11%;
  background: radial-gradient(80% 60% at 30% 20%, #16307a 0%, var(--ink) 70%);
}
.stage-warm {
  justify-content: flex-end;
  padding-right: 12%;
  background: linear-gradient(160deg, #ffe6cf 0%, #fff3c4 100%);
}
.stage-violet {
  background: linear-gradient(160deg, #e7e3ff 0%, #f1ecff 100%);
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  padding: clamp(28px, 5vw, 64px);
}
.stage-sky {
  background: linear-gradient(160deg, #d8efff 0%, #eaf6ff 100%);
}

/* Discovery preferences sheet */
.sheet {
  position: absolute;
  z-index: 2;
  width: 290px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(22, 23, 58, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.sheet-prefs {
  right: 4%;
  bottom: 14%;
}
.sheet-title {
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 16px;
}
.pref {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pref-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #b0b8d8;
}
.pref-top b {
  color: #fff;
}
.range {
  position: relative;
  height: 4px;
  margin: 14px 6px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}
.range i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  background: var(--grad-brand);
}
.range b {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.pref-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.pref-toggle small {
  display: block;
  color: #8a91b4;
  font-size: 12px;
  line-height: 1.35;
}
.toggle {
  flex: none;
  position: relative;
  width: 40px;
  height: 24px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}
.toggle.on {
  background: var(--blue);
}
.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}
.toggle.on::after {
  left: 19px;
}

/* RSVP composition */
.float-rsvp {
  left: 7%;
  bottom: 14%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.rsvp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 99px;
  background: var(--grad-orange);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 20px 40px -14px rgba(255, 140, 66, 0.85);
  text-shadow: 0 1px 2px rgba(150, 60, 0, 0.25);
}
.rsvp-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.rsvp-toast {
  padding: 12px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px -20px rgba(120, 60, 0, 0.35);
}
.rsvp-toast b {
  display: block;
  font-size: 15px;
}
.rsvp-toast span {
  font-size: 13px;
  color: var(--ink-2);
}
.rsvp-cal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.rsvp-cal svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* Privacy float */
.stage-sky {
  justify-content: flex-start;
  padding-left: 12%;
}
.float-privacy {
  right: 6%;
  bottom: 16%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 250px;
  padding: 18px 18px 12px;
  transform: rotate(2deg);
}
.float-privacy b {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.3;
}
.radio {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.radio::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--line-strong);
}
.radio.on {
  color: var(--ink);
  font-weight: 600;
}
.radio.on::after {
  box-shadow: inset 0 0 0 5px var(--blue);
}

/* Network feed + group */
.feed,
.group-card {
  width: 100%;
  max-width: 460px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(60, 40, 160, 0.35);
}
.feed {
  align-self: flex-start;
  padding: 10px 20px;
}
.feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 16px;
}
.feed-head span {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.feed-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-2);
}
.feed-item b {
  color: var(--ink);
  font-weight: 600;
}
.feed-item time {
  font-size: 12px;
  color: var(--muted);
  align-self: start;
}
.av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.feed-request {
  grid-template-columns: 44px 1fr;
}
.req-actions {
  grid-column: 2;
  display: flex;
  gap: 8px;
}
.req-actions span {
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
}
.req-yes {
  background: var(--grad-brand);
  color: #fff;
}
.req-no {
  background: var(--paper-2);
  color: var(--ink-2);
}

.group-card {
  align-self: flex-end;
  overflow: hidden;
  display: grid;
  grid-template-columns: 42% 1fr;
}
.group-cover {
  position: relative;
  min-height: 180px;
  background-size: cover;
  background-position: center;
}
.group-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  color: var(--violet);
}
.group-body {
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.group-body > b {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.group-body small {
  color: var(--muted);
  font-size: 13px;
}
.group-body p {
  margin: 10px 0 14px;
  font-size: 14px;
  color: var(--ink-2);
}
.group-body p b {
  color: var(--ink);
  font-weight: 600;
}
.group-join {
  margin-top: auto;
  align-self: flex-start;
  padding: 9px 16px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* ─── Safety ───────────────────────────────────────────────────────────── */

.safety {
  margin-top: clamp(60px, 8vw, 110px);
  padding-block: clamp(90px, 12vw, 160px);
  background: var(--ink);
  color: #fff;
}
.safety .lead {
  color: rgba(255, 255, 255, 0.7);
}
.safety .h2 em {
  color: var(--cyan);
}
.safety-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.verify-card {
  position: relative;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 360px);
  aspect-ratio: 1.58;
  padding: 26px;
  border-radius: 26px;
  background: var(--grad-icon);
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(46, 110, 247, 0.7);
  transform: rotate(-4deg);
}
.vc-glyph {
  position: absolute;
  right: -6%;
  top: -12%;
  width: 46%;
  opacity: 0.22;
}
.vc-badge {
  width: 40px;
  height: 40px;
  padding: 3px;
  border-radius: 50%;
  background: #fff;
  margin-bottom: auto;
}
.verify-card b {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.vc-school {
  font-size: 14px;
  opacity: 0.92;
}
.vc-mail {
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(7, 16, 28, 0.25);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(64px, 8vw, 100px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.safety-grid li {
  padding: 34px 32px 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.safety-grid li:not(:nth-child(3n + 1)) {
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.safety-grid svg {
  width: 26px;
  height: 26px;
  fill: var(--cyan);
}
.safety-grid h3 {
  margin-top: 20px;
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.safety-grid p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

/* ─── Premium ──────────────────────────────────────────────────────────── */

.premium {
  padding-block: clamp(90px, 12vw, 160px);
}
.premium-head {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.premium-head .h2 em {
  display: block;
  color: var(--blue);
}
.premium-head .lead {
  margin: 0;
}

.premium-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.compare-wrap {
  overflow-x: auto;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare th,
.compare td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.compare tbody tr:last-child > * {
  border-bottom: 0;
}
.compare thead th {
  padding-block: 22px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare thead .col-premium span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--grad-brand);
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 14px;
}
.compare tbody th {
  width: 100%;
  text-align: left;
  font-weight: 500;
  color: var(--ink);
}
.compare tbody th b {
  display: block;
  font-weight: 600;
}
.compare tbody th small {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--muted);
}
.compare .col-premium {
  background: rgba(46, 110, 247, 0.05);
}
.compare-split > * {
  border-top: 1px solid var(--line-strong);
}

.compare i {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  vertical-align: middle;
}
.compare i.yes {
  background: var(--paper-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23464d72' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E")
    center / 15px no-repeat;
}
.compare .col-premium i.yes {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E")
      center / 15px no-repeat,
    var(--grad-brand);
}
.compare i.no {
  position: relative;
}
.compare i.no::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
}

.plan-card {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 28px;
  background: var(--grad-icon);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 50px 90px -40px rgba(46, 110, 247, 0.75);
}
.plan-card .hero-sheen {
  width: 700px;
  height: 700px;
  top: -420px;
  right: -300px;
}
.plan-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: -0.02em;
}
.plan-top img {
  width: 22px;
  height: auto;
}

.plan-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 28px 0 30px;
  padding: 4px;
  border-radius: 16px;
  background: rgba(7, 16, 28, 0.2);
}
.plan-switch button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 6px;
  padding: 10px 6px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.plan-switch button[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px -8px rgba(7, 16, 28, 0.5);
}
.plan-switch em {
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--gold);
  color: var(--ink);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.plan-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 700;
}
.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
}
.plan-price b,
.plan-switch em,
.plan-switch span {
  white-space: nowrap;
}
.plan-price b {
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 6vw, 4.6rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.plan-price span {
  font-size: 17px;
  opacity: 0.8;
}
.plan-bill {
  margin-top: 10px;
  font-size: 15px;
  opacity: 0.85;
}
.plan-cta {
  display: block;
  margin-top: 30px;
  padding: 16px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.plan-cta:hover {
  transform: translateY(-2px);
}
.plan-note {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
  opacity: 0.78;
}

/* ─── FAQ ──────────────────────────────────────────────────────────────── */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(90px, 12vw, 160px);
}
.faq-head {
  align-self: start;
  position: sticky;
  top: 110px;
}
.faq-contact {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink-2);
}
.faq-list {
  border-top: 1px solid var(--line-strong);
}
.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}
.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}
.faq-list summary::after {
  transform: rotate(90deg);
}
.faq-list details[open] summary::after {
  transform: rotate(0deg);
}
.faq-list details p {
  max-width: 40em;
  padding: 0 48px 26px 0;
  color: var(--ink-2);
}

/* ─── Final CTA ────────────────────────────────────────────────────────── */

.final {
  padding-inline: clamp(8px, 1.4vw, 20px);
}
.final-panel {
  position: relative;
  max-width: 1480px;
  margin-inline: auto;
  padding: clamp(70px, 10vw, 140px) var(--gutter);
  border-radius: var(--radius-xl);
  background: var(--grad-icon);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.final-panel .hero-sheen {
  top: -70vmax;
  right: -30vmax;
}
.final-icon {
  width: clamp(88px, 10vw, 120px);
  height: auto;
  margin: 0 auto 36px;
  border-radius: 24%;
  box-shadow: 0 30px 60px -20px rgba(3, 12, 50, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.final-lead {
  max-width: 30em;
  margin: 24px auto 40px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
}

/* ─── Footer ───────────────────────────────────────────────────────────── */

.site-footer {
  padding-top: clamp(64px, 8vw, 100px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-brand p {
  margin-top: 14px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-2);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col b {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-col a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--blue);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-block: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* The maker's mark: a plain signature line under everything else, set in
   Orcsys's own brand — Inter bold wordmark in their primary green
   (hsl(142 76% 25%), 5.8:1 on --paper). Their brighter button green only
   reaches 3.1:1 at this size, so it is used for the hover underline, never
   for the text itself. */
.footer-credit {
  --orcsys-primary: #0f7033;
  --orcsys-green: #16a34a;
  display: flex;
  justify-content: center;
  padding-block: 4px 40px;
}
.credit {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  text-align: center;
}
.credit-mark {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--orcsys-primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}
.credit-arrow {
  width: 14px;
  height: 14px;
  color: var(--orcsys-primary);
  transition: transform 0.2s;
}
.credit:hover .credit-mark {
  text-decoration-color: var(--orcsys-green);
}
.credit:hover .credit-arrow {
  transform: translate(2px, -2px);
}
.credit:focus-visible {
  outline: 2px solid var(--orcsys-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ─── Legal pages ──────────────────────────────────────────────────────── */

.legal {
  padding-block: clamp(40px, 6vw, 80px) clamp(80px, 10vw, 140px);
}
.legal-inner {
  max-width: 760px;
  margin-inline: auto;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 36px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}
.back-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.back-link:hover {
  color: var(--blue);
}
.legal h1 {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1;
}
.legal-updated {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.legal-intro {
  margin-top: 28px;
  font-size: 1.15rem;
  color: var(--ink-2);
}
.legal-draft {
  margin-top: 28px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff7e6;
  border: 1px solid #fde2a8;
  font-size: 14px;
  color: #7a4b00;
}
.legal article {
  margin-top: 48px;
  border-top: 1px solid var(--line-strong);
}
.legal article section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.legal article h2 {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.legal article p {
  color: var(--ink-2);
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 44px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  background: var(--grad-icon);
  color: #fff;
}
.contact-card small {
  font-size: 14px;
  opacity: 0.85;
}
.contact-card a {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-card a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.contact-card span {
  margin-top: 6px;
  opacity: 0.85;
}

/* ─── Reveal ───────────────────────────────────────────────────────────── */

.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;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js .ticker-track.is-running,
  .ui-code .caret::after {
    animation: none;
  }
  .d-card {
    transition: none;
  }
  .credit-mark,
  .credit-arrow {
    transition: none;
  }
  .credit:hover .credit-arrow {
    transform: none;
  }
}

/* ─── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .primary-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    box-shadow: 0 20px 30px -20px rgba(7, 16, 28, 0.25);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
  }
  .primary-nav a {
    padding: 14px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
  }
  .primary-nav a:hover {
    background: none;
  }
  .menu-open .primary-nav {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
  .menu-open .site-header {
    background: var(--paper);
  }
  .menu-toggle {
    display: block;
  }
  .header-actions {
    margin-left: auto;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero .display {
    font-size: clamp(2.8rem, 10vw, 5.6rem);
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .hero-visual {
    min-height: 0;
    padding-top: 24px;
  }
  .phone-hero {
    font-size: 10px;
    margin-bottom: -16em;
  }
  .float-event {
    left: 4%;
  }
  .float-verify {
    right: 4%;
  }

  .chapter,
  .premium-head,
  .premium-grid,
  .faq,
  .safety-top {
    grid-template-columns: 1fr;
  }
  .chapter-flip .chapter-copy {
    order: 0;
  }
  .stage .phone {
    font-size: 9.5px;
  }
  .verify-card {
    justify-self: start;
  }
  .faq-head {
    position: static;
  }
  .plan-card {
    position: relative;
    top: auto;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .step-ui {
    min-height: 0;
  }
  .safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .safety-grid li,
  .safety-grid li:not(:nth-child(3n + 1)) {
    padding: 30px 24px 30px 0;
    border-left: 0;
  }
  .safety-grid li:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .header-actions .btn {
    display: none;
  }
  .hero-panel {
    padding-top: 44px;
  }
  .phone-hero {
    font-size: 8.6px;
    margin-bottom: -20em;
    transform: rotate(1.5deg);
  }
  .hero .float {
    display: none;
  }
  .store {
    flex: 1 1 130px;
    min-width: 0;
    gap: 10px;
    padding: 10px 12px;
  }
  .store svg {
    width: 22px;
    height: 22px;
  }
  .store b {
    font-size: 16px;
  }

  .stage {
    min-height: 0;
    padding: 40px 12px;
  }
  .stage .phone {
    font-size: 8.4px;
  }
  .stage-ink {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-left: 12px;
  }
  .sheet {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 320px;
  }
  .stage-warm {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-right: 12px;
  }
  .stage-sky {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-left: 12px;
  }
  .float-privacy {
    position: relative;
    right: auto;
    bottom: auto;
    transform: none;
  }
  .float-rsvp {
    position: relative;
    left: auto;
    bottom: auto;
    align-items: center;
  }
  .group-card {
    grid-template-columns: 1fr;
  }
  .compare th,
  .compare td {
    padding: 13px 10px;
  }
  .compare tbody th {
    padding-left: 16px;
  }
  .compare thead th {
    font-size: 11px;
  }
  .compare thead .col-premium span {
    padding: 5px 9px;
    font-size: 12px;
  }
  .group-cover {
    min-height: 140px;
  }

  .safety-grid {
    grid-template-columns: 1fr;
  }
  .safety-grid li,
  .safety-grid li:not(:nth-child(3n + 1)),
  .safety-grid li:nth-child(even) {
    padding: 26px 0;
    border-left: 0;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legal article section {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
