/* Apple-style: system type (SF on Apple devices), black, lots of room, and Liquid Glass for
   everything you touch: the nav, the email field, the cards. Colour comes from the app's own
   screens; the page itself stays black, white and grey. */
:root {
  --bg: #000;
  --text: #f5f5f7;
  --text-2: #86868b;
  --text-3: #6e6e73;
  --signal: #ff5a50;
  --positive: #30d158;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Inter", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Liquid Glass: a little light, heavy blur, a bright rim on top and a soft one below. */
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-rim: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.47; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }
@media (max-width: 520px) { .wrap { padding: 0 16px; } }

/* ---------- Liquid Glass ---------- */
.glass {
  position: relative; background: var(--glass-bg);
  -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%);
  box-shadow: var(--glass-rim), var(--glass-shadow);
}
.glass::before { /* the curved highlight that makes it read as glass, not a grey box */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 42%),
              radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, 0.12), transparent 60%);
}

/* ---------- Nav: a floating glass capsule ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 20; display: flex; justify-content: center; pointer-events: none; }
.nav .bar {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  width: min(680px, calc(100% - 28px)); height: 52px; padding: 0 6px 0 22px; border-radius: 999px;
}
.logo { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: 0.18em; text-decoration: none; }
.logo img { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.nav .bar { padding-left: 12px; }
.nav .btn { height: 40px; padding: 0 18px; font-size: 15px; }
.nav .alt { position: relative; font-size: 15px; color: var(--text-2); text-decoration: none; padding-right: 16px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer;
  border-radius: 999px; background: #f5f5f7; color: #000; font: 600 16px var(--font); letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; transition: transform 0.35s var(--ease), background 0.2s, opacity 0.2s;
}
.btn:hover { background: #fff; transform: scale(1.03); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.8; cursor: default; }

/* ---------- Background light (what the glass bends) ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; will-change: transform; }
.ambient i:nth-child(1) { width: 560px; height: 560px; left: 50%; top: 40%; margin-left: -280px; background: radial-gradient(circle, #ff6a3d, transparent 65%); animation: drift1 18s ease-in-out infinite; }
.ambient i:nth-child(2) { width: 460px; height: 460px; left: 12%; top: 64%; background: radial-gradient(circle, #ffb340, transparent 65%); opacity: 0.2; animation: drift2 22s ease-in-out infinite; }
.ambient i:nth-child(3) { width: 520px; height: 520px; right: 6%; top: 6%; background: radial-gradient(circle, #8e8e93, transparent 65%); opacity: 0.14; animation: drift1 26s ease-in-out infinite reverse; }
@keyframes drift1 { 50% { transform: translate(60px, -40px) scale(1.08); } }
@keyframes drift2 { 50% { transform: translate(-50px, 30px) scale(0.94); } }

/* ---------- Hero ---------- */
.hero { padding: 132px 0 0; text-align: center; }
.app-icon { display: block; margin: 0 auto 22px; width: 88px; height: 88px; border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 90, 80, 0.28); }
.final .app-icon { width: 72px; height: 72px; border-radius: 16px; margin-bottom: 26px; }
.eyebrow { font-size: 19px; font-weight: 600; color: var(--text-2); margin: 0 0 14px; letter-spacing: -0.01em; }
h1 { text-wrap: balance;
  margin: 0; font-weight: 700; font-size: clamp(56px, 10vw, 112px); line-height: 1.02; letter-spacing: -0.045em;
  background: linear-gradient(180deg, #fff 30%, #a1a1a6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { text-wrap: balance; font-size: clamp(19px, 2.3vw, 24px); line-height: 1.38; color: var(--text-2); max-width: 600px; margin: 22px auto 38px; font-weight: 500; letter-spacing: -0.015em; }
.lede b { color: var(--text); font-weight: 600; }

/* ---------- Signup: a glass capsule ---------- */
.signup { max-width: 460px; margin: 0 auto; text-align: left; }
.field {
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.field:focus-within { box-shadow: var(--glass-rim), 0 0 0 4px rgba(255, 255, 255, 0.12), 0 20px 60px rgba(0, 0, 0, 0.5); transform: scale(1.015); }
.field input[type="email"] {
  position: relative; flex: 1; min-width: 0; height: 46px; padding: 0 8px 0 18px; border: 0; outline: 0;
  background: transparent; color: var(--text); font: 500 17px var(--font); letter-spacing: -0.01em;
}
.field input::placeholder { color: rgba(235, 235, 245, 0.45); }
.field .btn { height: 46px; padding: 0 20px; }
.btn .spin { display: none; width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, 0.2); border-top-color: #000; animation: spin 0.7s linear infinite; }
.signup.busy .spin { display: inline-block; }
.signup.busy .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.note { font-size: 14px; color: var(--text-3); margin: 14px 0 0; text-align: center; }
.note a { color: var(--text-2); }
.status { margin: 10px 0 0; font-size: 14px; color: var(--text-2); text-align: center; }
.status:empty { margin: 0; }
.status.error { color: #ff8a80; }
.field.shake { animation: shake 0.45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@media (max-width: 400px) {
  .field input[type="email"] { padding-left: 14px; font-size: 16px; }
  .field .btn { padding: 0 15px; font-size: 15px; }
  .btn .long { display: none; }
}

.done { display: none; align-items: center; gap: 14px; padding: 10px 20px 10px 10px; border-radius: 999px; }
.done .tick { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--positive); display: grid; place-items: center; }
.done .tick svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.done p { position: relative; margin: 0; font-size: 15px; line-height: 1.35; }
.done p span { color: var(--text-2); }
.signup.sent .field, .signup.sent .note, .signup.sent .status { display: none; }
.signup.sent .done { display: flex; animation: pop 0.6s var(--ease); }
.signup.sent .done .tick svg { animation: draw 0.5s 0.2s var(--ease) forwards; }
@keyframes pop { from { opacity: 0; transform: scale(0.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Phone ---------- */
.device {
  position: relative; border-radius: 54px; padding: 10px;
  background: linear-gradient(145deg, #5b5b60, #1d1d1f 30%, #2c2c2e 70%, #6b6b70);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 60px 120px -20px rgba(0, 0, 0, 0.8);
}
.device img { border-radius: 45px; width: 100%; }
.hero-device { width: min(340px, 78vw); margin: 72px auto 0; will-change: transform; }

/* ---------- The fight video ---------- */
.stage { position: relative; width: min(760px, 100%); margin: 72px auto 0; border-radius: 34px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 60px 140px -30px rgba(255, 106, 61, 0.35); will-change: transform; }
.stage img { display: block; width: 100%; height: auto; }

/* ---------- Statement that lights up as you scroll ---------- */
.statement { padding: 180px 0 140px; }
.statement p { margin: 0 auto; max-width: 860px; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.12; font-weight: 700; letter-spacing: -0.035em; }
.statement .w { color: #2c2c2e; transition: color 0.35s linear; }
.statement .w.on { color: var(--text); }

/* ---------- Bento of glass cards ---------- */
.bento { padding: 20px 0 120px; }
.bento h2 { text-align: center; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 56px; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } }
.card { border-radius: 34px; padding: 34px 34px 0; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.6s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card .kicker { position: relative; font-size: 14px; font-weight: 600; color: var(--text-2); margin: 0 0 8px; }
.card h3 { position: relative; margin: 0; font-size: clamp(26px, 3vw, 32px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.card p { position: relative; margin: 10px 0 0; color: var(--text-2); font-size: 17px; max-width: 380px; }
.card .crop { position: relative; margin: 30px auto 0; width: min(270px, 80%); height: 360px; overflow: hidden; border-radius: 36px 36px 0 0; padding: 8px 8px 0; background: linear-gradient(145deg, #5b5b60, #1d1d1f 30%, #2c2c2e 70%, #6b6b70); }
.card .crop img { border-radius: 29px 29px 0 0; }
.card .crop.lower img { margin-top: -175px; border-radius: 0; }
.card .crop.lower { padding-top: 0; border-radius: 0; background: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 70px); mask-image: linear-gradient(180deg, transparent, #000 70px); }
.card.wide { grid-column: 1 / -1; flex-direction: row; align-items: flex-end; gap: 30px; }
.card.wide .text { padding-bottom: 40px; align-self: center; }
.card.wide .crop { margin: 30px 20px 0 auto; flex: none; }
@media (max-width: 760px) { .card.wide { flex-direction: column; align-items: stretch; } .card.wide .text { padding-bottom: 0; } .card.wide .crop { margin: 30px auto 0; } }

.card .pic { position: relative; margin: 28px -34px 0; }
.card .pic img { width: 100%; height: 300px; object-fit: cover; object-position: center 30%; }
.card .tag { position: absolute; left: 34px; bottom: 22px; padding: 7px 13px; border-radius: 999px; background: rgba(255, 90, 80, 0.92); color: #fff; font-size: 13px; font-weight: 600; }
.card .says { position: relative; display: flex; align-items: center; gap: 14px; margin: 34px 0 14px; }
.card p.you { align-self: flex-end; margin: 0 0 34px; padding: 12px 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.14); color: var(--text); font-size: 16px; max-width: 80%; }
.card .says img { flex: none; width: 92px; height: 92px; border-radius: 50%; object-fit: cover; background: #000; }
.card .says .bubble { position: relative; background: #f5f5f7; color: #1c1c1e; border-radius: 20px; padding: 14px 16px; font-size: 16px; line-height: 1.35; }
.card .says .bubble::before { content: ""; position: absolute; left: -8px; top: 50%; margin-top: -8px; border: 8px solid transparent; border-left: 0; border-right-color: #f5f5f7; }
.card .strip { position: relative; width: calc(100% + 68px); max-width: none; margin: 26px -34px 22px; mix-blend-mode: screen; }

/* ---------- Final ---------- */
.final { padding: 140px 0 150px; text-align: center; }
.final h2 { margin: 0; font-size: clamp(48px, 8vw, 96px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; background: linear-gradient(180deg, #fff 30%, #a1a1a6); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal (only with JS, so nothing stays hidden without it) ---------- */
.js .reveal { opacity: 0; transform: translateY(30px) scale(0.985); filter: blur(4px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .ambient i { animation: none; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}

/* ---------- Footer ---------- */
footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 26px 0 40px; font-size: 12px; color: var(--text-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }
footer nav { display: flex; gap: 22px; }
footer a { text-decoration: none; color: var(--text-2); }
footer a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal { padding: 120px 0 96px; }
.legal .wrap { max-width: 720px; }
.legal h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 10px; }
.legal .back { margin-top: 48px; }
.legal .updated { color: var(--text-3); font-size: 14px; margin: 0 0 40px; }
.legal h2 { font-size: 21px; margin: 40px 0 10px; font-weight: 600; letter-spacing: -0.02em; }
.legal p, .legal li { color: #c7c7cc; font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .summary { border-radius: 22px; padding: 18px 22px; background: rgba(255, 255, 255, 0.05); }
.legal .summary p { margin: 0 0 6px; color: var(--text); }
.legal .summary ul { margin: 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #c7c7cc; }
.legal th { color: var(--text); font-weight: 600; }
.placeholder { background: rgba(255, 90, 80, 0.15); color: #ffb0a8; border-radius: 4px; padding: 0 4px; }

/* ---------- How it works ---------- */
.steps { padding: 0 0 120px; }
.steps h2, .honest h2, .faq h2 { text-align: center; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 48px; font-weight: 700; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .steps ol { grid-template-columns: 1fr; gap: 14px; } }
.steps li { border-radius: 30px; padding: 30px 28px 32px; }
.steps .num { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f5f5f7; color: #000; font-weight: 700; font-size: 18px; margin-bottom: 22px; }
.steps li:nth-child(2) .num { background: var(--signal); color: #fff; }
.steps h3 { position: relative; margin: 0; font-size: 24px; line-height: 1.15; letter-spacing: -0.025em; }
.steps p { position: relative; margin: 10px 0 0; color: var(--text-2); }

/* ---------- Honest by design ---------- */
.honest { padding: 0 0 120px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; gap: 26px; } }
.trio h3 { margin: 0; font-size: 21px; letter-spacing: -0.02em; }
.trio p { margin: 8px 0 0; color: var(--text-2); }
.trio div { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 18px; }

/* ---------- Questions ---------- */
.faq { padding: 0 0 40px; }
.faq .list { max-width: 720px; margin: 0 auto; border-radius: 28px; padding: 6px 26px; }
.faq details { position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 300; color: var(--text-2); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 20px; color: var(--text-2); max-width: 600px; }

/* ---------- The app's belts, one per rank ---------- */
.card .belts { position: relative; list-style: none; margin: 18px -12px 26px; padding: 0; display: grid; gap: 0; }
.belts li { margin-top: -14px; }
.belts li:first-child { margin-top: 0; }
.belts img { width: 100%; height: auto; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.55)); }

/* ---------- Hero picture ---------- */
.shot { width: min(520px, 100%); margin: 64px auto 0; will-change: transform; }
.shot img { width: 100%; border-radius: 48px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 60px 140px -30px rgba(255, 106, 61, 0.4); }
.shot figcaption { margin-top: 14px; font-size: 13px; color: var(--text-3); }
@media (max-width: 520px) { .shot img { border-radius: 36px; } }
.card.wide-coach { grid-column: 1 / -1; }
.card.wide-coach .says, .card.wide-coach p.you { max-width: 560px; }
.card.wide-coach p.you { align-self: auto; margin-left: auto; margin-right: max(0px, calc(100% - 560px)); }
