:root {
  --bg: #f6efe6;
  --bg-soft: #fff8ef;
  --panel: rgba(255, 248, 239, 0.74);
  --panel-strong: rgba(255, 247, 236, 0.92);
  --text: #181613;
  --muted: #5f574f;
  --line: rgba(24, 22, 19, 0.12);
  --coral: #ff6b39;
  --coral-deep: #ea4e22;
  --gold: #f2b632;
  --teal: #0f8c87;
  --teal-soft: #bfe7e3;
  --cream: #fffdf8;
  --shadow: 0 30px 80px rgba(24, 22, 19, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 120px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(242, 182, 50, 0.3), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(15, 140, 135, 0.18), transparent 24%),
    linear-gradient(180deg, #f9f4ec 0%, #f4ebdf 42%, #f8f2eb 100%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.5;
}

main {
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(15, 140, 135, 0.35);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(0, 0, 0, 0.08) 100%),
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.3) 1px, transparent 0);
  background-size: 100% 100%, 14px 14px;
  mix-blend-mode: multiply;
}

.site-header,
.section,
.site-footer,
.ticker {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-height);
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(24, 22, 19, 0.08);
  border-radius: 999px;
  background: rgba(246, 239, 230, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(24, 22, 19, 0.08);
  transition: background-color 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease, box-shadow 180ms ease;
}

body.is-scrolled .site-header {
  background: rgba(246, 239, 230, 0.92);
  border-color: rgba(24, 22, 19, 0.1);
  box-shadow: 0 16px 36px rgba(24, 22, 19, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 248, 239, 0.7);
  box-shadow: 0 14px 35px rgba(24, 22, 19, 0.08);
}

.brand-mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-lockup strong {
  font-size: 1.05rem;
}

.brand-lockup small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.7);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-solid {
  background: linear-gradient(135deg, var(--coral), var(--gold));
  color: #fff;
  box-shadow: 0 18px 40px rgba(234, 78, 34, 0.25);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 248, 239, 0.72);
}

.section {
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - var(--header-height) - 56px);
  padding-top: 26px;
}

.hero-copy,
.hero-stage {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow span {
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), transparent);
}

.hero h1,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 9.5ch;
  font-size: clamp(3.8rem, 8vw, 7rem);
}

.hero h1 em,
.manifesto-panel em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}

.lede,
.section-heading p,
.cta-panel p,
.info-card p,
.mode-panel p,
.feature-card p,
.faq-item p,
.match-card p,
.event-panel p,
.floating-note span,
.match-banner span {
  color: var(--muted);
}

.lede {
  max-width: 36rem;
  margin: 26px 0 0;
  font-size: 1.1rem;
}

.app-proof {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  margin-top: 26px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 22, 19, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 18px 36px rgba(24, 22, 19, 0.06);
}

.app-proof-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(24, 22, 19, 0.12);
}

.app-proof-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.app-proof-copy strong {
  font-size: 0.95rem;
}

.app-proof-copy span {
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions .button {
  flex: 0 0 auto;
}

.signal-list,
.detail-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-list li {
  padding: 10px 14px;
  border: 1px solid rgba(24, 22, 19, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  font-size: 0.92rem;
  line-height: 1.35;
}

.hero-stage {
  position: relative;
}

.stage-shell {
  position: relative;
  min-height: auto;
  display: grid;
  gap: 24px;
  padding: 34px;
  border: 1px solid rgba(24, 22, 19, 0.08);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 248, 239, 0.96), rgba(248, 238, 226, 0.78)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 60%);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
}

.stage-header-panel,
.stage-layout {
  position: relative;
  z-index: 1;
}

.stage-header-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.stage-branding {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.stage-branding-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.stage-branding-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stage-branding-copy strong {
  font-size: 0.98rem;
}

.stage-branding-copy span {
  color: var(--muted);
  font-size: 0.88rem;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 107, 57, 0.12);
  color: var(--coral-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-layout {
  position: relative;
  min-height: 640px;
}

.stage-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.stage-glow-a {
  top: 48px;
  right: 28px;
  width: 220px;
  height: 220px;
  background: rgba(255, 107, 57, 0.26);
}

.stage-glow-b {
  bottom: 80px;
  left: -20px;
  width: 260px;
  height: 260px;
  background: rgba(15, 140, 135, 0.16);
}

.phone-frame {
  position: absolute;
  top: 84px;
  left: 50%;
  width: 100%;
  max-width: 336px;
  margin: 0;
  padding: 14px;
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(26, 25, 23, 0.96), rgba(34, 31, 27, 0.93));
  box-shadow: 0 42px 80px rgba(24, 22, 19, 0.28);
  transform: translateX(-50%);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff8ef 0%, #f3eadf 100%);
}

.phone-screen {
  position: relative;
  z-index: 1;
}

.phone-screen {
  overflow: hidden;
  border-radius: 28px;
  background: #090909;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.floating-note {
  position: absolute;
  z-index: 2;
  max-width: 220px;
  padding: 16px 18px;
  border: 1px solid rgba(24, 22, 19, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 42px rgba(24, 22, 19, 0.08);
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.45;
  backdrop-filter: blur(14px);
}

.floating-note strong {
  display: block;
  text-wrap: balance;
}

.floating-note-top {
  top: 24px;
  left: 24px;
}

.floating-note-left {
  top: 250px;
  left: 0;
}

.floating-note-right {
  top: 214px;
  right: 0;
}

.floating-note-bottom {
  right: 26px;
  bottom: 24px;
}

.floating-note-dark {
  background: rgba(18, 18, 20, 0.9);
  border-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(24, 22, 19, 0.08);
  border-bottom: 1px solid rgba(24, 22, 19, 0.08);
}

.ticker-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 18px 0;
  animation: ticker 26s linear infinite;
}

.ticker-track span {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.ticker-track span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  transform: translateY(-50%);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading h2,
.cta-panel h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.section-heading p,
.cta-panel p {
  max-width: 44rem;
  margin: 18px 0 0;
  font-size: 1.02rem;
}

.momentum-grid,
.mode-grid,
.feature-grid {
  display: grid;
  gap: 20px;
}

.momentum-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.info-card,
.mode-panel,
.feature-card,
.cta-panel,
.faq-item,
.manifesto-panel {
  border: 1px solid rgba(24, 22, 19, 0.08);
  box-shadow: var(--shadow);
}

.info-card,
.mode-panel,
.feature-card,
.faq-item {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.faq-item summary,
.info-card h3,
.mode-panel strong,
.feature-card h3 {
  font-weight: 700;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 107, 57, 0.12);
  color: var(--coral-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.info-card h3,
.mode-panel strong,
.feature-card h3 {
  display: block;
  margin-top: 18px;
  font-size: 1.35rem;
}

.mode-panel-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mode-label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mode-label-date {
  background: rgba(255, 107, 57, 0.12);
  color: var(--coral-deep);
}

.mode-label-friends {
  background: rgba(15, 140, 135, 0.12);
  color: var(--teal);
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-list li {
  position: relative;
  padding-left: 22px;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
}

.manifesto {
  padding-top: 36px;
}

.manifesto-panel {
  position: relative;
  padding: 42px;
  border-radius: calc(var(--radius-xl) + 4px);
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.96), rgba(246, 240, 231, 0.78)),
    radial-gradient(circle at top right, rgba(255, 107, 57, 0.16), transparent 36%);
  overflow: hidden;
}

.quote-mark {
  position: absolute;
  top: 20px;
  right: 28px;
  margin: 0;
  color: rgba(24, 22, 19, 0.08);
  font-family: "Instrument Serif", serif;
  font-size: 9rem;
  line-height: 1;
}

.manifesto-panel blockquote {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.cta-section {
  padding-top: 48px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: end;
  gap: 28px;
  padding: 34px;
  border-radius: calc(var(--radius-xl) + 6px);
  background:
    linear-gradient(145deg, rgba(255, 246, 235, 0.98), rgba(244, 235, 224, 0.82)),
    radial-gradient(circle at top left, rgba(15, 140, 135, 0.12), transparent 30%);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
}

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

.faq-item p {
  margin: 16px 0 0;
}

.faq-item p a,
.footer-links a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 0;
  }

  .hero h1 {
    max-width: 10.5ch;
  }

  .stage-shell {
    min-height: auto;
  }

  .stage-layout {
    min-height: 700px;
  }

  .floating-note-left {
    left: 18px;
  }

  .floating-note-right {
    right: 18px;
  }

  .momentum-grid,
  .mode-grid,
  .feature-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    min-height: auto;
    padding: 14px 16px;
    border-radius: 32px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero {
    gap: 32px;
  }

  .hero-actions .button {
    flex: 1 1 220px;
  }

  .stage-shell {
    padding: 28px;
  }

  .stage-header-panel {
    flex-wrap: wrap;
  }

  .stage-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-height: auto;
  }

  .floating-note,
  .phone-frame {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: none;
  }

  .floating-note {
    min-height: 100%;
  }

  .floating-note-top {
    grid-column: 1 / -1;
    order: 1;
  }

  .phone-frame {
    grid-column: 1 / -1;
    order: 2;
    max-width: 340px;
    margin: 0 auto;
  }

  .floating-note-left {
    order: 3;
  }

  .floating-note-right {
    order: 4;
  }

  .floating-note-bottom {
    grid-column: 1 / -1;
    order: 5;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: auto;
  }

  .site-header {
    top: 8px;
    padding: 18px 14px 10px;
    border-radius: 28px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .site-nav {
    gap: 14px;
  }

  .header-cta {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    gap: 28px;
  }

  .hero h1 {
    max-width: 8.4ch;
    font-size: clamp(2.7rem, 14vw, 4rem);
    line-height: 0.94;
    letter-spacing: -0.028em;
  }

  .stage-shell {
    padding: 20px;
  }

  .stage-header-panel {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .floating-note {
    max-width: none;
  }

  .phone-frame {
    max-width: 320px;
    margin: 6px auto;
  }

  .app-proof {
    flex-direction: column;
    align-items: flex-start;
  }

  .manifesto-panel,
  .cta-panel {
    padding: 28px;
  }

  .manifesto-panel blockquote {
    max-width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header,
  .section,
  .site-footer,
  .ticker {
    width: min(1180px, calc(100% - 24px));
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-mark img {
    width: 42px;
    height: 42px;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  .hero {
    gap: 24px;
  }

  .hero-copy {
    padding-inline: 2px;
  }

  .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  .lede,
  .section-heading p,
  .cta-panel p {
    font-size: 0.98rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .signal-list {
    display: grid;
    gap: 10px;
  }

  .signal-list li {
    width: 100%;
  }

  .stage-shell {
    padding: 18px;
  }

  .stage-branding {
    align-items: flex-start;
  }

  .stage-branding-copy span {
    font-size: 0.82rem;
  }

  .stage-badge {
    letter-spacing: 0.06em;
  }

  .phone-frame {
    max-width: 292px;
    padding: 12px;
  }

  .phone-frame::before {
    inset: 8px;
    border-radius: 24px;
  }

  .phone-screen {
    border-radius: 24px;
  }

  .floating-note,
  .info-card,
  .mode-panel,
  .feature-card,
  .faq-item {
    padding: 18px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .button {
    flex: 1 1 100%;
  }
}

@media (max-width: 430px) {
  .site-header {
    top: 6px;
    padding: 14px 12px 10px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .hero h1 {
    max-width: 7.6ch;
    font-size: clamp(2.45rem, 12.8vw, 3.45rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
  }

  .lede {
    font-size: 0.95rem;
  }

  .app-proof {
    padding: 12px;
  }

  .app-proof-copy span {
    max-width: 100%;
    font-size: 0.84rem;
  }

  .floating-note,
  .info-card,
  .mode-panel,
  .feature-card,
  .faq-item,
  .cta-panel {
    padding: 16px;
  }

  .phone-frame {
    max-width: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .site-header,
  .stage-shell,
  .ticker-track {
    transition: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
