:root {
  --ink: #171a1f;
  --muted: #687078;
  --paper: #f7f7f2;
  --surface: #ffffff;
  --line: #dedfd8;
  --violet: #7868ff;
  --violet-dark: #5140eb;
  --acid: #f3ff6b;
  --red: #ff665c;
  --green: #3eae80;
  --shadow: 0 28px 70px rgba(20, 23, 28, .12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(120, 104, 255, .45); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--ink); color: white; border-radius: .75rem; }
.skip-link:focus { top: 1rem; }

.site-header { width: min(1200px, calc(100% - 48px)); height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 1.22rem; font-weight: 840; letter-spacing: -.035em; }
.brand img { border-radius: 11px; }
.desktop-nav { display: flex; gap: 34px; margin-left: auto; margin-right: 38px; }
.desktop-nav a { color: #50565d; text-decoration: none; font-size: .92rem; font-weight: 650; }
.desktop-nav a:hover { color: var(--violet-dark); }
.header-cta { border: 1px solid var(--ink); border-radius: 999px; padding: 11px 18px; background: var(--ink); color: white; font-size: .88rem; font-weight: 780; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23, 26, 31, .2); }

.hero { width: min(1200px, calc(100% - 48px)); min-height: 680px; margin: 0 auto; padding: 54px 0 74px; display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(400px, .93fr); align-items: center; gap: 60px; }
.hero-copy { padding-bottom: 20px; }
.eyebrow { margin: 0 0 18px; color: var(--violet-dark); font-size: .74rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; margin: 0 8px 1px 0; display: inline-block; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 5px rgba(120, 104, 255, .12); }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(4.2rem, 7vw, 6.65rem); line-height: .88; letter-spacing: -.075em; font-weight: 900; }
.hero h1 span { color: var(--violet); }
.hero-lede { max-width: 590px; margin: 34px 0 30px; color: #555d64; font-size: 1.18rem; line-height: 1.66; letter-spacing: -.012em; }
.subject-form label { display: block; margin-bottom: 9px; font-size: .79rem; font-weight: 780; }
.search-control { min-height: 68px; max-width: 680px; display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 8px 8px 19px; border: 1.5px solid #c9cac3; border-radius: 18px; background: white; box-shadow: 0 9px 30px rgba(20, 23, 28, .06); transition: border-color .2s ease, box-shadow .2s ease; }
.search-control:focus-within { border-color: var(--violet); box-shadow: 0 0 0 5px rgba(120, 104, 255, .11), 0 12px 32px rgba(20, 23, 28, .08); }
.search-control svg { width: 22px; fill: none; stroke: #6a7075; stroke-width: 1.8; stroke-linecap: round; }
.search-control input { min-width: 0; height: 48px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1.02rem; }
.search-control input::placeholder { color: #93989c; }
.search-control button { height: 50px; display: flex; align-items: center; gap: 18px; padding: 0 18px 0 21px; border: 0; border-radius: 12px; background: var(--violet); color: white; font-size: .9rem; font-weight: 820; cursor: pointer; }
.search-control button:hover { background: var(--violet-dark); }
.input-error { min-height: 1.2rem; margin: 5px 0 0; color: #b53d36; font-size: .78rem; }
.topic-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 13px; }
.topic-row > span { margin-right: 3px; color: #8a8e91; font-size: .76rem; font-weight: 650; }
.topic-row button { padding: 7px 12px; border: 1px solid #d7d8d1; border-radius: 999px; background: transparent; color: #555b61; font-size: .75rem; font-weight: 700; cursor: pointer; }
.topic-row button:hover { border-color: var(--violet); color: var(--violet-dark); background: white; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: #62696f; font-size: .76rem; font-weight: 640; }
.trust-row span { display: flex; align-items: center; gap: 5px; }
.trust-row svg { width: 15px; fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { min-height: 590px; position: relative; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(120,104,255,.14) 0 30%, rgba(120,104,255,.04) 31% 60%, transparent 61%); }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; border: 1px dashed rgba(92, 82, 190, .18); border-radius: 50%; pointer-events: none; }
.hero-visual::before { inset: 40px 10px; }
.hero-visual::after { inset: 100px 65px; }
.phone-shell { width: 302px; height: 600px; position: relative; z-index: 2; overflow: hidden; border: 8px solid var(--ink); border-radius: 46px; background: #0e1013; box-shadow: var(--shadow), 0 0 0 1px #484b4d; transform: rotate(2.6deg); }
.phone-bar { height: 34px; position: absolute; z-index: 5; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: white; font-size: .61rem; font-weight: 700; }
.phone-island { width: 78px; height: 20px; border-radius: 99px; background: #050505; }
.phone-signal { letter-spacing: -2px; font-size: .5rem; }
.preview-video { height: 480px; position: relative; overflow: hidden; background: #111; }
.preview-video > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.36); }
.preview-vignette { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.13), transparent 36%, rgba(0,0,0,.86)); }
.preview-topic { position: absolute; top: 46px; left: 16px; padding: 6px 9px; border-radius: 7px; background: rgba(15,17,20,.72); color: white; font-size: .54rem; font-weight: 850; letter-spacing: .12em; backdrop-filter: blur(8px); }
.preview-copy { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 15px; color: white; }
.match-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 99px; background: var(--acid); color: var(--ink); font-size: .58rem; font-weight: 760; }
.preview-copy h2 { margin: 10px 0 4px; font-size: 1.06rem; line-height: 1.18; letter-spacing: -.025em; }
.preview-copy p { margin: 0; color: rgba(255,255,255,.74); font-size: .65rem; }
.preview-stats { display: flex; gap: 12px; margin-top: 11px; color: rgba(255,255,255,.82); font-size: .58rem; font-weight: 700; }
.preview-actions { height: 74px; display: flex; align-items: center; justify-content: center; gap: 25px; }
.preview-actions button { width: 43px; height: 43px; border: 1px solid #43464a; border-radius: 50%; background: #202327; color: white; font-size: 1.3rem; }
.preview-actions button:first-child { color: var(--red); }
.preview-actions button:last-child { width: 51px; height: 51px; color: var(--acid); }
.swipe-hint { margin: 0; color: #8d9298; text-align: center; font-size: .56rem; }
.orbit-label { position: absolute; z-index: 3; min-width: 122px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.8); border-radius: 16px; background: rgba(255,255,255,.82); box-shadow: 0 14px 36px rgba(31, 31, 44, .12); backdrop-filter: blur(12px); }
.orbit-label span { color: var(--violet-dark); font-size: 1.3rem; font-weight: 900; }
.orbit-label small { display: block; margin-top: 2px; color: #686d73; font-size: .64rem; font-weight: 700; }
.orbit-one { left: 10px; top: 155px; transform: rotate(-4deg); }
.orbit-two { right: 0; bottom: 120px; transform: rotate(4deg); }
.orbit-two strong { display: inline-block; margin-right: 8px; color: var(--violet); font-size: 1.4rem; }
.orbit-two small { display: inline; }

.proof-strip { min-height: 78px; display: flex; align-items: center; justify-content: center; gap: 27px; padding: 20px 24px; background: var(--ink); color: white; }
.proof-strip p { margin: 0; font-size: .72rem; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.proof-strip p:first-child { color: var(--acid); }
.proof-strip span { width: 4px; height: 4px; border-radius: 50%; background: #666a70; }
.how-section { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 110px 0 125px; text-align: center; }
.eyebrow.centered { margin-bottom: 16px; }
.how-section > h2 { max-width: 720px; margin: 0 auto 60px; font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.06em; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.step-grid article { min-height: 285px; position: relative; padding: 31px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: white; }
.step-grid article > span { position: absolute; top: 22px; right: 25px; color: #b8bbb9; font-size: .71rem; font-weight: 850; letter-spacing: .12em; }
.step-grid article:nth-child(2) { background: #eeeafd; border-color: #d7d0fc; }
.step-grid article:nth-child(3) { background: var(--acid); border-color: #dde747; }
.step-icon { width: 54px; height: 54px; margin-bottom: 45px; display: grid; place-items: center; border-radius: 17px; background: var(--ink); color: white; font-size: 1.35rem; font-weight: 850; }
.step-grid article:nth-child(2) .step-icon { background: var(--violet); }
.step-grid article:nth-child(3) .step-icon { background: white; color: var(--ink); }
.step-grid h3 { margin: 0 0 11px; font-size: 1.25rem; letter-spacing: -.035em; }
.step-grid p { margin: 0; color: #666d73; font-size: .93rem; line-height: 1.6; }
.step-grid article:nth-child(3) p { color: #4b5022; }
.closing-cta { width: min(1120px, calc(100% - 48px)); min-height: 260px; margin: 0 auto 95px; padding: 56px 64px; display: flex; align-items: center; justify-content: space-between; gap: 36px; overflow: hidden; position: relative; border-radius: 32px; background: var(--violet); color: white; }
.closing-cta::after { content: ""; width: 300px; height: 300px; position: absolute; right: -120px; top: -160px; border: 45px solid rgba(255,255,255,.09); border-radius: 50%; }
.closing-cta .eyebrow { color: var(--acid); }
.closing-cta h2 { max-width: 620px; margin: 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; letter-spacing: -.055em; }
.closing-cta button { position: relative; z-index: 1; flex: none; padding: 16px 20px; border: 0; border-radius: 14px; background: white; color: var(--ink); font-size: .88rem; font-weight: 850; cursor: pointer; }
.closing-cta button span { margin-left: 17px; }
.site-footer { width: min(1200px, calc(100% - 48px)); min-height: 98px; margin: 0 auto; display: flex; align-items: center; gap: 30px; border-top: 1px solid var(--line); color: #73797d; font-size: .75rem; }
.footer-brand { margin-right: auto; display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 850; }
.site-footer div { display: flex; gap: 23px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--violet-dark); }

/* Feed */
#feed-view { min-height: 100svh; background: #eef0eb; }
.feed-header { height: 76px; position: fixed; z-index: 30; inset: 0 0 auto; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; padding: 0 max(18px, env(safe-area-inset-left)); background: rgba(247,247,242,.9); border-bottom: 1px solid rgba(212,214,207,.85); backdrop-filter: blur(18px); }
.icon-button { width: 44px; height: 44px; position: relative; display: grid; place-items: center; border: 1px solid #d8dad4; border-radius: 14px; background: white; cursor: pointer; }
.icon-button svg { width: 21px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.saved-button span { min-width: 17px; height: 17px; position: absolute; right: -5px; top: -4px; display: grid; place-items: center; padding: 0 4px; border-radius: 99px; background: var(--violet); color: white; font-size: .58rem; font-weight: 850; }
.feed-subject { text-align: center; }
.feed-subject small { display: block; margin-bottom: 3px; color: #969b9e; font-size: .56rem; font-weight: 850; letter-spacing: .18em; }
.feed-subject button { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; font-size: .96rem; font-weight: 840; cursor: pointer; }
.feed-subject svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.feed-main { min-height: 100svh; padding: 94px 16px 28px; display: grid; place-items: center; }
.feed-progress { height: 3px; position: fixed; z-index: 31; top: 75px; left: 0; right: 0; overflow: hidden; background: #dfe1dc; }
.feed-progress span { height: 100%; display: block; width: 0; background: var(--violet); transition: width .3s ease; }
.loading-state, .error-state, .feed-complete { width: 100%; min-height: calc(100svh - 130px); display: grid; place-items: center; text-align: center; }
.loading-card, .error-state > div, .feed-complete { max-width: 420px; padding: 42px 30px; }
.loading-logo { width: 78px; height: 78px; margin: 0 auto 24px; display: grid; place-items: center; border: 1px solid #d9dbd5; border-radius: 26px; background: white; box-shadow: 0 16px 35px rgba(23,26,31,.1); animation: loading-float 1.6s ease-in-out infinite; }
@keyframes loading-float { 50% { transform: translateY(-7px) rotate(2deg); } }
.loading-card h2, .error-state h2, .feed-complete h2 { margin: 0 0 10px; font-size: 2rem; letter-spacing: -.05em; }
.loading-card p, .error-state p, .feed-complete > p { margin: 0; color: var(--muted); line-height: 1.6; }
.loading-line { width: 250px; height: 4px; margin: 29px auto 0; overflow: hidden; border-radius: 99px; background: #dcdfd9; }
.loading-line span { width: 35%; height: 100%; display: block; border-radius: inherit; background: var(--violet); animation: loading-slide 1.2s ease-in-out infinite; }
@keyframes loading-slide { from { transform: translateX(-100%); } to { transform: translateX(285%); } }
.error-icon, .complete-icon { width: 68px; height: 68px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 22px; background: #ffe6e2; color: #b33d35; font-size: 1.7rem; font-weight: 900; }
.error-state button, .feed-complete button { margin-top: 24px; padding: 13px 18px; border: 0; border-radius: 13px; background: var(--ink); color: white; font-size: .84rem; font-weight: 830; cursor: pointer; }
.feed-complete .complete-icon { background: var(--acid); color: var(--ink); }
.feed-complete .eyebrow { margin-bottom: 12px; }
.feed-complete > div:last-child { display: flex; justify-content: center; gap: 8px; }
.feed-complete button:last-child { border: 1px solid #cfd1ca; background: white; color: var(--ink); }
.swipe-stage { width: min(100%, 445px); position: relative; align-self: center; }
.mode-notice { width: calc(100% - 8px); margin: 0 auto 8px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 9px 8px 12px; border: 1px solid #d4cef7; border-radius: 12px; background: #f0edff; color: #59507e; font-size: .7rem; line-height: 1.35; }
.mode-notice button { width: 30px; height: 30px; border: 0; border-radius: 9px; background: transparent; color: #777092; cursor: pointer; }
.video-card { position: relative; overflow: hidden; border-radius: 29px; background: #111418; color: white; box-shadow: 0 22px 60px rgba(21,24,28,.18); touch-action: pan-y; transform-origin: center bottom; transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .28s ease; }
.video-frame-wrap { height: 405px; position: relative; overflow: hidden; background: #111; }
.video-frame-wrap::after { content: ""; position: absolute; inset: auto 0 0; height: 80px; background: linear-gradient(transparent, #111418); pointer-events: none; }
.video-frame-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.18); filter: saturate(.92); }
.video-frame-wrap iframe { width: 100%; height: 100%; position: absolute; z-index: 2; inset: 0; border: 0; background: #000; }
.play-button { min-width: 126px; height: 48px; position: absolute; z-index: 3; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(15,18,22,.8); color: white; font-size: .78rem; font-weight: 820; backdrop-filter: blur(12px); cursor: pointer; }
.play-button svg { width: 21px; fill: white; }
.video-info { position: relative; z-index: 4; margin-top: -12px; padding: 22px 23px 20px; background: #111418; }
.score-line { min-height: 25px; display: flex; align-items: center; gap: 9px; color: #aeb3b8; font-size: .65rem; font-weight: 680; }
.score-pill { padding: 6px 9px; border-radius: 99px; background: var(--acid); color: var(--ink); }
.score-pill strong { font-weight: 900; }
.score-line button { min-width: 48px; height: 30px; margin-left: auto; padding: 0 10px; border: 1px solid #464a4f; border-radius: 999px; background: transparent; color: #d2d5d8; font-size: .66rem; font-weight: 760; cursor: pointer; }
.video-info h1 { margin: 14px 0 12px; font-size: 1.38rem; line-height: 1.18; letter-spacing: -.035em; }
.creator-row { display: flex; align-items: center; gap: 8px; color: #c1c5c9; font-size: .75rem; }
.creator-avatar { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--violet); color: white; font-size: .7rem; font-weight: 850; }
.creator-row a { margin-left: auto; color: #aeb2b7; text-decoration: none; font-size: .67rem; font-weight: 700; }
.metric-row { min-height: 48px; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 17px; border-top: 1px solid #2a2d32; padding-top: 14px; }
.metric-row span { display: flex; align-items: baseline; gap: 5px; border-right: 1px solid #2a2d32; text-align: center; justify-content: center; }
.metric-row span:last-child { border: 0; }
.metric-row b { font-size: .78rem; }
.metric-row small { color: #858b92; font-size: .57rem; }
.reaction-stamp { position: absolute; z-index: 15; top: 80px; padding: 8px 13px; border: 4px solid; border-radius: 9px; opacity: 0; font-size: 1.7rem; font-weight: 950; letter-spacing: .08em; pointer-events: none; }
.dislike-stamp { right: 27px; color: var(--red); transform: rotate(12deg); }
.like-stamp { left: 27px; color: var(--acid); transform: rotate(-12deg); }
.action-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 0 5px; }
.action-button { min-width: 0; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 10px; border: 1px solid #d0d3cd; border-radius: 14px; background: white; box-shadow: 0 6px 16px rgba(20,23,28,.07); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.action-button:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(20,23,28,.11); }
.action-button span { flex: none; font-size: 1.08rem; font-weight: 850; line-height: 1; }
.action-button small { color: #5e656b; font-size: .69rem; font-weight: 800; white-space: nowrap; }
.dislike-action span { color: var(--red); font-size: 1.25rem; }
.next-action { border-color: var(--ink); background: var(--ink); color: white; }
.next-action small { color: white; }
.like-action { border-color: #dce54d; background: var(--acid); color: var(--ink); }
.like-action small { color: var(--ink); }
.gesture-copy { margin: 3px 0 0; color: #747b80; text-align: center; font-size: .66rem; font-weight: 740; }

/* Dialogs */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(16,18,22,.62); backdrop-filter: blur(5px); }
.score-dialog, .saved-dialog { width: min(92vw, 460px); max-height: min(84svh, 720px); padding: 35px; border: 0; border-radius: 25px; background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.dialog-close { width: 34px; height: 34px; position: absolute; right: 17px; top: 17px; border: 1px solid #d6d8d1; border-radius: 50%; background: white; cursor: pointer; }
.score-dialog h2, .saved-dialog h2 { margin: 0 0 28px; font-size: 2rem; letter-spacing: -.05em; }
.score-dialog > p:last-child { margin: 24px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.weight-row { display: flex; justify-content: space-between; margin: 17px 0 7px; font-size: .79rem; font-weight: 720; }
.weight-bar { height: 9px; overflow: hidden; border-radius: 99px; background: #e0e1dc; }
.weight-bar i { height: 100%; display: block; border-radius: inherit; background: var(--violet); }
.weight-bar.secondary i { background: var(--acid); box-shadow: inset 0 0 0 1px #d8e04e; }
.saved-list { display: grid; gap: 10px; overflow-y: auto; max-height: 430px; }
.saved-card { display: grid; grid-template-columns: 92px minmax(0, 1fr) 30px; gap: 12px; align-items: center; padding: 8px; border: 1px solid #daddd5; border-radius: 14px; background: white; }
.saved-card img { width: 92px; height: 66px; border-radius: 9px; object-fit: cover; }
.saved-card h3 { margin: 0 0 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .76rem; line-height: 1.28; }
.saved-card p { margin: 0; color: var(--muted); font-size: .63rem; }
.saved-card a { color: var(--violet-dark); text-decoration: none; }
.saved-card button { border: 0; background: transparent; color: #959a9d; cursor: pointer; }
.saved-empty { padding: 38px 10px; color: var(--muted); text-align: center; font-size: .83rem; line-height: 1.55; }
.text-button { margin-top: 19px; padding: 0; border: 0; background: transparent; color: #9a4039; font-size: .72rem; font-weight: 750; cursor: pointer; }
.toast { max-width: calc(100% - 32px); position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 11px 16px; border-radius: 99px; background: var(--ink); color: white; box-shadow: 0 12px 35px rgba(0,0,0,.2); opacity: 0; pointer-events: none; font-size: .74rem; font-weight: 720; transition: opacity .2s ease, transform .2s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* Information pages */
.text-page { min-height: 100vh; }
.compact-header { border-bottom: 1px solid var(--line); }
.prose-shell { width: min(740px, calc(100% - 48px)); min-height: calc(100vh - 190px); margin: 0 auto; padding: 88px 0 110px; }
.prose-shell h1 { max-width: 720px; margin: 0 0 30px; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .96; letter-spacing: -.07em; }
.prose-shell h2 { margin: 46px 0 12px; font-size: 1.35rem; letter-spacing: -.03em; }
.prose-shell p { color: #5d656c; font-size: 1rem; line-height: 1.75; }
.prose-shell .lede { color: #32383e; font-size: 1.25rem; line-height: 1.65; }
.primary-link-button { display: inline-block; margin-top: 8px; padding: 14px 18px; border-radius: 13px; background: var(--violet); color: white; text-decoration: none; font-weight: 800; }
.danger-button { margin-top: 8px; padding: 12px 16px; border: 1px solid #ebc4bf; border-radius: 12px; background: #fff4f2; color: #a84139; font-weight: 750; cursor: pointer; }
.form-note { min-height: 1.5rem; font-size: .78rem !important; }

@media (max-width: 950px) {
  .hero { grid-template-columns: 1fr; padding-top: 45px; }
  .hero-copy { text-align: center; }
  .hero h1, .hero-lede, .search-control { margin-left: auto; margin-right: auto; }
  .subject-form label { text-align: left; max-width: 680px; margin-left: auto; margin-right: auto; }
  .topic-row, .trust-row { justify-content: center; }
  .hero-visual { min-height: 610px; }
  .step-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .step-grid article { min-height: 230px; }
  .step-icon { margin-bottom: 28px; }
}

@media (max-width: 680px) {
  .site-header { width: calc(100% - 32px); height: 76px; }
  .desktop-nav { display: none; }
  .header-cta { padding: 10px 14px; font-size: .78rem; }
  .hero { width: calc(100% - 32px); min-height: auto; padding: 44px 0 58px; gap: 24px; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5.1rem); }
  .hero-lede { margin-top: 26px; font-size: 1rem; line-height: 1.6; }
  .search-control { grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 8px 13px; border-radius: 16px; }
  .search-control button { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .topic-row { margin-top: 14px; }
  .trust-row { display: grid; justify-content: start; max-width: 360px; margin-left: auto; margin-right: auto; text-align: left; }
  .hero-visual { min-height: 570px; margin-top: 10px; transform: scale(.93); }
  .phone-shell { width: 285px; height: 570px; }
  .preview-video { height: 454px; }
  .orbit-one { left: -15px; }
  .orbit-two { right: -15px; }
  .proof-strip { gap: 12px; justify-content: flex-start; overflow-x: auto; }
  .proof-strip p { flex: none; font-size: .63rem; }
  .how-section { width: calc(100% - 32px); padding: 84px 0 92px; }
  .how-section > h2 { margin-bottom: 38px; }
  .closing-cta { width: calc(100% - 32px); margin-bottom: 65px; padding: 39px 29px; flex-direction: column; align-items: flex-start; }
  .site-footer { width: calc(100% - 32px); padding: 28px 0; flex-wrap: wrap; }
  .site-footer div { order: 3; width: 100%; justify-content: space-between; gap: 10px; }
  .site-footer > span { display: none; }
  .video-card { border-radius: 25px; }
  .video-frame-wrap { height: 335px; }
  .video-info { padding: 17px 19px 18px; }
  .feed-main { padding-left: 10px; padding-right: 10px; }
  .mode-notice { font-size: .67rem; }
  .prose-shell { width: calc(100% - 32px); padding: 62px 0 84px; }
}

@media (max-height: 760px) and (min-width: 500px) {
  .feed-main { padding-top: 85px; }
  .video-frame-wrap { height: 320px; }
  .video-info { padding-top: 18px; padding-bottom: 17px; }
  .action-row { padding-top: 10px; }
  .action-button { min-height: 48px; }
}

@media (max-height: 720px) and (max-width: 499px) {
  .feed-main { padding-top: 82px; padding-bottom: 8px; align-items: start; }
  .mode-notice { margin-bottom: 5px; padding-top: 7px; padding-bottom: 7px; }
  .video-card { border-radius: 22px; }
  .video-frame-wrap { height: 270px; }
  .video-info { padding: 14px 17px 13px; }
  .video-info h1 { margin: 9px 0 8px; font-size: 1.05rem; }
  .creator-row { font-size: .67rem; }
  .metric-row { min-height: 35px; margin-top: 10px; padding-top: 9px; }
  .action-row { gap: 7px; padding-top: 8px; }
  .action-button { min-height: 46px; padding: 0 7px; }
  .action-button small { font-size: .64rem; }
  .gesture-copy { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
