/* Marketing site */
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.grain::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .2s, box-shadow .2s, backdrop-filter .2s; }
.nav.is-stuck { background: rgba(244, 240, 232, .82); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line-2); }
.nav-inner { display: flex; align-items: center; height: 68px; gap: 28px; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink-3); padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.nav-links a:hover { color: var(--ink); background: rgba(22, 20, 15, .05); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; border: 0; background: none; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: transform .2s; }

/* hero */
.hero { position: relative; padding: 64px 0 40px; text-align: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7.6vw, 104px); line-height: .94; letter-spacing: -0.03em;
  margin: 18px auto 22px; max-width: 13ch;
}
.hero h1 em { font-style: italic; color: var(--accent-ink); }
.hero .lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-3); max-width: 600px; margin: 0 auto 30px; line-height: 1.55; }
.badge-line { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); box-shadow: var(--shadow-1); text-decoration: none; }
.badge-line b { background: var(--ink); color: var(--paper); font-weight: 600; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; letter-spacing: .02em; }

.hero-form { display: flex; gap: 6px; max-width: 560px; margin: 0 auto; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-2); }
.hero-form input { flex: 1; border: 0; background: transparent; padding: 0 18px; font-size: 15px; min-width: 0; }
.hero-form input:focus { outline: none; }
.hero-form:focus-within { border-color: var(--ink); }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--muted); display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: var(--green); }

/* stage (hero visual) */
.stage { position: relative; margin: 60px auto 0; max-width: 1080px; border-radius: 28px; background: var(--ink); color: var(--paper); padding: 22px 22px 34px; box-shadow: var(--shadow-3); overflow: hidden; text-align: left; }
.stage::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.stage-bar { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #B9B1A3; }
.stage-bar .file { display: flex; align-items: center; gap: 8px; color: var(--paper); font-weight: 550; }
.stage-bar .file i { width: 28px; height: 28px; border-radius: 8px; background: #2B2822; display: grid; place-items: center; }
.stage-bar .status { margin-left: auto; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; }
.stage-bar .status .dot { background: var(--accent); }
.wave { position: relative; height: 92px; margin-top: 18px; display: flex; align-items: center; gap: 2px; }
.wave i { flex: 1; border-radius: 2px; background: #4A443A; min-height: 3px; transition: background .4s; }
.wave i.on { background: #8E8576; }
.wave .hl { position: absolute; top: -6px; bottom: -6px; border-radius: 10px; border: 1.5px solid var(--accent); background: rgba(255, 90, 31, .12); opacity: 0; transform: scaleY(.85); transition: opacity .5s, transform .5s var(--ease); }
.wave .hl.show { opacity: 1; transform: none; }
.wave .hl b { position: absolute; top: -13px; left: 8px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; }
.wave .scan { position: absolute; top: -10px; bottom: -10px; width: 2px; background: var(--paper); box-shadow: 0 0 18px 3px rgba(255, 255, 255, .35); left: 0; border-radius: 2px; }
.timecodes { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: #7E776A; margin-top: 10px; }

.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; max-width: 760px; margin-inline: auto; }
.phone { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #2A2620; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); opacity: 1; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.phone.show { opacity: 1; transform: none; }
.phone .scene { position: absolute; inset: 0; }
.phone .scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), transparent 30%, transparent 55%, rgba(0,0,0,.55)); }
.scene { background-size: cover; }
.scene-a { background: url(/img/silhouette.svg) 50% 100%/92% auto no-repeat, radial-gradient(70% 45% at 70% 28%, rgba(255,170,110,.55), transparent 70%), linear-gradient(170deg, #5B3A2A, #1C1310 72%); }
.scene-b { background: url(/img/silhouette.svg) 38% 100%/88% auto no-repeat, radial-gradient(60% 40% at 20% 30%, rgba(120,220,210,.45), transparent 70%), linear-gradient(165deg, #1F4A4D, #0B1C1E 75%); }
.scene-c { background: url(/img/silhouette.svg) 62% 100%/96% auto no-repeat, radial-gradient(65% 45% at 80% 20%, rgba(255,120,170,.45), transparent 70%), linear-gradient(160deg, #4A1E3A, #160A12 75%); }
.phone .hook { position: absolute; top: 9%; left: 9%; right: 9%; background: var(--paper); color: var(--ink); font-weight: 750; font-size: clamp(10px, 1.25vw, 14px); line-height: 1.2; text-align: center; padding: 7px 8px; border-radius: 6px; letter-spacing: -0.01em; }
.phone .cap { position: absolute; left: 6%; right: 6%; bottom: 23%; text-align: center; font-weight: 900; font-size: clamp(13px, 1.7vw, 20px); line-height: 1.1; text-transform: uppercase; color: #fff; letter-spacing: -0.01em; -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; min-height: 2.3em; display: flex; align-items: flex-end; justify-content: center; flex-wrap: wrap; gap: 0 .28em; }
.phone .cap span { transition: color .12s, transform .12s; display: inline-block; }
.phone .cap span.on { color: var(--accent); transform: scale(1.08); }
.phone .score { position: absolute; top: 10px; right: 10px; display: none; }
.phone .meta { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.8); font-family: var(--mono); }
.phone .meta b { background: var(--accent-strong); color: #fff; padding: 2px 7px; border-radius: 999px; font-weight: 600; }

/* sections */
section { position: relative; z-index: 2; }
.section { padding: 110px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -0.025em; margin: 14px 0 18px; }
.section-head h2 em { font-style: italic; color: var(--accent-ink); }
.section-head p { font-size: 17.5px; color: var(--ink-3); margin: 0; max-width: 620px; }
.section-head.center p { margin-inline: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 30px 30px 10px 0; }
.step + .step { padding-left: 30px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--accent-ink); font-style: italic; }
.step h3 { font-size: 20px; letter-spacing: -0.015em; margin: 14px 0 8px; font-weight: 650; }
.step p { color: var(--ink-3); margin: 0; }

/* score explainer */
.score-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.score-card { padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-2); }
.score-top { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.score-ring { --v: 91; position: relative; width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--v) * 1%), var(--line-2) 0); display: grid; place-items: center; flex: none; }
.score-ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--card); }
.score-ring b { position: relative; font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1; }
.score-top h4 { margin: 0 0 4px; font-size: 17px; letter-spacing: -0.01em; }
.score-top p { margin: 0; color: var(--muted); font-size: 13.5px; }
.bars { display: grid; gap: 14px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.bar { display: grid; grid-template-columns: 92px 1fr 34px; align-items: center; gap: 12px; font-size: 13.5px; }
.bar .track { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.bar .track i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--ink); transition: width 1.2s var(--ease); }
.bar:first-child .track i { background: var(--accent); }
.bar span:last-child { font-family: var(--mono); font-size: 12.5px; text-align: right; color: var(--ink-3); }
.reasons { list-style: none; padding: 18px 0 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
.reasons li { display: flex; gap: 10px; align-items: flex-start; }
.reasons li::before { content: ''; width: 16px; height: 16px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%2317734F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.axis-list { display: grid; gap: 22px; margin-top: 8px; }
.axis { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.axis i { width: 44px; height: 44px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--accent-ink); }
.axis h4 { margin: 2px 0 4px; font-size: 16px; letter-spacing: -0.01em; }
.axis p { margin: 0; color: var(--ink-3); font-size: 14.5px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-2); overflow: hidden; position: relative; min-height: 260px; display: flex; flex-direction: column; }
.tile.wide { grid-column: span 3; }
.tile.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tile.ink p { color: #BDB5A7; }
.tile h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.015em; font-weight: 650; }
.tile p { margin: 0; color: var(--ink-3); font-size: 14.5px; max-width: 42ch; }
.tile .art { margin-top: auto; padding-top: 22px; }
.cap-styles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cap-styles div { aspect-ratio: 9 / 13; border-radius: 10px; background: linear-gradient(160deg, #6B5446, #2A211C); display: flex; align-items: flex-end; justify-content: center; padding: 0 4px 16px; font-size: 10.5px; text-align: center; line-height: 1.1; }
.cs-spot { color: #fff; font-weight: 900; text-transform: uppercase; -webkit-text-stroke: 3px #16140F; paint-order: stroke fill; }
.cs-spot em { font-style: normal; color: var(--accent); }
.cs-clean { color: #fff; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.cs-boxed span { background: var(--ink); color: #fff; font-weight: 800; text-transform: uppercase; padding: 3px 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.cs-boxed em { font-style: normal; color: #FFD23F; }
.cs-kara { font-weight: 900; text-transform: uppercase; color: #fff; -webkit-text-stroke: 3px #16140F; paint-order: stroke fill; }
.cs-kara em { font-style: normal; color: var(--accent); }
.cs-lower { color: #fff; font-size: 8.5px !important; }
.cs-lower span { background: rgba(0,0,0,.55); padding: 2px 4px; }
.cap-styles div > small { display: none; }

.ratios { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 16px; }
.ratio { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ratio .frame { position: relative; width: var(--w); height: var(--h); max-width: 100%; border-radius: 10px; overflow: hidden; background: #16140F var(--img, url(/img/demo/before.jpg)) var(--pos, 50% 30%) / cover no-repeat; box-shadow: 0 0 0 1.5px var(--line-2); }
.ratio.on .frame { box-shadow: 0 0 0 2px var(--accent); }
.ratio .frame span { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; background: rgba(22, 20, 15, .72); color: #F4F0E8; font-family: var(--mono); font-size: 10.5px; letter-spacing: .02em; }
.ratio.on .frame span { background: var(--accent); color: #fff; }
.ratio.fit .frame { background-size: cover; }
.ratio.fit .frame::before { content: ""; position: absolute; inset: -10px; background: inherit; filter: blur(9px) brightness(.85); }
.ratio.fit .frame i { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); aspect-ratio: 16 / 9; background: var(--img, url(/img/demo/before.jpg)) center / cover no-repeat; }
.ratio figcaption { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); max-width: 15ch; line-height: 1.35; }
.ratio-note { margin-top: 14px !important; font-size: 13px !important; color: var(--muted) !important; }

.mini-tl { position: relative; height: 70px; display: flex; align-items: center; gap: 2px; }
.mini-tl i { flex: 1; background: #3E3930; border-radius: 2px; }
.mini-tl .sel { position: absolute; top: -4px; bottom: -4px; left: 30%; width: 34%; border: 2px solid var(--accent); border-radius: 8px; background: rgba(255, 90, 31, .14); }
.mini-tl .sel::before, .mini-tl .sel::after { content: ''; position: absolute; top: 50%; width: 6px; height: 26px; margin-top: -13px; border-radius: 3px; background: var(--accent); }
.mini-tl .sel::before { left: -4px; } .mini-tl .sel::after { right: -4px; }

.exports { display: flex; flex-wrap: wrap; gap: 8px; }
.exports span { font-family: var(--mono); font-size: 12px; padding: 7px 11px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); }
.brand-art { display: flex; gap: 10px; align-items: center; }
.brand-art i { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--line); }
.brand-art b { font-family: var(--serif); font-size: 44px; font-weight: 400; margin-left: 10px; }

/* pricing */
.billing-toggle { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 36px; }
.save { font-size: 12.5px; font-weight: 600; color: var(--green); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
@media (max-width: 1180px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { position: relative; padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line-2); display: flex; flex-direction: column; box-shadow: var(--shadow-1); }
.plan.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: var(--shadow-3); }
.plan.featured .plan-tag { color: #BDB5A7; }
.plan.featured li { color: #E4DED2; }
.plan.featured li::before { background-color: rgba(255, 90, 31, .22); }
.plan-name { display: flex; align-items: center; justify-content: space-between; font-weight: 650; font-size: 17px; }
.plan-tag { color: var(--muted); font-size: 14px; margin: 4px 0 22px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan-price b { font-family: var(--serif); font-weight: 400; font-size: 60px; line-height: 1; letter-spacing: -0.02em; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan.featured .plan-price span { color: #BDB5A7; }
.plan-billed { font-size: 13px; color: var(--muted); min-height: 20px; margin-bottom: 22px; }
.plan.featured .plan-billed { color: #BDB5A7; }
.plan ul { list-style: none; padding: 22px 0 0; margin: 22px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.plan.featured ul { border-color: #35312A; }
.plan li { display: flex; gap: 10px; color: var(--ink-2); }
.plan li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2 7.8 12 13 6.5' fill='none' stroke='%23E2470F' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.plan .btn { margin-top: 18px; } /* same height in every card, whatever the feature list length */
.plan .btn-wrap { margin-top: auto; padding-top: 26px; }
.plan.featured .btn-ghost { --fg: var(--paper); --bd: #4A453C; }

.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.compare { width: 100%; min-width: 520px; border-collapse: collapse; margin-top: 64px; font-size: 14.5px; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line-2); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: 15px; font-weight: 650; position: sticky; top: 68px; background: var(--paper); z-index: 2; }
.compare tbody tr:hover td { background: rgba(255, 255, 255, .5); }
.compare .grp td { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 30px; border-bottom-color: var(--line); }
.compare .yes { color: var(--accent-2); font-weight: 700; }
.compare .no { color: var(--faint); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 18px; font-weight: 560; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--ink), var(--ink)) center/14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center/1.5px 14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 24px; color: var(--ink-3); max-width: 680px; }

/* cta + footer */
.cta { margin: 40px auto 0; border-radius: 32px; background: var(--ink); color: var(--paper); padding: 90px 40px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 31, .35), transparent 65%); left: 50%; top: 100%; transform: translate(-50%, -50%); }
.cta h2 { position: relative; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: .98; letter-spacing: -0.025em; margin: 0 auto 26px; max-width: 14ch; }
.cta h2 em { color: var(--accent); }
.cta p { position: relative; color: #BDB5A7; margin: 0 auto 30px; max-width: 480px; }
.cta .btn { position: relative; }
.footer { padding: 70px 0 40px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.footer h5 { margin: 0 0 12px; font-size: 13px; color: var(--ink); font-weight: 650; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }

/* Motion only — content is never invisible, even before the observer fires. */
.reveal { transform: translateY(14px); transition: transform .8s var(--ease); }
.reveal.in { transform: none; }
.cta-short { display: none; }
.nav-mobile-auth { display: none; }
.logo { flex: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav.open .nav-links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--paper); padding: 12px 24px 20px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.2); }
  .nav.open .nav-links .nav-mobile-auth { display: block; }
  .nav-toggle { display: block; margin-left: 0; }
  /* compact Log in stays visible next to Get started; shrink so 360px doesn't wrap */
  .nav-inner { gap: 10px; }
  .nav-cta { gap: 2px; flex: none; }
  .nav-cta .btn-ghost { display: inline-flex; height: 32px; padding: 0 8px; border-color: transparent; font-weight: 550; }
  .nav-cta .btn-sm { padding: 0 10px; }
  .nav-cta .cta-long { display: none; }
  .nav-cta .cta-short { display: inline; }
  .score-split { grid-template-columns: 1fr; gap: 40px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.wide { grid-column: span 1; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compare { font-size: 13px; }
}
@media (max-width: 430px) {
  .nav .wrap { width: min(1180px, 100% - 24px); }
  .logo { font-size: 17px; gap: 6px; }
  .nav-inner { gap: 6px; }
  .nav-toggle { width: 36px; height: 36px; }
}
@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .bento { grid-template-columns: 1fr; }
  .phones { gap: 10px; }
  .stage { padding: 16px 14px 22px; border-radius: 20px; }
  .hero-form { flex-direction: column; border-radius: 20px; }
  .hero-form input { height: 46px; }
  .cta { padding: 64px 22px; border-radius: 24px; }
  .wave { height: 64px; }
  .stage-bar { flex-wrap: wrap; row-gap: 8px; }
  .stage-bar .file { min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .stage-bar .file i { display: none; }
  .stage-bar > .mono { display: none; }
  .stage-bar .status { margin-left: 0; width: 100%; }
  .timecodes span:nth-child(even) { display: none; }
  .compare th:nth-child(n+2), .compare td:nth-child(n+2) { padding-inline: 4px; }
}
/* plan cards line up: the badge doesn't make the name row taller on one card */
.plan-name { min-height: 30px; }
.plan .chip { line-height: 1; }
/* caption styles: real renders from ClipQuant's caption engine */
.cap-styles.real { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0; background: none; }
.cap-styles.real figure { margin: 0; }
.cap-styles.real img { display: block; width: 100%; height: auto; border-radius: 12px; background: #16140F; }
.cap-styles.real figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 560px) { .cap-styles.real { grid-template-columns: repeat(2, 1fr); } }
/* before → after demo (real ClipQuant output on stock footage) */
.demo-pair { display: grid; grid-template-columns: minmax(0, 1.7fr) auto minmax(0, 0.538fr); /* 0.538 = 1.7 × (9/16)²: both pictures come out the same height */ align-items: center; gap: clamp(14px, 3vw, 36px); margin-top: 34px; }
.demo-pair figure { margin: 0; }
.demo-pair img, .demo-pair video { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 60px rgba(22, 20, 15, .18); background: var(--ink); }
.demo-before img, .demo-before video { aspect-ratio: 16 / 9; }
.demo-after video { aspect-ratio: 9 / 16; }
.demo-pair figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; font-family: var(--mono); }
.demo-arrow { font-family: var(--serif); font-size: clamp(34px, 5vw, 64px); color: var(--accent-ink); line-height: 1; }
.demo-credit { margin-top: 18px; max-width: 760px; }
.demo-more { margin: 26px 0 0; }
/* two stacked videos per side: the next example is loaded and playing underneath before it fades in */
.demo-stack { position: relative; overflow: hidden; border-radius: 18px; box-shadow: 0 24px 60px rgba(22, 20, 15, .18); background: var(--ink); }
.demo-stack-b { aspect-ratio: 16 / 9; }
.demo-stack-a { aspect-ratio: 9 / 16; }
.demo-pair .demo-stack video { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; box-shadow: none; opacity: 0; z-index: 1; }
.demo-pair .demo-stack video.on { opacity: 1; z-index: 2; }
.demo-pair .demo-stack video.in { opacity: 1; z-index: 3; } /* quick cut: the incoming clip is already playing, so it swaps in at once */
.demo-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.demo-tab { font: 500 13px/1 var(--mono); padding: 9px 14px; min-height: 36px; border-radius: 999px; border: 1px solid rgba(22, 20, 15, .18); background: transparent; color: var(--muted); cursor: pointer; }
.demo-tab:hover { color: var(--ink); border-color: rgba(22, 20, 15, .4); }
.demo-tab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.demo-tab:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
@media (max-width: 760px) { .demo-pair { grid-template-columns: 1fr; } .demo-arrow { transform: rotate(90deg); justify-self: center; } .demo-after { max-width: 300px; justify-self: center; } }
@media (prefers-reduced-motion: reduce) { .demo-after video { animation: none; } .demo-pair .demo-stack video { transition: none !important; } }

/* Only on ClipQuant */
.only-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.only-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.only-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.05; letter-spacing: -0.01em; margin: 10px 0 10px; }
.only-card p { margin: 0; color: var(--ink-3); font-size: 14.5px; line-height: 1.55; }
.only-k { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 1000px) { .only-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .only-grid { grid-template-columns: 1fr; } }

@media (pointer: coarse) { .footer a { display: inline-flex; align-items: center; min-height: 44px; } }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* hero stage: interactive */
.phone .scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone .prog { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p, 0%); background: var(--accent); z-index: 2; }
.phones { perspective: 1100px; }
.phone.show { cursor: pointer; transition: opacity .6s, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, filter .45s; }
.phones.has-active .phone.show:not(.active) { filter: saturate(.7) brightness(.82); }
.phone.show.active { transform: translateY(-10px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) scale(1.03); box-shadow: 0 0 0 2px var(--accent), 0 30px 60px -16px rgba(0, 0, 0, .7); z-index: 2; }
.wave { cursor: crosshair; }
.wave .hl { cursor: pointer; transition: opacity .5s, transform .5s, background .25s, box-shadow .25s; }
.wave .hl.active { background: rgba(255, 90, 31, .3); box-shadow: 0 0 0 4px rgba(255, 90, 31, .18); }
.wave .cursor { position: absolute; top: -12px; bottom: -12px; width: 1px; background: rgba(244, 240, 232, .55); pointer-events: none; opacity: 0; transition: opacity .15s; }
.wave .cursor span { position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -4px); font-family: var(--mono); font-size: 10.5px; color: var(--paper); background: #2B2822; padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.wave:hover .cursor { opacity: 1; }
.stage-bar .replay { font: inherit; font-size: 11.5px; color: var(--paper); background: #2B2822; border: 1px solid #3A362E; border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.stage-bar .replay:hover { border-color: var(--accent); }
.stage-bar .replay:focus-visible, .phone.show:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: none) { .wave .cursor { display: none; } }
@media (prefers-reduced-motion: reduce) { .phone.show.active { transform: none; } }
.stage-credit { margin: 20px auto 0; max-width: 760px; text-align: center; font-size: 12px; color: #8E8576; }
.stage-credit a { color: #B9B1A3; }
/* Holiday plans pop-up (homepage, once per session) */
.bf-wrap { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(12, 10, 7, .62); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; overflow-y: auto; }
.bf-wrap.open { opacity: 1; }
.bf { position: relative; width: min(1080px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #0E0D0A; color: #F4F0E8; border-radius: 26px; padding: 34px 30px 24px; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06); transform: translateY(14px) scale(.985); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.bf-wrap.open .bf { transform: none; }
.bf::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 50% at 85% 0%, rgba(255, 90, 31, .28), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(255, 90, 31, .12), transparent 70%); }
.bf-x { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #2E2A23; background: #1A1813; color: #F4F0E8; font-size: 22px; line-height: 1; cursor: pointer; z-index: 1; }
.bf-x:hover { border-color: var(--accent); }
.bf-head { position: relative; text-align: center; max-width: 620px; margin: 0 auto 26px; }
.bf-tag { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #0E0D0A; background: var(--accent); padding: 6px 14px; border-radius: 999px; font-weight: 700; box-shadow: 0 0 30px rgba(255, 90, 31, .55); animation: bfGlow 2.4s ease-in-out infinite; }
@keyframes bfGlow { 50% { box-shadow: 0 0 10px rgba(255, 90, 31, .3); } }
.bf-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 58px); line-height: 1; margin: 16px 0 10px; letter-spacing: -.02em; }
.bf-head p { color: #B9B1A3; margin: 0 0 18px; }
.bf-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #1A1813; border: 1px solid #2E2A23; }
.bf-seg button { font: inherit; font-size: 14px; color: #B9B1A3; background: transparent; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.bf-seg button[aria-pressed="true"] { background: #F4F0E8; color: #0E0D0A; font-weight: 600; }
.bf-seg em { font-style: normal; color: var(--accent); font-size: 12px; margin-left: 4px; }
.bf-seg button[aria-pressed="true"] em { color: #C2410C; }
.bf-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bf-card { position: relative; display: flex; flex-direction: column; padding: 22px 18px 18px; border-radius: 18px; background: #17150F; border: 1px solid #2A261F; transition: transform .2s, border-color .2s; }
.bf-card:hover { transform: translateY(-3px); border-color: #4A4234; }
.bf-card.hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px -20px rgba(255, 90, 31, .55); }
.bf-pop { position: absolute; top: -11px; left: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 3px 9px; border-radius: 999px; }
.bf-card h3 { margin: 0; font-size: 18px; }
.bf-line { margin: 4px 0 14px; color: #9A9284; font-size: 13px; min-height: 2.6em; }
.bf-price b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -.02em; }
.bf-price span { color: #9A9284; font-size: 14px; margin-left: 2px; }
.bf-bill { margin: 8px 0 14px; font-size: 13px; color: #B9B1A3; font-variant-numeric: tabular-nums; min-height: 1.4em; }
.bf-bill s { color: #7E776A; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.bf-bill b { color: #F4F0E8; }
.bf-bill i { font-style: normal; color: var(--accent); font-weight: 600; margin-left: 2px; }
.bf-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; color: #D7D0C3; }
.bf-card li::before { content: '✓'; color: var(--accent); margin-right: 8px; }
.bf-go { margin-top: auto; justify-content: center; }
.bf-card:not(.hot) .bf-go { --bg: #F4F0E8; --fg: #0E0D0A; --bd: #F4F0E8; }
.bf-foot { position: relative; text-align: center; margin: 18px 0 0; font-size: 12.5px; color: #7E776A; }
.bf-foot a { color: #B9B1A3; }
@media (max-width: 920px) { .bf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .bf { padding: 26px 16px 18px; } .bf-grid { grid-template-columns: 1fr; } .bf-line { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .bf-tag { animation: none; } .bf, .bf-wrap { transition: none; } }

/* "Made with ClipQuant" strip: two rows drifting in opposite directions; hover pauses */
.mq { overflow: hidden; }
.mq .section-head p a { color: inherit; }
.mq-row { display: flex; gap: 14px; width: max-content; margin-top: 26px; --dur: 162s; }
.mq-row + .mq-row { margin-top: 14px; --dur: 48s; }
.mq-track { display: flex; gap: 14px; animation: mqMove var(--dur) linear infinite; }
.mq-r .mq-track { animation-direction: reverse; }
.mq-row:has(:focus-visible) .mq-track { animation-play-state: paused; }
@keyframes mqMove { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 14px)); } }
.mq-card { display: flex; align-items: center; gap: 12px; width: 330px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--card, #fff); border: 1px solid var(--line-2, var(--line)); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.mq-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.mq-card img, .mq-ph { flex: none; width: 54px; height: 96px; border-radius: 10px; object-fit: cover; background: linear-gradient(160deg, #6B5446, #2A211C); }
.mq-t { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mq-t b { font-size: 14.5px; line-height: 1.25; font-weight: 650; }
.mq-t small { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mq-s { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 13px; font-weight: 600; }
.mq-chip { white-space: nowrap; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } .mq-row { width: auto; overflow-x: auto; padding: 0 16px; } .mq-track[aria-hidden] { display: none; } }

/* hero stage: more examples */
.phones-nav { position: relative; }
.stage-arrow { position: absolute; top: calc(50% - 14px); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #3A362E; background: rgba(22, 20, 15, .85); color: #F4F0E8; font-size: 30px; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; backdrop-filter: blur(4px); }
.stage-arrow:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.06); }
.stage-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.stage-arrow.prev { left: 6px; }
.stage-arrow.next { right: 6px; }
.phones { transition: opacity .22s, transform .22s; }
.phones.swapping { opacity: 0; transform: translateX(-12px); }
.stage-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.stage-dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: #4A443A; cursor: pointer; transition: width .25s, background .25s; }
.stage-dots button[aria-current="true"] { width: 24px; background: var(--accent); }
@media (max-width: 640px) { .stage-arrow { width: 38px; height: 38px; font-size: 24px; top: calc(50% - 10px); } .stage-arrow.prev { left: -6px; } .stage-arrow.next { right: -6px; } }
@media (prefers-reduced-motion: reduce) { .phones { transition: none; } .phones.swapping { transform: none; } }
.plan-tag { min-height: 2.9em; } /* one- and two-line descriptions keep prices and buttons level */

/* footer: social links and support address */
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.footer-social a { display: inline-grid; place-items: center; min-width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2, var(--line)); color: var(--ink-3); text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-social a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.footer-social .footer-mail { padding: 0 12px; font-size: 13px; }
/* Holiday pop-up on phones: a bottom sheet that leaves the page visible above it, with the plans
   side by side in a swipeable row instead of four tall cards stacked down the whole screen. */
@media (max-width: 620px) {
  .bf-wrap { place-items: end center; padding: 0; overflow: hidden; }
  .bf { width: 100%; max-height: 74dvh; border-radius: 22px 22px 0 0; padding: 18px 0 calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateY(40px); }
  .bf::after { content: ''; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #3A352C; }
  .bf-x { top: 10px; right: 12px; width: 34px; height: 34px; font-size: 20px; }
  .bf-head { margin: 0 auto 14px; padding: 0 18px; }
  .bf-tag { font-size: 10.5px; padding: 5px 11px; }
  .bf-head h2 { font-size: 32px; margin: 10px 0 6px; }
  .bf-head p { display: none; }
  .bf-seg button { padding: 7px 12px; font-size: 13px; }
  .bf-grid { display: flex; grid-template-columns: none; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 18px 4px; scroll-padding: 0 18px; scrollbar-width: none; }
  .bf-grid::-webkit-scrollbar { display: none; }
  .bf-card { flex: 0 0 76%; scroll-snap-align: start; padding: 18px 16px 14px; }
  .bf-card:hover { transform: none; }
  .bf-line { min-height: 0; margin-bottom: 10px; }
  .bf-price b { font-size: 36px; }
  .bf-card ul { gap: 5px; margin-bottom: 14px; font-size: 13px; }
  .bf-card li:nth-child(n+3) { display: none; }
  .bf-foot { margin-top: 10px; padding: 0 18px; }
}

/* money-back promise above the plan cards */
.refund-promise { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 720px; margin: 0 auto 22px; padding: 10px 16px; border-radius: 14px; background: #E8F5EC; color: #14532D; font-size: 14px; line-height: 1.4; text-align: left; }
.refund-promise svg { flex: none; color: #15803D; }
.refund-promise a { color: inherit; text-decoration: underline; }
.bf-mb { color: #86EFAC; font-weight: 600; }
.hero-upload { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: currentColor; }
.hero-upload:hover { color: var(--accent); }
/* Phones: all four plans visible at once in a 2×2 grid of compact cards (no half-cut card at the
   edge). Name, price, yearly total and the button; the features are on the pricing page. */
@media (max-width: 620px) {
  .bf { max-height: 86dvh; overflow-y: auto; }
  .bf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; padding: 12px 14px 4px; scroll-snap-type: none; }
  .bf-card { flex: none; padding: 14px 12px 12px; border-radius: 14px; }
  .bf-card h3 { font-size: 15px; }
  .bf-line, .bf-card ul { display: none; }
  .bf-price { margin-top: 6px; }
  .bf-price b { font-size: 30px; }
  .bf-price span { font-size: 12px; }
  .bf-bill { margin: 4px 0 10px; font-size: 11.5px; min-height: 2.6em; }
  .bf-pop { left: 10px; font-size: 9.5px; padding: 2px 7px; }
  .bf-go { font-size: 13px; padding: 9px 8px; min-height: 0; }
}
/* plans hint (replaces the full-screen holiday pop-up): a small corner card, never blocking */
.plan-hint { position: fixed; left: 16px; bottom: 16px; z-index: 55; display: flex; align-items: center; gap: 14px; max-width: 520px; padding: 12px 40px 12px 16px; border-radius: 16px; background: #0E0D0A; color: #F4F0E8; box-shadow: 0 14px 40px -12px rgba(0,0,0,.5); font-size: 13.5px; line-height: 1.35; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; }
.plan-hint.on { opacity: 1; transform: none; pointer-events: auto; }
.plan-hint b { display: block; font-size: 14.5px; }
.plan-hint span { display: block; color: #B9B1A3; font-size: 12.5px; margin-top: 2px; }
.plan-hint .btn { flex: none; }
.plan-hint-x { position: absolute; top: 6px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: #B9B1A3; font-size: 18px; cursor: pointer; }
.plan-hint-x:hover { color: #fff; }
@media (max-width: 520px) { .plan-hint { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .plan-hint { transition: none; } }
.plan-billed { margin-bottom: 6px; }
.plan-guarantee { margin: 0 0 18px; font-size: 12.5px; color: #15803D; font-weight: 600; }
.plan-guarantee::before { content: '✓ '; }
.plan.featured .plan-guarantee { color: #86EFAC; }

/* Features: the two wide cards. Their pictures sit right under the text (no stretched gap), and the
   four format frames share one row at the same height, each as wide as its own shape. */
.tile.wide .art { margin-top: 0; padding-top: 22px; }
.ratios { display: grid; grid-template-columns: 0.5625fr 0.8fr 1fr 0.5625fr; gap: 12px; align-items: start; }
.ratio { min-width: 0; }
.ratio .frame { width: 100%; height: auto; }
.ratio:nth-child(1) .frame, .ratio.fit .frame { aspect-ratio: 9 / 16; }
.ratio:nth-child(2) .frame { aspect-ratio: 4 / 5; }
.ratio:nth-child(3) .frame { aspect-ratio: 1 / 1; }
.ratio figcaption { max-width: none; }
.ratio-note { margin-top: 16px !important; max-width: 52ch; }
.ratios + .ratio-note, .tile .ratio-note { line-height: 1.5; }
@media (max-width: 560px) {
  /* phones: two per row at one height, so each label has room on one or two lines */
  .ratios { display: flex; flex-wrap: wrap; gap: 16px 18px; }
  .ratio .frame { height: 140px; width: auto; }
  .ratio figcaption { max-width: 16ch; }
}

/* Hero clip row: cards slide left by themselves. Only the row's transform animates. */
.phones { display: block; overflow: hidden; perspective: none; max-width: 760px; padding: 4px 0 26px; margin-bottom: -26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%); }
.phones-track { display: flex; gap: 22px; will-change: transform; transform: translate3d(0, 0, 0); }
.phones-track .phone { flex: 0 0 calc((100% - 44px) / 3); }
.phone.show, .phone.show.active { transition: opacity .6s; transform: none; filter: none; }
.phones.has-active .phone.show:not(.active) { filter: none; }
.phone .prog { width: 100%; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.phone .cap span { transition: color .12s; }
.phone .cap span.on { transform: none; }
@media (max-width: 640px) { .phones-track { gap: 10px; } .phones-track .phone { flex-basis: calc((100% - 20px) / 3); } }
@media (prefers-reduced-motion: reduce) { .phones-track { transition: none !important; } }

/* Top bar: logo at the far left, page links in the centre, buttons at the far right. */
.nav-inner.wrap { width: 100%; padding-inline: max(28px, env(safe-area-inset-left, 0px)) max(28px, env(safe-area-inset-right, 0px)); }
@media (min-width: 961px) {
  .nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; }
  .nav-inner .logo { grid-column: 1; justify-self: start; }
  .nav-inner .nav-links { grid-column: 2; margin-left: 0; justify-self: center; }
  .nav-inner .nav-cta { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; }
}
@media (max-width: 960px) { .nav-inner.wrap { padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); } }

/* ---------- Homepage rhythm: tighter sections, alternating bands, wide headings, a facts band ---------- */
.section { padding: 76px 0; }
@media (max-width: 760px) { .section { padding: 56px 0; } }
.section-head { margin-bottom: 40px; }
/* full-width colour bands behind a centred section (the colour reaches both screen edges) */
#only, #features { background: var(--paper-2); box-shadow: 0 0 0 100vmax var(--paper-2); clip-path: inset(0 -100vmax); }
#how { --band: #16140F; background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); color: #F4F0E8; }
#how .eyebrow { color: #8E8576; }
#how .section-head h2 em, #how .step .n { color: #FF7A45; }
#how .section-head p, #how .step p { color: #BDB5A7; }
#how .steps { border-top-color: #35312A; }
#how .step + .step { border-left-color: #35312A; }
/* facts band right under the hero */
.facts { border-block: 1px solid var(--line); background: var(--card); margin-top: 24px; }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: grid; gap: 6px; padding: 30px 24px; align-content: start; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 64px); line-height: .9; letter-spacing: -0.02em; color: var(--ink); }
.fact b small { font-size: .42em; letter-spacing: 0; margin-left: 2px; color: var(--accent-ink); font-style: italic; }
.fact span { font-size: 14.5px; line-height: 1.45; color: var(--ink-3); max-width: 26ch; }
@media (max-width: 860px) {
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .fact { padding: 22px 14px; } }

/* Framed for every feed: when the card next to it is taller, the frames sit in the middle of the
   spare room and the note at the bottom, instead of a block of empty space under everything. */
.tile.wide .art.ratios { margin-block: auto; }
.tile .ratio-note { margin-top: 18px !important; font-size: 14px !important; line-height: 1.5; }
.ratio figcaption { font-size: 12px; line-height: 1.4; }

/* Top bar with seven links: slightly tighter links up to 1180px wide, and the menu button
   (instead of a second row of links) from 1023px down. */
.nav-links { flex-wrap: nowrap; white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1180px) { .nav-links a { padding: 8px 8px; font-size: 13.5px; } }
@media (min-width: 961px) and (max-width: 1023px) {
  .nav-inner { display: flex; }
  .nav-links { display: none; }
  .nav.open .nav-links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--paper); padding: 12px 24px 20px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.2); }
  .nav.open .nav-links .nav-mobile-auth { display: block; }
  .nav-toggle { display: block; margin-left: 0; }
  .nav-inner .nav-cta { margin-left: auto; }
}

/* Expand the same element: FAQ answers grow open from their question */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .32s cubic-bezier(.2, .8, .2, 1), content-visibility .32s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { transition: opacity .25s ease .05s; }
.faq details:not([open]) p { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } }

/* ---------- landing pages (/ai-podcast-clip-generator, /youtube-to-shorts, /moment-score) ---------- */
.lp { max-width: 980px; padding-block: 48px 24px; }
.lp-hero { padding: 24px 0 40px; max-width: 760px; }
.lp-hero h1 { font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.03em; margin: 14px 0 18px; text-wrap: balance; }
.lp-hero h1 em, .lp h2 em { font-style: italic; color: var(--accent-ink); }
.lp-lead { font-size: 19px; line-height: 1.5; color: var(--ink-3); margin: 0 0 24px; max-width: 62ch; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-sec { padding: 40px 0; border-top: 1px solid var(--line); }
.lp-sec h2, .lp-cta h2 { font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 22px; text-wrap: balance; }
.lp-body { font-size: 17px; line-height: 1.6; color: var(--ink-3); max-width: 66ch; margin: 0 0 22px; }
.lp-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.lp-steps li { counter-increment: s; position: relative; padding-left: 56px; font-size: 16.5px; line-height: 1.55; color: var(--ink-3); max-width: 68ch; }
.lp-steps li::before { content: counter(s); position: absolute; left: 0; top: -4px; font-family: var(--serif); font-style: italic; font-size: 38px; line-height: 1; color: var(--accent-ink); }
.lp-steps b { color: var(--ink); }
.lp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-grid > div { padding: 20px; border: 1px solid var(--line-2, var(--line)); border-radius: 18px; background: var(--card); }
.lp-grid h3, .lp-axis h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -0.01em; }
.lp-grid p, .lp-axis p { margin: 0; color: var(--ink-3); font-size: 15px; line-height: 1.55; }
.lp-card ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-3); line-height: 1.6; }
.lp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.lp-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.lp-table th, .lp-table td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line-2, var(--line)); line-height: 1.45; }
.lp-table thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.lp-table tbody th { font-weight: 600; width: 22%; }
.lp-table td:nth-child(2) { background: rgba(255, 90, 31, .05); }
.lp-table tr:last-child th, .lp-table tr:last-child td { border-bottom: 0; }
.lp-note, .lp-small { font-size: 13px; color: var(--muted); margin: 14px 0 0; max-width: 80ch; }
.lp-paste { display: flex; gap: 8px; max-width: 620px; padding: 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.lp-paste .input { flex: 1; min-width: 0; border: 0; background: none; }
.lp-axes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.lp-axis { display: flex; gap: 14px; }
.lp-axis i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line-2, var(--line)); font-family: var(--serif); font-size: 22px; color: var(--accent-ink); }
.lp-example { max-width: 520px; padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-2, var(--line)); box-shadow: var(--shadow-2); }
.lp-ex-head { display: flex; gap: 16px; align-items: center; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.lp-ex-head > b { font-size: 46px; font-weight: 400; line-height: 1; }
.lp-ex-head span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.lp-bars { display: grid; gap: 8px; padding-top: 16px; }
.lp-bar { display: grid; grid-template-columns: 90px 1fr 32px; gap: 10px; align-items: center; font-size: 13.5px; }
.lp-bar i { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--ink) var(--v), var(--line-2, var(--line)) var(--v)); }
.lp-bar b { text-align: right; font-family: var(--mono); font-weight: 500; font-size: 12.5px; }
.lp-why { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); }
.lp .faq { margin: 0; max-width: 820px; }
.lp-cta { margin: 32px 0 8px; padding: 40px 32px; border-radius: 24px; background: var(--ink); color: var(--paper); text-align: center; }
.lp-cta h2 em { color: #FF7A45; }
.lp-cta p { color: #BDB5A7; margin: 0 0 22px; }
.lp-cta .lp-cta-row { justify-content: center; }
.lp-cta .btn-ghost { --fg: var(--paper); --bd: #4A453C; }
@media (max-width: 860px) { .lp-grid, .lp-grid-2, .lp-axes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lp-paste { flex-direction: column; border-radius: 18px; } .lp-cta { padding: 32px 20px; } }

/* ---------- affiliate page: earnings per person and calculator ---------- */
.aff-earn { margin: 44px 0 36px; padding: 32px 0 0; border-top: 1px solid var(--line); }
.aff-earn h2 { font-weight: 400; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin: 12px 0 10px; }
.aff-earn h2 em { font-style: italic; color: var(--accent-ink); }
.aff-earn-sub { color: var(--ink-3); font-size: 17px; margin: 0 0 22px; }
.aff-per { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.aff-per-card { display: grid; gap: 4px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2, var(--line)); }
.aff-per-card.is-pop { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.aff-per-plan { font-weight: 600; font-size: 14px; }
.aff-per-card b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.aff-per-note { font-size: 12.5px; color: var(--muted); }
.aff-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; margin-top: 18px; border-radius: 22px; overflow: hidden; background: var(--ink); color: var(--paper); }
.aff-calc .eyebrow { color: #8E8576; }
.aff-calc-in { padding: 26px; display: grid; gap: 12px; align-content: start; border-right: 1px solid #2E2A23; }
.aff-slider { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; color: #BDB5A7; }
.aff-slider output { color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; }
#calcRefs { --fill: 10%; width: 100%; height: 28px; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
#calcRefs::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--fill), #35312A var(--fill)); }
#calcRefs::-moz-range-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--fill), #35312A var(--fill)); }
#calcRefs::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--paper); border: 0; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
#calcRefs::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 0; }
#calcRefs:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.aff-plan-seg { background: #24211B; border-color: #35312A; flex-wrap: wrap; justify-self: start; }
.aff-plan-seg button { color: #BDB5A7; }
.aff-plan-seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.aff-calc-out { padding: 26px; display: grid; gap: 14px; align-content: start; }
.aff-total span { display: block; font-size: 13px; color: #BDB5A7; }
.aff-total b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 64px); line-height: 1; letter-spacing: -0.02em; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.aff-total small { color: #FF7A45; font-size: 14px; font-weight: 600; }
.aff-bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; align-items: end; height: 120px; }
.aff-bars i { display: block; height: var(--h, 10%); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #FF7A45, #C2410C); transition: height .35s cubic-bezier(.2, .8, .2, 1); }
.aff-bars-x { display: flex; justify-content: space-between; font-size: 11.5px; color: #8E8576; font-family: var(--mono); }
.aff-calc-note { margin: 12px 0 0; }
@media (max-width: 760px) { .aff-per { grid-template-columns: repeat(2, minmax(0, 1fr)); } .aff-calc { grid-template-columns: 1fr; } .aff-calc-in { border-right: 0; border-bottom: 1px solid #2E2A23; } }
@media (prefers-reduced-motion: reduce) { .aff-bars i { transition: none; } }
.aff-total-how { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: #BDB5A7; }

.aff-same { display: grid; gap: 8px; }
.aff-same-h { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8E8576; margin-bottom: 2px; }
.aff-same > div { display: grid; grid-template-columns: 76px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; color: #BDB5A7; }
.aff-same > div i { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #4A453C var(--w), transparent var(--w)); }
.aff-same > div b { font-variant-numeric: tabular-nums; color: var(--paper); font-weight: 600; }
.aff-same > div.on { color: var(--paper); }
.aff-same > div.on i { background: linear-gradient(90deg, #FF7A45 var(--w), transparent var(--w)); }

/* the per-person cards are the plan picker */
button.aff-per-card { font: inherit; color: inherit; text-align: left; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
button.aff-per-card:hover { border-color: var(--ink-3, var(--ink)); transform: translateY(-2px); }
button.aff-per-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button.aff-per-card[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
@media (prefers-reduced-motion: reduce) { button.aff-per-card, button.aff-per-card:hover { transition: none; transform: none; } }

/* calculator, left side: exact number, quick picks, scale and how payment works */
.aff-slider label { color: #BDB5A7; }
.aff-num { display: inline-flex; align-items: baseline; gap: 6px; }
.aff-num input { width: 78px; min-height: 40px; padding: 4px 10px; border-radius: 10px; border: 1px solid #3A362E; background: #1F1C17; color: var(--paper); font: inherit; font-size: 18px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.aff-num input::-webkit-outer-spin-button, .aff-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.aff-num input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.aff-num output { color: #BDB5A7; font-weight: 500; }
.aff-ticks { display: flex; justify-content: space-between; margin-top: -6px; font-family: var(--mono); font-size: 11px; color: #8E8576; }
.aff-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.aff-quick button { min-height: 36px; min-width: 48px; padding: 0 12px; border-radius: 999px; border: 1px solid #3A362E; background: #24211B; color: #BDB5A7; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.aff-quick button:hover { border-color: #6E675B; color: var(--paper); }
.aff-quick button[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.aff-quick button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.aff-how { margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid #2E2A23; list-style: none; counter-reset: h; display: grid; gap: 9px; }
.aff-how li { counter-increment: h; position: relative; padding-left: 30px; font-size: 13.5px; line-height: 1.45; color: #BDB5A7; }
.aff-how li::before { content: counter(h); position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #2B2822; color: #FF7A45; font-size: 12px; font-weight: 700; }
.aff-how b { color: var(--paper); font-weight: 600; }
@media (pointer: coarse) { .aff-quick button { min-height: 44px; } }
/* plan comparison: included = a green check mark */
.compare .yes { color: #15803D; }
.compare .yes .ck { display: inline-block; vertical-align: middle; }

/* demo reel: a big play button on each clip until it plays */
.reel-phone { position: relative; }
.reel-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border: 0; border-radius: 50%; display: grid; place-items: center; padding-left: 4px; background: rgba(22, 20, 15, .62); color: #fff; backdrop-filter: blur(6px); box-shadow: 0 0 0 2px rgba(255, 255, 255, .55), 0 10px 30px rgba(0, 0, 0, .35); cursor: pointer; transition: transform .15s, opacity .2s, background .15s; z-index: 2; }
.reel-play:hover { background: var(--accent); transform: scale(1.06); }
.reel-play:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.reel-phone.is-playing .reel-play { opacity: 0; pointer-events: none; transform: scale(.9); }
@media (prefers-reduced-motion: reduce) { .reel-play { transition: none; } }

@media (max-width: 640px) {
  .hero-form input { flex: none; height: 46px; padding: 0 14px; font-size: 16px; } /* the link box was squashed to 20px */
  .hero-form .btn-lg { height: 42px; padding: 0 18px; font-size: 14.5px; } /* smaller button on phones */
}
