:root {
    --bg: #f6efe2;
    --bg-soft: #fbf6ec;
    --surface: rgba(255, 252, 247, 0.9);
    --surface-strong: #fff9f0;
    --ink: #1b2f3a;
    --muted: #5d6c77;
    --line: rgba(27, 47, 58, 0.12);
    --brand: #0e6ba8;
    --brand-deep: #0c4f7c;
    --accent: #f28f3b;
    --accent-soft: #ffd7b5;
    --success: #1c7c54;
    --fin: #1f7a58;
    --fin-deep: #14573f;
    --fin-soft: #e3f3e8;
    --fin-lime: #8cf55c;
    --shadow: 0 22px 80px rgba(20, 36, 46, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(14, 107, 168, 0.18), transparent 32%),
        radial-gradient(circle at 80% 20%, rgba(242, 143, 59, 0.14), transparent 25%),
        linear-gradient(180deg, #fff9f0 0%, #f6efe2 55%, #f7f1e6 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(27, 47, 58, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 47, 58, 0.03) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
    mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.page-shell {
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 18px 20px 0;
}

.navbar {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    background: rgba(255, 248, 238, 0.82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(27, 47, 58, 0.08);
    border-radius: 999px;
    box-shadow: 0 10px 40px rgba(24, 42, 53, 0.08);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 12px;
}

.nav-toggle {
    display: none;
    border: 0;
    background: var(--brand);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--muted);
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--ink);
}

.nav-cta {
    padding: 11px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff !important;
}

.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 96px 20px;
}

.hero {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 36px;
    padding-top: 52px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    color: var(--brand-deep);
    font-weight: 800;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    line-height: 0.96;
    max-width: 12ch;
}

h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1;
    max-width: 14ch;
}

.hero-text,
.section-head p,
.audience-copy p,
.product-card p,
.value-card p,
.feature-showcase p,
.demo-copy p,
.waitlist-card p,
.coming-soon-card p,
.site-footer p,
.faq-grid p,
.lead-form span,
.lead-form input,
.lead-form textarea {
    color: var(--muted);
}

.hero-text {
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 60ch;
    margin: 22px 0 0;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 28px 0 18px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible,
.flip-button:hover,
.flip-button:focus-visible,
.billing-button:hover,
.billing-button:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible {
    transform: translateY(-2px);
}

.button.primary {
    background: linear-gradient(135deg, var(--ink), var(--brand));
    color: #fff;
    box-shadow: 0 18px 34px rgba(14, 107, 168, 0.2);
}

.button.secondary,
.button.tertiary {
    background: transparent;
    border-color: rgba(27, 47, 58, 0.12);
    color: var(--ink);
}

.supporting-line {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.hero-visual {
    display: grid;
    gap: 18px;
}

.hero-panel,
.product-card,
.value-card,
.feature-showcase article,
.stack-card,
.coming-soon-card,
.lead-form,
.waitlist-card,
.faq-grid details,
.site-footer,
.billing-toggle,
.pricing-face {
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.panel-large {
    padding: 24px;
    border-radius: var(--radius-xl);
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.metric-grid article {
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(14, 107, 168, 0.08);
}

.metric-grid strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    margin-bottom: 8px;
}

.hero-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.panel-note {
    min-height: 140px;
    padding: 20px;
    border-radius: var(--radius-lg);
}

.panel-note.accent {
    background: linear-gradient(160deg, rgba(242, 143, 59, 0.22), rgba(255, 249, 240, 0.92));
}

.section-head {
    margin-bottom: 34px;
}

.section-head.compact h2 {
    max-width: none;
}

.product-grid,
.value-grid,
.waitlist-grid,
.faq-grid,
.audience-section,
.demo-section {
    display: grid;
    gap: 22px;
}

.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
}

.value-grid,
.waitlist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.value-card,
.waitlist-card,
.coming-soon-card,
.stack-card {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.product-card.active {
    background: linear-gradient(180deg, rgba(14, 107, 168, 0.12), rgba(255, 252, 247, 0.9));
}

.product-card.muted {
    opacity: 0.92;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(14, 107, 168, 0.12);
    color: var(--brand-deep);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-audience,
.ideal,
.billing-label {
    margin: 14px 0;
}

.feature-showcase {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.feature-showcase article {
    padding: 22px;
    border-radius: var(--radius-lg);
}

.feature-showcase span,
.stack-title {
    display: inline-block;
    font-family: "Space Grotesk", sans-serif;
    color: var(--brand);
    margin-bottom: 12px;
}

.audience-section,
.demo-section {
    grid-template-columns: 1fr 0.9fr;
    align-items: start;
}

.bullet-list {
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.8;
}

.stack-card {
    display: grid;
    gap: 18px;
    background: linear-gradient(180deg, rgba(255, 249, 240, 0.92), rgba(14, 107, 168, 0.08));
}

.stack-card strong {
    display: block;
    margin-bottom: 6px;
}

.biz-section {
    align-items: center;
}

.coming-soon-card {
    background: linear-gradient(160deg, rgba(14, 107, 168, 0.12), rgba(255, 218, 184, 0.5));
}

.pricing-section {
    position: relative;
}

.cta-section {
    text-align: center;
}

.cta-inner {
    max-width: 680px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
    justify-items: center;
}

.cta-inner h2 {
    max-width: none;
}

.cta-inner p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.billing-toggle {
    display: inline-flex;
    padding: 8px;
    border-radius: 999px;
    gap: 8px;
    margin-bottom: 26px;
}

.billing-button {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    background: transparent;
    color: var(--muted);
    font-weight: 800;
}

.billing-button.is-active {
    background: var(--ink);
    color: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    perspective: 1400px;
}

.pricing-card {
    perspective: 1400px;
    display: flex;
    flex-direction: column;
}

.pricing-inner {
    position: relative;
    width: 100%;
    flex: 1;
    display: grid;
    grid-template-areas: "face";
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pricing-card.is-flipped .pricing-inner {
    transform: rotateY(180deg);
}

.pricing-face {
    grid-area: face;
    padding: 28px;
    border-radius: 26px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-front {
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(238, 245, 249, 0.96));
}

.pricing-back {
    transform: rotateY(180deg);
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(255, 225, 192, 0.64));
}

.pricing-card.featured .pricing-front,
.pricing-card.featured .pricing-back {
    background: linear-gradient(180deg, rgba(14, 107, 168, 0.14), rgba(255, 252, 247, 0.98));
}

.tier {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: var(--brand-deep);
    font-weight: 800;
}

.price {
    font-size: clamp(2.1rem, 4vw, 3rem);
    margin-top: 18px;
    white-space: nowrap;
}

.price-sm {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
}

.free-label {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: var(--brand);
    letter-spacing: -0.03em;
}

.flip-button {
    width: fit-content;
    border: 0;
    padding: 0;
    margin: auto 0 18px;
    background: transparent;
    color: var(--brand);
    font-weight: 800;
    cursor: pointer;
}

.flip-button.back {
    margin-top: auto;
}

.pricing-back ul {
    margin: 18px 0 0;
    padding-left: 18px;
    line-height: 1.9;
    color: var(--muted);
}

.card-cta {
    margin-top: 6px;
}

.lead-form,
.waitlist-card {
    display: grid;
    gap: 16px;
}

.lead-form {
    padding: 24px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.lead-form label,
.waitlist-card label {
    display: grid;
    gap: 8px;
}

.lead-form input,
.lead-form textarea,
.waitlist-card input {
    width: 100%;
    border: 1px solid rgba(27, 47, 58, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    padding: 14px 16px;
    color: var(--ink);
}

.lead-form textarea {
    resize: vertical;
}

.form-status {
    min-height: 1.4em;
    margin: 0;
    font-size: 0.94rem;
    color: var(--brand-deep);
}

.checkout-status {
    min-height: 1.4em;
    margin: 24px 0 0;
    color: var(--brand-deep);
    font-weight: 700;
}

.checkout-return-status {
    min-height: 1.4em;
    margin: 24px 0 0;
    color: var(--brand-deep);
    font-weight: 700;
}

.status-link {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.checkout-module[hidden] {
    display: none !important;
}

.checkout-module {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 24px;
}

.checkout-module-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 33, 44, 0.46);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.checkout-module-dialog {
    position: relative;
    width: min(960px, 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(230, 242, 248, 0.88));
    box-shadow: 0 30px 90px rgba(20, 36, 46, 0.22);
    overflow: hidden;
}

.checkout-module-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    padding: 24px 24px 0;
}

.checkout-module-close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(27, 47, 58, 0.08);
    color: var(--ink);
    font-size: 1.5rem;
    cursor: pointer;
}

.checkout-module-body {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 22px;
    padding: 18px 24px 24px;
}

.checkout-copy {
    display: grid;
    align-content: start;
    gap: 12px;
}

.checkout-copy h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.checkout-copy p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.checkout-selection {
    display: grid;
    gap: 6px;
    margin-top: 8px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(14, 107, 168, 0.08);
    border: 1px solid rgba(14, 107, 168, 0.14);
}

.checkout-selection-label {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-deep);
}

.checkout-selection p {
    margin: 0;
    color: var(--muted);
}

.checkout-form {
    display: grid;
}

.checkout-form label {
    display: grid;
    gap: 8px;
}

.checkout-form input {
    width: 100%;
    border: 1px solid rgba(27, 47, 58, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    padding: 14px 16px;
    color: var(--ink);
}

.checkout-module-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-grid details {
    padding: 18px 20px;
    border-radius: var(--radius-md);
}

.faq-grid summary {
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.faq-grid summary::-webkit-details-marker {
    display: none;
}

.faq-grid p {
    margin-bottom: 0;
}

.site-footer {
    max-width: var(--max);
    margin: 0 auto 32px;
    padding: 24px 20px;
    border-radius: var(--radius-xl);
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand img {
    width: 48px;
    height: 48px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.auth-page-shell {
    min-height: 100vh;
}

.auth-shell {
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 20px;
}

.auth-panel,
.auth-form-card,
.invite-summary {
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.auth-panel {
    width: min(760px, 100%);
    display: grid;
    gap: 22px;
    padding: 28px;
    border-radius: var(--radius-xl);
}

.auth-brand {
    width: fit-content;
}

.auth-brand img {
    width: 58px;
    height: 58px;
}

.auth-title {
    max-width: 14ch;
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.auth-copy {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    max-width: 60ch;
}

.invite-summary {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(230, 242, 248, 0.82));
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.summary-label {
    display: block;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-deep);
    margin-bottom: 6px;
    font-weight: 800;
}

.auth-form-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: var(--radius-lg);
}

.auth-form-card label {
    display: grid;
    gap: 8px;
}

.auth-form-card input {
    width: 100%;
    border: 1px solid rgba(27, 47, 58, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    padding: 14px 16px;
    color: var(--ink);
}

.auth-status {
    min-height: 1.4em;
    margin: 0;
    color: var(--brand-deep);
    font-weight: 700;
}

.auth-status.is-error {
    color: #b93c23;
}

.auth-status.is-success {
    color: var(--success);
}

/* ── App mockup (hero) ─────────────────────────────────────────────── */
.app-mockup {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow), 0 0 0 1px rgba(14, 107, 168, 0.1), 0 40px 100px rgba(14, 107, 168, 0.18);
}

.mockup-bar {
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 11px 18px;
    background: #0f1923;
}

.mockup-bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.mockup-bar span:nth-child(1) { background: #ff5f56; }
.mockup-bar span:nth-child(2) { background: #ffbd2e; }
.mockup-bar span:nth-child(3) { background: #27c93f; }

.app-mockup img {
    display: block;
    width: 100%;
}

/* ── App preview section ───────────────────────────────────────────── */
.app-preview-section .section-head {
    margin-bottom: 40px;
}

.app-tabs {
    display: grid;
    gap: 0;
}

.app-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.app-tab-nav button {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: 0.88rem;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.app-tab-nav button:hover {
    color: var(--ink);
    border-color: rgba(14, 107, 168, 0.35);
}

.app-tab-nav button.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 4px 16px rgba(14, 107, 168, 0.32);
}

.app-tab-panels {
    position: relative;
}

.app-tab-panel {
    display: none;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    align-items: start;
}

.app-tab-panel.is-active {
    display: grid;
}

/* ── Screenshot viewer ─────────────────────────────────────────────── */
.screenshot-wrap {
    display: grid;
    gap: 14px;
}

.screenshot-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #0f1923;
    transition: box-shadow 0.22s ease;
}

.screenshot-main img {
    display: block;
    width: 100%;
    transition: opacity 0.18s ease;
}

.screenshot-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.screenshot-thumb {
    border: 2px solid transparent;
    background: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100px;
    transition: border-color 0.18s ease;
}

.screenshot-thumb img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    object-position: top;
    border-radius: calc(var(--radius-md) - 2px);
    border: 1px solid var(--line);
}

.screenshot-thumb span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
    padding-bottom: 4px;
    transition: color 0.18s ease;
}

.screenshot-thumb:hover {
    border-color: rgba(14, 107, 168, 0.35);
}

.screenshot-thumb.is-active {
    border-color: var(--brand);
}

.screenshot-thumb.is-active span {
    color: var(--brand);
}

.screenshot-caption {
    padding-top: 6px;
    position: sticky;
    top: 100px;
}

.screenshot-caption h4 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--ink);
    letter-spacing: -0.03em;
}

.screenshot-caption p {
    color: var(--muted);
    line-height: 1.78;
    margin: 0;
    font-size: 0.95rem;
}

/* ── Theme gallery ─────────────────────────────────────────────────── */
.theme-gallery {
    margin-top: 64px;
    text-align: center;
}

.theme-gallery-label {
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0 0 22px;
    line-height: 1.5;
}

.theme-gallery-label span {
    font-weight: 700;
    color: var(--ink);
}

.theme-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.theme-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.theme-thumb img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.theme-thumb:hover img {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 32px 64px rgba(20, 36, 46, 0.2);
}

.theme-thumb span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Accountryx Fin ─────────────────────────────────────────────────── */
.launch-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    border: 1px solid rgba(31, 122, 88, 0.2);
    background: var(--fin-soft);
    color: var(--fin-deep);
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.launch-banner:hover,
.launch-banner:focus-visible {
    transform: translateY(-2px);
}

.launch-tag {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--fin);
    color: #fff;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
}

.product-card a {
    font-weight: 700;
    color: var(--brand);
}

.product-card.fin-card {
    background: linear-gradient(180deg, rgba(31, 122, 88, 0.14), rgba(255, 252, 247, 0.9));
}

.product-card.fin-card a,
.fin-section .eyebrow {
    color: var(--fin-deep);
}

.pill-fin {
    background: rgba(31, 122, 88, 0.14);
    color: var(--fin-deep);
}

.fin-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: center;
    padding: 48px;
    border-radius: 36px;
    border: 1px solid rgba(31, 122, 88, 0.16);
    background:
        radial-gradient(circle at 85% 15%, rgba(140, 245, 92, 0.28), transparent 40%),
        linear-gradient(160deg, #f1f8ef 0%, #fffaf2 60%, #eaf5ee 100%);
    box-shadow: var(--shadow);
}

.fin-logo {
    width: 220px;
    height: auto;
    margin-bottom: 26px;
}

.free-note {
    margin: 18px 0 0;
    color: var(--fin-deep);
}

.button.fin-button {
    background: linear-gradient(135deg, var(--fin-deep), var(--fin));
    box-shadow: 0 18px 34px rgba(31, 122, 88, 0.24);
}

.fin-section .button.secondary {
    background: rgba(255, 255, 255, 0.6);
}

.fin-stage {
    position: relative;
    padding-bottom: 12%;
}

.fin-stage-desktop {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 50px rgba(20, 36, 46, 0.18));
}

.fin-stage-phone {
    position: absolute;
    right: -2%;
    bottom: 0;
    width: 27%;
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(20, 36, 46, 0.25));
}

.fin-stage-acco {
    position: absolute;
    left: -4%;
    bottom: 0;
    width: 22%;
    height: auto;
    filter: drop-shadow(0 12px 20px rgba(20, 36, 46, 0.18));
}

.fin-head {
    margin-top: 96px;
}

.fin-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.fin-feature {
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.fin-feature span {
    display: inline-block;
    font-family: "Space Grotesk", sans-serif;
    color: var(--fin);
    margin-bottom: 12px;
}

.fin-feature h3 {
    font-size: 1.3rem;
}

.fin-feature p,
.fin-spot-copy p,
.fin-platform p,
.fin-cta p {
    color: var(--muted);
    line-height: 1.7;
}

.fin-spotlights {
    display: grid;
    gap: 40px;
    margin-top: 96px;
}

.fin-spot {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.fin-spot.reverse .fin-spot-copy {
    order: 2;
}

.fin-spot-copy h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.05;
}

.fin-phones {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    align-items: end;
}

.fin-phones img,
.fin-stack img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(20, 36, 46, 0.16));
}

.fin-phones img:nth-child(2) {
    transform: translateY(-24px);
}

.fin-stack {
    position: relative;
    padding-bottom: 8%;
}

.fin-stack .fin-stack-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 26%;
}

.fin-tabs .app-tab-nav button.is-active {
    background: var(--fin);
    border-color: var(--fin);
    box-shadow: 0 4px 16px rgba(31, 122, 88, 0.32);
}

.fin-tabs .screenshot-thumb.is-active {
    border-color: var(--fin);
}

.fin-tabs .screenshot-thumb.is-active span {
    color: var(--fin);
}

.fin-tabs .screenshot-main {
    background: #f5f2ec;
}

.fin-platforms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 72px;
}

.fin-platform {
    display: grid;
    gap: 14px;
    justify-items: start;
    padding: 28px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(31, 122, 88, 0.08), rgba(255, 252, 247, 0.92));
    box-shadow: var(--shadow);
}

.fin-platform p {
    margin: 0;
}

.fin-platform .button {
    margin-top: 6px;
}

.fin-cta {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 36px;
    align-items: center;
    margin-top: 72px;
    padding: 40px 48px;
    border-radius: 36px;
    background: linear-gradient(140deg, #123f30, var(--fin));
    color: #fff;
    box-shadow: 0 30px 80px rgba(31, 122, 88, 0.3);
}

.fin-cta img {
    width: 100%;
    height: auto;
}

.fin-cta h2 {
    max-width: none;
}

.fin-cta p {
    color: rgba(255, 255, 255, 0.82);
}

.fin-section .fin-cta .eyebrow {
    color: var(--fin-lime);
}

.fin-cta .button.fin-button {
    background: #fff;
    color: var(--fin-deep);
}

.fin-cta .button.secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.faq-group-title {
    font-size: 1.3rem;
    margin: 0 0 16px;
}

.faq-grid + .faq-group-title {
    margin-top: 40px;
}

/* ── Multi-page: nav, home, product pages ──────────────────────────── */
.nav-menu a[aria-current="page"] {
    color: var(--ink);
    font-weight: 800;
}

.text-link,
.faq-contact a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.fin-section .text-link,
.fin-section .faq-contact a,
.showcase-fin .text-link {
    color: var(--fin-deep);
}

.faq-contact {
    margin: 28px 0 0;
    color: var(--muted);
}

.home-stage {
    position: relative;
    padding: 0 0 18% 0;
}

.home-stage-desktop {
    width: 88%;
}

.home-stage-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 28%;
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(20, 36, 46, 0.25));
}

.home-stage-acco {
    position: absolute;
    left: 6%;
    bottom: 0;
    width: 20%;
    height: auto;
    filter: drop-shadow(0 12px 20px rgba(20, 36, 46, 0.18));
}

.showcase {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: center;
    padding: 44px;
    border-radius: 36px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.showcase + .showcase {
    margin-top: 32px;
}

.showcase-fin {
    border-color: rgba(31, 122, 88, 0.16);
    background:
        radial-gradient(circle at 85% 15%, rgba(140, 245, 92, 0.24), transparent 40%),
        linear-gradient(160deg, #f1f8ef 0%, #fffaf2 60%, #eaf5ee 100%);
}

.showcase-desktop {
    background:
        radial-gradient(circle at 15% 15%, rgba(14, 107, 168, 0.16), transparent 40%),
        linear-gradient(160deg, #eef5fa 0%, #fffaf2 60%, #fbefe2 100%);
}

.showcase.reverse .showcase-copy {
    order: 2;
}

.showcase-copy > p {
    color: var(--muted);
    line-height: 1.7;
}

.showcase-copy .product-audience {
    color: var(--ink);
    font-weight: 700;
}

.showcase-logo {
    width: 210px;
    height: auto;
    margin-bottom: 18px;
}

.showcase-copy .showcase-name {
    color: var(--ink);
    margin: 0 0 16px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
    color: var(--ink);
}

.check-list li {
    position: relative;
    padding-left: 30px;
    line-height: 1.55;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.showcase-fin .check-list li::before {
    background-color: var(--fin);
}

.showcase-fin .product-audience,
.showcase-fin .supporting-line {
    color: var(--fin-deep);
}

.showcase-visual .app-mockup img {
    width: 100%;
}

.pick-card {
    display: grid;
    gap: 12px;
    align-content: start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pick-card:hover,
.pick-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(20, 36, 46, 0.16);
}

.pick-card h3 {
    font-size: 1.35rem;
}

.pick-card p {
    margin: 0;
}

.pick-link {
    margin-top: 6px;
    font-weight: 800;
    color: var(--brand);
}

.pick-card.fin-card .pick-link {
    color: var(--fin-deep);
}

.support-grid,
.meantime-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.support-card {
    display: grid;
    gap: 10px;
    transition: transform 0.2s ease;
}

.support-card:hover,
.support-card:focus-visible {
    transform: translateY(-4px);
}

.support-card p {
    margin: 0;
}

/* ── Acco the fox ──────────────────────────────────────────────────── */
.section-head.has-acco {
    position: relative;
    padding-right: 190px;
}

.acco-side {
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 150px;
    height: auto;
    filter: drop-shadow(0 12px 20px rgba(20, 36, 46, 0.14));
    transform-origin: bottom center;
    transition: transform 0.3s ease;
}

.section-head.has-acco:hover .acco-side,
.acco-moods li:hover img {
    transform: rotate(-6deg) translateY(-6px);
}

.fin-phones {
    position: relative;
}

.acco-overlap {
    position: absolute;
    bottom: -18px;
    width: 26% !important;
    z-index: 1;
    filter: drop-shadow(0 12px 20px rgba(20, 36, 46, 0.2)) !important;
}

.acco-overlap.acco-left {
    left: -9%;
}

.acco-overlap.acco-right {
    right: -9%;
}

@media (max-width: 1260px) {
    .acco-overlap.acco-left {
        left: -2%;
    }

    .acco-overlap.acco-right {
        right: -2%;
    }
}

.fin-phones .acco-overlap:nth-child(2) {
    transform: none;
}

.acco-cta {
    width: 150px;
    height: auto;
    margin-bottom: -6px;
}

.acco-card {
    width: 150px;
    height: auto;
    margin: -10px 0 12px;
}

.acco-meet {
    display: grid;
    gap: 12px;
    padding: 44px;
    border-radius: 36px;
    border: 1px solid rgba(242, 143, 59, 0.22);
    background:
        radial-gradient(circle at 90% 10%, rgba(242, 143, 59, 0.2), transparent 40%),
        linear-gradient(160deg, #fff6ea 0%, #fffaf2 60%, #fdeede 100%);
    box-shadow: var(--shadow);
}

.acco-meet .section-head {
    margin-bottom: 10px;
}

.acco-meet .section-head h2 {
    max-width: none;
}

.acco-meet .eyebrow {
    color: #c0661c;
}

.acco-moods {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.acco-moods li {
    flex: 0 1 138px;
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
}

.acco-moods img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 18px rgba(20, 36, 46, 0.14));
    transform-origin: bottom center;
    transition: transform 0.3s ease;
}

.acco-moods span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(242, 143, 59, 0.25);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
}

@media (max-width: 780px) {
    .section-head.has-acco {
        padding-right: 96px;
    }

    .acco-side {
        width: 88px;
    }

    .acco-overlap.acco-left {
        left: 0;
    }

    .acco-overlap.acco-right {
        right: 0;
    }

    .acco-meet {
        padding: 28px 18px;
        border-radius: 28px;
    }

    .acco-moods li {
        flex-basis: 96px;
    }

    .acco-moods span {
        font-size: 0.72rem;
        padding: 5px 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acco-side,
    .acco-moods img {
        transition: none;
    }
}

.product-page-hero {
    padding-top: 52px;
    padding-bottom: 0;
}

.fin-panel.desktop-panel {
    border-color: rgba(14, 107, 168, 0.16);
    background:
        radial-gradient(circle at 85% 15%, rgba(14, 107, 168, 0.2), transparent 40%),
        radial-gradient(circle at 10% 95%, rgba(242, 143, 59, 0.14), transparent 35%),
        linear-gradient(160deg, #eef5fa 0%, #fffaf2 60%, #e8f1f8 100%);
}

.button.desktop-button {
    background: linear-gradient(135deg, var(--brand-deep), var(--brand));
    box-shadow: 0 18px 34px rgba(14, 107, 168, 0.26);
}

.fin-page-body > .fin-head:first-child {
    margin-top: 0;
}

.biz-hero {
    padding-top: 52px;
    min-height: 60vh;
}

.biz-hero h1 {
    max-width: 18ch;
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.02;
    margin-bottom: 18px;
}

@media (max-width: 1080px) {
    .fin-panel,
    .fin-spot,
    .showcase {
        grid-template-columns: 1fr;
    }

    .fin-spot.reverse .fin-spot-copy,
    .showcase.reverse .showcase-copy {
        order: 0;
    }

    .fin-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 780px) {
    .fin-panel {
        padding: 28px 20px;
        border-radius: 28px;
    }

    .fin-feature-grid,
    .fin-platforms,
    .fin-cta,
    .support-grid,
    .meantime-grid {
        grid-template-columns: 1fr;
    }

    .showcase {
        padding: 26px 20px;
        border-radius: 28px;
    }

    .fin-cta {
        padding: 28px 22px;
        border-radius: 28px;
    }

    .fin-cta img {
        width: 140px;
    }

    .fin-head,
    .fin-spotlights {
        margin-top: 64px;
    }

    .launch-banner {
        font-size: 0.8rem;
    }
}

@media (max-width: 1080px) {
    .hero,
    .audience-section,
    .demo-section,
    .product-grid,
    .value-grid,
    .pricing-grid,
    .waitlist-grid,
    .faq-grid,
    .feature-showcase {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .app-tab-panel {
        grid-template-columns: 1fr;
    }

    .screenshot-caption {
        position: static;
    }
}

@media (max-width: 780px) {
    .site-header {
        padding: 14px 14px 0;
    }

    .navbar {
        border-radius: 26px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 8px;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .section {
        padding: 76px 14px;
    }

    .product-grid,
    .value-grid,
    .pricing-grid,
    .waitlist-grid,
    .faq-grid,
    .feature-showcase,
    .audience-section,
    .demo-section,
    .checkout-module-body,
    .form-grid,
    .hero-notes {
        grid-template-columns: 1fr;
    }

    h1 {
        max-width: none;
    }

    .site-footer {
        margin: 0 14px 20px;
        flex-direction: column;
    }

    .checkout-module {
        padding: 14px;
    }

    .checkout-module-head,
    .checkout-module-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .checkout-module-actions {
        flex-direction: column-reverse;
    }

    .checkout-module-actions .button {
        width: 100%;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .theme-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .screenshot-thumb {
        width: 80px;
    }
}