/* invoicePRO — Landing Page
   Minimalist, modern, Swiss-flavoured. No framework. */

:root {
    --bg: #ffffff;
    --bg-soft: #f6f7f9;
    --ink: #0e1116;
    --ink-soft: #5b616e;
    --ink-faint: #8b909c;
    --line: #e7e9ee;
    --line-strong: #d8dbe2;
    --accent: #6c3df7;
    --accent-dark: #5a2fd6;
    --pos: #128a5b;

    --radius: 14px;
    --radius-sm: 10px;
    --container: 1140px;
    --ease: cubic-bezier(.16, .84, .44, 1);

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 0 0 8px 0;
    z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; overflow-wrap: break-word; }

h1 { font-size: clamp(2rem, 5.4vw, 3.8rem); font-weight: 700; letter-spacing: -0.03em; }
h1 br.br { display: none; }
@media (min-width: 941px) { h1 br.br { display: block; } }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }

.eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34ch; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-solid {
    background: var(--ink);
    color: #fff;
}
.btn-solid:hover { background: var(--accent); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.scrolled {
    border-color: var(--line);
    box-shadow: 0 1px 20px rgba(14, 17, 22, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
}
.brand-logo {
    height: 26px;
    width: auto;
    display: block;
}
.site-footer .brand-logo { height: 24px; }

.nav {
    display: flex;
    gap: 28px;
    margin-right: auto;
    margin-left: 12px;
}
.nav a {
    font-size: 0.93rem;
    color: var(--ink-soft);
    font-weight: 500;
    transition: color .15s var(--ease);
}
.nav a:hover { color: var(--ink); }

.header-actions { display: flex; gap: 10px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}
.mobile-nav a {
    padding: 12px 4px;
    font-weight: 500;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border: 0; margin-top: 10px; }
.mobile-nav .btn { color: #fff; }

/* ---------- Hero ---------- */

.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 7vw, 84px); }

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero-grid > * { min-width: 0; }

.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lead { margin-bottom: 32px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-note {
    margin-top: 22px;
    font-size: 0.85rem;
    color: var(--ink-faint);
}

/* Hero mock */
.hero-visual { perspective: 1400px; }
.mock {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    box-shadow: 0 30px 60px -24px rgba(14, 17, 22, 0.22), 0 0 0 1px rgba(14,17,22,0.02);
    overflow: hidden;
    transform: rotateY(-9deg) rotateX(4deg);
    transition: transform .5s var(--ease);
}
.hero-visual:hover .mock { transform: rotateY(0) rotateX(0); }

.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}
.mock-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock-bar em { margin-left: 10px; font-style: normal; font-size: 0.8rem; color: var(--ink-faint); font-weight: 600; }

.mock-body { padding: 20px; display: grid; gap: 18px; }

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px;
}
.stat-label { display: block; font-size: 0.68rem; color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-value { display: block; margin-top: 6px; font-weight: 700; font-size: 0.98rem; letter-spacing: -0.02em; }
.stat-value.pos { color: var(--pos); }

.mock-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 96px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}
.mock-chart span {
    flex: 1;
    height: var(--h);
    background: linear-gradient(var(--accent), #a5b4fc);
    border-radius: 4px 4px 0 0;
}

.mock-rows { display: grid; gap: 8px; }
.mock-rows .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink-soft);
}
.tag { font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.tag.paid { background: #e6f4ee; color: var(--pos); }
.tag.open { background: #fdecec; color: #c0392b; }
.tag.draft { background: var(--bg-soft); color: var(--ink-faint); }

/* ---------- Strip (facts) ---------- */

.strip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.strip-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 28px 0;
}
.strip-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.strip-item:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    box-shadow: 0 16px 34px -24px rgba(14, 17, 22, 0.22);
}
.strip-icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(108, 61, 247, 0.10);
    color: var(--accent);
}
.strip-icon svg { width: 21px; height: 21px; }
.strip-text { display: flex; flex-direction: column; min-width: 0; }
.strip-text strong {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.strip-text > span {
    margin-top: 3px;
    font-size: 0.84rem;
    color: var(--ink-soft);
    line-height: 1.4;
}

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 16px; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* Feature cards */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    background: var(--bg);
    transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: 0 20px 40px -22px rgba(14, 17, 22, 0.18);
}
.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.94rem; color: var(--ink-soft); }

/* Module */
.module-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.module-copy h2 { margin-bottom: 16px; }
.module-copy .section-sub { margin-bottom: 28px; }

.module-list {
    list-style: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    overflow: hidden;
}
.module-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    font-weight: 500;
    font-size: 0.98rem;
}
.module-list li:last-child { border-bottom: 0; }
.module-list em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink-faint);
    background: var(--bg-soft);
    padding: 4px 9px;
    border-radius: 6px;
}

/* Steps */
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}
.steps li {
    border-top: 2px solid var(--ink);
    padding-top: 20px;
}
.step-num {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
}
.steps h3 { margin: 10px 0 8px; }
.steps p { font-size: 0.92rem; color: var(--ink-soft); }

/* Highlights */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.highlight {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}
.highlight h3 { margin-bottom: 8px; }
.highlight p { font-size: 0.9rem; color: var(--ink-soft); }

/* Pricing */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
.plan {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    background: var(--bg);
}
.plan-featured {
    border-color: var(--ink);
    box-shadow: 0 24px 50px -26px rgba(14, 17, 22, 0.28);
}
.plan-badge {
    position: absolute;
    top: -12px;
    left: 30px;
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}
.plan h3 { font-size: 1.05rem; margin-bottom: 12px; }
.price { font-size: 0.9rem; color: var(--ink-faint); margin-bottom: 6px; }
.price span { font-size: 1.9rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.plan-sub { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 20px; min-height: 40px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.plan li {
    font-size: 0.92rem;
    color: var(--ink-soft);
    padding-left: 24px;
    position: relative;
}
.plan li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

/* Info tooltip */
.info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    color: var(--ink-faint);
    vertical-align: -3px;
    cursor: help;
}
.info-tip:hover,
.info-tip:focus-visible,
.info-tip.is-open {
    color: var(--accent);
}
.info-tip-icon { width: 16px; height: 16px; display: block; }
.info-tip-bubble {
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    width: max-content;
    max-width: min(220px, 70vw);
    background: var(--ink);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.45;
    padding: 10px 12px;
    border-radius: 8px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s var(--ease), transform .15s var(--ease);
    z-index: 20;
}
.info-tip-bubble::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--ink);
}
.info-tip:hover .info-tip-bubble,
.info-tip:focus-visible .info-tip-bubble,
.info-tip.is-open .info-tip-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Pro seat calculator */
.calc {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    padding: 14px 16px;
    margin-bottom: 22px;
    display: grid;
    gap: 12px;
}
.calc-row, .calc-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--ink-soft);
}
.calc-total {
    border-top: 1px solid var(--line);
    padding-top: 12px;
}
.calc-total strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.calc-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 3px;
}
.calc-stepper button {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
    transition: background-color .15s var(--ease);
}
.calc-stepper button:hover { background: var(--bg-soft); }
.calc-stepper output {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

/* CTA */
.cta { background: var(--ink); color: #fff; padding: clamp(64px, 10vw, 110px) 0; }
.cta-inner { text-align: center; max-width: 620px; margin-inline: auto; }
.cta h2 { margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, 0.7); margin-bottom: 30px; font-size: 1.05rem; }
.cta .hero-cta { justify-content: center; }
.cta .btn-solid { background: #fff; color: var(--ink); }
.cta .btn-solid:hover { background: var(--accent); color: #fff; }
.cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.cta .btn-ghost:hover { border-color: #fff; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand p { margin-top: 14px; font-size: 0.9rem; color: var(--ink-soft); max-width: 30ch; }
.site-footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 14px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav a { font-size: 0.9rem; color: var(--ink-soft); transition: color .15s var(--ease); }
.site-footer nav a:hover { color: var(--ink); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    color: var(--ink-faint);
}
.footer-bottom a {
    color: var(--ink-soft);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .15s var(--ease);
}
.footer-bottom a:hover { color: var(--accent); }
.footer-made {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-made img { border-radius: 2px; }

/* ---------- Sub-page hero ---------- */

.subpage-hero {
    padding: clamp(52px, 8vw, 92px) 0 clamp(28px, 5vw, 52px);
    text-align: center;
}
.subpage-hero .container { max-width: 760px; }
.subpage-hero h1 { margin-bottom: 20px; }
.subpage-hero .lead {
    max-width: 54ch;
    margin: 0 auto;
    font-size: 1.15rem;
}
.subpage-hero .hero-cta { justify-content: center; margin-top: 30px; }
.subpage-hero .hero-note { margin-top: 18px; }

.crumbs {
    font-size: 0.82rem;
    color: var(--ink-faint);
    margin-bottom: 16px;
}
.crumbs a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.crumbs a:hover { color: var(--accent); }

/* ---------- Feature rows ---------- */

.feature-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(32px, 6vw, 76px);
    align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(56px, 9vw, 104px); }
.feature-row.reverse .feature-media { order: -1; }
.feature-row > * { min-width: 0; }

.feature-copy h2 { margin-bottom: 14px; }
.feature-copy > p { color: var(--ink-soft); font-size: 1.03rem; }

.feature-points {
    list-style: none;
    margin-top: 22px;
    display: grid;
    gap: 12px;
}
.feature-points li {
    position: relative;
    padding-left: 26px;
    font-size: 0.95rem;
    color: var(--ink-soft);
}
.feature-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

/* Framed screenshot */
.feature-media {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    box-shadow: 0 40px 80px -40px rgba(14, 17, 22, 0.30), 0 0 0 1px rgba(14, 17, 22, 0.02);
}
.frame-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.frame-bar i {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line-strong);
}
.frame-bar span {
    flex: 1;
    min-width: 0;
    margin-left: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.feature-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1714 / 1013;
}

.feature-duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 44px;
}
.feature-duo .feature-media { box-shadow: 0 30px 60px -36px rgba(14, 17, 22, 0.26); }

/* ---------- Currency band ---------- */

.ccy-band { padding: clamp(48px, 7vw, 84px) 0; }
.ccy-inner {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 44px;
    align-items: center;
}
.ccy-inner .section-sub { margin-top: 12px; }
.ccy-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}
.ccy-list li {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 10px 18px;
}
.section-more { text-align: center; margin-top: 44px; }

/* ---------- Lightbox ---------- */

.feature-media.is-zoomable { position: relative; cursor: zoom-in; }
.feature-media.is-zoomable img { transition: opacity .2s var(--ease); }
.feature-media.is-zoomable:hover img { opacity: .94; }
.feature-media.is-zoomable:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
.feature-media.is-zoomable::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(14, 17, 22, 0.58);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s var(--ease), transform .2s var(--ease);
    pointer-events: none;
}
.feature-media.is-zoomable:hover::after,
.feature-media.is-zoomable:focus-visible::after {
    opacity: 1;
    transform: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vw, 52px);
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 11, 15, 0.84);
    cursor: zoom-out;
}
@supports (backdrop-filter: blur(3px)) {
    .lightbox-backdrop { backdrop-filter: blur(3px); }
}
.lightbox-inner {
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: min(1240px, 100%);
    max-height: 100%;
}
.lightbox-inner img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 132px);
    max-height: calc(100dvh - 132px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.6);
    background: var(--bg);
}
.lightbox-inner figcaption {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.lightbox-close {
    position: absolute;
    top: clamp(12px, 3vw, 22px);
    right: clamp(12px, 3vw, 22px);
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s var(--ease), transform .15s var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); transform: scale(1.06); }
.lightbox-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
}
.reveal.in {
    opacity: 1;
    transform: none;
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .mock { transform: none; }
    .feature-media.is-zoomable img,
    .feature-media.is-zoomable::after { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 940px) {
    .nav, .header-actions { display: none; }
    .nav-toggle { display: flex; }

    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-visual { max-width: 460px; width: 100%; }
    .mock { transform: none; }
    .lead { max-width: none; }

    .module-grid { grid-template-columns: 1fr; gap: 32px; }
    .grid-cards { grid-template-columns: repeat(2, 1fr); }
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .highlight-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing { grid-template-columns: 1fr; }
    .plan-sub { min-height: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .feature-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .feature-row + .feature-row { margin-top: clamp(48px, 12vw, 72px); }
    .feature-row.reverse .feature-media { order: 0; }
    .feature-duo { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .ccy-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .ccy-list { justify-content: flex-start; }
}

@media (max-width: 560px) {
    .container { padding-inline: 18px; }
    .grid-cards, .strip-grid, .steps, .highlight-grid { grid-template-columns: 1fr; }
    .mock-stats { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 6px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    h1 { hyphens: auto; }
}

@media (min-width: 941px) {
    .mobile-nav { display: none !important; }
}
