/* InstalTrack PL – static landing. Hand-written, no framework. */
@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-display: swap;
    font-weight: 200 1000;
    src: url("/assets/fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-display: swap;
    font-weight: 200 1000;
    src: url("/assets/fonts/nunito-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --brand: #2d23d2;
    --brand-dark: #1e1696;
    --ink: #0f091c;
    --text: #111827;
    --muted: #4b5563;
    --soft: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --line: #e5e7eb;
    --yellow: #facc15;
    --red: #dc2626;
    --radius: 0.5rem;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
    --shadow-lg: 0 12px 32px rgb(15 23 42 / .18);
    --wrap: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-alt);
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
ul, ol { padding: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .wrap { padding: 0 2rem; } }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--ink); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }

/* ---------- Header / nav ---------- */
.site-header { background: linear-gradient(45deg, #0f091c 0%, #2d23d2 100%); box-shadow: var(--shadow); position: relative; z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.logo { color: var(--yellow); font-size: 2rem; font-weight: 800; text-decoration: none; position: relative; padding-bottom: .1rem; line-height: 1.2; }
.logo::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 50%; height: 3px; background: #ef4444;
    transform: scaleX(0); transform-origin: left; animation: logo-underline 2.8s ease-in-out .4s forwards;
}
@keyframes logo-underline {
    0% { transform: translateX(0) scaleX(0); }
    45%, 55% { transform: translateX(0) scaleX(1); }
    100% { transform: translateX(100%) scaleX(1); }
}
.nav-toggle {
    display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--yellow);
}
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: currentColor; border-radius: 2px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 1.5rem; }
.nav-links a, .nav-more summary { color: #fff; text-decoration: none; font-weight: 600; }
.nav-links a:hover, .nav-more summary:hover { color: var(--yellow); }
.nav-links a[aria-current="page"] { color: var(--yellow); }
.nav-more { position: relative; }
.nav-more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .25rem; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: ""; display: inline-block; width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); margin-left: .35rem; }
.nav-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.nav-more-panel {
    position: absolute; right: 0; top: calc(100% + .9rem); width: 18rem; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 1rem; display: grid; gap: .9rem;
}
.nav-more-panel p { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--soft); font-weight: 700; margin-bottom: .25rem; }
.nav-more-panel a { display: block; color: var(--text); padding: .2rem 0; font-weight: 600; }
.nav-more-panel a:hover { color: var(--brand); }
.nav-cta { background: var(--yellow); color: var(--ink) !important; padding: .45rem 1rem; border-radius: var(--radius); }
.nav-cta:hover { background: #eab308; }
.nav-lang {
    display: inline-block; font-size: .8125rem; letter-spacing: .04em; padding: .2rem .5rem;
    border: 1.5px solid rgb(255 255 255 / .55); border-radius: var(--radius);
}
.nav-lang:hover { border-color: var(--yellow); }
@media (min-width: 1024px) {
    .nav-more-panel {
        width: 44rem; grid-template-columns: 1.35fr 1.1fr .8fr; gap: 0;
        padding: 1.5rem 0; top: calc(100% + 1.1rem);
    }
    .nav-more-panel > div { padding: 0 1.5rem; }
    .nav-more-panel > div + div { border-left: 1px solid var(--line); }
    .nav-more-panel p { margin-bottom: .6rem; }
    .nav-more-panel a { padding: .35rem 0; line-height: 1.35; white-space: normal; }
    .nav-more-panel a[aria-current="page"] { color: var(--brand); }
}
@media (min-width: 1024px) {
    .nav-links { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
    .nav-links { gap: 1rem; font-size: .9375rem; }
}

@media (max-width: 1023px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
        background: #2d23d2; padding: .5rem 1rem 1rem; box-shadow: var(--shadow-lg);
    }
    .nav-links.is-open { display: flex; }
    .nav-links > li { border-bottom: 1px solid rgb(255 255 255 / .12); }
    .nav-links > li > a, .nav-more summary { display: block; padding: .8rem 0; }
    .nav-more-panel { position: static; width: auto; background: transparent; box-shadow: none; padding: 0 0 .75rem .75rem; }
    .nav-more-panel p { color: #c7d2fe; }
    .nav-more-panel a { color: #fff; }
    .nav-more summary { display: flex; align-items: center; justify-content: space-between; }
    .nav-more summary::after { margin-right: .35rem; }
    .nav-more-panel { gap: 1rem; padding: .25rem 0 1rem 1rem; }
    .nav-more-panel a { padding: .4rem 0; }
    .nav-links > li:has(> .nav-cta), .nav-links > li:has(> .nav-lang) { border-bottom: 0; }
    .nav-links > li > .nav-cta {
        display: block !important; text-align: center; padding: .85rem 1rem; margin: 1.25rem 0 0; font-size: 1.0625rem;
    }
    .nav-links > li > .nav-lang {
        display: block; text-align: center; padding: .75rem 1rem; margin: .75rem 0 .25rem; font-size: .9375rem;
    }
    .nav-links > li:last-child { border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
    --hl: #2d23d2; --hd: #0f091c;
    position: relative; overflow: hidden; isolation: isolate; color: #f3f4f6;
    background: linear-gradient(90deg, var(--hd) 0%, var(--hl) 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 200%; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, var(--hd) 0%, var(--hl) 50%, var(--hd) 100%);
    transform: translateX(-50%); animation: hero-shift 6s ease-out forwards;
}
@keyframes hero-shift { to { transform: translateX(0); } }
.hero--teal { --hl: #0ea5e9; --hd: #1d4ed8; }
.hero--green { --hl: #16a34a; --hd: #0f3d2e; }
.hero-inner { display: flex; flex-direction: column; gap: 2rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.hero h1 { font-size: 2rem; font-weight: 800; color: #fff; text-shadow: 0 2px 4px rgb(0 0 0 / .25); }
.hero .lead { font-size: 1.375rem; font-weight: 600; color: #fff; margin-top: 1.25rem; text-shadow: 0 1px 3px rgb(0 0 0 / .25); }
.hero .sub { font-size: 1.125rem; font-weight: 700; margin-top: 1rem; }
.hero-points { list-style: none; margin-top: 1.25rem; display: grid; gap: .35rem; font-weight: 600; }
.hero-points li { padding-left: 1.6rem; position: relative; }
.hero-points li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .55rem; height: .9rem; border: solid var(--yellow); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.hero-cta { display: flex; flex-direction: column; gap: 1rem; }
.breadcrumbs { font-size: .875rem; margin-bottom: 1rem; color: #c7d2fe; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: .35rem; }
.breadcrumbs a { color: #fff; }
@media (min-width: 768px) {
    .hero-inner { padding-top: 4rem; padding-bottom: 4rem; }
    .hero h1 { font-size: 2.75rem; }
    .hero .lead { font-size: 1.875rem; margin-top: 2rem; }
    .hero .sub { font-size: 1.375rem; }
}
@media (min-width: 1024px) {
    .hero-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 3rem; }
    .hero-copy { flex: 1; }
    .hero-cta { width: 20rem; flex-shrink: 0; }
    .hero h1 { font-size: 3.25rem; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: .5rem;
    padding: .8rem 1.5rem; border-radius: var(--radius); font-weight: 700; font-size: 1.0625rem; text-decoration: none;
    box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; border: 0;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #b91c1c; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #eab308; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); }
.btn-note { font-size: .875rem; color: #e0e7ff; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 3rem 0; }
.section--white { background: var(--bg); }
.section--alt { background: var(--bg-alt); }
.section--gray { background: #f3f4f6; }
.section-head { max-width: 48rem; }
.section-head--center { text-align: left; }
@media (min-width: 640px) { .section-head--center { text-align: center; margin: 0 auto; } }
.section h2 { font-size: 1.75rem; font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.section-head p { margin-top: 1rem; font-size: 1.125rem; color: var(--soft); }
.section-head p + p { margin-top: .75rem; }
@media (min-width: 640px) {
    .section { padding: 4.5rem 0; }
    .section h2 { font-size: 2.25rem; }
    .section-head p { font-size: 1.25rem; }
}
.prose { max-width: 48rem; margin: 0 auto; font-size: 1.0625rem; color: #374151; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p, .prose h3 + p { margin-top: 1rem; }
.prose h3 { font-size: 1.25rem; font-weight: 800; margin-top: 2rem; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .35rem; }

/* Feature list (icon left) */
.features { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .features { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.feature { position: relative; padding-left: 4rem; }
.feature h3 { font-size: 1.125rem; font-weight: 700; color: var(--text); }
.feature p { margin-top: .5rem; color: var(--soft); }
.icon {
    width: 3rem; height: 3rem; border-radius: .375rem; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0;
}
.icon svg { width: 1.5rem; height: 1.5rem; }
.feature .icon { position: absolute; left: 0; top: 0; }
.icon--round { border-radius: 999px; }
.c-pink { background: #ec4899; } .c-blue { background: #2563eb; } .c-purple { background: #9333ea; }
.c-green { background: #16a34a; } .c-yellow { background: #ca8a04; } .c-indigo { background: #4f46e5; }
.c-red { background: #ef4444; } .c-sky { background: #0284c7; } .c-teal { background: #0f766e; } .c-orange { background: #ea580c; }

/* Cards */
.cards { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #f3f4f6; }
.card .icon { margin-bottom: 1rem; }
.card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: .5rem; }
.card p { color: var(--soft); }
.card--row { position: relative; padding-left: 5.5rem; }
.card--row .icon { position: absolute; left: 1.5rem; top: 1.5rem; margin: 0; }

/* Link tiles */
.tiles { display: grid; gap: 1rem; margin-top: 2rem; list-style: none; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%;
    padding: 1.25rem 1.5rem; border-radius: var(--radius); color: #fff; font-weight: 700; font-size: 1.0625rem;
    text-decoration: none; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.tile::after { content: "→"; font-size: 1.25rem; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); filter: brightness(1.1); }
.t-green { background: #15803d; } .t-teal { background: #0f766e; } .t-blue { background: #1d4ed8; }
.t-purple { background: #7e22ce; } .t-sky { background: #0369a1; } .t-cyan { background: #0e7490; }
.t-orange { background: #c2410c; } .t-pink { background: #be185d; } .t-violet { background: #6d28d9; }

/* Bands */
.band { padding: 2.5rem 0; color: #fff; }
.band h2 { font-size: 1.75rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.band p { font-size: 1.125rem; font-weight: 600; }
.band p + p { margin-top: .5rem; }
@media (min-width: 640px) { .band { padding: 4.5rem 0; text-align: center; } .band h2 { font-size: 2.25rem; } .band p { font-size: 1.25rem; } }
.band--sun { background: linear-gradient(180deg, #facc15 0%, #ef4444 100%); }
.band--sun h2, .band--sun p { text-shadow: 0 1px 3px rgb(0 0 0 / .25); }
.band--violet { background: linear-gradient(90deg, #db2777 0%, #4f46e5 100%); }
.band .btn { margin-top: 1.5rem; }

/* Industries chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .chips { justify-content: center; } }
.chips li { background: rgb(255 255 255 / .2); border: 1px solid rgb(255 255 255 / .45); padding: .3rem .85rem; border-radius: 999px; font-weight: 700; }

/* App store callout */
.stores { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
@media (min-width: 640px) { .section-head--center .stores { justify-content: center; } }
.stores img { height: 2.75rem; width: auto; }
.free-app { position: relative; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.45rem 1rem 1.05rem; color: var(--text); text-decoration: none; font-weight: 700; }
.free-app svg.frame { position: absolute; inset: -6px -10px -8px -8px; width: calc(100% + 18px); height: calc(100% + 14px); overflow: visible; pointer-events: none; }
.free-app svg.frame path { fill: none; stroke: var(--brand); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.free-app .phone { width: 2rem; height: 2rem; color: var(--soft); }

/* Ink underline */
.ink { position: relative; display: inline-block; padding-bottom: .55rem; }
.ink svg { position: absolute; left: 0; bottom: 1px; width: 106%; height: 12px; overflow: visible; transform: rotate(-1.15deg); transform-origin: left center; pointer-events: none; }
.ink path { fill: none; stroke: var(--brand); stroke-width: 2.15; stroke-linecap: round; }
.js .ink path { stroke-dasharray: 240; stroke-dashoffset: 240; }
.js .ink.is-visible path { animation: ink-draw .95s ease-out forwards; }
@keyframes ink-draw { to { stroke-dashoffset: 0; } }

/* App screens */
.screens { display: grid; gap: 1.5rem; justify-items: center; max-width: 56rem; margin: 2.5rem auto 0; }
.screen { width: 100%; max-width: 200px; }
.screen-frame { aspect-ratio: 720 / 1558; overflow: hidden; border-radius: 1.75rem; background: #f3f4f6; box-shadow: var(--shadow); outline: 1px solid rgb(0 0 0 / .05); }
.screen-frame img { width: 100%; height: 100%; object-fit: contain; }
.screen figcaption { margin-top: .75rem; text-align: center; font-size: .875rem; color: var(--muted); }
@media (min-width: 640px) { .screens { grid-template-columns: repeat(3, minmax(0, 1fr)); } .screen { max-width: 240px; } }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); position: relative; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: .75rem; }
.steps h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .35rem; }
.steps p { color: var(--soft); }

/* Comparison table */
.table-wrap { overflow-x: auto; margin-top: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 34rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: #eef2ff; font-weight: 800; }
tbody th { font-weight: 700; }
td.yes { color: #15803d; font-weight: 700; }
td.no { color: #b91c1c; }

/* FAQ */
.faq { max-width: 52rem; margin: 2rem auto 0; display: grid; gap: .75rem; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #f3f4f6; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 700; font-size: 1.0625rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 1.25rem 1.25rem; color: var(--muted); }
.faq .answer p + p, .faq .answer p + ul { margin-top: .6rem; }
.faq .answer ul { padding-left: 1.25rem; }
.faq-group { font-size: 1.375rem !important; margin-top: 2.5rem; }
.faq-group:first-child { margin-top: 0; }

/* CTA strip */
.cta-strip { background: linear-gradient(180deg, #facc15 0%, #ef4444 100%); }
.cta-strip .wrap { padding-top: 3rem; padding-bottom: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cta-strip h2 { font-size: 1.625rem; font-weight: 800; color: #1f2937; }
.cta-strip p { color: #1f2937; font-weight: 600; margin-top: .5rem; }
.cta-strip .actions { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (min-width: 1024px) { .cta-strip .wrap { flex-direction: row; align-items: center; justify-content: space-between; } .cta-strip h2 { font-size: 2.25rem; } }

.quote { max-width: 56rem; margin: 0 auto; }
.quote p { font-style: italic; color: #374151; font-size: 1.125rem; margin-top: 1rem; }
@media (min-width: 640px) { .quote p { font-size: 1.25rem; } }

/* ---------- Footer ---------- */
.site-footer { background: #1f2937; color: #9ca3af; padding: 3rem 0 1.5rem; font-size: .9375rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 2px solid #374151; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer h2 { color: #f3f4f6; font-size: 1rem; font-weight: 700; margin-bottom: .75rem; }
.site-footer ul { list-style: none; display: grid; gap: .35rem; }
.site-footer a { color: #d1d5db; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-bottom { padding-top: 1.5rem; font-size: .8125rem; color: #e5e7eb; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* 404 */
.notfound { min-height: 55vh; display: flex; align-items: center; text-align: center; }
.notfound .wrap { display: grid; gap: 1rem; justify-items: center; }
.notfound .code { font-size: 5rem; font-weight: 900; color: var(--brand); line-height: 1; }

.mt-2 { margin-top: 2rem; } .center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .logo::after { transform: none; }
    .hero::before { display: none; }
    .js .ink path { stroke-dashoffset: 0; }
}

/* Pricing plans */
.plans { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #f3f4f6;
    padding: 1.5rem; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan--highlight { border: 2px solid var(--brand); }
.plan h3 { font-size: 1.375rem; font-weight: 800; }
.plan-sub { color: var(--soft); margin-top: .25rem; }
.plan-price { font-size: 1.75rem; font-weight: 800; color: var(--brand); margin-top: 1.25rem; }
.plan-note { font-size: .875rem; color: var(--soft); }
.plan ul { list-style: none; margin: 1.25rem 0 1.5rem; display: grid; gap: .4rem; color: var(--muted); }
.plan ul li::before { content: "✓"; color: #16a34a; font-weight: 800; margin-right: .5rem; }
.plan .btn { margin-top: auto; width: 100%; }
.plan-footnote { color: var(--soft); font-size: .875rem; }

/* ---------- Motion & interactivity (progressive enhancement) ---------- */
.site-header { position: sticky; top: 0; transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(15 9 28 / .35); }
[id] { scroll-margin-top: 5rem; }

/* Reveal on scroll – classes are added by JS only to elements below the fold */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.rv.is-in { opacity: 1; transform: none; }
:is(.cards, .features, .steps, .plans, .tiles, .screens, .faq) > .rv:nth-child(3n+2) { transition-delay: .08s; }
:is(.cards, .features, .steps, .plans, .tiles, .screens, .faq) > .rv:nth-child(3n+3) { transition-delay: .16s; }

/* Hover micro-interactions */
.card, .steps li, .screen-frame { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover, .steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.screen-frame:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.feature .icon, .card .icon { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.feature:hover .icon, .card:hover .icon { transform: scale(1.1) rotate(-6deg); }
.steps li::before { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background-color .2s ease; }
.steps li:hover::before { transform: scale(1.12); background: var(--red); }
.faq details { transition: box-shadow .2s ease; }
.faq details:hover, .faq details[open] { box-shadow: var(--shadow-lg); }
.faq summary::after { transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }

/* Smooth FAQ open where supported (content stays in the DOM and indexable) */
@supports selector(::details-content) {
    :root { interpolate-size: allow-keywords; }
    .faq details::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
    .faq details[open]::details-content { height: auto; }
}

/* Primary CTA: subtle sheen on hover */
.btn--red, .btn--brand { position: relative; overflow: hidden; isolation: isolate; }
.btn--red::after, .btn--brand::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .25) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .6s ease;
}
.btn--red:hover::after, .btn--brand:hover::after { transform: translateX(120%); }

/* Billing toggle (pricing) */
.billing-toggle {
    display: flex; width: fit-content; margin: 2rem auto 0; padding: .3rem; gap: .25rem;
    background: #fff; border-radius: 999px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.billing-toggle[hidden] { display: none; }
.billing-toggle button {
    font: inherit; font-weight: 700; font-size: .9375rem; border: 0; cursor: pointer; border-radius: 999px;
    padding: .55rem 1.1rem; background: transparent; color: var(--muted); transition: background-color .2s ease, color .2s ease;
}
.billing-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.billing-toggle button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.billing-toggle .save { font-size: .75rem; background: #dcfce7; color: #166534; border-radius: 999px; padding: .1rem .45rem; margin-left: .25rem; }
.is-swapped { animation: price-swap .35s ease; }
@keyframes price-swap { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; }
    .card:hover, .steps li:hover, .screen-frame:hover { transform: none; }
}

/* Cookie banner (shown by JS only when no consent is stored) */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: rgb(15 9 28 / .97); color: #e5e7eb; box-shadow: 0 -8px 30px rgb(0 0 0 / .25);
    padding: 1rem 0; animation: cookie-in .4s ease-out;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; }
.cookie-text p { font-size: .875rem; line-height: 1.5; margin: 0; }
.cookie-text p + p { margin-top: .35rem; color: #c7c9d1; }
.cookie-text strong { color: #fff; }
.cookie-text a { color: var(--yellow); text-decoration: underline; }
.cookie-banner .btn { padding: .65rem 1.75rem; font-size: 1rem; white-space: nowrap; }
.cookie-banner .btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (min-width: 768px) {
    .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}
@keyframes cookie-in { from { transform: translateY(100%); } to { transform: none; } }
