/* DateEmber website stylesheet
   Palette is the app's Color.kt, taken from the logo: a sunset heart on indigo night.
   Layout idea: one loud thing (the hero type and phone), everything else set in quiet
   hairline-ruled rows instead of boxed cards. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0920; /* night indigo, the edges of the logo */
  --bg-glow: #221a66; /* the light in the middle of the logo */
  --surface: #15122e;
  --surface-high: #201c42;
  --outline: #2f2a5a;
  --ember: #ff3e8a; /* heart gradient start */
  --ember-end: #ff7a3d; /* heart gradient end */
  --gold: #ffc857;
  --violet: #8c7bff;
  --online: #34d399;
  --danger: #ff6b6b;
  --text: #f7f5ff;
  --muted: #aba6cf;
  --faint: #7d78a6;
  --grad: linear-gradient(100deg, var(--ember), var(--ember-end));
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --accent: "Instrument Serif", Georgia, serif;
  --wrap: 1160px;
  --gut: clamp(18px, 4vw, 40px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg,
canvas {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--ember);
  color: #fff;
}
[hidden] {
  display: none !important;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 999;
  border-radius: 0 0 10px 0;
}
.skip:focus {
  left: 0;
}
.serif {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.ember-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}
.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker b {
  color: var(--ember-end);
  font-weight: 700;
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 9, 32, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.site-head.is-stuck {
  border-bottom-color: var(--outline);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}
.brand img {
  width: 34px;
  height: 34px;
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.nav a:hover,
.nav a[aria-current="true"] {
  color: var(--text);
  border-bottom-color: var(--ember);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 999px;
  padding: 13px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.btn-ember {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255, 62, 138, 0.7);
}
.btn-ember:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(255, 62, 138, 0.85);
}
.btn-line {
  border-color: var(--outline);
  color: var(--text);
}
.btn-line:hover {
  border-color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}
.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--outline);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-btn span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.sheet {
  display: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 7vw, 84px) 0 clamp(56px, 8vw, 96px);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -20% -10% auto auto;
  width: min(980px, 120vw);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--bg-glow), rgba(34, 26, 102, 0.35) 55%, transparent);
  transform: translate(18%, -12%);
}
#embers {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 26px;
}
.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}
.hero h1 {
  font-size: clamp(3.1rem, 7.2vw, 5.7rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.hero h1 .serif {
  font-size: 1.08em;
  letter-spacing: -0.02em;
  line-height: 0.9;
}
.hero-lede {
  max-width: 33rem;
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}
.play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: var(--text);
  color: var(--bg);
  border-radius: 16px;
  padding: 12px 24px 12px 18px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.play:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(255, 122, 61, 0.75);
}
.play svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.play small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  line-height: 1.2;
}
.play strong {
  display: block;
  font-family: var(--display);
  font-size: 1.22rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember-end);
}

/* ---------- phone ---------- */
.stage {
  position: relative;
  justify-self: center;
  width: min(330px, 82vw);
}
.phone {
  position: relative;
  border-radius: 46px;
  padding: 9px;
  background: linear-gradient(160deg, #3a3377, #17133a 40%, #0d0a26);
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: rotate(3deg);
}
.screen {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, var(--bg-glow), var(--bg) 70%);
  aspect-ratio: 9/18.6;
  display: flex;
  flex-direction: column;
  padding: 16px 14px 14px;
}
.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0 6px 10px;
}
.screen-top .cam {
  width: 60px;
  height: 18px;
  border-radius: 12px;
  background: #05041a;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}
.app-bar img {
  width: 22px;
  height: 22px;
}
.chips {
  display: flex;
  gap: 6px;
  padding: 0 2px 10px;
}
.chips span {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 99px;
  border: 1px solid var(--outline);
  color: var(--muted);
}
.chips span.on {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.card {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
}
.card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}
.glass {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(21, 18, 46, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.glass h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.02em;
}
.glass h3 svg {
  width: 15px;
  height: 15px;
  color: var(--violet);
}
.glass p {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
}
.common {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.64rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  padding: 4px 9px;
  border-radius: 99px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.tags span {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--muted);
}
.tags span.hit {
  border-color: var(--ember);
  color: #ff9bc1;
}
.dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 12px;
}
.dock span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-high);
  border: 1px solid var(--outline);
}
.dock svg {
  width: 15px;
  height: 15px;
}
.dock .gold {
  color: var(--gold);
}
.dock .vio {
  color: var(--violet);
}
.dock .pass {
  color: var(--muted);
}
.dock .heart {
  width: 50px;
  height: 50px;
  background: var(--grad);
  border: 0;
  color: #fff;
  box-shadow: 0 8px 26px -4px rgba(255, 62, 138, 0.8);
}
.dock .heart svg {
  width: 22px;
  height: 22px;
}
.match-card {
  position: absolute;
  left: -31%;
  bottom: -7%;
  width: 62%;
  transform: rotate(-7deg);
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85);
}
.match-card .duo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.match-card .duo img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface);
}
.match-card .duo img:last-child {
  margin-left: -10px;
}
.match-card .duo i {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: 0 -8px;
  border-radius: 50%;
  background: var(--bg);
}
.match-card .duo i img {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 0;
  margin: 0;
}
.match-card strong {
  display: block;
  text-align: center;
  font-family: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.1;
  margin-top: 8px;
}
.match-card em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 12px;
  background: var(--surface-high);
  color: var(--muted);
}
.super-chip {
  position: absolute;
  right: -16%;
  top: 27%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--outline);
  font-size: 0.76rem;
  font-weight: 700;
  transform: rotate(5deg);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.9);
}
.super-chip svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

/* ---------- interest ribbon ---------- */
.ribbon {
  border-block: 1px solid var(--outline);
  overflow: hidden;
  padding: 18px 0;
  background: rgba(21, 18, 46, 0.5);
}
.ribbon-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: slide 48s linear infinite;
}
.ribbon:hover .ribbon-track {
  animation-play-state: paused;
}
.ribbon span {
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  padding: 7px 18px;
  border-radius: 99px;
  border: 1px solid var(--outline);
  color: var(--muted);
}
.ribbon span.hit {
  border-color: var(--ember);
  color: var(--text);
  background: rgba(255, 62, 138, 0.1);
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- sections ---------- */
.sec {
  padding: clamp(72px, 10vw, 132px) 0;
}
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sec-head h2 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
}
.sec-head h2 .serif {
  font-size: 1.1em;
}
.sec-head p {
  color: var(--muted);
  max-width: 30rem;
}
.sec-head .kicker {
  grid-column: 1/-1;
  margin-bottom: -6px;
}

/* how it works: numbered because it is the real order of events */
.steps {
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: minmax(64px, 0.22fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px) 0;
  border-top: 1px solid var(--outline);
}
.step:last-child {
  border-bottom: 1px solid var(--outline);
}
.step-num {
  font-family: var(--accent);
  font-style: italic;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--faint);
  align-self: start;
}
.step h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}
.step p {
  color: var(--muted);
  max-width: 30rem;
}
.step ul {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  font-size: 0.96rem;
}
.step li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.step li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 2px;
  background: var(--grad);
  transform: translateY(-4px);
}
.vig {
  position: relative;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--outline);
  padding: 18px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
}
.vig::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 62, 138, 0.2), transparent);
  pointer-events: none;
}
.vig-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vig-row img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  flex: none;
}
.vig-row b {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.vig-row small {
  color: var(--muted);
  font-size: 0.8rem;
}
.rank {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}
.rank div {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--muted);
}
.rank i {
  display: block;
  height: 6px;
  border-radius: 9px;
  background: var(--surface-high);
  overflow: hidden;
}
.rank i::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--grad);
  border-radius: 9px;
}
.opener {
  align-self: flex-start;
  max-width: 92%;
  font-size: 0.86rem;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  background: var(--surface-high);
  border: 1px solid var(--outline);
}
.opener.pick {
  border-color: var(--ember);
  color: #fff;
}
.opener-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.bubble {
  max-width: 80%;
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: 18px;
}
.bubble.them {
  align-self: flex-start;
  background: var(--surface-high);
  border-bottom-left-radius: 5px;
}
.bubble.me {
  align-self: flex-end;
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 5px;
}

/* safety: a ruled ledger, not a card grid */
.safety {
  background: linear-gradient(180deg, transparent, rgba(34, 26, 102, 0.28) 40%, transparent);
}
.ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 72px);
}
.ledger li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--outline);
}
.ledger svg {
  width: 24px;
  height: 24px;
  color: var(--ember-end);
  margin-top: 3px;
}
.ledger h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.ledger p {
  color: var(--muted);
  font-size: 0.97rem;
}
.plain-note {
  margin-top: 36px;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 200, 87, 0.06);
  border-radius: 0 14px 14px 0;
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 60rem;
}
.plain-note strong {
  color: var(--text);
}
.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
}
.text-link {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--ember);
  padding-bottom: 2px;
}
.text-link:hover {
  border-bottom-color: var(--ember-end);
  color: #fff;
}

/* pricing */
.plans {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  border: 1px solid var(--outline);
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
}
.plan {
  padding: clamp(24px, 3vw, 36px);
  border-left: 1px solid var(--outline);
}
.plan:first-child {
  border-left: 0;
  background: var(--surface-high);
}
.plan h3 {
  font-size: 1.5rem;
}
.plan .price {
  color: var(--text);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 16px 0 6px;
  font-variant-numeric: tabular-nums;
}
.plan .price small {
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.plan p {
  color: var(--muted);
  font-size: 0.95rem;
}
.plan ul {
  margin-top: 18px;
  display: grid;
  gap: 9px;
  font-size: 0.95rem;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.plan li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--online);
  transform: translateY(-1px);
}
.extras {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
}
.extras div {
  padding: 20px 0 0;
  border-top: 1px solid var(--outline);
  margin-right: 24px;
}
.extras b {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.extras span {
  color: var(--muted);
  font-size: 0.92rem;
}
.fineprint {
  margin-top: 22px;
  font-size: 0.86rem;
  color: var(--faint);
  max-width: 52rem;
}

/* faq */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.faq-grid h2 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  position: sticky;
  top: 110px;
}
.faq details {
  border-top: 1px solid var(--outline);
}
.faq details:last-child {
  border-bottom: 1px solid var(--outline);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--ember), var(--ember)) center/100% 2px no-repeat,
    linear-gradient(var(--ember), var(--ember)) center/2px 100% no-repeat;
  transition: transform 0.25s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--muted);
  padding: 0 40px 24px 0;
  max-width: 42rem;
}
.faq details a {
  color: var(--text);
  text-decoration-color: var(--ember);
  text-underline-offset: 3px;
}

/* feedback */
.fb {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.fb h2 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  margin: 14px 0 18px;
}
.fb-copy p {
  color: var(--muted);
  max-width: 26rem;
}
.mail {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 2px solid var(--ember);
}
.form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--outline);
}
.form-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--outline);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 62, 138, 0.16);
}
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 55%,
    calc(100% - 16px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  font-size: 0.84rem;
  color: var(--faint);
}
.form-note a {
  color: var(--muted);
}
.form-msg {
  font-size: 0.95rem;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--outline);
}
.form-msg.ok {
  border-color: var(--online);
  color: var(--online);
}
.form-msg.err {
  border-color: var(--danger);
  color: #ffb4b4;
}

/* closing call */
.closer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding: clamp(80px, 12vw, 150px) 0;
  border-top: 1px solid var(--outline);
}
.closer::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(900px, 130vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--bg-glow), transparent);
}
.closer img.mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 26px;
  animation: beat 2.6s ease-in-out infinite;
}
.closer h2 {
  font-size: clamp(2.6rem, 7.4vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.closer p {
  color: var(--muted);
  margin: 22px auto 34px;
  max-width: 30rem;
}
@keyframes beat {
  0%,
  36%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.12);
  }
  24% {
    transform: scale(1.05);
  }
}

/* footer */
.site-foot {
  border-top: 1px solid var(--outline);
  padding: 64px 0 0;
  overflow: hidden;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 36px;
}
.foot-grid p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 20rem;
  margin-top: 14px;
}
.foot-grid h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.foot-grid ul {
  display: grid;
  gap: 10px;
}
.foot-grid ul a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.96rem;
}
.foot-grid ul a:hover {
  color: var(--text);
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--outline);
  color: var(--muted);
  transition:
    color 0.2s,
    border-color 0.2s;
}
.socials a:hover {
  color: var(--text);
  border-color: var(--ember);
}
.socials svg {
  width: 17px;
  height: 17px;
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 56px;
  padding: 22px 0;
  border-top: 1px solid var(--outline);
  font-size: 0.86rem;
  color: var(--faint);
}
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.2rem, 19.5vw, 17rem);
  line-height: 0.74;
  letter-spacing: -0.06em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px var(--outline);
  margin-bottom: -0.11em;
  user-select: none;
  white-space: nowrap;
}

/* ---------- policy pages ---------- */
.doc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 7vw, 84px) 0 clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--outline);
}
.doc-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -10%;
  top: -60%;
  width: min(720px, 110vw);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--bg-glow), transparent);
}
.crumbs {
  display: flex;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--faint);
  margin-bottom: 22px;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--text);
}
.doc-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.doc-meta {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--faint);
}
.doc-intro {
  margin-top: 22px;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.1rem;
}
.doc-intro a,
.prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.doc {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(36px, 5vw, 64px) clamp(64px, 8vw, 110px);
  align-items: start;
}
.toc {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  font-size: 0.9rem;
}
.toc h2 {
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}
.toc ol {
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--outline);
}
.toc a {
  display: block;
  padding: 6px 0 6px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.35;
}
.toc a:hover,
.toc a.on {
  color: var(--text);
  border-left-color: var(--ember);
}
.prose {
  max-width: 46rem;
  min-width: 0;
}
.prose > section {
  padding: 34px 0;
  border-top: 1px solid var(--outline);
}
.prose > section:first-child {
  border-top: 0;
  padding-top: 0;
}
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 16px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.prose h2 .n {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 400;
  color: var(--ember-end);
  font-size: 1.15em;
  min-width: 1.4em;
}
.prose h3 {
  font-family: var(--body);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--text);
  margin: 24px 0 10px;
}
.prose p {
  color: var(--muted);
  margin-bottom: 12px;
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose strong {
  color: var(--text);
  font-weight: 700;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: var(--surface-high);
  border-radius: 6px;
  padding: 2px 6px;
  overflow-wrap: anywhere;
}
.prose ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
}
.prose li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  background: var(--faint);
}
.prose li .dot {
  display: none;
}
.prose ul.do li::before {
  background: var(--online);
}
.prose ul.dont li::before {
  background: var(--danger);
}
.prose ul.watch li::before {
  background: var(--gold);
}
.prose .rule-sub-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 16px 0 4px;
  color: var(--faint);
}
.prose .rule-sub-label.do {
  color: var(--online);
}
.prose .rule-sub-label.dont {
  color: var(--danger);
}
.callout {
  margin: 16px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--violet);
  background: rgba(140, 123, 255, 0.07);
  border-radius: 0 14px 14px 0;
}
.callout.warn {
  border-left-color: var(--gold);
  background: rgba(255, 200, 87, 0.06);
}
.callout.ok {
  border-left-color: var(--online);
  background: rgba(52, 211, 153, 0.06);
}
.callout p {
  margin: 0;
}
.callout > span {
  display: none;
}
.table-scroll {
  overflow-x: auto;
  margin: 14px 0;
  border: 1px solid var(--outline);
  border-radius: 16px;
}
.data-table {
  min-width: 460px;
  font-size: 0.93rem;
}
.dt-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  border-top: 1px solid var(--outline);
}
.dt-row:first-child {
  border-top: 0;
}
.dt-row > div {
  padding: 12px 16px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.dt-row > div:first-child {
  color: var(--text);
  font-weight: 600;
}
.dt-row.hdr {
  background: var(--surface-high);
}
.dt-row.hdr > div {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.tile {
  padding: 18px;
  border: 1px solid var(--outline);
  border-radius: 16px;
  background: var(--surface);
  font-size: 0.93rem;
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
}
.tile .perm-name,
.tile .opt-title {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.tile .perm-optional,
.tile .perm-required,
.tile .opt-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--online);
}
.tile .perm-required {
  color: var(--gold);
}
.tile .opt-badge {
  color: var(--ember-end);
  margin-right: 8px;
}
.tile .cc2-label,
.tile .ci-label,
.tile .contact-label,
.tile .email-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.tile p {
  font-size: 0.93rem;
}
.opt-steps {
  counter-reset: s;
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.opt-step {
  counter-increment: s;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 6px;
  align-items: baseline;
}
.opt-step::before {
  content: counter(s);
  font-family: var(--accent);
  font-style: italic;
  color: var(--ember-end);
  font-size: 1.15rem;
}
.opt-num {
  display: none;
}
.email-box {
  margin: 10px 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--outline);
}
.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 20px;
}
.doc-links a {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--ember);
  color: var(--text);
}
.closing {
  margin-top: 8px;
  padding: 28px 0 0;
  border-top: 1px solid var(--outline);
}
.closing h3 {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.9rem;
  margin: 0 0 8px;
}

/* 404 */
.lost {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}
.lost b {
  display: block;
  font-family: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(6rem, 24vw, 14rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ember);
}
.lost h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 26px 0 12px;
}
.lost p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* page-load sequence: the only orchestrated motion on the site */
@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(var(--i, 0) * 90ms);
  }
  .stage .phone {
    animation: settle 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
  }
  .match-card {
    animation: pop 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) 0.95s both;
  }
  .super-chip {
    animation: pop2 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) 1.15s both;
  }
}
@keyframes rise {
  from {
    transform: translateY(22px);
  }
}
@keyframes settle {
  from {
    transform: translateY(40px) rotate(7deg);
  }
}
@keyframes pop {
  from {
    transform: scale(0.8) rotate(-12deg);
  }
}
@keyframes pop2 {
  from {
    transform: scale(0.8) rotate(10deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ribbon-track,
  .closer img.mark {
    animation: none;
  }
  .btn,
  .play {
    transition: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav,
  .head-row > .btn {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .sheet {
    display: block;
    position: fixed;
    inset: 72px 0 0;
    z-index: 49;
    background: var(--bg);
    padding: 24px var(--gut) 32px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.25s,
      transform 0.25s,
      visibility 0.25s;
    overflow: auto;
  }
  .sheet.open {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
  .sheet a:not(.btn) {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--outline);
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: -0.03em;
  }
  .sheet .btn {
    margin-top: 28px;
    width: 100%;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .stage {
    margin-top: 28px;
  }
  .stage {
    margin-bottom: 56px;
  }
  .match-card {
    left: -5%;
    bottom: -9%;
    width: 58%;
  }
  .super-chip {
    right: -4%;
    top: 30%;
  }
  .sec-head,
  .faq-grid,
  .fb {
    grid-template-columns: 1fr;
  }
  .faq-grid h2 {
    position: static;
  }
  .step {
    grid-template-columns: minmax(0, 1fr);
  }
  .step-num {
    font-size: 3.4rem;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan {
    border-left: 0;
    border-top: 1px solid var(--outline);
  }
  .plan:first-child {
    border-top: 0;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-grid > div:first-child {
    grid-column: 1/-1;
  }
  .doc {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
    max-height: none;
    padding: 18px;
    border: 1px solid var(--outline);
    border-radius: 16px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }
  .ledger,
  .extras,
  .form-2 {
    grid-template-columns: 1fr;
  }
  .extras div {
    margin-right: 0;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .play {
    width: 100%;
    justify-content: center;
  }
  .faq details p {
    padding-right: 0;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
  .rank div {
    grid-template-columns: 96px 1fr;
  }
}
@media print {
  .site-head,
  .site-foot,
  .toc,
  .sheet {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  .prose p,
  .prose li,
  .doc-intro {
    color: #222;
  }
}

/* stagger steps for the page-load sequence (classes, so no inline styles are needed) */
.i1 {
  --i: 1;
}
.i2 {
  --i: 2;
}
.i3 {
  --i: 3;
}
.i4 {
  --i: 4;
}
.i5 {
  --i: 5;
}
.rupee {
  font-family: var(--body);
  font-weight: 700;
}
.fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.fact-chips span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--outline);
  color: var(--muted);
}
.fact-chips span.hit {
  border-color: var(--ember);
  color: var(--text);
  background: rgba(255, 62, 138, 0.1);
}
.art-note {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--faint);
  text-align: center;
}

/* ================= version 2: depth, motion, real photos ================= */
@property --spin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* header button with the Google Play mark */
.get {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--surface);
  isolation: isolate;
  transition: transform 0.2s;
}
.get::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  z-index: -2;
  border-radius: inherit;
  background: conic-gradient(from var(--spin), var(--ember), var(--ember-end), var(--violet), var(--ember));
  animation: spin 5s linear infinite;
}
.get::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--surface);
}
.get:hover {
  transform: translateY(-2px);
}
.get:hover::after {
  background: var(--surface-high);
}
.get img {
  width: 18px;
  height: 18px;
}
@keyframes spin {
  to {
    --spin: 360deg;
  }
}

/* official badge */
.badge {
  position: relative;
  display: inline-block;
  border-radius: 12px;
  transition: transform 0.25s;
}
.badge img {
  height: 62px;
  width: auto;
}
.badge::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: -1;
  border-radius: 14px;
  background: var(--grad);
  filter: blur(22px);
  opacity: 0.45;
  transition: opacity 0.25s;
}
.badge:hover {
  transform: translateY(-3px);
}
.badge:hover::before {
  opacity: 0.9;
}
.btn svg {
  flex: none;
}

/* hero atmosphere */
.aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) {
  width: 46vw;
  height: 46vw;
  right: -8vw;
  top: -14vw;
  background: #3a2bd0;
}
.aurora i:nth-child(2) {
  width: 30vw;
  height: 30vw;
  right: 18vw;
  bottom: -14vw;
  background: var(--ember);
  opacity: 0.22;
  animation-duration: 28s;
  animation-direction: alternate-reverse;
}
.aurora i:nth-child(3) {
  width: 26vw;
  height: 26vw;
  left: -10vw;
  top: 20%;
  background: var(--violet);
  opacity: 0.16;
  animation-duration: 34s;
}
@keyframes drift {
  to {
    transform: translate(-6vw, 5vw) scale(1.15);
  }
}
.rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: -1;
}
.rings i {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 62, 138, 0.4);
  animation: ring 4.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.rings i:nth-child(2) {
  animation-delay: 1.6s;
}
.rings i:nth-child(3) {
  animation-delay: 3.2s;
}
@keyframes ring {
  from {
    transform: scale(0.55);
    opacity: 0.9;
  }
  to {
    transform: scale(1.75);
    opacity: 0;
  }
}

/* swipe deck */
.stage {
  perspective: 1200px;
}
.tilt {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  transform-style: preserve-3d;
}
.deck {
  position: relative;
  flex: 1;
  min-height: 0;
}
.dcard {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  transition:
    transform 0.7s cubic-bezier(0.3, 0.8, 0.3, 1),
    opacity 0.6s,
    filter 0.6s;
}
.dcard > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}
.dcard.front {
  z-index: 2;
}
.dcard.back {
  z-index: 1;
  transform: scale(0.93) translateY(12px);
  filter: brightness(0.55);
}
.dcard.snap {
  transition: none;
}
.stamp {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 76px;
  height: 76px;
  margin: -38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.25s,
    transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.stamp svg {
  width: 36px;
  height: 36px;
}
.dock .heart.pulse {
  animation: hpulse 0.6s ease;
}
@keyframes hpulse {
  40% {
    transform: scale(1.25);
    box-shadow:
      0 0 0 12px rgba(255, 62, 138, 0.18),
      0 8px 26px -4px rgba(255, 62, 138, 0.9);
  }
}
.float-a {
  animation: bob 6s ease-in-out infinite;
}
.float-b {
  animation: bob2 7s ease-in-out infinite;
}
@keyframes bob {
  50% {
    translate: 0 -10px;
  }
}
@keyframes bob2 {
  50% {
    translate: 0 9px;
  }
}
.match-card .duo img {
  object-fit: cover;
}

/* double ribbon */
.ribbon {
  display: grid;
  gap: 12px;
}
.ribbon-track.rev {
  animation-direction: reverse;
  animation-duration: 60s;
}

/* scroll-lit statement */
.say {
  padding: clamp(72px, 11vw, 150px) 0 0;
}
.say-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.3vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  max-width: 21em;
  text-wrap: balance;
}
.say-text .w {
  color: var(--faint);
  transition: color 0.35s;
}
.say-text .w.lit {
  color: var(--text);
}
.say-text em {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
}
.say-text em .w.lit {
  color: var(--ember);
}

/* scroll story */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}
.story-phone {
  position: sticky;
  top: 96px;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 12px 0;
}
.story-phone .phone {
  width: min(300px, 100%);
  transform: none;
}
.story-dots {
  display: flex;
  gap: 8px;
}
.story-dots i {
  width: 8px;
  height: 8px;
  border-radius: 9px;
  background: var(--outline);
  transition:
    width 0.4s,
    background 0.4s;
}
[data-step="1"] ~ .story-dots i:nth-child(1),
[data-step="2"] ~ .story-dots i:nth-child(2),
[data-step="3"] ~ .story-dots i:nth-child(3) {
  width: 30px;
  background: var(--ember);
}
.scenes {
  position: relative;
  flex: 1;
  min-height: 0;
}
.scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition:
    opacity 0.5s,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
[data-step="1"] .s1,
[data-step="2"] .s2,
[data-step="3"] .s3 {
  opacity: 1;
  transform: none;
}
.scene-card {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
}
.scene-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
}
[data-step="1"] .s1 .tags .hit {
  animation: chip 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 0.5s both;
}
[data-step="1"] .s1 .tags .hit + .hit {
  animation-delay: 0.7s;
}
[data-step="1"] .s1 .common {
  animation: chip 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 0.3s both;
}
@keyframes chip {
  from {
    transform: scale(0.6);
  }
}
.s2 {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 4px;
}
.s2 .opener {
  align-self: stretch;
  max-width: none;
  text-align: left;
  font-size: 0.78rem;
}
.s2 .opener-label {
  margin-top: 6px;
}
.match-bg {
  position: absolute;
  inset: -16px -14px;
  z-index: -1;
  background: radial-gradient(60% 40% at 50% 26%, rgba(255, 62, 138, 0.45), transparent 70%);
}
.match-duo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.match-duo > img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
}
.match-duo > i {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 -16px;
  border-radius: 50%;
  background: var(--bg);
}
[data-step="2"] .match-duo > img:first-child {
  animation: meetL 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
[data-step="2"] .match-duo > img:last-child {
  animation: meetR 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
[data-step="2"] .match-duo > i {
  animation: beat 1.6s ease-in-out 0.7s infinite;
}
[data-step="2"] .s2 .opener {
  animation: up 0.5s ease both;
}
[data-step="2"] .s2 .opener:nth-of-type(2) {
  animation-delay: 0.55s;
}
[data-step="2"] .s2 .opener:nth-of-type(3) {
  animation-delay: 0.7s;
}
[data-step="2"] .s2 .opener:nth-of-type(4) {
  animation-delay: 0.85s;
}
@keyframes meetL {
  from {
    transform: translateX(-60px);
  }
}
@keyframes meetR {
  from {
    transform: translateX(60px);
  }
}
@keyframes up {
  from {
    transform: translateY(14px);
  }
}
.match-title {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.05;
  margin: 12px 0 6px;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 10px;
  border-bottom: 1px solid var(--outline);
}
.chat-head img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.chat-head b {
  display: block;
  font-family: var(--display);
  font-size: 0.92rem;
  line-height: 1.1;
}
.chat-head small {
  font-size: 0.66rem;
  color: var(--online);
}
.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 2px;
}
.chat-body .bubble {
  font-size: 0.74rem;
  max-width: 84%;
}
[data-step="3"] .chat-body .bubble {
  animation: msg 0.45s cubic-bezier(0.3, 1.3, 0.5, 1) both;
}
[data-step="3"] .chat-body .bubble:nth-child(1) {
  animation-delay: 0.3s;
}
[data-step="3"] .chat-body .bubble:nth-child(2) {
  animation-delay: 1s;
}
[data-step="3"] .chat-body .bubble:nth-child(3) {
  animation-delay: 1.7s;
}
[data-step="3"] .chat-body .bubble:nth-child(4) {
  animation-delay: 2.4s;
}
@keyframes msg {
  from {
    transform: translateY(14px) scale(0.9);
  }
}
.typing {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: dots 1.2s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dots {
  30% {
    transform: translateY(-4px);
    opacity: 0.5;
  }
}
.chat-input {
  font-size: 0.72rem;
  color: var(--faint);
  padding: 10px 14px;
  border-radius: 99px;
  border: 1px solid var(--outline);
  background: var(--surface);
}
.beat {
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
  opacity: 0.4;
  transition: opacity 0.5s;
}
.beat.on {
  opacity: 1;
}
.beat-num {
  font-family: var(--accent);
  font-style: italic;
  font-size: clamp(3.4rem, 6vw, 5rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--faint);
  margin-bottom: 14px;
  transition: -webkit-text-stroke-color 0.5s;
}
.beat.on .beat-num {
  -webkit-text-stroke-color: var(--ember);
}
.beat h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
}
.beat p {
  color: var(--muted);
  max-width: 30rem;
}
.beat ul {
  margin-top: 18px;
  display: grid;
  gap: 9px;
  font-size: 0.97rem;
}
.beat li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.beat li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 2px;
  background: var(--grad);
  transform: translateY(-4px);
}
.beat .vig {
  display: none;
  margin-top: 26px;
}

/* ledger icons and hover */
.ledger li {
  grid-template-columns: 48px 1fr;
  transition: background 0.3s;
}
.ledger .ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--surface-high);
  border: 1px solid var(--outline);
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.ledger .ico svg {
  margin: 0;
  width: 22px;
  height: 22px;
}
.ledger li:hover .ico {
  transform: translateY(-3px) rotate(-4deg);
  border-color: var(--ember);
  box-shadow: 0 12px 28px -12px rgba(255, 62, 138, 0.8);
}

/* pointer spotlight */
.spot {
  position: relative;
  overflow: hidden;
}
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, -40%),
    rgba(255, 62, 138, 0.16),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.spot:hover::before {
  opacity: 1;
}
.spot > * {
  position: relative;
}
.form.spot .hp {
  position: absolute;
}

/* closer */
.closer-mark {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 30px;
}
.closer-mark .rings {
  inset: -120px;
  z-index: 0;
}
.closer-mark .rings i {
  width: 60%;
}
.closer-mark img.mark {
  position: relative;
  margin: 0;
}
.closer .badge img {
  height: 68px;
}
.foot-base span:last-child {
  flex-basis: 100%;
  font-size: 0.78rem;
}

/* reveal on scroll: only hidden once the script has confirmed it can reveal */
html.js .rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.js .rv.in {
  opacity: 1;
  transform: none;
}
html.js .ledger .rv:nth-child(even) {
  transition-delay: 0.12s;
}
html.js .extras.rv {
  transition-delay: 0.1s;
}

@media (max-width: 980px) {
  .get {
    margin-left: auto;
    padding: 9px 14px 9px 11px;
    font-size: 0.85rem;
  }
  .menu-btn {
    margin-left: 0;
  }
  .head-row {
    gap: 10px;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-phone {
    display: none;
  }
  .beat {
    min-height: 0;
    opacity: 1;
    padding: 36px 0;
    border-top: 1px solid var(--outline);
  }
  .beat .vig {
    display: flex;
  }
  .beat-num {
    -webkit-text-stroke-color: var(--ember);
  }
  .aurora i {
    filter: blur(60px);
  }
}
@media (max-width: 640px) {
  .badge img {
    height: 58px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aurora i,
  .rings i,
  .float-a,
  .float-b,
  .get::before,
  .typing i {
    animation: none;
  }
  .rings {
    display: none;
  }
  html.js .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scene,
  .dcard,
  .tilt {
    transition: none;
  }
  [data-step] .scene * {
    animation: none !important;
  }
}

/* ================= version 3 ================= */
/* page-to-page transitions (Chrome, Edge, Safari 18+) */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: vt-out 0.22s ease both;
}
::view-transition-new(root) {
  animation: vt-in 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes vt-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.site-head {
  view-transition-name: head;
}

/* skip rendering work for sections until they are near the screen */
.cv {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* headline: the accent word ignites once on load */
.hero h1 .ember-text {
  background-size: 220% 100%;
  background-image: linear-gradient(
    100deg,
    var(--ember-end),
    var(--ember) 40%,
    #fff 50%,
    var(--ember) 60%,
    var(--ember-end)
  );
  animation: ignite 2.4s cubic-bezier(0.3, 0.6, 0.2, 1) 0.5s both;
}
@keyframes ignite {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}

/* deck with any number of cards */
.dcard.queued {
  z-index: 0;
  transform: scale(0.86) translateY(26px);
  opacity: 0;
}
.dcard.do-like {
  transform: translateX(7%) rotate(4deg);
  box-shadow:
    0 0 0 2px var(--ember),
    0 0 50px rgba(255, 62, 138, 0.7);
}
.dcard.do-pass {
  transform: translateX(-7%) rotate(-4deg);
  box-shadow: 0 0 0 2px var(--outline);
}
.dcard.do-super {
  transform: translateY(-5%);
  box-shadow:
    0 0 0 2px var(--gold),
    0 0 50px rgba(255, 200, 87, 0.6);
}
.dcard.gone-like {
  transform: translateX(135%) rotate(22deg);
  opacity: 0;
}
.dcard.gone-pass {
  transform: translateX(-135%) rotate(-22deg);
  opacity: 0;
}
.dcard.gone-super {
  transform: translateY(-125%) scale(0.95);
  opacity: 0;
}
.stamp.s-pass {
  background: var(--surface-high);
  color: var(--text);
  border: 1px solid var(--outline);
}
.stamp.s-super {
  background: var(--gold);
  color: #3a2600;
}
.dcard.do-like .s-like,
.dcard.do-pass .s-pass,
.dcard.do-super .s-super {
  opacity: 1;
  transform: scale(1);
}
.dock span {
  transition: transform 0.2s;
}
.dock span.pulse {
  animation: hpulse 0.6s ease;
}

/* campus band and the ambassador pass */
.campus {
  position: relative;
  overflow: hidden;
}
.campus-grid,
.amb-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}
.campus h2,
.h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  margin: 12px 0 18px;
}
.campus-lede,
.muted-p {
  color: var(--muted);
  max-width: 32rem;
}
.pass-card {
  position: relative;
  max-width: 360px;
  margin-inline: auto;
  padding: 30px 26px 24px;
  border-radius: 26px;
  background: linear-gradient(160deg, #241d5c, #120e30 60%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  transform: rotate(-3deg);
  overflow: hidden;
  isolation: isolate;
}
.pass-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: conic-gradient(
    from 200deg,
    transparent 0 60%,
    rgba(255, 62, 138, 0.35),
    rgba(255, 122, 61, 0.35),
    rgba(140, 123, 255, 0.35),
    transparent 90%
  );
  animation: sheen 9s linear infinite;
}
.pass-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 25px;
  background: linear-gradient(160deg, #211a55, #100c2a 70%);
}
@keyframes sheen {
  to {
    transform: rotate(360deg);
  }
}
.pass-hole {
  width: 58px;
  height: 10px;
  border-radius: 9px;
  margin: -12px auto 22px;
  background: var(--bg);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}
.pass-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
}
.pass-top em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.pass-name {
  display: block;
  margin-top: 44px;
  font-family: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1;
}
.pass-sub {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
.pass-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
}
.pass-row span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.pass-row b {
  display: block;
  margin-top: 3px;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}
.pass-card.big {
  max-width: 390px;
}
.amb-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.amb-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.steps-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.steps-3 article {
  padding-top: 22px;
  border-top: 1px solid var(--outline);
}
.steps-3 h3 {
  font-size: 1.5rem;
  margin: 10px 0 10px;
}
.steps-3 p {
  color: var(--muted);
}
.steps-3 .beat-num {
  -webkit-text-stroke-color: var(--ember);
}
.amb-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 80px);
}
.amb-two .h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.tick-list {
  display: grid;
  gap: 12px;
}
.tick-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--online)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0920' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
.tick-list.no li::before {
  background: var(--danger)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0920' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E")
    center/11px no-repeat;
}
.tick-list a,
.fb-copy a:not(.mail) {
  color: var(--text);
  text-decoration-color: var(--ember);
  text-underline-offset: 3px;
}
.amb-faq {
  margin-top: 28px;
}
.amb-faq summary {
  font-size: 1.02rem;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
}
.check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--ember);
}
.check a {
  color: var(--text);
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: var(--danger);
}

/* help centre */
.help {
  padding-block: clamp(28px, 4vw, 48px) 0;
}
.help-tools {
  position: sticky;
  top: 72px;
  z-index: 5;
  padding: 16px 0;
  background: linear-gradient(var(--bg) 78%, transparent);
  display: grid;
  gap: 14px;
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--outline);
  background: var(--surface);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.search:focus-within {
  border-color: var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 62, 138, 0.16);
}
.search svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--muted);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 16px 0;
  outline: none;
  font-size: 1.02rem;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid var(--outline);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover {
  color: var(--text);
  border-color: var(--muted);
}
.chip.on {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.help-list {
  display: grid;
  gap: 44px;
  max-width: 860px;
  padding-top: 12px;
}
.help-group h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.help-group details p a {
  color: var(--text);
}
.help mark {
  background: rgba(255, 62, 138, 0.28);
  color: inherit;
  border-radius: 3px;
}
.small-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--faint);
}
.faq-more {
  margin-top: 24px;
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}
.about-grid .prose p {
  font-size: 1.08rem;
}
.facts {
  display: grid;
  border: 1px solid var(--outline);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
}
.facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 14px 20px;
  border-top: 1px solid var(--outline);
}
.facts div:first-child {
  border-top: 0;
}
.facts dt {
  color: var(--faint);
  font-size: 0.86rem;
  font-weight: 600;
}
.facts dd a {
  color: var(--text);
}
.brand-tile {
  display: grid;
  place-items: center;
  gap: 14px;
  aspect-ratio: 4/3;
  border-radius: 26px;
  background: radial-gradient(closest-side, var(--bg-glow), var(--bg));
  border: 1px solid var(--outline);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
}
.brand-tile img {
  width: 110px;
  height: 110px;
}

/* guides */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.guide-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}
.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--outline);
  background: var(--surface);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--ember);
}
.guide-card h2 {
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}
.guide-card p {
  color: var(--muted);
  font-size: 0.97rem;
  flex: 1;
}
.guide-card .text-link {
  align-self: flex-start;
}
.guide-n {
  position: absolute;
  right: 20px;
  top: 8px;
  font-family: var(--accent);
  font-style: italic;
  font-size: 4.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--outline);
}
.article > p:first-child {
  font-size: 1.15rem;
  color: var(--text);
}
.article section h2 {
  display: block;
}
.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 40px;
  padding: 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--outline);
}
.article-cta > div {
  flex: 1;
  min-width: 220px;
}
.article-cta b {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
}
.article-cta span {
  color: var(--muted);
  font-size: 0.93rem;
}
.article-cta .badge img {
  height: 52px;
}
.related {
  border-top: 1px solid var(--outline);
}
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .read-progress {
    animation: readbar linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes readbar {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 980px) {
  .campus-grid,
  .amb-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .amb-visual {
    min-height: 340px;
  }
  .steps-3,
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .help-tools {
    top: 72px;
  }
}
@media (max-width: 640px) {
  .amb-two,
  .guide-grid.two {
    grid-template-columns: 1fr;
  }
  .facts div {
    grid-template-columns: 90px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  .pass-card::before,
  .hero h1 .ember-text {
    animation: none;
  }
  .read-progress {
    display: none;
  }
}
.lost .hero-cta {
  justify-content: center;
}

/* form errors shown right under the field that needs fixing */
.field-err {
  margin: 2px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ff9c9c;
}
.field-err::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--danger);
  transform: translateY(-1px);
}
.field .is-bad,
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.14);
}
.check.is-bad {
  color: #ffb4b4;
}
.check + .field-err {
  margin-top: -8px;
}
.form-done {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--online);
}
.form-done b {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.form-done p {
  color: var(--muted);
}
.form-done i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.14);
  color: var(--online);
}
.form-done i svg {
  width: 26px;
  height: 26px;
}
.btn .spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin360 0.7s linear infinite;
}
@keyframes spin360 {
  to {
    transform: rotate(360deg);
  }
}
.form-msg.info {
  color: var(--muted);
}

/* ---- press feedback on every button ---- */
.btn,
.chip {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.btn:active,
.chip:active,
.get:active,
.play:active,
.badge:active,
.menu-btn:active,
.faq summary:active {
  transform: scale(0.96);
  transition-duration: 0.08s;
}
.btn-ember:active {
  box-shadow: 0 4px 14px -6px rgba(255, 62, 138, 0.8);
}
.ripple {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.45) 0,
    rgba(255, 255, 255, 0.18) 40%,
    transparent 70%
  );
  transform: scale(0);
  animation: ripple 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.btn-line .ripple,
.chip .ripple {
  background: radial-gradient(
    circle,
    rgba(255, 62, 138, 0.35) 0,
    rgba(255, 62, 138, 0.12) 45%,
    transparent 70%
  );
}
@keyframes ripple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}
.btn[disabled] {
  opacity: 0.85;
  cursor: progress;
}
.btn .spin {
  flex: none;
}

/* ---- success: the tick pops, draws itself, and hearts burst out ---- */
.form-done {
  animation: done-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.form-done i {
  position: relative;
  animation: tick-pop 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) 0.1s both;
}
.form-done i svg path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: tick-draw 0.45s ease 0.35s forwards;
}
.burst-heart {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px;
  pointer-events: none;
  background: var(--grad);
  clip-path: path(
    "M6 11S0 7.400 0 3.600C0 1.600 1.500 0 3.300 0 4.500 0 5.500.600 6 1.500 6.500.600 7.500 0 8.700 0 10.500 0 12 1.600 12 3.600 12 7.400 6 11 6 11z"
  );
  animation: heart-fly 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.3s forwards;
  opacity: 0;
}
@keyframes done-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
@keyframes tick-pop {
  from {
    transform: scale(0.3);
  }
}
@keyframes tick-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes heart-fly {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.4) rotate(0);
  }
  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) scale(1.1) rotate(var(--r));
  }
}

/* errors shake once so you notice them */
.field-err {
  animation: err-in 0.35s ease both;
}
@keyframes err-in {
  0% {
    opacity: 0;
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(4px);
  }
  70% {
    transform: translateX(-2px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .form-done,
  .form-done i,
  .form-done i svg path,
  .field-err {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* =====================================================================
   version 4: five-step scroll story, photo moments, closing orbit
   ===================================================================== */

/* five scenes: step 0 (sign up) to step 4 (first date) */
[data-step="0"] .s0,
[data-step="4"] .s4 {
  opacity: 1;
  transform: none;
}

/* step 0: profile set-up screen */
.s0 {
  align-items: stretch;
  gap: 12px;
}
.su-bar {
  height: 5px;
  border-radius: 9px;
  background: var(--surface-high);
  overflow: hidden;
}
.su-bar i {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--grad);
  border-radius: 9px;
  transition: width 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-step="0"] .su-bar i {
  width: 80%;
}
.su-avatar {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 8px auto 4px;
}
.su-avatar img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 5px var(--ember);
}
.su-avatar span {
  position: absolute;
  right: -2px;
  bottom: 2px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--online);
  color: #06251a;
  border: 3px solid var(--bg);
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 0.9s;
}
.su-avatar span svg {
  width: 14px;
  height: 14px;
}
[data-step="0"] .su-avatar span {
  transform: scale(1);
}
.su-field {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--outline);
  font-size: 0.82rem;
}
.su-field small {
  color: var(--faint);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.su-field .tags {
  margin-top: 2px;
}
[data-step="0"] .su-field .tags .hit {
  animation: chip 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
[data-step="0"] .su-field .tags .hit:nth-child(2) {
  animation-delay: 0.15s;
}
[data-step="0"] .su-field .tags .hit:nth-child(4) {
  animation-delay: 0.3s;
}
[data-step="0"] .su-field .tags .hit:nth-child(6) {
  animation-delay: 0.45s;
}
.su-btn {
  margin-top: auto;
  padding: 12px;
  border-radius: 99px;
  text-align: center;
  font-weight: 700;
  font-size: 0.86rem;
  color: #fff;
  background: var(--grad);
}

/* step 4: the first date photo slowly zooms */
.s4 .scene-card > picture img,
.scene-card > picture img,
.vig-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.scene-card > picture {
  display: block;
  width: 100%;
  height: 100%;
}
.s4 .scene-card > picture img {
  transform: scale(1.12);
  transition: transform 6s ease-out;
}
[data-step="4"] .s4 .scene-card > picture img {
  transform: scale(1);
}

/* five dots under the phone */
.story-rail {
  display: flex;
  gap: 8px;
}
.story-rail i {
  width: 8px;
  height: 8px;
  border-radius: 9px;
  background: var(--outline);
  transition:
    width 0.4s,
    background 0.4s;
}
[data-step="0"] ~ .story-rail i:nth-child(1),
[data-step="1"] ~ .story-rail i:nth-child(2),
[data-step="2"] ~ .story-rail i:nth-child(3),
[data-step="3"] ~ .story-rail i:nth-child(4),
[data-step="4"] ~ .story-rail i:nth-child(5) {
  width: 30px;
  background: var(--ember);
}

/* a line beside the steps fills as you scroll through them */
.story-steps {
  position: relative;
  padding-left: 34px;
}
.story-line {
  position: absolute;
  left: 0;
  top: 12vh;
  bottom: 12vh;
  width: 2px;
  background: var(--outline);
  border-radius: 2px;
}
.story-line i {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background: var(--grad);
  border-radius: 2px;
  transform-origin: top;
  transform: scaleY(var(--p, 0));
}
.story-line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--p, 0) * 100%);
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 5px rgba(255, 62, 138, 0.2), 0 0 20px rgba(255, 62, 138, 0.8);
}
.beat ul a {
  color: var(--text);
  text-decoration-color: var(--ember);
  text-underline-offset: 3px;
}
.vig-photo {
  padding: 0;
  min-height: 0;
  aspect-ratio: 4 / 5;
  max-height: 420px;
}

/* moments: three photos drift at different speeds as you scroll */
.moments {
  overflow: hidden;
}
.moments-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}
.moments-photos {
  position: relative;
  min-height: clamp(420px, 52vw, 620px);
}
.mp {
  position: absolute;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  transform: translate3d(0, var(--py, 0px), 0) rotate(var(--rot, 0deg));
  will-change: transform;
}
.mp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mp-a {
  left: 0;
  top: 6%;
  width: 66%;
  aspect-ratio: 4 / 3;
  --rot: -3deg;
}
.mp-b {
  right: 2%;
  top: 30%;
  width: 40%;
  aspect-ratio: 3 / 4;
  z-index: 2;
  --rot: 4deg;
}
.mp-c {
  left: 12%;
  bottom: 0;
  width: 30%;
  aspect-ratio: 3 / 4;
  --rot: -6deg;
}
.mp-heart {
  position: absolute;
  z-index: 3;
  left: 56%;
  top: 22%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow:
    0 0 0 1px var(--outline),
    0 20px 40px -10px rgba(0, 0, 0, 0.8);
  animation: beat 2.6s ease-in-out infinite;
}
.mp-chip {
  position: absolute;
  z-index: 4;
  padding: 9px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--outline);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}
.mp-chip-a {
  left: 4%;
  top: 0;
  animation: bob 6s ease-in-out infinite;
}
.mp-chip-b {
  right: 0;
  bottom: 8%;
  color: var(--gold);
  animation: bob2 7s ease-in-out infinite;
}

/* closer: two faces circle the heart */
.orbit {
  position: absolute;
  inset: -64px;
  animation: orbit 16s linear infinite;
}
.orbit span {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 5px var(--ember);
  animation: orbit 16s linear infinite reverse;
}
.orbit span:nth-child(1) {
  left: -6px;
  top: 50%;
  margin-top: -28px;
}
.orbit span:nth-child(2) {
  right: -6px;
  top: 50%;
  margin-top: -28px;
}
.orbit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
.closer-mark {
  margin-bottom: 70px;
  margin-top: 40px;
}

@media (max-width: 980px) {
  .story-steps {
    padding-left: 0;
  }
  .story-line {
    display: none;
  }
  .moments-grid {
    grid-template-columns: 1fr;
  }
  .moments-photos {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
}
@media (max-width: 560px) {
  .mp-chip {
    font-size: 0.72rem;
    padding: 7px 11px;
  }
  .mp-heart {
    width: 52px;
    height: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .orbit,
  .orbit span,
  .mp-heart,
  .mp-chip {
    animation: none;
  }
  .mp {
    transform: rotate(var(--rot, 0deg));
  }
  .s4 .scene-card > picture img {
    transform: none;
  }
}

/* photos inside <picture> fill their card */
.dcard > picture,
.dcard > picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.app-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
}
