@font-face { font-family: "Geist"; src: url("fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
    --bg: #fcfcfd;
    --surface: #ffffff;
    --surface-2: #f4f4f6;
    --text: #15151a;
    --text-soft: #4f4f5a;
    --text-mute: #6b6b76;
    --line: #e8e8ed;
    --accent: #e0262d;
    --accent-ink: #ffffff;
    --accent-soft: #fff0ef;
    --shadow: 0 1px 2px rgb(80 30 30 / .04), 0 30px 70px -30px rgb(80 30 30 / .2);
    --scrim: linear-gradient(180deg, transparent 35%, rgb(20 12 12 / .62));
    --r-card: 24px;
    --r-btn: 999px;
    --r-chip: 999px;
    --wrap: 1240px;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .45em; letter-spacing: -.035em; line-height: 1.05; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: var(--r-btn); }
.skip:focus { left: 8px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--text-soft); max-width: 60ch; }
.muted { color: var(--text-mute); }
.eyebrow { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.icon { display: inline-block; width: 22px; height: 22px; flex: none; line-height: 0; }
.icon svg { display: block; width: 100%; height: 100%; stroke-width: 1.75; }

.sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 1.14rem; letter-spacing: -.02em; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; color: var(--text-soft); font-size: .93rem; font-weight: 500; padding: 8px 12px; border-radius: var(--r-btn); transition: color .2s, background .2s; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.header-cta { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.header.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.header.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: var(--r-btn); border: 1px solid transparent; font: 600 .96rem/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-accent:hover { box-shadow: 0 16px 36px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text-mute); }
.btn-text { padding: 10px 12px; color: var(--text-soft); font-weight: 500; }
.btn-text:hover { color: var(--text); transform: none; }
.btn-lg { padding: 16px 24px; font-size: 1.02rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.frame { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.frame-bar { display: flex; align-items: center; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.frame-bar span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: .74rem var(--mono); color: var(--text-mute); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-chip); padding: 3px 12px; }
.zoom { cursor: zoom-in; }
.photo { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.hero { position: relative; isolation: isolate; padding: 64px 0 0; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 760px; z-index: -1; background: radial-gradient(40% 50% at 78% 30%, rgb(255 120 90 / .18), transparent 70%), radial-gradient(35% 45% at 10% 10%, rgb(255 190 150 / .16), transparent 70%); pointer-events: none; }
.hero-top { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 700px; }
.hero h1 { font-size: clamp(2.4rem, 4.3vw, 3.5rem); }
.hero .lead { margin-bottom: 32px; }
.hero-portrait { position: relative; }
.hero-portrait .photo { aspect-ratio: 4 / 5; border-radius: 32px; box-shadow: var(--shadow); }
.hero-portrait .photo img { object-position: 42% center; }
.hero-phone { position: absolute; z-index: 3; left: -56px; bottom: -36px; width: 34%; min-width: 130px; border-radius: 28px; overflow: hidden; border: 6px solid #ffffff; background: #fff; box-shadow: var(--shadow); }
.hero-stage { position: relative; margin-top: 96px; perspective: 1600px; }
.hero-screen { transform-origin: 50% 0; }

.stats { padding: 120px 0 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 650; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat > span { display: block; margin-top: 10px; color: var(--text-mute); font-size: .95rem; }

.band { position: relative; height: clamp(420px, 68vh, 620px); margin: 80px auto; max-width: calc(var(--wrap) - 48px); border-radius: 32px; overflow: hidden; display: grid; align-items: end; isolation: isolate; }
.band-img { position: absolute; inset: -12% 0; }
.band-img img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: var(--scrim); }
.band .wrap { position: relative; z-index: 2; width: 100%; padding: 0 56px 56px; color: #fff; }
.band h2 { max-width: 16ch; color: #fff; font-size: clamp(2.2rem, 5vw, 4.2rem); }
.band p { max-width: 46ch; color: rgb(244 244 245 / .82); font-size: 1.15rem; margin: 0; }

.section { padding: 120px 0; }
.section-tight { padding: 80px 0; }
.head { max-width: 760px; margin-bottom: 56px; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.tile-copy { position: relative; z-index: 2; padding: 28px 28px 0; }
.tile-copy p { color: var(--text-soft); margin: 0; max-width: 42ch; font-size: .98rem; }
.tile-copy .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 16px; }
.tile-shot { margin: 24px 0 0 28px; flex: 1; min-height: 180px; border-top-left-radius: 14px; overflow: hidden; border: 1px solid var(--line); border-right: 0; border-bottom: 0; }
.tile-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1.2s var(--ease); }
.tile:hover .tile-shot img { transform: scale(1.04); }
.tile-a { grid-column: span 4; grid-row: span 2; }
.tile-b { grid-column: span 2; grid-row: span 2; }
.tile-c { grid-column: span 2; }
.tile-d { grid-column: span 2; background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.tile-d .tile-copy p, .tile-d .tile-copy .icon { color: var(--accent-ink); opacity: .85; }
.tile-d .big { font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; margin-top: auto; padding: 0 28px 24px; }
.tile-e { grid-column: span 2; background: var(--accent-soft); border-color: transparent; }
.tile-photo { color: #fff; border: 0; }
.tile-photo img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile-photo:hover img.bg { transform: scale(1.05); }
.tile-photo::after { content: ""; position: absolute; inset: 0; background: var(--scrim); }
.tile-photo .tile-copy { margin-top: auto; padding-bottom: 28px; }
.tile-photo .tile-copy p, .tile-photo .tile-copy .icon { color: rgb(255 255 255 / .85); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.split.flip { grid-template-columns: 7fr 5fr; }
.split.flip > :first-child { order: 2; }
.split > *, .tabs > *, .faq-wrap > *, .bento > *, .pricing > *, .features > * { min-width: 0; }
.checks { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: var(--text-soft); }
.checks li .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.checks strong { color: var(--text); font-weight: 600; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); text-decoration: none; }
.more .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.more:hover .icon { transform: translateX(4px); }

.collage { position: relative; padding: 0 0 48px 48px; }
.collage .photo { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; z-index: 1; }
.collage .frame { position: relative; z-index: 2; margin-left: 30%; }
.collage.right { padding: 0 48px 48px 0; }
.collage.right .photo { left: auto; right: 0; }
.collage.right .frame { margin: 0 30% 0 0; }
.collage .photo.wide { aspect-ratio: 4 / 3; width: 48%; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-chip); background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.chip .icon { width: 17px; height: 17px; color: var(--accent); }

.tabs { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.tab-list { display: grid; gap: 8px; }
.tab { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; text-align: left; padding: 20px; border-radius: var(--r-card); border: 1px solid transparent; background: none; color: var(--text); font: inherit; cursor: pointer; transition: background .3s, border-color .3s; }
.tab .icon { grid-row: span 2; width: 24px; height: 24px; margin-top: 2px; color: var(--text-mute); transition: color .3s; }
.tab strong { font-weight: 600; font-size: 1.06rem; }
.tab span { color: var(--text-mute); font-size: .94rem; }
.tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.tab[aria-selected="true"] .icon { color: var(--accent); }
.tab-panel { display: grid; gap: 16px; }
.tab-panel[hidden] { display: none; }
.tab-panel.enter { animation: panel-in .6s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.code { margin: 0; padding: 22px 24px; border-radius: var(--r-card); background: var(--surface-2); color: var(--text); border: 1px solid var(--line); font-size: .88rem; line-height: 1.75; overflow-x: auto; }
.code .c { color: var(--text-mute); }
.code .k { color: var(--accent); }
.code .line { display: block; }
.tab-panel.enter .code .line { animation: line-in .5s var(--ease) both; animation-delay: calc(var(--n, 0) * 90ms + 150ms); }
@keyframes line-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.rail-head .head { margin-bottom: 0; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-chip); border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: transform .25s var(--ease), border-color .2s; }
.rail-nav button:hover { border-color: var(--text-mute); transform: translateY(-2px); }
.rail-nav button:first-child .icon { transform: rotate(180deg); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 82vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); padding: 8px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 32px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail figure { margin: 0; scroll-snap-align: start; }
.rail figcaption { margin-top: 14px; color: var(--text-soft); font-size: .95rem; }
.rail figcaption strong { display: block; color: var(--text); font-weight: 600; }

.pricing { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-top h3 { margin: 0; font-size: 1.35rem; }
.badge { font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: var(--r-chip); background: var(--accent-soft); color: var(--accent); }
.plan > p { color: var(--text-mute); margin: 8px 0 0; }
.price { margin: 26px 0 4px; font-size: 3.2rem; font-weight: 650; letter-spacing: -.05em; line-height: 1; }
.price small { font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--text-mute); }
.plan .checks { flex: 1; margin: 24px 0 28px; gap: 12px; }
.plan .btn { width: 100%; }
.note { text-align: center; color: var(--text-mute); font-size: .92rem; margin-top: 28px; }

.faq-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.faq-aside { position: sticky; top: 100px; }
.faq-aside .photo { aspect-ratio: 4 / 3; margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--text-mute); border-bottom: 2px solid var(--text-mute); transform: rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { color: var(--text-soft); padding-right: 48px; margin: 0 0 22px; }
.faq details[open] p { animation: panel-in .5s var(--ease); }

.cta { position: relative; overflow: hidden; border-radius: 32px; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--accent); color: #fff; }
.cta::before { content: ""; position: absolute; inset: auto auto -40% -10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 255 255 / .16), transparent); }
.cta-copy { position: relative; z-index: 2; padding: 72px 64px; align-self: center; }
.cta h2 { color: #fff; }
.cta p { color: rgb(255 255 255 / .88); font-size: 1.15rem; margin-bottom: 32px; max-width: 42ch; }
.cta-photo { position: relative; min-height: 420px; }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { box-shadow: 0 14px 30px -12px rgb(0 0 0 / .35); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .6); }
.btn-outline-light:hover { border-color: #fff; background: rgb(255 255 255 / .08); }

.page-hero { padding: 64px 0 0; }
.crumbs { font-size: .9rem; color: var(--text-mute); margin-bottom: 24px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-hero .hero-stage { margin-top: 56px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 72px; }
.feature-item { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.feature-item .icon { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.feature-item h3 { margin: 6px 0 0; }
.feature-item p { margin: 0; color: var(--text-soft); }

.footer { margin-top: 120px; border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 14px; font-size: .9rem; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--text-soft); transition: color .2s; }
.footer a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-mute); }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 32px; background: rgb(8 8 10 / .9); opacity: 0; pointer-events: none; transition: opacity .3s; cursor: zoom-out; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: calc(100vh - 64px); width: auto; border-radius: 14px; transform: scale(.96); transition: transform .4s var(--ease); }
.lightbox.open img { transform: none; }

@media (prefers-reduced-motion: no-preference) {
    .js .hero-copy > * { animation: rise .9s var(--ease) both; }
    .js .hero-copy > :nth-child(2) { animation-delay: .08s; }
    .js .hero-copy > :nth-child(3) { animation-delay: .16s; }
    .js .hero-copy > :nth-child(4) { animation-delay: .24s; }
    .js .hero-stage.reveal { transform: none; }
    .js .hero-stage.reveal .hero-screen { transform: rotateX(20deg) translateY(40px) scale(.95); transition: transform 1.6s var(--ease); }
    .js .hero-stage.reveal.in .hero-screen { transform: none; }
    .js .hero-portrait .photo { animation: portrait-in 1.3s var(--ease) .2s both; }
    @keyframes portrait-in { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
    .js .hero-phone img { animation: float 6s ease-in-out 2s infinite; }
    @keyframes float { 0%, 100% { transform: none; } 50% { transform: translateY(-6px); } }
    .js .hero-phone { animation: phone-in 1.2s var(--ease) .7s both; }
    @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
    @keyframes tilt-in { from { opacity: 0; transform: rotateX(22deg) translateY(60px) scale(.96); } to { opacity: 1; transform: none; } }
    @keyframes phone-in { from { opacity: 0; transform: translateY(80px) rotate(4deg); } to { opacity: 1; transform: none; } }

    .js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
    .js .reveal.in { opacity: 1; transform: none; }
    .js .tile.reveal.in:hover, .js .plan.reveal.in:hover { transform: translateY(-4px); transition-delay: 0s; }

    @supports (animation-timeline: view()) {
        .band-img { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
        @keyframes drift { from { transform: translateY(-8%); } to { transform: translateY(8%); } }
        .hero-portrait .photo img, .collage .photo img, .cta-photo img, .faq-aside .photo img { animation: drift-slow linear both; animation-timeline: view(); animation-range: cover; }
        @keyframes drift-slow { from { transform: scale(1.14) translateY(-4%); } to { transform: scale(1.14) translateY(4%); } }
    }
}

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

@media (max-width: 1080px) {
    .nav, .header-cta .btn-text { display: none; }
    .menu-btn { display: block; }
    .header-cta { margin-left: 0; order: 2; }
    .header.menu-open .nav { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
    .header.menu-open .nav a { padding: 12px; font-size: 1rem; }
}

@media (max-width: 980px) {
    .hero-top { grid-template-columns: 1fr; gap: 40px; }
    .hero-portrait .photo { aspect-ratio: 16 / 10; }
    .cta { grid-template-columns: 1fr; }
    .cta-photo { min-height: 280px; }
    .band { margin-left: 16px; margin-right: 16px; }
    .band .wrap { padding: 0 28px 36px; }
    .split, .split.flip, .tabs, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
    .split.flip > :first-child { order: 0; }
    .faq-aside { position: static; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .tile-a { grid-column: span 2; grid-row: span 1; }
    .tile-b, .tile-c, .tile-d, .tile-e { grid-column: span 1; grid-row: span 1; }
    .tile-photo { min-height: 320px; }
    .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { padding-left: 0; border-left: 0; }
    .features { grid-template-columns: 1fr; }
    .section { padding: 88px 0; }
}

@media (max-width: 767px) {
    body { font-size: 16px; }
    .wrap { padding: 0 16px; }
    .header-cta .btn-accent { padding: 11px 14px; font-size: .9rem; }
    .hero { padding-top: 40px; }
    .hero-stage { display: block; margin-top: 40px; }
    .hero-phone { left: 12px; bottom: -24px; width: 30%; }
    .hero-portrait .photo { aspect-ratio: 4 / 3; }
    .hero-screen { margin-top: 0; }
    .stats { padding-top: 72px; }
    .stat { padding: 22px 12px 0 0; }
    .stat + .stat { padding-left: 12px; }
    .stat:nth-child(3) { padding-left: 0; }
    .bento { grid-template-columns: 1fr; }
    .tile-a, .tile-b, .tile-c, .tile-d, .tile-e { grid-column: auto; }
    .collage, .collage.right { padding: 0; }
    .collage .photo { position: relative; width: 60%; margin-bottom: -30%; }
    .collage.right .photo { margin-left: auto; }
    .collage .frame, .collage.right .frame { margin: 0; }
    .rail-head { flex-direction: column; align-items: start; }
    .cta { border-radius: 20px; }
    .cta-copy { padding: 40px 24px; }
    .band .wrap { padding-bottom: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

.whatis { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; padding: 56px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); }
.whatis h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.whatis .lead { margin-bottom: 20px; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; font-size: .92rem; }
.facts dd { margin: 0; color: var(--text-soft); font-size: .95rem; }

.guide-groups { display: grid; gap: 24px; }
.guide-group { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; padding: 40px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.guide-cat h2 { font-size: 1.6rem; margin-bottom: 8px; }
.guide-cat span { color: var(--text-mute); font-size: .92rem; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.guide-list a { display: grid; gap: 4px; padding: 14px 16px; margin: 0 -16px; border-radius: 16px; text-decoration: none; transition: background .25s; }
.guide-list a:hover { background: var(--surface-2); }
.guide-list strong { font-weight: 600; font-size: 1.04rem; }
.guide-list a:hover strong { color: var(--accent); }
.guide-list span { color: var(--text-soft); font-size: .94rem; }

.article-hero { padding: 56px 0 40px; position: relative; isolation: isolate; }
.article-hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 520px; z-index: -1; background: radial-gradient(40% 60% at 80% 20%, rgb(255 120 90 / .14), transparent 70%); }
.article-hero .wrap { max-width: 980px; }
.article-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 18px 0 14px; max-width: 22ch; }
.article-meta { color: var(--text-mute); font-size: .95rem; margin: 0; }
.article-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; justify-content: center; align-items: start; }
.toc { position: sticky; top: 96px; font-size: .9rem; }
.toc strong { display: block; margin-bottom: 12px; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mute); }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 10px; }
.toc a { text-decoration: none; color: var(--text-soft); transition: color .2s; }
.toc a:hover { color: var(--accent); }
.prose { font-size: 1.06rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 56px 0 16px; scroll-margin-top: 96px; }
.prose p, .prose li { color: var(--text-soft); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); }
.prose :not(pre) > code { font-size: .88em; padding: 2px 7px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.prose .code { margin: 8px 0 24px; font-size: .86rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--text); background: var(--surface-2); }
.prose thead th:first-child { border-top-left-radius: 12px; }
.prose thead th:last-child { border-top-right-radius: 12px; }
.prose td { color: var(--text-soft); }
.prose .faq { margin-bottom: 40px; }
.tldr { padding: 24px 28px; border-radius: var(--r-card); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.tldr strong { display: block; color: var(--accent); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.tldr p { margin: 0; color: var(--text); }
.article-cta { display: grid; gap: 20px; padding: 32px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.article-cta strong { font-size: 1.2rem; }
.article-cta p { margin: 6px 0 0; font-size: .98rem; }
.article-cta .btn { color: inherit; }
.article-cta .btn-accent { color: var(--accent-ink); }
.related-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.related-card .badge { align-self: start; }
.related-card strong { font-size: 1.1rem; line-height: 1.3; letter-spacing: -.01em; }
.related-card > span:not(.badge):not(.more) { color: var(--text-soft); font-size: .94rem; flex: 1; }
.related-card .more { margin-top: 4px; }

@media (max-width: 980px) {
    .whatis { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
    .guide-group { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
    .article-grid { grid-template-columns: 1fr; gap: 0; }
    .toc { position: static; margin-bottom: 32px; padding: 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
    .related { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .whatis { padding: 24px; border-radius: 24px; }
    .facts > div { grid-template-columns: 1fr; gap: 2px; }
    .guide-group { padding: 22px; }
    .prose { font-size: 1rem; }
    .article-cta { padding: 24px; }
}
