:root {
  --bg-main: #f6f2e8;
  --bg-glow: #ffe0bf;
  --surface: #fffdf9;
  --ink: #1e2738;
  --muted: #5e6473;
  --line: #dfd4bd;
  --blue: #1e88e5;
  --blue-strong: #1668bb;
  --gold: #f2b51f;
  --gold-strong: #cf9311;
  --mint: #0f766e;
  --danger: #c23b3b;
  --shadow: 0 20px 44px rgba(15, 25, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1400px 700px at 96% -8%, var(--bg-glow), transparent 55%),
    linear-gradient(180deg, #fffdf7 0%, var(--bg-main) 100%);
  position: relative;
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Georgia", serif;
  margin-top: 0;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image: radial-gradient(rgba(20, 33, 61, 0.06) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
}

.section-pad {
  width: min(1120px, calc(100vw - 3rem));
  margin: 0 auto;
}

.site-header {
  width: min(1120px, calc(100vw - 3rem));
  margin: 1rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(223, 212, 189, 0.92);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 24px rgba(15, 25, 42, 0.06);
  position: sticky;
  top: 0.6rem;
  z-index: 20;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-text {
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--blue);
  position: relative;
}

.brand-mark .post {
  position: absolute;
  top: 22%;
  width: 5px;
  height: 56%;
  background: var(--gold);
  border-radius: 2px;
}

.brand-mark .post.left {
  left: 20%;
}

.brand-mark .post.right {
  right: 20%;
}

.brand-mark .flag {
  position: absolute;
  top: 35%;
  left: 20%;
  right: 20%;
  height: 32%;
  background: var(--gold);
  border-radius: 3px;
  transform: rotate(-11deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem;
  border-radius: 10px;
  border: 1px solid rgba(18, 20, 26, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.theme-chip {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.32rem 0.58rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

.theme-chip.is-active {
  color: var(--ink);
  background: rgba(0, 93, 255, 0.12);
  border-color: rgba(0, 93, 255, 0.32);
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

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

.pill-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(30, 136, 229, 0.35);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  transition: all 120ms ease;
  min-width: 158px;
  text-align: center;
  white-space: nowrap;
}

.pill-link:hover {
  background: rgba(30, 136, 229, 0.1);
  transform: translateY(-1px);
}

.hero {
  padding-top: 5.4rem;
  padding-bottom: 3.6rem;
  animation: rise 600ms ease;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.hero-poster {
  border: 1.5px solid rgba(18, 20, 26, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(0, 93, 255, 0.08) 0%, rgba(14, 180, 255, 0.15) 45%, rgba(255, 255, 255, 0.9) 100%);
  box-shadow: 8px 8px 0 rgba(0, 61, 168, 0.15);
  padding: 1rem;
}

.poster-label {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: var(--blue-strong);
  font-weight: 700;
}

.hero-poster h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 0.96;
}

.hero-poster p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.poster-strip {
  display: inline-flex;
  padding: 0.36rem 0.62rem;
  border-radius: 8px;
  border: 1px dashed rgba(18, 20, 26, 0.24);
  background: rgba(255, 255, 255, 0.76);
}

.poster-strip span {
  font-size: 0.75rem;
  font-weight: 700;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 1.03;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.hero-copy {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.04rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
  margin-bottom: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 130ms ease, box-shadow 130ms ease, background-color 130ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(140deg, var(--blue) 0%, #3da4fa 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(30, 136, 229, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(140deg, var(--blue-strong) 0%, #2c8fe4 100%);
}

.btn-outline {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-stats li {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(223, 212, 189, 0.9);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 8px 16px rgba(15, 25, 42, 0.05);
}

.hero-stats strong {
  font-size: 1.4rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.preview,
.community,
.how,
.waitlist {
  padding-top: 2rem;
  padding-bottom: 2.8rem;
}

.preview-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 1rem;
  align-items: start;
}

.preview-copy {
  position: relative;
  overflow: hidden;
}

.preview-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.preview-points div {
  padding: 0.9rem 1rem;
  background: #fffefc;
  border: 1px solid #ebe3d1;
  border-radius: 14px;
}

.preview-points strong {
  display: block;
  margin-bottom: 0.25rem;
}

.preview-points span {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.phone-shell {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 9 / 19.5;
  max-height: 840px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #101827 0%, #1f2937 100%);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(15, 25, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.phone-shell::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.phone-notch {
  width: 120px;
  height: 26px;
  background: #0b1220;
  border-radius: 0 0 18px 18px;
  margin: 0 auto 10px;
}

.phone-screen {
  background: linear-gradient(180deg, #ffffff 0%, #fff9ef 100%);
  border-radius: 28px;
  padding: 16px;
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.phone-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.phone-eyebrow {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
}

.phone-header strong {
  font-size: 1.1rem;
}

.phone-status {
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: #eaf4ff;
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.phone-tab {
  border: 1px solid #ddd4c2;
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.phone-tab.active {
  background: linear-gradient(135deg, var(--blue) 0%, #4da8ff 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 16px rgba(30, 136, 229, 0.18);
}

.phone-content {
  display: grid;
  gap: 0.7rem;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.phone-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #efe6d6;
}

.phone-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.24rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.45rem 0.25rem 0.3rem;
  font: inherit;
  cursor: pointer;
}

.phone-nav-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f1e8;
  color: #465365;
  font-size: 0.82rem;
  font-weight: 700;
}

.phone-nav-label {
  font-size: 0.72rem;
  font-weight: 700;
}

.phone-nav-item.active {
  color: var(--blue-strong);
}

.phone-nav-item.active .phone-nav-icon {
  background: rgba(30, 136, 229, 0.14);
  color: var(--blue-strong);
}

.phone-card {
  background: white;
  border: 1px solid #ebe3d1;
  border-radius: 22px;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(15, 25, 42, 0.06);
}

.phone-card-strong {
  background: linear-gradient(180deg, #fffdf8 0%, #fff4df 100%);
}

.phone-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 0.65rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.74rem;
  font-weight: 700;
}

.pill.active {
  background: rgba(30, 136, 229, 0.12);
  color: var(--blue-strong);
}

.pill.soft {
  background: #fff7dc;
  color: #8c6200;
}

.pill.success {
  background: rgba(15, 118, 110, 0.14);
  color: var(--mint);
}

.goal-chip-grid,
.fund-grid,
.person-list,
.goal-feed-mini {
  display: grid;
  gap: 0.55rem;
}

.goal-chip-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0.8rem;
}

.mini-field {
  padding: 0.8rem 0.9rem;
  background: #fff;
  border: 1px solid #ebe3d1;
  border-radius: 16px;
  margin-bottom: 0.7rem;
}

.mini-field label,
.fund-item span,
.person-row span,
.goal-feed-row span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.mini-field strong,
.fund-item strong,
.person-row strong,
.goal-feed-row strong {
  font-size: 0.95rem;
}

.mini-field.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.mini-button {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 0.82rem 1rem;
  background: linear-gradient(135deg, var(--blue) 0%, #3da4fa 100%);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.mini-button.ghost {
  width: auto;
  padding: 0.55rem 0.8rem;
  background: #fff;
  color: var(--blue-strong);
  border: 1px solid rgba(30, 136, 229, 0.25);
}

.balance-figure {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.9rem;
}

.fund-item,
.person-row,
.goal-feed-row {
  padding: 0.82rem 0.9rem;
  border: 1px solid #ebe3d1;
  border-radius: 16px;
  background: #fff;
}

.person-row,
.goal-feed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.phone-note {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  padding: 0.15rem 0.3rem 0;
}

.community,
.how,
.waitlist {
  padding-top: 2rem;
  padding-bottom: 2.8rem;
}

.section-title-row h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
}

.card {
  background: var(--surface);
  border: 1px solid rgba(223, 212, 189, 0.9);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.subtle {
  color: var(--muted);
  line-height: 1.55;
}

.community-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.95fr;
  gap: 1rem;
}

.feed-card,
.commitment-spotlight,
.leaderboard-card {
  min-width: 0;
}

.commitment-spotlight {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.commitment-spotlight h3 {
  margin-bottom: 0;
}

.spotlight-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.spotlight-meta div,
.spotlight-support,
.spotlight-cheers {
  background: #fffefc;
  border: 1px solid #ebe3d1;
  border-radius: 16px;
  padding: 0.9rem;
}

.spotlight-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.spotlight-action-row .btn {
  width: 100%;
}

.btn-outline.is-active {
  background: rgba(30, 136, 229, 0.12);
  border-color: rgba(30, 136, 229, 0.4);
  color: var(--blue-strong);
}

.spotlight-meta span,
.spotlight-cheer-row span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  margin-bottom: 0.25rem;
}

.spotlight-meta strong {
  font-size: 1.05rem;
}

.spotlight-cheer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.spotlight-followers-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f0e8d9;
}

.spotlight-followers-row span {
  color: var(--muted);
  font-size: 0.72rem;
}

.spotlight-followers-row strong {
  font-size: 1rem;
}

.spotlight-cheer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.spotlight-cheer-list li {
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f0e8d9;
  color: #334155;
}

.feed-list,
.leaderboard {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}

.feed-list li,
.leaderboard li {
  border: 1px solid #ebe3d1;
  border-radius: 12px;
  padding: 0.75rem;
  background: #fffefc;
}

.feed-item {
  cursor: pointer;
  transition: transform 130ms ease, box-shadow 130ms ease, border-color 130ms ease;
}

.feed-item:hover,
.feed-item:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 25, 42, 0.08);
  border-color: #d7c8a8;
  outline: none;
}

.feed-list li + li,
.leaderboard li + li {
  margin-top: 0.65rem;
}

.feed-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.feed-goal {
  margin-top: 0.15rem;
}

.feed-user-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.feed-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  flex: 0 0 34px;
  object-fit: cover;
  border: 1px solid #d8cfbb;
  background: #f5f3ee;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge.verified {
  background: rgba(15, 118, 110, 0.16);
  color: var(--mint);
}

.badge.pending {
  background: rgba(242, 181, 31, 0.2);
  color: #8c6200;
}

.badge.risk {
  background: rgba(194, 59, 59, 0.14);
  color: var(--danger);
}

.steps {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(30, 136, 229, 0.14);
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.waitlist-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.waitlist-copy {
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.6;
}

.waitlist-form {
  display: grid;
  gap: 0.55rem;
}

.waitlist-form label {
  font-size: 0.86rem;
  font-weight: 700;
  margin-top: 0.4rem;
}

.waitlist-form input {
  width: 100%;
  border: 1px solid #d8cfbb;
  background: #fff;
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  font: inherit;
  color: var(--ink);
}

.waitlist-form input:focus {
  outline: 2px solid rgba(30, 136, 229, 0.25);
  border-color: var(--blue);
}

.form-message {
  min-height: 1.2rem;
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.form-message.error {
  color: var(--danger);
}

.form-message.success {
  color: var(--mint);
}

.mail-draft-preview {
  margin: 0.25rem 0 0;
  min-height: 0;
  max-height: 220px;
  overflow: auto;
  border: 1px dashed #d8cfbb;
  border-radius: 10px;
  padding: 0.7rem;
  background: #fffefc;
  color: #334155;
  font-size: 0.78rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.site-footer {
  width: min(1120px, calc(100vw - 3rem));
  margin: 1.5rem auto 2.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(223, 212, 189, 0.9);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Edgy refresh for the GoalJunkie experience */
:root {
  --bg-main: #f2f0ea;
  --bg-glow: #8ff4ff;
  --surface: #fffcf5;
  --ink: #12141a;
  --muted: #4d5363;
  --line: #c9c3b5;
  --blue: #005dff;
  --blue-strong: #003eb0;
  --gold: #ff5a1f;
  --gold-strong: #d24617;
  --mint: #008f74;
  --danger: #b22d2d;
  --shadow: 0 16px 36px rgba(8, 11, 18, 0.14);
}

body {
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 500px at 105% -8%, rgba(143, 244, 255, 0.45), transparent 58%),
    radial-gradient(650px 480px at -5% 4%, rgba(255, 90, 31, 0.2), transparent 60%),
    repeating-linear-gradient(135deg, rgba(18, 20, 26, 0.02) 0 2px, transparent 2px 10px),
    linear-gradient(180deg, #fffef9 0%, var(--bg-main) 100%);
}

h1,
h2,
h3 {
  font-family: "Syne", "Avenir Next", sans-serif;
  letter-spacing: -0.02em;
}

.noise {
  opacity: 0.35;
  background-image:
    linear-gradient(0deg, rgba(0, 93, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 93, 255, 0.02) 1px, transparent 1px),
    radial-gradient(rgba(10, 14, 25, 0.07) 0.55px, transparent 0.55px);
  background-size: 18px 18px, 18px 18px, 4px 4px;
}

.site-header {
  background: rgba(255, 252, 245, 0.9);
  border: 2px solid rgba(18, 20, 26, 0.14);
  border-radius: 12px;
  box-shadow: 10px 10px 0 rgba(0, 93, 255, 0.16);
}

.brand-text {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.brand-mark {
  border-radius: 10px;
  transform: rotate(-6deg);
  box-shadow: 3px 3px 0 rgba(18, 20, 26, 0.28);
}

.site-nav a {
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--blue-strong);
}

.pill-link {
  border: 2px solid rgba(0, 93, 255, 0.5);
  border-radius: 10px;
  color: var(--blue-strong);
}

.hero h1 {
  text-wrap: balance;
}

.btn {
  border-radius: 10px;
  border: 2px solid transparent;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(140deg, var(--blue) 0%, #00a3ff 100%);
  box-shadow: 6px 6px 0 rgba(0, 61, 168, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(140deg, var(--blue-strong) 0%, #0087d9 100%);
}

.btn-outline {
  border: 2px solid rgba(18, 20, 26, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.btn-outline:hover {
  border-color: rgba(0, 93, 255, 0.45);
}

.hero-stats li,
.phone-card,
.feed-list li,
.leaderboard li,
.mini-field,
.fund-item,
.person-row,
.goal-feed-row {
  border: 1.5px solid rgba(18, 20, 26, 0.14);
}

.card {
  border: 1.5px solid rgba(18, 20, 26, 0.18);
  border-radius: 12px;
  box-shadow: 8px 8px 0 rgba(255, 90, 31, 0.12);
}

.preview-copy,
.commitment-spotlight,
.leaderboard-card {
  position: relative;
}

.preview-copy::after,
.commitment-spotlight::after,
.leaderboard-card::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, transparent 50%, rgba(0, 93, 255, 0.22) 51%);
  border-top-right-radius: 12px;
}

.kicker {
  color: var(--blue-strong);
  font-weight: 800;
}

.badge.verified {
  background: rgba(0, 143, 116, 0.15);
}

.badge.pending {
  background: rgba(255, 90, 31, 0.16);
  color: #8a3417;
}

.phone-shell {
  background: linear-gradient(180deg, #171d2b 0%, #0d1119 100%);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.phone-screen {
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.phone-tab.active {
  background: linear-gradient(130deg, #005dff 0%, #0eb4ff 100%);
}

.feed-item:hover,
.feed-item:focus-visible {
  border-color: rgba(0, 93, 255, 0.42);
}

.site-footer {
  border-top: 2px solid rgba(18, 20, 26, 0.2);
}

.reveal-in {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition:
    opacity 620ms cubic-bezier(0.2, 0.72, 0.2, 1),
    transform 620ms cubic-bezier(0.2, 0.72, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-in.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body[data-theme="noir"] {
  --bg-main: #0e1014;
  --bg-glow: #5b9dff;
  --surface: #131821;
  --ink: #f5f7fb;
  --muted: #aeb6c8;
  --line: #313949;
  --blue: #5b9dff;
  --blue-strong: #8cb8ff;
  --gold: #ff6f3d;
  --gold-strong: #ff996e;
  --mint: #34d8af;
  --danger: #ff6f7b;
  --shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

body[data-theme="noir"] {
  background:
    radial-gradient(900px 520px at 100% -6%, rgba(91, 157, 255, 0.26), transparent 58%),
    radial-gradient(760px 460px at -5% 7%, rgba(255, 111, 61, 0.16), transparent 62%),
    linear-gradient(180deg, #0c0f13 0%, #0f1218 100%);
}

body[data-theme="noir"] .site-header,
body[data-theme="noir"] .theme-switch,
body[data-theme="noir"] .card,
body[data-theme="noir"] .hero-stats li,
body[data-theme="noir"] .feed-list li,
body[data-theme="noir"] .leaderboard li,
body[data-theme="noir"] .mini-field,
body[data-theme="noir"] .fund-item,
body[data-theme="noir"] .person-row,
body[data-theme="noir"] .goal-feed-row,
body[data-theme="noir"] .phone-card,
body[data-theme="noir"] .spotlight-meta div,
body[data-theme="noir"] .spotlight-support,
body[data-theme="noir"] .spotlight-cheers,
body[data-theme="noir"] .spotlight-cheer-list li,
body[data-theme="noir"] .spotlight-followers-row,
body[data-theme="noir"] .preview-points div,
body[data-theme="noir"] .poster-strip {
  background: #131821;
  border-color: #2d3545;
  box-shadow: none;
}

body[data-theme="noir"] .phone-screen,
body[data-theme="noir"] .btn-outline,
body[data-theme="noir"] .waitlist-form input {
  background: #10151d;
  border-color: #2e3748;
  color: var(--ink);
}

body[data-theme="noir"] .phone-tab,
body[data-theme="noir"] .pill,
body[data-theme="noir"] .phone-nav-icon {
  background: #1b2130;
  border-color: #313a4d;
  color: #c8d4ee;
}

body[data-theme="noir"] .phone-shell {
  background: linear-gradient(180deg, #0b0d12 0%, #06080d 100%);
}

body[data-theme="noir"] .site-nav a,
body[data-theme="noir"] .subtle,
body[data-theme="noir"] .hero-copy,
body[data-theme="noir"] .waitlist-copy,
body[data-theme="noir"] .phone-note,
body[data-theme="noir"] .feed-meta,
body[data-theme="noir"] .theme-chip,
body[data-theme="noir"] .spotlight-meta span,
body[data-theme="noir"] .spotlight-cheer-row span,
body[data-theme="noir"] .spotlight-followers-row span,
body[data-theme="noir"] .site-footer {
  color: var(--muted);
}

body[data-theme="noir"] .theme-chip.is-active {
  color: #f4f8ff;
  background: rgba(91, 157, 255, 0.2);
  border-color: rgba(91, 157, 255, 0.36);
}

body[data-theme="noir"] .btn-primary {
  box-shadow: 4px 4px 0 rgba(28, 57, 106, 0.4);
}

body[data-theme="noir"] .hero-poster {
  background: linear-gradient(170deg, rgba(91, 157, 255, 0.16) 0%, rgba(16, 21, 29, 0.96) 90%);
}

body[data-theme="noir"] .kicker {
  color: #8cb8ff;
}

body[data-theme="noir"] .pill-link {
  border-color: rgba(91, 157, 255, 0.55);
  color: #a9c9ff;
}

body[data-theme="noir"] .noise {
  opacity: 0.12;
}

body[data-theme="poster"] {
  --bg-main: #f3efe7;
  --bg-glow: #ff7f50;
  --surface: #fef8eb;
  --ink: #0f1218;
  --muted: #3f4656;
  --line: #181b22;
  --blue: #0059ff;
  --blue-strong: #003db8;
  --gold: #ff4f1f;
  --gold-strong: #da3f14;
  --mint: #007e66;
  --danger: #af2020;
  --shadow: none;
}

body[data-theme="poster"] {
  background:
    radial-gradient(680px 440px at 103% -5%, rgba(255, 127, 80, 0.34), transparent 58%),
    radial-gradient(620px 420px at -6% 7%, rgba(0, 89, 255, 0.22), transparent 60%),
    repeating-linear-gradient(0deg, rgba(15, 18, 24, 0.05) 0 1px, transparent 1px 19px),
    linear-gradient(180deg, #fffdf7 0%, #f3efe7 100%);
}

body[data-theme="poster"] .site-header,
body[data-theme="poster"] .theme-switch,
body[data-theme="poster"] .card,
body[data-theme="poster"] .hero-stats li,
body[data-theme="poster"] .feed-list li,
body[data-theme="poster"] .leaderboard li,
body[data-theme="poster"] .mini-field,
body[data-theme="poster"] .fund-item,
body[data-theme="poster"] .person-row,
body[data-theme="poster"] .goal-feed-row,
body[data-theme="poster"] .phone-card,
body[data-theme="poster"] .spotlight-meta div,
body[data-theme="poster"] .spotlight-support,
body[data-theme="poster"] .spotlight-cheers,
body[data-theme="poster"] .spotlight-cheer-list li,
body[data-theme="poster"] .spotlight-followers-row,
body[data-theme="poster"] .preview-points div,
body[data-theme="poster"] .poster-strip {
  border: 2px solid #171a22;
  box-shadow: 6px 6px 0 rgba(23, 26, 34, 0.14);
  border-radius: 8px;
}

body[data-theme="poster"] .site-header {
  padding: 0.75rem 0.9rem;
  box-shadow: 10px 10px 0 rgba(0, 89, 255, 0.2);
}

body[data-theme="poster"] .theme-chip {
  font-size: 0.7rem;
}

body[data-theme="poster"] .theme-chip.is-active {
  background: #0f1218;
  color: #fef8eb;
  border-color: #0f1218;
}

body[data-theme="poster"] h1,
body[data-theme="poster"] h2,
body[data-theme="poster"] h3,
body[data-theme="poster"] .brand-text {
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-weight: 800;
}

body[data-theme="poster"] .hero {
  padding-top: 4.6rem;
  padding-bottom: 2.7rem;
}

body[data-theme="poster"] .hero h1 {
  font-size: clamp(2.4rem, 5.1vw, 5.2rem);
  line-height: 0.9;
  margin-bottom: 0.65rem;
  max-width: 13ch;
}

body[data-theme="poster"] .hero-copy {
  max-width: 54ch;
  line-height: 1.42;
}

body[data-theme="poster"] .kicker,
body[data-theme="poster"] .poster-label {
  color: #0f1218;
  letter-spacing: 0.2em;
}

body[data-theme="poster"] .hero-poster {
  background: linear-gradient(162deg, rgba(255, 79, 31, 0.25) 0%, rgba(0, 89, 255, 0.2) 100%);
  border: 2px solid #11141b;
  box-shadow: 12px 12px 0 rgba(17, 20, 27, 0.22);
  transform: rotate(-1deg);
}

body[data-theme="poster"] .hero-poster h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 0.86;
  margin-bottom: 0.35rem;
}

body[data-theme="poster"] .poster-strip {
  background: #0f1218;
  color: #fff6df;
  border-color: #0f1218;
}

body[data-theme="poster"] .hero-cta-row {
  margin-top: 1rem;
  margin-bottom: 1.2rem;
  gap: 0.6rem;
}

body[data-theme="poster"] .btn,
body[data-theme="poster"] .pill-link {
  border-radius: 6px;
}

body[data-theme="poster"] .btn-primary {
  background: linear-gradient(140deg, #0f1218 0%, #262d3a 100%);
  box-shadow: 4px 4px 0 rgba(255, 79, 31, 0.38);
}

body[data-theme="poster"] .btn-outline {
  border: 2px solid #171a22;
  background: rgba(255, 248, 235, 0.8);
}

body[data-theme="poster"] .hero-stats strong {
  font-size: 1.65rem;
  line-height: 1;
}

body[data-theme="poster"] .hero-stats li {
  padding: 0.85rem;
}

body[data-theme="poster"] .preview,
body[data-theme="poster"] .community,
body[data-theme="poster"] .how,
body[data-theme="poster"] .waitlist {
  padding-top: 1.45rem;
  padding-bottom: 2.1rem;
}

body[data-theme="poster"] .section-title-row h2 {
  font-size: clamp(1.9rem, 2.9vw, 2.8rem);
  margin-bottom: 0.45rem;
}

body[data-theme="poster"] .site-footer {
  border-top: 2px solid #11141b;
  margin-top: 1rem;
  padding-top: 0.75rem;
}

body[data-theme="poster"] .noise {
  opacity: 0.22;
  background-image:
    linear-gradient(0deg, rgba(15, 18, 24, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 18, 24, 0.04) 1px, transparent 1px),
    radial-gradient(rgba(15, 18, 24, 0.07) 0.6px, transparent 0.6px);
  background-size: 14px 14px, 14px 14px, 4px 4px;
}

@keyframes rise {
  from {
    transform: translateY(12px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .preview-layout,
  .community-grid,
  .waitlist-layout {
    grid-template-columns: 1fr;
  }

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

  .phone-screen {
    min-height: 0;
  }

  .commitment-spotlight {
    order: 2;
  }

  .leaderboard-card {
    order: 3;
  }

  .phone-shell {
    justify-self: center;
  }

  .spotlight-action-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
  }

  .theme-switch {
    order: 2;
  }

  .site-nav {
    width: 100%;
    order: 3;
    justify-content: space-between;
    font-size: 0.94rem;
  }

  .hero {
    padding-top: 3.9rem;
  }

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

  .phone-tabs,
  .phone-bottom-nav,
  .goal-chip-grid,
  .mini-field.split {
    grid-template-columns: 1fr;
  }
}
