/* ==========================================================================
   index_v2.css - homepage redesign
   Independent stylesheet. Grayscale-first hierarchy on true-neutral surfaces
   (pure white / cool near-black), with the brand violet (#7C3AED, the app
   icon's own hue) as the single accent — buttons carry white text. Accent
   wired as tokens for a one-line swap. Solid surfaces, neutral multi-layer
   shadows, one shared radius. No glass, no gradients on text, no glow/mesh.
   ========================================================================== */

:root,
[data-theme="dark"] {
    --bg: #121317;
    --surface: #1A1B21;
    --surface-2: #212229;
    --surface-accent: #1B1726;
    --elevated: #22242C;
    --border: rgba(255, 255, 255, .10);
    --border-strong: rgba(255, 255, 255, .18);

    --text: rgba(255, 255, 255, .96);
    --text-2: rgba(255, 255, 255, .82);
    --text-3: rgba(255, 255, 255, .60);

    --accent: #7C3AED;
    --accent-hover: #6D28D9;
    --accent-active: #5B21B6;
    --accent-text: #A78BFA;
    --accent-soft: rgba(124, 58, 237, .16);
    --on-accent: #FFFFFF;

    --success: #4ADE80;
    --error: #F87171;
    --warning: #FBBF24;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .35);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .5), 0 14px 30px rgba(0, 0, 0, .4);
    --shadow-lg: 0 10px 28px rgba(0, 0, 0, .55), 0 30px 60px rgba(0, 0, 0, .5);
    --shadow-device: drop-shadow(0 24px 44px rgba(0, 0, 0, .6));

    --star: #FBBF24;
}

[data-theme="light"] {
    --bg: #FFFFFF;
    --surface: #FFFFFF;
    --surface-2: #F4F5F7;
    --surface-accent: #F5F2FE;
    --elevated: #FFFFFF;
    --border: #E7E7EC;
    --border-strong: #D6D6DD;

    --text: #111115;
    --text-2: #55555F;
    --text-3: #8A8A94;

    --accent: #7C3AED;
    --accent-hover: #6D28D9;
    --accent-active: #5B21B6;
    --accent-text: #6D28D9;
    --accent-soft: rgba(124, 58, 237, .10);
    --on-accent: #FFFFFF;

    --success: #16A34A;
    --error: #DC2626;
    --warning: #D97706;

    --shadow-sm: 0 1px 2px rgba(17, 17, 24, .06), 0 2px 6px rgba(17, 17, 24, .05);
    --shadow-md: 0 4px 12px rgba(17, 17, 24, .08), 0 14px 30px rgba(17, 17, 24, .08);
    --shadow-lg: 0 10px 30px rgba(17, 17, 24, .10), 0 30px 60px rgba(17, 17, 24, .10);
    --shadow-device: drop-shadow(0 24px 40px rgba(17, 17, 24, .18));

    --star: #F59E0B;
}

:root {
    --font: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --nav-height: 66px;
    --scroll-offset: calc(var(--nav-height) + 14px);
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;
    --container: 1120px;
    --container-wide: 1200px;
    --container-narrow: 760px;
    --section-gap: 8rem;
}

@font-face { font-family: 'Satoshi'; src: url('/static/fonts/satoshi/Satoshi-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/static/fonts/satoshi/Satoshi-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/static/fonts/satoshi/Satoshi-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/static/fonts/satoshi/Satoshi-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/static/fonts/satoshi/Satoshi-Black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    padding-top: var(--nav-height);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--accent-soft); color: var(--text); }

*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--radius-pill); }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; color: var(--text); }

.highlighted { color: var(--accent-text); }

/* --- shared section scaffolding --- */

.section-header { max-width: var(--container-narrow); margin: 0 auto 3.75rem; text-align: center; padding: 0 1.5rem; }

.section-title { font-size: clamp(2.1rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.section-header .section-title::before {
    content: ""; display: block; width: 34px; height: 3px; margin: 0 auto 1.25rem;
    background: var(--accent); border-radius: var(--radius-pill);
}

.section-subtitle { margin-top: 1.1rem; font-size: 1.12rem; line-height: 1.65; color: var(--text-2); }

.view-all-link {
    display: inline-flex; align-items: center; gap: .4rem;
    color: var(--accent-text); font-weight: 600; font-size: .95rem;
    transition: gap .2s ease, opacity .2s ease;
}
.view-all-link:hover { gap: .7rem; opacity: .85; }

/* --- primary button --- */

.cta-button {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .78rem 1.5rem;
    background: var(--accent); color: var(--on-accent);
    border: none; border-radius: var(--radius);
    font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
    cursor: pointer; text-decoration: none; white-space: nowrap;
    box-shadow: var(--shadow-sm);
    transition: background .2s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease;
}
.cta-button:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cta-button:active { background: var(--accent-active); transform: translateY(0); box-shadow: var(--shadow-sm); }

/* --- scroll reveal --- */

.fade-in-up { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
.fade-in-up.visible { opacity: 1; transform: none; }.animated-underline { position: relative; }
.animated-underline::after {
    content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
    background: var(--accent); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.animated-underline:hover::after { transform: scaleX(1); }.icon-sun, .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: block; }/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    min-height: calc(100vh - var(--nav-height));
    display: flex; flex-direction: column; justify-content: center;
    padding: 3rem 1.5rem 2rem; position: relative;
}

.hero-container { width: 100%; margin: 0 auto; }

.hero-split { display: flex; flex-direction: row; align-items: center; gap: 4rem; }
.hero-split-wide { max-width: 1080px; }

.hero-text { flex: 1 1 52%; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }

.hero-title { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 900; line-height: 1.06; }
.hero-split-wide .hero-title .highlighted { display: block; }
.hero-split-wide .hero-title-single .highlighted { display: inline; }

.hero-subtitle { font-size: 1.15rem; line-height: 1.55; color: var(--text-2); max-width: 30ch; }

.app-store-badge a { display: inline-block; border-radius: 10px; transition: transform .2s ease; }
.app-store-badge a:hover { transform: translateY(-2px); }
.app-store-badge svg { width: 172px; height: auto; display: block; }

.hero-devices { flex: 1 1 44%; max-width: 500px; }
.hero-devices .landing-image { width: 100%; filter: var(--shadow-device); }

@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
    .hero-title, .hero-subtitle, .app-store-badge, .hero-devices { opacity: 0; animation: heroIn .9s cubic-bezier(.16, 1, .3, 1) both; }
    .hero-title { animation-delay: .05s; }
    .hero-subtitle { animation-delay: .16s; }
    .hero-devices { animation-delay: .12s; }
    .app-store-badge { animation-delay: .28s; }
}

.scroll-indicator {
    position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
    color: var(--text-3); animation: bob 2s ease-in-out infinite;
    transition: opacity .3s ease;
}
.scroll-indicator.hidden { opacity: 0; pointer-events: none; }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ==========================================================================
   Showcase sections (alternating image / text)
   ========================================================================== */

.showcase { padding: var(--section-gap) 1.5rem; max-width: var(--container); margin: 0 auto; }

.showcase-inner { display: flex; flex-direction: row; align-items: center; gap: 4rem; }
.showcase-reversed .showcase-inner { flex-direction: row-reverse; }

.showcase-images { flex: 0 0 46%; max-width: 46%; display: flex; justify-content: center; }

.phone-frame { flex: 0 1 250px; max-width: 264px; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.phone-frame.frame-left { transform: rotate(-3deg); }
.phone-frame.frame-right { transform: rotate(3deg); margin-left: -22px; }
.phone-frame:hover { transform: translateY(-6px) rotate(0deg); }

.showcase-ipad .showcase-images { align-items: center; }

.showcase-text { flex: 1; }
.showcase-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 1.1rem; }
.showcase-text p { font-size: 1.075rem; line-height: 1.65; color: var(--text-2); margin-bottom: .9rem; }
.showcase-text p:last-child { margin-bottom: 0; }

.showcase.fade-in-up .showcase-images { opacity: 0; transform: translateX(-34px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
.showcase.fade-in-up .showcase-text { opacity: 0; transform: translateX(34px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1) .12s, transform .9s cubic-bezier(.16, 1, .3, 1) .12s; }
.showcase-reversed.fade-in-up .showcase-images { transform: translateX(34px); }
.showcase-reversed.fade-in-up .showcase-text { transform: translateX(-34px); }
.showcase.fade-in-up.visible .showcase-images,
.showcase.fade-in-up.visible .showcase-text { opacity: 1; transform: none; }

/* ==========================================================================
   Feature tabs (desktop) + carousel (mobile)
   ========================================================================== */

.features-section { padding: var(--section-gap) 1.5rem; max-width: var(--container); margin: 0 auto; }

.feature-tabs-container { display: flex; gap: 0; align-items: stretch; }

.feature-tabs { flex: 0 0 40%; display: flex; flex-direction: column; gap: .3rem; }

.feature-tab {
    display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
    padding: .95rem 1.25rem;
    background: transparent; border: none; border-left: 3px solid transparent;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer; text-align: left;
    transition: background .25s ease, border-color .25s ease;
}
.feature-tab:hover { background: var(--surface); }
.feature-tab.active { background: var(--surface); box-shadow: inset 0 0 26px var(--accent-soft); }

.feature-tab-name { font-size: 1.15rem; font-weight: 700; color: var(--text); }
.feature-tab-desc { font-size: .92rem; line-height: 1.5; color: var(--text-2); display: none; }
.feature-tab.active .feature-tab-desc { display: block; }

.feature-display { flex: 1; display: flex; align-items: center; justify-content: flex-end; position: relative; min-height: 460px; }
.feature-img {
    position: absolute; right: 0; top: 50%; height: 100%; width: auto; max-width: 100%;
    object-fit: contain; border-radius: var(--radius-lg);
    transform: translateY(-50%) translateY(14px); opacity: 0; pointer-events: none;
    transition: opacity .4s cubic-bezier(.16, 1, .3, 1), transform .4s cubic-bezier(.16, 1, .3, 1);
}
.feature-img.active { opacity: 1; transform: translateY(-50%); pointer-events: auto; z-index: 1; }

.feature-carousel { display: none; }

.all-features-expand { text-align: center; margin-top: 2.25rem; }
.show-all-features-btn { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent-text); font-weight: 600; font-size: .95rem; transition: gap .2s ease, opacity .2s ease; }
.show-all-features-btn:hover { gap: .8rem; opacity: .85; }

/* ==========================================================================
   Reviews carousel
   ========================================================================== */

.reviews-section { padding: var(--section-gap) 0; max-width: 100%; overflow: hidden; }

.reviews-carousel {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.reviews-track { display: flex; gap: 1.5rem; width: max-content; padding: 1rem 1.5rem; animation: scroll-reviews 64s linear infinite; will-change: transform; }
.reviews-carousel:hover .reviews-track { animation-play-state: paused; }

/* 2 identical card sets + gap → shift one full set (see feature carousel note) */
@keyframes scroll-reviews { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 0.75rem)); } }

.review-card {
    flex: 0 0 320px; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.6rem;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.review-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.review-stars { color: var(--star); font-size: 1.05rem; letter-spacing: .08em; margin-bottom: .8rem; }
.review-title { font-weight: 700; font-size: 1.02rem; color: var(--text); margin-bottom: .5rem; }
.review-body { font-size: .92rem; color: var(--text-2); line-height: 1.55; margin-bottom: 1.1rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review-author { font-size: .88rem; font-weight: 600; color: var(--text-3); }

/* ==========================================================================
   Value props + featured story
   ========================================================================== */

.value-prop-section { padding: var(--section-gap) 1.5rem; max-width: var(--container); margin: 0 auto; }

.value-prop-cards { position: relative; display: flex; flex-direction: column; max-width: 720px; margin: 0 auto 3.5rem; }
.value-prop-cards::before { content: ""; position: absolute; left: 1.34rem; top: .85rem; bottom: .85rem; width: 2px; background: var(--border-strong); border-radius: 2px; }
.value-prop-cards::after { content: ""; position: absolute; left: 1.34rem; top: .85rem; width: 2px; height: calc((100% - 1.7rem) * var(--vp-progress, 0)); background: var(--accent); border-radius: 2px; box-shadow: 0 0 8px var(--accent); }
.value-prop-card { position: relative; padding: 0 0 2.75rem 3.2rem; }
.value-prop-card:last-child { padding-bottom: 0; }
.value-prop-number { position: absolute; left: .85rem; top: .3rem; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border-strong); font-size: 0; z-index: 1; transition: background-color .45s ease, border-color .45s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .45s ease; }
.value-prop-card.vp-reached .value-prop-number { background: var(--accent); border-color: var(--accent); transform: scale(1.3); box-shadow: 0 0 0 5px var(--accent-soft); }
.value-prop-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .6rem; padding-top: 0; }
.value-prop-pain { font-size: .98rem; line-height: 1.55; color: var(--text-3); margin-bottom: .6rem; font-style: italic; }
.value-prop-gain { font-size: 1rem; line-height: 1.6; color: var(--text); }

.featured-story { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 4.5rem; }
.featured-story-image { flex: 0 0 38%; max-width: 38%; }
.featured-story-image img { width: 100%; height: auto; border-radius: var(--radius); }
.featured-story-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.featured-story-label { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.featured-story-content h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.1; }
.featured-story-content p { font-size: 1.1rem; line-height: 1.7; color: var(--text-2); max-width: 46ch; }
.featured-story-link { margin-top: .35rem; color: var(--accent-text); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; transition: gap .2s ease; }
.featured-story-link:hover { gap: .7rem; }

/* Hidden comparison table (kept minimal in case it is ever unhidden) */
.comparison-table-wrapper { max-width: var(--container-narrow); margin: 0 auto; overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
.check-yes { color: var(--success); } .check-no { color: var(--text-3); }

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-section { padding: var(--section-gap) 1.5rem; max-width: var(--container); margin: 0 auto; }

.pricing-cards-grid { display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap; gap: 1.5rem; max-width: 740px; margin: 0 auto; }

.pricing-card {
    position: relative; flex: 1 1 320px; max-width: 350px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 2.5rem 2rem; display: flex; flex-direction: column; gap: 1.4rem;
    transition: border-color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
}
.pricing-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.pricing-card--featured { background: var(--surface-accent); border-color: var(--accent); box-shadow: var(--shadow-lg); transform: scale(1.05); }
.pricing-card--featured:hover { transform: scale(1.05) translateY(-6px); }

.pricing-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: var(--on-accent);
    font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: .35rem .9rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); white-space: nowrap;
}

.pricing-card-header { display: flex; align-items: center; gap: .6rem; }
.pricing-card-name { font-size: 1.15rem; font-weight: 700; }
.pricing-save-badge { font-size: .74rem; font-weight: 700; color: var(--accent-text); background: var(--accent-soft); padding: .2rem .55rem; border-radius: var(--radius-pill); }

.pricing-card-price-wrap { display: flex; align-items: baseline; gap: .35rem; }
.pricing-card-price { font-size: 2.6rem; font-weight: 900; letter-spacing: -.03em; }
.pricing-card-period { font-size: .95rem; color: var(--text-2); }

.pricing-card-features { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.pricing-card-features li { position: relative; padding-left: 1.4rem; font-size: .96rem; color: var(--text); min-height: 1.35rem; display: flex; align-items: center; }
.pricing-card-features li::before { content: ""; position: absolute; left: .15rem; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.pricing-card .cta-button { margin-top: auto; width: 100%; }
.pricing-card--featured .cta-button { box-shadow: var(--shadow-md); }

.pricing-disclaimer { text-align: center; margin-top: 1.75rem; font-size: .85rem; color: var(--text-3); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section { padding: var(--section-gap) 1.5rem; max-width: var(--container-narrow); margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: .8rem; }

.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .25s ease; }
.faq-item.active { border-color: var(--border-strong); }
.faq-header { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: transparent; border: none; cursor: pointer; text-align: left; }
.faq-question { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.faq-toggle { font-size: 1.5rem; font-weight: 400; color: var(--accent-text); line-height: 1; transition: transform .3s ease; flex-shrink: 0; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.active .faq-content { max-height: 400px; }
.faq-content p { padding: 0 1.5rem 1.35rem; font-size: 1rem; line-height: 1.65; color: var(--text-2); }

.faq-view-all { text-align: center; margin-top: 2rem; }

/* ==========================================================================
   Roadmap
   ========================================================================== */

.roadmap-section { padding: var(--section-gap) 1.5rem; max-width: var(--container-narrow); margin: 0 auto; }
.roadmap-iframe-wrapper { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: .5rem; overflow: hidden; box-shadow: var(--shadow-sm); }
#roadmap-iframe { width: 100%; min-height: 420px; border: none; display: block; border-radius: var(--radius); }
.roadmap-view-all { text-align: center; margin-top: 2rem; }

/* ==========================================================================
   Blog grid
   ========================================================================== */

.blog-section { padding: var(--section-gap) 1.5rem; max-width: var(--container); margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.blog-card { display: flex; flex-direction: column; gap: .75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.blog-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-category { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.blog-card-title { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.blog-card-summary { font-size: .95rem; line-height: 1.55; color: var(--text-2); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: .25rem; }
.blog-card-date { font-size: .84rem; color: var(--text-3); }
.blog-card-arrow { color: var(--accent-text); transition: transform .2s ease; }
.blog-card:hover .blog-card-arrow { transform: translateX(4px); }
.blog-view-all { text-align: center; margin-top: 2.5rem; }

/* ==========================================================================
   Final CTA + waitlist
   ========================================================================== */

.final-cta { padding: var(--section-gap) 1.5rem; max-width: var(--container); margin: 0 auto; }
.final-cta-card {
    max-width: 760px; margin: 0 auto; text-align: center;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 3.5rem 2.5rem; box-shadow: var(--shadow-lg);
}
.final-cta-card h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.final-cta-subtitle { font-size: 1.1rem; line-height: 1.6; color: var(--text-2); max-width: 48ch; margin: 0 auto 2rem; }

.waitlist-form { max-width: 480px; margin: 0 auto; }
.waitlist-input-group { display: flex; gap: .6rem; }
.waitlist-input {
    flex: 1; min-width: 0; padding: .78rem 1rem;
    background: var(--bg); color: var(--text);
    border: 1px solid var(--border-strong); border-radius: var(--radius);
    font-family: inherit; font-size: .95rem;
    transition: border-color .2s ease;
}
.waitlist-input::placeholder { color: var(--text-3); }
.waitlist-input:focus { outline: none; border-color: var(--accent); }
#consent-text { margin-top: 1rem; font-size: .8rem; line-height: 1.5; color: var(--text-3); }/* ==========================================================================
   Floating CTA, lightbox, cookie, toasts
   ========================================================================== */

.floating-cta {
    position: fixed; left: 50%; bottom: 1.5rem; z-index: 90;
    opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(16px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.floating-cta.visible { opacity: 1; visibility: visible; transform: translateX(-50%); }
.floating-cta .cta-button { box-shadow: var(--shadow-lg); }

.lightbox {
    position: fixed; inset: 0; z-index: 1000; display: none;
    align-items: center; justify-content: center; padding: 2rem;
    background: rgba(0, 0, 0, .85);
}
.lightbox.active { display: flex; }
.lightbox-content { position: relative; max-width: 92vw; max-height: 88vh; }
.lightbox-image { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: -2.75rem; right: 0; width: 40px; height: 40px; background: transparent; border: none; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }

#cookie-consent-container {
    position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 95; display: none;
    flex-direction: column; gap: .5rem; max-width: 340px;
    background: var(--elevated); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.25rem; box-shadow: var(--shadow-lg);
}
#cookie-consent-container p:first-child { font-weight: 700; color: var(--text); }
#cookie-consent-container p { font-size: .88rem; line-height: 1.5; color: var(--text-2); }
.cookie-consent-actions { display: flex; gap: .6rem; margin-top: .4rem; }
.cookie-btn { padding: .5rem 1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .85rem; cursor: pointer; border: 1px solid var(--border-strong); }
.cookie-accept { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.cookie-decline { background: transparent; color: var(--text-2); }

.toast {
    position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 1100; display: none;
    align-items: center; gap: 1rem; min-width: 300px; max-width: 380px;
    background: var(--elevated); border: 1px solid var(--border); border-left: 4px solid var(--text-3);
    border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-lg);
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--error); }
.toast.warning { border-left-color: var(--warning); }
.toast.info { border-left-color: var(--accent); }
.toast .content { flex: 1; }
.toast .title { font-weight: 700; font-size: .95rem; color: var(--text); }
.toast .message { font-size: .88rem; color: var(--text-2); }
.toast .close { background: transparent; border: none; color: var(--text-3); font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* ==========================================================================
   Scroll-margin anchors
   ========================================================================== */

#showcase, #features, #why-justread, #pricing, #faq, #roadmap, #comparison { scroll-margin-top: var(--scroll-offset); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    :root { --section-gap: 5.5rem; }
    .hero-split { gap: 2.5rem; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {    .hero-split { flex-direction: column; text-align: center; }
    .hero-text { align-items: center; }
    .hero-subtitle { max-width: 40ch; }
    .hero-devices { max-width: 420px; order: 2; }
    .showcase-inner, .showcase-reversed .showcase-inner { flex-direction: column; gap: 2.5rem; }
    .showcase-images { flex: none; max-width: 100%; }
    .showcase-text { text-align: center; }
    .featured-story { flex-direction: column; gap: 2.5rem; text-align: center; }
    .featured-story-image { flex: none; max-width: 420px; width: 100%; }
    .featured-story-content { align-items: center; }
    .featured-story-content p { max-width: 52ch; }
    /* mobile shows the swipeable carousel, hides the desktop tab picker */
    .feature-tabs-container { display: none; }
    .feature-carousel {
        display: block;
        overflow: hidden;
        -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
        mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    }
    .feature-carousel.swipe-mode { -webkit-mask-image: none; mask-image: none; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .feature-carousel.swipe-mode::-webkit-scrollbar { display: none; }
    .feature-carousel-track { display: flex; gap: 1.25rem; width: max-content; padding: 1rem 1.5rem; animation: scroll-features 82s linear infinite; will-change: transform; }
    .feature-carousel.swipe-mode .feature-carousel-track { animation: none; will-change: auto; }
    @keyframes scroll-features { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 0.625rem)); } }
    .feature-carousel-card { flex: 0 0 280px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; text-align: left; }
    .feature-carousel.swipe-mode .feature-carousel-card { scroll-snap-align: start; }
    .feature-carousel.swipe-mode .feature-carousel-card[aria-hidden="true"] { display: none; }
    .feature-carousel-img { max-height: 260px; width: auto; max-width: 100%; object-fit: contain; border-radius: var(--radius-sm); margin: 0 auto 1rem; }
    .feature-carousel-name { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
    .feature-carousel-desc { font-size: .9rem; line-height: 1.5; color: var(--text-2); }}

@media (max-width: 620px) {
    :root { --section-gap: 4rem; }
    .phone-frame.frame-right { margin-left: -14px; }
    .waitlist-input-group { flex-direction: column; }
    .waitlist-input-group .cta-button { width: 100%; }
    .final-cta-card { padding: 2.5rem 1.5rem; }
    .blog-grid { grid-template-columns: 1fr; }
    .pricing-card--featured { transform: none; }
    .pricing-card--featured:hover { transform: translateY(-6px); }    .review-card { flex: 0 0 280px; }
    .floating-cta { bottom: 1rem; }
    #cookie-consent-container { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; }
    .toast { right: 1rem; left: 1rem; bottom: 1rem; min-width: 0; max-width: none; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .fade-in-up { opacity: 1; transform: none; }
    .showcase.fade-in-up .showcase-images, .showcase.fade-in-up .showcase-text { opacity: 1; transform: none; }
    .phone-frame.frame-left, .phone-frame.frame-right { transform: none; }
    .reviews-track { animation: none; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .review-card { scroll-snap-align: start; }
    .feature-carousel-track { animation: none; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .feature-carousel-card { scroll-snap-align: start; }
    .scroll-indicator { animation: none; }
}

/* ==========================================================================
   Border-radius variant (v2.2 sharp)
   Radius language + matching edge/shadow treatment. Color, copy, layout
   identical to base. Selected server-side via [data-variant] on <html>.
   ========================================================================== */

/* --- v2.2 sharp: strictly zero radius, editorial/brutalist confidence --- */
[data-variant="sharp"] { --radius-sm: 0; --radius: 0; --radius-lg: 0; --radius-pill: 0; }
[data-variant="sharp"] *,
[data-variant="sharp"] *::before,
[data-variant="sharp"] *::after { border-radius: 0 !important; }
[data-variant="sharp"] nav,
[data-variant="sharp"] .theme-toggle,
[data-variant="sharp"] .hamburger,
[data-variant="sharp"] .review-card,
[data-variant="sharp"] .pricing-card,
[data-variant="sharp"] .faq-item,
[data-variant="sharp"] .blog-card,
[data-variant="sharp"] .roadmap-iframe-wrapper,
[data-variant="sharp"] footer { border-width: 1.5px; }
[data-theme="dark"][data-variant="sharp"] {
    --shadow-sm: 0 1px 0 rgba(0, 0, 0, .6), 0 2px 4px rgba(0, 0, 0, .4);
    --shadow-md: 0 2px 0 rgba(0, 0, 0, .5), 0 8px 18px rgba(0, 0, 0, .45);
    --shadow-lg: 0 4px 0 rgba(0, 0, 0, .5), 0 18px 36px rgba(0, 0, 0, .55);
}
[data-theme="light"][data-variant="sharp"] {
    --shadow-sm: 0 1px 0 rgba(17, 17, 24, .12), 0 1px 2px rgba(17, 17, 24, .06);
    --shadow-md: 0 2px 0 rgba(17, 17, 24, .12), 0 6px 14px rgba(17, 17, 24, .08);
    --shadow-lg: 0 3px 0 rgba(17, 17, 24, .14), 0 14px 30px rgba(17, 17, 24, .1);
}

.pricing-cards-grid--three { max-width: 1098px; }

