/* The home page's sections (main.css has the shared parts). */

/* ---------- hero ---------- */
.hero { padding-top: clamp(130px, 14vw, 180px); }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.hero h1 { max-width: 14ch; }
.hero-sub { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.7; color: var(--ink2); margin: 0; max-width: 46ch; }
.stage { position: relative; height: clamp(440px, 62vw, 760px); margin-top: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background:
  radial-gradient(60% 55% at 50% 58%, rgba(255, 90, 31, .16), rgba(255, 90, 31, 0) 70%),
  radial-gradient(40% 40% at 72% 30%, rgba(216, 255, 62, .25), rgba(216, 255, 62, 0) 70%), var(--paper2); overflow: hidden; }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.stage .still { position: absolute; inset: 0; display: grid; place-items: center; padding: 6% 0; transition: opacity .6s; }
.stage .still .phone { width: auto; height: 100%; transform: rotate(-6deg); }
.stage.live .still { opacity: 0; pointer-events: none; }
.stage .float { z-index: 2; animation: bob 6s ease-in-out infinite; }
.stage .f1 { left: 7%; top: 16%; } .stage .f2 { right: 8%; top: 22%; animation-delay: -1.5s; }
.stage .f3 { left: 11%; bottom: 18%; animation-delay: -3s; } .stage .f4 { right: 10%; bottom: 14%; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.float .ring { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -8px; border-radius: 50%; background: conic-gradient(var(--pop) 0 82%, var(--paper2) 82% 100%); font-style: normal; }
.float .ring b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--white); font: 800 10px/1 var(--display); }
.float .sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.float .live { width: 10px; height: 10px; border-radius: 50%; background: #2BC26B; display: inline-block; animation: ping 2s infinite; }
@media (max-width: 720px) { .stage .f1, .stage .f4 { display: none; } .stage .f2 { right: 4%; top: 6%; } .stage .f3 { left: 4%; bottom: 6%; } }

/* ---------- numbers bento ---------- */
.card .big { display: flex; align-items: baseline; gap: 8px; }
.card .big .num { font-size: clamp(72px, 8vw, 120px); }
.card .big .unit { font: 800 clamp(26px, 2.6vw, 38px)/1 var(--display); letter-spacing: -.02em; color: var(--muted); }
.card.ink .big .unit { color: var(--cream-muted); }
.card.ember .big .unit, .card.pop .big .unit { color: rgba(12, 11, 10, .6); }
.card .label { margin: 10px 0 0; }
.numbers .row-2 { display: flex; flex-direction: column; }
.sports { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; max-width: 26rem; }
.sports span { padding: 8px 14px; border-radius: 999px; background: var(--paper); font: 700 14px/1 var(--body); }
.card .obj { position: absolute; right: -6%; bottom: -8%; width: 58%; max-width: 340px; z-index: -1; transition: transform .8s var(--ease); }
.card:hover .obj { transform: translateY(-8px) rotate(-3deg); }
.split-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 100%; }
.circle { position: relative; flex: none; width: 190px; height: 190px; }
.circle span { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font: 800 18px/1 var(--display); color: var(--ink); transform: rotate(var(--a)) translate(76px) rotate(calc(-1 * var(--a))); box-shadow: 0 0 0 4px var(--paper2); animation: orbit 30s linear infinite; }
.circle .you { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: url(/assets/mark.svg) center/cover; box-shadow: 0 0 0 8px rgba(255, 90, 31, .18), 0 0 0 18px rgba(255, 90, 31, .08); }
@keyframes orbit { to { transform: rotate(calc(var(--a) + 360deg)) translate(76px) rotate(calc(-1 * var(--a) - 360deg)); } }
.tag-free { right: 24px; top: 24px; background: var(--pop); }
.sos { position: absolute; right: 26px; bottom: 26px; width: 84px; height: 84px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; font: 800 18px/1 var(--display); color: var(--ink); }
.sos i { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255, 90, 31, .55); animation: sos 2s infinite; }
@keyframes sos { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .55); } 80% { box-shadow: 0 0 0 26px rgba(255, 90, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }
.row-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--paper); font: 700 13px/1 var(--body); }
.pill.dark { background: var(--ink); color: var(--cream); }
.pill.pop { background: var(--pop); color: var(--ink); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-top: 18px; }
.bars i { flex: 1; height: calc(var(--h) * 100%); min-height: 8px; border-radius: 8px; background: var(--paper3); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.bars i.on { background: var(--ember); }
.in .bars i, .bars.in i { transform: none; }
.bars i:nth-child(2) { transition-delay: .05s; } .bars i:nth-child(3) { transition-delay: .1s; } .bars i:nth-child(4) { transition-delay: .15s; } .bars i:nth-child(5) { transition-delay: .2s; } .bars i:nth-child(6) { transition-delay: .25s; } .bars i:nth-child(7) { transition-delay: .3s; }
.days { display: flex; gap: 10px; margin-top: 8px; } .days span { flex: 1; text-align: center; font: 700 13px/1 var(--body); color: var(--muted); }
.window { display: flex; align-items: flex-end; gap: 5px; height: 70px; margin-top: 18px; }
.window i { flex: 1; height: calc(var(--h) * 100%); border-radius: 5px; background: rgba(12, 11, 10, .22); }
.window i.best { background: var(--ink); }

/* ---------- inside the app ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--paper2); }
.filters button { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font: 700 13px/1 var(--body); letter-spacing: .05em; text-transform: uppercase; color: var(--ink2); transition: background .25s, color .25s; }
.filters button:hover { background: var(--white); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; grid-auto-flow: dense; }
.feat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; padding: 30px; border-radius: var(--r-xl); background: var(--white); color: var(--ink); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), opacity .4s, background .3s; }
.feat:hover { transform: translateY(-6px); }
.feat.ink { background: var(--night); color: var(--cream); } .feat.ink p { color: var(--cream-muted); }
.feat.pop { background: var(--pop); } .feat.ember { background: var(--ember); }
.feat.pop p, .feat.ember p { color: rgba(12, 11, 10, .72); }
.feat .tagline { display: inline-flex; align-self: flex-start; height: 28px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--paper2); font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.feat.ink .tagline { background: var(--night3); }
.feat.pop .tagline, .feat.ember .tagline { background: rgba(255, 255, 255, .5); }
.feat h3 { font-size: clamp(24px, 2.2vw, 32px); }
.feat p { margin: 10px 0 0; color: var(--muted); font-size: 16px; max-width: 36ch; }
.feat .obj { position: absolute; right: 4%; top: 4%; width: 42%; max-width: 190px; max-height: 52%; object-fit: contain; object-position: top right; z-index: -1; transition: transform .8s var(--ease); }
.feat:hover .obj { transform: translateY(-10px) rotate(-4deg) scale(1.04); }
.big-feat { grid-column: span 2; flex-direction: row; align-items: flex-end; gap: 30px; background: var(--paper2); }
.big-feat .shot { flex: none; width: min(42%, 300px); margin-bottom: -150px; transition: transform .8s var(--ease); }
.big-feat:hover .shot { transform: translateY(-16px) rotate(-2deg); }
.big-feat.flip { flex-direction: row-reverse; }
.big-feat .txt { padding-bottom: 6px; }
.feat.hide { display: none; }
.hexes { position: absolute; right: 24px; top: 28px; display: grid; grid-template-columns: repeat(3, 46px); gap: 6px; }
.hexes i { width: 46px; height: 52px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: rgba(12, 11, 10, .12); }
.hexes i:nth-child(3n+2) { transform: translateY(26px); }
.hexes i.me { background: var(--ember); } .hexes i.friend { background: #7FA7FF; }
.pulse { position: absolute; right: 40px; top: 40px; width: 90px; height: 90px; }
.pulse i { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--ink); animation: ripple 2.6s infinite; opacity: 0; }
.pulse i:nth-child(2) { animation-delay: .8s; } .pulse i:nth-child(3) { animation-delay: 1.6s; }
@keyframes ripple { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.trail { position: absolute; left: 20px; right: 20px; top: 26px; }
.trail path { stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 2s var(--ease); }
.feat.in .trail path { stroke-dashoffset: 0; }
.ring-big { position: absolute; right: 28px; top: 28px; width: 120px; height: 120px; }
.ring-big b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 38px/1 var(--display); color: var(--cream); }
.ring-big .arc { stroke-dasharray: 0 100; transition: stroke-dasharray 1.6s var(--ease); }
.feat.in .ring-big .arc { stroke-dasharray: 82 100; }
.hr { position: absolute; left: 28px; right: 28px; top: 34px; display: flex; align-items: center; gap: 14px; }
.hr svg { flex: 1; }
.hr path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: beat 2.4s linear infinite; }
@keyframes beat { to { stroke-dashoffset: -260; } }
.hr b { font: 800 30px/1 var(--display); color: #FF4D6D; } .hr small { font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .feats { grid-template-columns: 1fr 1fr; } .big-feat { grid-column: span 2; } }
@media (max-width: 620px) { .feats { grid-template-columns: 1fr; } .big-feat { grid-column: auto; flex-direction: column !important; align-items: flex-start; min-height: 0; } .big-feat .shot { width: 62%; margin: 0 auto -170px; order: 2; } .big-feat .txt { order: 1; } .feat { min-height: 380px; } }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.steps li { padding: 30px; border-radius: var(--r-xl); background: var(--paper2); min-height: 300px; display: flex; flex-direction: column; }
.steps .n { font: 800 64px/1 var(--display); letter-spacing: -.04em; color: var(--ember); margin-bottom: auto; }
.steps h3 { margin-top: 28px; } .steps p { margin: 10px 0 0; color: var(--muted); }
.steps li:nth-child(2) { margin-top: 40px; } .steps li:nth-child(3) { margin-top: 80px; } .steps li:nth-child(4) { margin-top: 120px; background: var(--ink); color: var(--cream); } .steps li:nth-child(4) p { color: var(--cream-muted); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .steps li { margin-top: 0 !important; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li { min-height: 0; } }

/* ---------- flyover ---------- */
.flyover { min-height: clamp(560px, 90vh, 900px); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.fly-stage { position: absolute; inset: 0; z-index: -1; }
.fly-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.fly-stage .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .8s; }
.fly-stage.live .still { opacity: 0; }
.flyover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 11, 10, .92) 0%, rgba(12, 11, 10, .55) 40%, rgba(12, 11, 10, 0) 70%); pointer-events: none; }
.fly-copy { padding-top: 80px; padding-bottom: clamp(48px, 7vw, 96px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.fly-copy h2 { max-width: 10ch; }
.readout { display: flex; align-items: baseline; gap: 10px; color: var(--pop); }
.readout .num { font-size: clamp(56px, 7vw, 96px); }
.readout span:last-child { font: 800 28px/1 var(--display); }
@media (max-width: 720px) { .flyover::after { background: linear-gradient(0deg, rgba(12, 11, 10, .95) 0%, rgba(12, 11, 10, .4) 60%, rgba(12, 11, 10, .1) 100%); } }

/* ---------- safety ---------- */
.safe-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(32px, 5vw, 72px); border-radius: var(--r-xl); background: var(--ember); overflow: hidden; }
.safe-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.safe-copy .kicker { background: rgba(255, 255, 255, .45); }
.safe-copy .lead { color: rgba(12, 11, 10, .78); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8FF3E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat; }
.safe-shot { max-width: 320px; justify-self: center; transform: rotate(5deg); margin-bottom: -180px; }
@media (max-width: 860px) { .safe-card { grid-template-columns: 1fr; } .safe-shot { max-width: 240px; margin: 0 auto -200px; } }

/* ---------- principles ---------- */
.principles .card { min-height: 240px; display: flex; flex-direction: column; }
.pnum { font: 800 15px/1 var(--display); color: var(--ember); margin-bottom: auto; padding-bottom: 40px; }
.principles h3 { margin-bottom: 4px; }

/* ---------- Plus ---------- */
.billing { display: inline-flex; padding: 6px; border-radius: 999px; background: var(--paper2); }
.billing button { height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font: 700 13px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.billing button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan { padding: clamp(28px, 3vw, 44px); border-radius: var(--r-xl); background: var(--white); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.plan.hot { background: var(--night); color: var(--cream); }
.plan .price { display: flex; align-items: baseline; gap: 10px; }
.plan .price .num { font-size: clamp(64px, 7vw, 104px); }
.plan .per { font-weight: 700; color: var(--muted); } .plan.hot .per { color: var(--cream-muted); }
.plan .save { margin: -12px 0 0; color: var(--pop); font-weight: 700; }
.plan .ticks { margin-bottom: auto; } .plan .row-head { width: 100%; }
.plan:not(.hot) .ticks li::before { background-color: var(--ember); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C0B0A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-wrap > div:first-child { position: sticky; top: 120px; display: grid; gap: 20px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap > div:first-child { position: static; } }

/* ---------- CTA ---------- */
.cta-band { overflow: hidden; isolation: isolate; padding: clamp(90px, 12vw, 170px) 0; }
.cta-bg { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; z-index: -2; opacity: .5; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 100%, rgba(255, 90, 31, .35), rgba(12, 11, 10, 0) 70%), linear-gradient(180deg, rgba(12, 11, 10, .7), rgba(12, 11, 10, .92)); }
.cta-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.cta-in form { width: 100%; display: flex; flex-direction: column; align-items: center; }
.cta-in .field { width: 100%; }
.cta-in .form-note { color: var(--cream-muted); }
.cta-in .form-ok { font: 700 22px/1.3 var(--display); }
@media (max-width: 520px) { .field { flex-direction: column; border-radius: 28px; } .field .btn { justify-content: center; } }
@media (max-width: 620px) {
  .numbers .row-2 { min-height: 560px; }
  .numbers .row-2 .obj { width: 44%; right: -4%; bottom: -4%; }
  .card .obj { width: 52%; right: -6%; bottom: -6%; }
  .circle { width: 150px; height: 150px; } .circle span { transform: rotate(var(--a)) translate(58px) rotate(calc(-1 * var(--a))); }
  .split-card { flex-direction: column; align-items: flex-start; }
}
