/* The Smartest Cat AI landing. One world: the app's night office.
   Radius rule: controls are pills, paper objects 3px, frames 14px. One accent: lamp orange. */
:root {
  --night: #0a0d16; --night-2: #10162a; --line: #232c44;
  --ink: #ece7de; --muted: #a9b0c2;
  --lamp: #ff7a4d; --lamp-hi: #ffbd72; --lamp-ink: #1c0f08;
  --paper: #efe7d6; --paper-2: #e6dcc6; --paper-ink: #211d18; --paper-muted: #5e564b; --pen: #b8321f;
  --display: 'Dela Gothic One', 'Arial Black', sans-serif;
  --text: 'Onest', system-ui, sans-serif;
  --gut: clamp(16px, 4.5vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; overflow-x: clip; }
main { overflow-x: clip; } /* animated papers start tilted or enlarged: they must never widen a phone screen */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; color: var(--ink); background: var(--night); font: 400 17px/1.55 var(--text); overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--lamp); color: var(--lamp-ink); }
:focus-visible { outline: 2px solid var(--lamp-hi); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #2b3550 var(--night); }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: #2b3550; border-radius: 10px; border: 2px solid var(--night); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 99; background: var(--lamp); color: var(--lamp-ink); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }

/* type */
.h1, .h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
.h1 { font-size: clamp(2.35rem, 9.6vw, 5.4rem); line-height: 1.02; }
.h2 { font-size: clamp(1.8rem, 6.4vw, 3.4rem); line-height: 1.06; }
.lead { font-size: clamp(1.02rem, 3.9vw, 1.28rem); color: #d6d1c8; max-width: 34ch; margin: 18px 0 0; text-wrap: pretty; }
.sub { color: var(--muted); max-width: 52ch; margin: 14px 0 0; text-wrap: pretty; }
.h1 .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .06em; }
.h1 .w > span { display: inline-block; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 99px;
  font: 700 1rem/1 var(--text); text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s; }
.btn-buy { background: var(--lamp); color: var(--lamp-ink); box-shadow: 0 10px 30px -10px rgba(255, 122, 77, .65); }
.btn-buy:hover { background: #ff8c63; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(255, 122, 77, .8); }
.btn-buy:active { transform: translateY(0); }
.btn-ghost { border: 1.5px solid rgba(236, 231, 222, .28); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-lg { min-height: 62px; padding: 0 36px; font-size: 1.12rem; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gut); padding-top: env(safe-area-inset-top); background: linear-gradient(var(--night) 30%, rgba(10, 13, 22, 0)); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: .98rem; }
.brand img { width: 36px; height: 36px; border-radius: 50%; background: #1b2238; }

/* ---------- painted cat rig (ported from the app: src/renderer/src/office/CatRig.tsx) ---------- */
.seat { position: relative; aspect-ratio: 1020 / 840; }
.rig { position: relative; width: 100%; aspect-ratio: 1020 / 840; }
.rig-in { position: absolute; width: 117.65%; height: 107.14%; left: -8.82%; top: -7.14%; }
.rl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.r-eyes { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.r-body { transform-origin: 43.75% 73.33%; animation: breathe 3.6s ease-in-out infinite; animation-delay: var(--d); }
.r-head { transform-origin: 43.75% 48.89%; }
.r-earL { transform-origin: 37.08% 22.22%; animation: twitchL 8.4s infinite; animation-delay: calc(var(--d) * 1.3); }
.r-earR { transform-origin: 50.42% 22.22%; animation: twitchR 6.2s infinite; animation-delay: var(--d); }
.r-tail { transform-origin: 57% 72.22%; animation: tailsway 3.8s ease-in-out infinite; animation-delay: var(--d); }
.r-pawL { transform-origin: 36.67% 57.78%; } .r-pawR { transform-origin: 50.83% 57.78%; }
.r-lids { opacity: 0; animation: blink 4.8s infinite; animation-delay: calc(var(--d) * 1.7); }
.r-glow { animation: scrglow 3.2s ease-in-out infinite; animation-delay: var(--d); transition: opacity .6s; }
.r-steam { animation: steam 3.4s ease-in-out infinite; animation-delay: var(--d); }
.r-look { transition: transform .5s var(--ease); }
.rig-working .r-head { animation: headwork 7s ease-in-out infinite; animation-delay: var(--d); }
.rig-working .r-pawL { animation: typeA 1.8s infinite; animation-delay: var(--d); }
.rig-working .r-pawR { animation: typeB 1.8s infinite; animation-delay: var(--d); }
.rig-working .r-tail { animation-duration: 2.4s; }
.rig-idle .r-head { animation: headidle 9s ease-in-out infinite; animation-delay: var(--d); }
.rig-sleep .r-lids { animation: none; opacity: 1; }
.rig-sleep .r-head { animation: none; transform: rotate(-7deg) translateY(1.5%); transition: transform 1.2s var(--ease); }
.rig-sleep .r-glow { opacity: 0; animation: none; }
.rig-sleep .r-pawL, .rig-sleep .r-pawR { animation: none; }
.rig-done .r-head { animation: headdone 1.8s ease-in-out infinite; }
/* a seat whose lamp is off: the room is dark around it */
.seat .rig { transition: filter .9s var(--ease); }
.seat.off .rig { filter: brightness(.32) saturate(.5); }
.seat.off .r-glow { opacity: 0; animation: none; }
.seat.off .r-lids { animation: none; opacity: 1; }
@keyframes breathe { 50% { transform: scale(1.006, 1.012); } }
@keyframes twitchR { 0%,86%,100% { transform: none; } 88% { transform: rotate(9deg); } 90% { transform: rotate(-3deg); } 92% { transform: none; } }
@keyframes twitchL { 0%,86%,100% { transform: none; } 88% { transform: rotate(-9deg); } 90% { transform: rotate(3deg); } 92% { transform: none; } }
@keyframes tailsway { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(6deg); } }
@keyframes blink { 0%,91%,97%,100% { opacity: 0; } 93%,95% { opacity: 1; } }
@keyframes scrglow { 50% { opacity: .72; } }
@keyframes steam { 0% { opacity: 0; transform: translateY(1.5%); } 35% { opacity: .9; } 100% { opacity: 0; transform: translateY(-3%); } }
@keyframes headwork { 0%,36%,100% { transform: none; } 42%,62% { transform: translate(.6%, .2%) rotate(4deg); } 68% { transform: none; } 82% { transform: rotate(-1.2deg); } }
@keyframes headidle { 0%,18%,100% { transform: none; } 26%,40% { transform: translateX(-.5%) rotate(-5deg); } 50%,62% { transform: translateX(.5%) rotate(4deg); } 72% { transform: none; } }
@keyframes headdone { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(-8deg) translateY(-.6%); } }
@keyframes typeA { 0%,8%,16%,24%,52%,60%,100% { transform: none; } 4%,12%,20%,56% { transform: translateY(-1.1%) rotate(-1.5deg); } }
@keyframes typeB { 0%,30%,38%,46%,70%,78%,86%,100% { transform: none; } 34%,42%,74%,82% { transform: translateY(-1.1%) rotate(1.5deg); } }
.plate { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); z-index: 3; white-space: nowrap;
  font-size: .74rem; line-height: 1.2; padding: 4px 10px; border-radius: 99px; background: rgba(10, 13, 22, .86); color: var(--ink); border: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-content: start; gap: 22px;
  padding: calc(80px + env(safe-area-inset-top)) var(--gut) 36px; overflow: clip; isolation: isolate; }
.hero-sky { position: absolute; inset: 0; z-index: -1; }
.hero-sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: .5; }
.hero-sky::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 22, .92) 0%, rgba(10, 13, 22, .6) 40%, rgba(10, 13, 22, .5) 70%, var(--night) 100%); }
.hero .h1 { font-size: clamp(2.05rem, 8.6vw, 4.6rem); }
.hero .lead { margin-top: 14px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ctas .btn { flex: 1 1 auto; }
.note { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.hero-proof { position: relative; padding-top: 46px; }
.topic-card { position: absolute; z-index: 6; top: 0; left: -1%; width: min(74%, 320px); padding: 10px 14px 12px; border-radius: 3px;
  background: var(--paper); color: var(--paper-ink); transform: rotate(-3deg);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .7), 0 2px 0 rgba(0, 0, 0, .15); }
.topic-card::before { content: ""; position: absolute; top: -9px; left: 50%; width: 64px; height: 20px; margin-left: -32px; background: rgba(255, 189, 114, .55); transform: rotate(2deg); }
.topic-card small { display: block; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--paper-muted); font-weight: 700; }
.topic-card b { display: block; font-family: var(--display); font-weight: 400; font-size: 1rem; line-height: 1.15; margin-top: 3px; }
.sample { margin: 0; position: relative; z-index: 2; }
.sample-frame { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9;
  box-shadow: 0 0 0 1.5px #2a334d, 0 40px 70px -30px rgba(0, 0, 0, .95), 0 0 80px -20px rgba(255, 122, 77, .25); }
.sample-frame video { width: 100%; height: 100%; object-fit: cover; }
.sample figcaption { margin-top: 10px; color: var(--muted); font-size: .88rem; max-width: 52ch; }
.sound { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 12px;
  border: 0; border-radius: 99px; background: rgba(10, 13, 22, .82); color: var(--ink); font: 700 .86rem/1 var(--text); cursor: pointer;
  backdrop-filter: blur(6px); transition: background-color .25s; }
.sound:hover { background: rgba(10, 13, 22, .95); }
.sound i { width: 18px; height: 18px; background: var(--lamp);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='%23000'/%3E%3Cpath d='M17 9l5 6M22 9l-5 6'/%3E%3C/svg%3E"); }
.sound.on i { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='%23000'/%3E%3Cpath d='M16.5 8.5a5 5 0 0 1 0 7M19.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E"); }
.sound:not(.on) { animation: nudge 2.6s var(--ease) 3s 3; }
@keyframes nudge { 0%, 100% { transform: none; } 8% { transform: scale(1.08); } 16% { transform: none; } }
.hero-cat { display: none; }

/* ---------- conveyor ---------- */
.conveyor { position: relative; }
.conv-intro { padding: 56px var(--gut) 8px; max-width: var(--max); margin: 0 auto; }
.conv-pin { height: 100svh; position: relative; }
.conv-stage { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: 70px var(--gut) 18px; max-width: var(--max); margin: 0 auto; }
.conv-track { --seatw: min(70vw, 340px); display: flex; gap: 0; will-change: transform; padding-left: calc(50% - var(--seatw) / 2); }
.conv-track .seat { flex: 0 0 var(--seatw); transition: opacity .5s var(--ease), transform .6s var(--ease); opacity: .38; transform: scale(.84); }
.conv-track .seat.on { opacity: 1; transform: none; }
.stations { list-style: none; margin: 6px 0 0; padding: 0; display: grid; align-content: start; }
.station { grid-area: 1 / 1; display: grid; align-content: start; gap: 4px; }
.station h3 { margin: 0; font: 700 .82rem/1.2 var(--text); letter-spacing: .05em; text-transform: uppercase; color: var(--lamp-hi); }
.station > p { margin: 0 0 12px; font-size: 1.04rem; max-width: 40ch; text-wrap: pretty; }
.belt { position: relative; height: 10px; margin-top: 12px; border-radius: 99px; overflow: hidden; background-color: #151c30;
  background-image: repeating-linear-gradient(90deg, #232c44 0 14px, transparent 14px 28px); background-size: 28px 100%; background-position-x: var(--belt, 0px); }
.belt i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--lamp); border-radius: 99px; }

/* paper objects */
.paper { position: relative; background: var(--paper); color: var(--paper-ink); border-radius: 3px; padding: 16px 18px;
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .8), 0 1px 0 rgba(0, 0, 0, .2); max-width: 460px; transform: rotate(-1.2deg); font-size: .95rem; }
.paper ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.paper-sources li { display: grid; grid-template-columns: 34px 1fr; gap: 0 8px; line-height: 1.3; }
.paper-sources li b { grid-row: span 2; font-family: var(--display); font-weight: 400; color: var(--pen); }
.paper-sources li em { font-style: normal; color: var(--paper-muted); font-size: .86rem; }
.paper-sources small { display: block; margin-top: 10px; color: var(--paper-muted); }
.paper-script { display: grid; gap: 6px; transform: rotate(.8deg); }
.paper-script i { font-style: normal; font-weight: 700; font-size: .72rem; letter-spacing: .1em; color: var(--paper-muted); }
.paper-script .line { display: block; line-height: 1.35; }
.paper-note { background: #f3d68a; transform: rotate(-2.4deg); max-width: 400px; }
.paper-note p { margin: 0; line-height: 1.4; }
.paper-note small { display: block; margin-top: 8px; font-weight: 700; }
.stamp { position: absolute; right: -8px; top: -14px; padding: 4px 10px; border: 2.5px solid var(--pen); color: var(--pen); border-radius: 4px;
  font-family: var(--display); font-size: .95rem; transform: rotate(8deg); background: rgba(243, 214, 138, .9); }
.paper-fact s { display: block; text-decoration: none; color: var(--paper-muted); line-height: 1.35;
  background: linear-gradient(var(--pen), var(--pen)) no-repeat 0 55% / var(--strike, 100%) 2px; }
.paper-fact p { margin: 10px 0; font-size: .9rem; }
.fix { display: block; padding: 8px 10px; background: var(--paper-2); border-radius: 3px; line-height: 1.35; }
.fix small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-muted); }
.print { margin: 0; background: var(--paper); padding: 8px 8px 0; border-radius: 3px; max-width: 460px; transform: rotate(1.4deg);
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .8); }
.print img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.print figcaption { color: var(--paper-muted); font-size: .78rem; padding: 6px 2px 8px; }
.print-ai { transform: rotate(-1.6deg); padding-bottom: 8px; }
.tape { display: grid; gap: 10px; max-width: 460px; padding: 16px; border-radius: 14px; background: #121a2e; border: 1px solid var(--line); }
.tape span { color: var(--muted); font-size: .92rem; }
.wave { display: flex; align-items: center; gap: 3px; height: 74px; }
.wave i { flex: 1; height: 100%; background: var(--lamp); border-radius: 2px; transform: scaleY(var(--h, .2)); transform-origin: 50% 50%; }
.thumbs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 480px; }
.thumbs img { border-radius: 8px; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .8); aspect-ratio: 16 / 9; width: 100%; height: auto; }
.thumbs img:first-child { transform: rotate(-2deg); } .thumbs img:nth-child(2) { transform: rotate(2deg) translateY(6px); }
.titles { grid-column: 1 / -1; list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: .9rem; color: var(--muted); }
.titles li:first-child { color: var(--ink); font-weight: 700; }

/* ---------- output ---------- */
.out { max-width: var(--max); margin: 0 auto; padding: 96px var(--gut) 40px; display: grid; gap: 36px; }
.out-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; }
.out-list li { padding: 12px 0 12px 30px; position: relative; border-top: 1px solid var(--line); }
.out-cap { margin: 16px 0 0; color: var(--muted); font-size: .88rem; max-width: 52ch; }
.out-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2.5px solid var(--lamp); border-bottom: 2.5px solid var(--lamp); transform: rotate(-45deg); }
.out-desk { position: relative; height: clamp(440px, 128vw, 640px); }
.phone { position: absolute; left: 4%; top: 0; width: 46%; max-width: 270px; aspect-ratio: 9 / 19.5; border-radius: 30px; padding: 8px;
  background: #05070c; box-shadow: 0 0 0 1.5px #2a334d, 0 40px 60px -24px rgba(0, 0, 0, .9); z-index: 3; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 23px; background: #111; }
.yt { position: absolute; right: 0; top: 8%; width: 58%; margin: 0; z-index: 2; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .9); }
.yt img, .yt video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .82); color: #fff; font-size: .78rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.out-thumb { position: absolute; right: 6%; top: 44%; width: 50%; border-radius: 8px; transform: rotate(3deg); z-index: 4; box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .9); }
.file { position: absolute; left: 50%; bottom: 10%; z-index: 5; padding: 8px 14px; border-radius: 3px; background: var(--paper); color: var(--paper-ink); font-weight: 700; font-size: .86rem;
  transform: rotate(-4deg); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .8); }
.file-2 { left: auto; right: 4%; bottom: 2%; transform: rotate(5deg); }

/* ---------- why YouTube pays ---------- */
.why { max-width: var(--max); margin: 0 auto; padding: 96px var(--gut) 40px; display: grid; justify-items: center; }
.memo { background: var(--paper); color: var(--paper-ink); border-radius: 3px; padding: 28px 24px; transform: rotate(-1deg);
  box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .85); max-width: 620px; }
.memo h2 { margin: 0 0 14px; font: 400 clamp(1.5rem, 5.6vw, 2.1rem)/1.1 var(--display); text-wrap: balance; }
.memo h3 { margin: 18px 0 0; font: 700 1rem/1.3 var(--text); }
.memo p { margin: 0 0 12px; }
.memo dl { margin: 4px 0 16px; display: grid; gap: 4px 0; }
.memo dt { font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--pen); margin-top: 8px; }
.memo dd { margin: 0; line-height: 1.4; }
.memo-small { color: var(--paper-muted); font-size: .92rem; }

/* ---------- price ---------- */
.price { max-width: var(--max); margin: 0 auto; padding: 80px var(--gut); display: grid; gap: 34px; }
.cmp { display: grid; gap: 14px; }
.cmp-row { display: grid; gap: 4px; padding: 20px; border-radius: 14px; background: #10162a; border: 1px solid var(--line); align-content: start; }
.cmp-row h3 { margin: 0; font: 700 .95rem/1.3 var(--text); color: var(--muted); }
.cmp-row b { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 8vw, 2.4rem); line-height: 1.05; }
.cmp-row p { margin: 4px 0 0; color: #cfcac1; font-size: .95rem; }
.cmp-row small { margin-top: 6px; color: #6f7790; font-size: .78rem; }
.cmp-us { background: linear-gradient(160deg, #2a1810, #161018 70%); border-color: rgba(255, 122, 77, .6); box-shadow: 0 0 0 1px rgba(255, 122, 77, .25), 0 30px 60px -30px rgba(255, 122, 77, .45); }
.cmp-us h3 { color: var(--lamp-hi); }
.cmp-us b { color: var(--lamp); }
.cmp-us .btn { margin-top: 14px; justify-self: start; }
.h3 { margin: 0; font: 400 clamp(1.4rem, 5vw, 2rem)/1.1 var(--display); }
.money-calc { padding-top: 10px; }
.slider { display: grid; gap: 12px; margin-top: 24px; font-weight: 700; }
.slider output { font-family: var(--display); font-weight: 400; color: var(--lamp); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--lamp) var(--p, 22%), #232c44 var(--p, 22%)); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: #232c44; }
input[type=range]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--lamp); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--ink); border: 4px solid var(--lamp); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid var(--lamp); }
.costs { margin: 22px 0 0; display: grid; gap: 18px; }
.costs > div { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.costs dt { color: var(--muted); font-weight: 500; }
.costs dd { margin: 0; display: grid; gap: 4px; }
.costs b { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 9vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.costs small { color: var(--muted); font-size: .9rem; max-width: 46ch; }

/* ---------- trial ---------- */
.trial { max-width: var(--max); margin: 0 auto; padding: 40px var(--gut) 60px; display: grid; gap: 8px; }
.trial-copy { padding: 26px 22px; border-radius: 14px; border: 1.5px dashed rgba(255, 189, 114, .4); background: rgba(16, 22, 42, .6); display: grid; gap: 16px; justify-items: start; }
.trial-copy p { margin: 0; max-width: 56ch; }
.trial-copy .btn { white-space: normal; text-align: center; }
.trial-phone { color: var(--muted); font-size: .88rem; }
.trial-cat { width: min(62vw, 280px); justify-self: center; margin-bottom: -30px; position: relative; z-index: 2; }
@media (pointer: fine) { .trial-phone { display: none; } }

/* ---------- start ---------- */
.start { max-width: var(--max); margin: 0 auto; padding: 56px var(--gut) 40px; }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.steps li { position: relative; padding: 0 0 30px 44px; }
.steps li::before { content: ""; position: absolute; left: 9px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 6px rgba(255, 122, 77, .16); }
.steps li::after { content: ""; position: absolute; left: 15px; top: 30px; bottom: 6px; width: 2px; background: repeating-linear-gradient(var(--line) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 0 0 6px; font: 400 1.3rem/1.15 var(--display); }
.steps p { margin: 0; color: var(--muted); max-width: 44ch; }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; padding: 56px var(--gut) 72px; }
.qa { margin-top: 26px; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.06rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--lamp); border-bottom: 2px solid var(--lamp); transform: rotate(45deg); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.qa p { margin: 0 0 20px; color: var(--muted); max-width: 62ch; }

/* ---------- end ---------- */
.end { padding: 40px var(--gut) 90px; display: grid; justify-items: center; text-align: center; gap: 26px; max-width: var(--max); margin: 0 auto; }
.row-end { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 760px; }
.end-h { max-width: 16ch; }
.end .note { margin-top: -10px; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(10, 13, 22, .94); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .45s var(--ease); font-weight: 700; }
.buybar.show { transform: none; }
.buybar .btn { min-width: 140px; }
@media (min-width: 900px) { .buybar { display: none; } }
.foot { background: #070a12; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; padding: 0 var(--gut) env(safe-area-inset-bottom); }
.foot p { margin: 0; }
.foot-top, .foot-base { max-width: var(--max); margin: 0 auto; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr); gap: 48px; padding: 64px 0 52px; }
.foot-brand { display: grid; align-content: start; gap: 16px; max-width: 34ch; }
.foot-brand .brand { color: var(--ink); width: max-content; }
.foot-brand p { line-height: 1.55; }
.foot-facts { color: var(--ink); font-weight: 500; font-size: .86rem; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-cols h2 { margin: 0 0 16px; font: 700 .76rem/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-cols a, .foot-cols li > span { display: inline-flex; align-items: center; min-height: 34px; }
.foot-cols a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat; transition: color .2s, background-size .3s var(--ease); overflow-wrap: anywhere; }
.foot-cols a:hover { color: var(--ink); background-size: 100% 1px; }
.foot-lang { display: flex; gap: 6px; margin-top: 18px; }
.foot-cols .foot-lang a { min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: none; font-size: .84rem; }
.foot-cols .foot-lang a:hover { border-color: var(--muted); }
html[lang="en"] .foot-lang a[hreflang="en"], html[lang="ru"] .foot-lang a[hreflang="ru"] { color: var(--ink); border-color: var(--lamp); pointer-events: none; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding: 22px 0 26px; border-top: 1px solid var(--line); font-size: .82rem; }
.foot .credit { font-size: .78rem; opacity: .75; }
.foot .credit a { color: inherit; }
@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr; gap: 40px; padding: 52px 0 40px; }
}
@media (max-width: 560px) {
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-cols > div:last-child { grid-column: 1 / -1; }
  .foot-cols ul { gap: 0; }
  .foot-cols a, .foot-cols li > span { min-height: 44px; }
  .foot-cols .foot-lang a { min-height: 44px; }
  .foot-base { padding-bottom: 92px; } /* the phone buy bar covers the bottom of the page */
}
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 60; transform: translate(-50%, 140%); opacity: 0;
  background: var(--paper); color: var(--paper-ink); padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: .92rem; max-width: calc(100vw - 32px);
  transition: transform .5s var(--ease), opacity .3s; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- wider screens ---------- */
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "copy proof" "act proof"; align-items: center; align-content: center;
    column-gap: 56px; row-gap: 30px; padding-top: 100px; max-width: 1440px; margin: 0 auto; }
  .hero .h1 { font-size: clamp(2.6rem, 4.1vw, 4rem); }
  .hero-copy { grid-area: copy; align-self: end; } .hero-act { grid-area: act; align-self: start; } .hero-proof { grid-area: proof; }
  .hero-sky { left: 50%; width: 100vw; transform: translateX(-50%); }
  .ctas .btn { flex: 0 0 auto; }
  .hero-cat { display: block; position: absolute; right: -6%; bottom: -78px; width: 210px; z-index: 3; }
  .sample figcaption { padding-right: 190px; }
  .conv-stage { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 48px; align-items: center; padding-top: 80px; }
  .conv-track { --seatw: min(30vw, 400px); grid-row: 1; padding-left: calc(50% - var(--seatw) / 2); }
  .conv-track-wrap { overflow: visible; }
  .stations { grid-row: 1; margin: 0; }
  .belt { grid-column: 1 / -1; }
  .out { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; padding-top: 140px; }
  .out-desk { height: 600px; }
  .memo { padding: 40px 44px; }
  .price { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; padding: 110px var(--gut); }
  .price-head, .cmp { grid-column: 1 / -1; }
  .cmp { grid-template-columns: 1fr 1fr 1.15fr; }
  .money-calc { grid-column: 1 / span 2; max-width: 760px; }
  .trial { grid-template-columns: 280px 1fr; align-items: end; gap: 0; }
  .trial-cat { margin: 0 -40px 0 0; width: 300px; }
  .trial-copy { padding: 36px 40px 36px 60px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps li { padding: 46px 0 0; }
  .steps li::before { left: 0; top: 0; }
  .steps li::after { left: 30px; right: -26px; top: 6px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
}
.conv-track-clip { overflow: hidden; margin: 0 calc(var(--gut) * -1); -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
@media (min-width: 900px) { .conv-track-clip { margin: 0; grid-row: 1; } }

/* calm version: only with ?motion=0: the owner wants the full motion even when Windows animation effects are off */
.rm *, .rm *::before, .rm *::after { animation: none !important; transition: none !important; }
.rm .conv-pin { height: auto; }
.rm .conv-stage { display: block; }
.rm .conv-track-clip, .rm .belt { display: none; }
.rm .stations { gap: 48px; }
.rm .station { grid-area: auto; }
.rm .station > .seat { width: min(62vw, 230px); margin-bottom: 6px; }
@media (min-width: 900px) {
  .rm .stations { max-width: 980px; margin: 0 auto; gap: 56px; }
  .rm .station { grid-template-columns: 300px minmax(0, 1fr); column-gap: 48px; align-items: start; }
  .rm .station > .seat { grid-column: 1; grid-row: 1 / span 3; width: 100%; margin: 0; }
  .rm .station > :not(.seat) { grid-column: 2; }
}

/* app: real screenshots, one tab per step where the team waits for the user */
.app { max-width: var(--max); margin: 0 auto; padding: 96px var(--gut) 40px; display: grid; gap: 30px; }
.app-ui { display: grid; gap: 16px; min-width: 0; }
.app-tabs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 6px; scrollbar-width: none; }
.app-tabs::-webkit-scrollbar { display: none; }
.app-tab { flex: none; scroll-snap-align: start; font: 600 .92rem/1.2 var(--text); color: var(--muted); background: #10162a; border: 1px solid var(--line); border-radius: 99px; padding: 10px 16px; cursor: pointer; text-align: left; transition: color .2s, border-color .2s, background .2s; }
.app-tab b { font-weight: 600; }
.app-tab span { display: none; }
.app-tab:hover { color: var(--ink); }
.app-tab[aria-selected="true"] { color: var(--lamp-ink); background: var(--lamp); border-color: var(--lamp); }
.app-view { margin: 0; min-width: 0; }
.app-win { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #14171b; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02); }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #1a1f29; border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #39425a; }
.app-bar span { margin-left: 8px; font-size: .78rem; color: var(--muted); }
.app-shots { display: grid; }
.app-shot { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; cursor: zoom-in; }
.app-shot.on { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.app-shot img { width: 100%; height: auto; }
.app-desc { margin: 14px 0 0; color: #d6d1c8; max-width: 60ch; text-wrap: pretty; }
.app-note { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
@media (min-width: 900px) {
  .app-ui { grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); gap: 28px; align-items: start; }
  .app-tabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 6px; }
  .app-tab { border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; background: transparent; border-color: transparent; }
  .app-tab b { color: var(--ink); font-size: 1rem; }
  .app-tab span { display: block; font-weight: 400; font-size: .88rem; line-height: 1.45; }
  .app-tab:hover { background: #10162a; }
  .app-tab[aria-selected="true"] { color: var(--muted); background: #10162a; border-color: var(--line); box-shadow: inset 3px 0 0 var(--lamp); }
  .app-desc { display: none; }
  .app-view { position: sticky; top: 84px; }
}
html.rm .app-shot, html.rm .app-shot.on { transition: none; }
@media (max-width: 760px) { .app-shot img { aspect-ratio: 705 / 881; object-fit: contain; object-position: top; background: #14171b; } }

/* Buy window: Whop's checkout over the page */
.pay { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 14px;
  background: var(--night-2); color: var(--ink); overflow: auto; overscroll-behavior: contain; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8); }
.pay::backdrop { background: rgba(4, 6, 12, .72); backdrop-filter: blur(4px); }
.pay[open] { animation: pay-in .32s var(--ease); }
@keyframes pay-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.pay-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 20px 22px 16px; background: var(--night-2); border-bottom: 1px solid var(--line); }
.pay-head h2 { margin: 0; font: 400 1.25rem/1.15 var(--display); }
.pay-head p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.pay-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -6px -8px 0 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.pay-x:hover { background: rgba(236, 231, 222, .08); color: var(--ink); }
.pay-body { position: relative; min-height: 360px; padding: 18px 22px 8px; }
.pay-wait { position: absolute; inset: 0; display: none; place-items: center; margin: 0; color: var(--muted); font-size: .95rem; }
.pay.loading .pay-wait { display: grid; }
.pay.loading #whop-checkout { visibility: hidden; }
.pay-done { margin: 0 22px 8px; padding: 16px 18px; border: 1px solid rgba(255, 122, 77, .45); border-radius: 10px; background: rgba(255, 122, 77, .08); }
.pay-done h3 { margin: 0 0 6px; font-size: 1rem; }
.pay-done p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.pay-note { margin: 0; padding: 12px 22px 20px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.pay-note a { color: var(--ink); }
@media (max-width: 560px) {
  .pay { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .pay-head { padding: 14px 16px 12px; padding-top: calc(14px + env(safe-area-inset-top)); }
  .pay-body { padding: 14px 16px 6px; }
  .pay-done { margin: 0 16px 8px; }
  .pay-note { padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); }
}
