/* Bitschnipsel Apps – site styles */

@font-face {
    font-family: "Lato";
    src: url("../fonts/lato-latin-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/lato-latin-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/lato-latin-900.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@view-transition {
    navigation: auto;
}

:root {
    color-scheme: light dark;

    --bg: #f7f5f1;
    --bg-raised: #ffffff;
    --bg-sunken: #efebe4;
    --ink: #23211f;
    --ink-muted: #5f5a53;
    --line: #e2dcd2;

    --brand: #b84a37;
    --carspeak: #3f6e50;
    --habit: #5f7436;
    --on-accent: #ffffff;

    --accent: var(--brand);
    --accent-soft: color-mix(in srgb, var(--accent) 10%, var(--bg));
    --accent-line: color-mix(in srgb, var(--accent) 28%, var(--bg));

    --shadow-sm: 0 1px 2px rgba(35, 33, 31, 0.06), 0 4px 12px rgba(35, 33, 31, 0.05);
    --shadow-lg: 0 2px 4px rgba(35, 33, 31, 0.05), 0 24px 56px rgba(35, 33, 31, 0.14);

    --radius: 1.25rem;
    --radius-lg: 2rem;
    --container: 72rem;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section: clamp(4rem, 9vw, 7.5rem);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #161513;
        --bg-raised: #201e1b;
        --bg-sunken: #1b1917;
        --ink: #f3efe8;
        --ink-muted: #b8b0a4;
        --line: #36322c;

        --brand: #ea8a73;
        --carspeak: #82c09a;
        --habit: #afc676;
        --on-accent: #15130f;

        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.5);
    }
}

.theme-carspeak,
.tone-carspeak {
    --accent: var(--carspeak);
}

.theme-habit,
.tone-habit {
    --accent: var(--habit);
}

.tone-carspeak,
.tone-habit,
.theme-carspeak,
.theme-habit {
    --accent-soft: color-mix(in srgb, var(--accent) 10%, var(--bg));
    --accent-line: color-mix(in srgb, var(--accent) 28%, var(--bg));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

h1,
h2,
h3 {
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.6rem, 6.2vw, 4.6rem);
    font-weight: 900;
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    font-weight: 900;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 0.4rem;
}

.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}

.section {
    padding-block: var(--section);
    overflow-x: clip;
}

.section-sunken {
    background: var(--bg-sunken);
    border-block: 1px solid var(--line);
}

.section-head {
    max-width: 44rem;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head p {
    margin-top: 1rem;
    font-size: 1.15rem;
    color: var(--ink-muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow::before {
    content: "";
    width: 1.5rem;
    height: 2px;
    background: currentColor;
}

.lead {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: var(--ink-muted);
    max-width: 36rem;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 200;
    padding: 0.6rem 1rem;
    background: var(--ink);
    color: var(--bg);
    border-radius: 0.6rem;
}

.skip-link:focus {
    top: 1rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand img {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
}

.site-header .brand img {
    view-transition-name: brand-logo;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.25rem, 1.5vw, 0.75rem);
}

.site-nav a {
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, background-color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--ink);
    background: var(--bg-sunken);
}

.site-nav .lang-switch {
    border: 1px solid var(--line);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.1rem;
    padding: 0.7rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s;
}

.btn svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 30%, transparent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 38%, transparent);
}

.btn-ghost {
    border-color: var(--line);
    background: var(--bg-raised);
    color: var(--ink);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--accent-line);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Hero */

.hero {
    position: relative;
    padding-block: clamp(3rem, 7vw, 6rem) var(--section);
    isolation: isolate;
    overflow-x: clip;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    animation: drift 18s ease-in-out infinite alternate;
}

.hero::before {
    width: 34rem;
    height: 34rem;
    right: -8rem;
    top: -10rem;
    background: color-mix(in srgb, var(--accent) 26%, transparent);
}

.hero::after {
    width: 26rem;
    height: 26rem;
    left: -10rem;
    bottom: -6rem;
    background: color-mix(in srgb, var(--brand) 16%, transparent);
    animation-delay: -9s;
}

@keyframes drift {
    to {
        transform: translate3d(3rem, 2rem, 0) scale(1.12);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.hero-copy .lead {
    margin-top: 1.5rem;
}

.hero-copy .btn-row {
    margin-top: 2.25rem;
}

.app-ident {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.app-ident img {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    box-shadow: var(--shadow-sm);
}

.app-ident span {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ink-muted);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}

.chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-raised);
    font-size: 0.9rem;
    font-weight: 700;
}

.chips li::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent);
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 30rem;
}

/* Phone */

.phone {
    position: relative;
    width: min(100%, 17.5rem);
    padding: 0.5rem;
    border-radius: 2.4rem;
    background: #1d1c1a;
    box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-screen {
    position: relative;
    overflow: hidden;
    aspect-ratio: 600 / 1258;
    border-radius: 1.95rem;
    background: var(--bg-sunken);
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.phone-sm {
    width: min(100%, 14.5rem);
}

.phone-duo {
    position: relative;
    width: min(100%, 26rem);
    aspect-ratio: 1 / 1.25;
}

.phone-duo .phone {
    position: absolute;
    width: 58%;
}

.phone-duo .phone:first-child {
    left: 0;
    top: 0;
    z-index: 2;
    animation: float 7s ease-in-out infinite alternate;
}

.phone-duo .phone:last-child {
    right: 0;
    bottom: 0;
    animation: float 7s ease-in-out -3.5s infinite alternate;
}

@keyframes float {
    from {
        transform: translateY(-0.5rem);
    }
    to {
        transform: translateY(0.6rem);
    }
}

/* Record-button pulse, positioned over the button in the main-screen shot */

.pulse {
    position: absolute;
    left: 50%;
    top: 21.2%;
    width: 38%;
    aspect-ratio: 1;
    translate: -50% -50%;
    pointer-events: none;
}

.pulse::before,
.pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #3f6e50;
    opacity: 0;
    animation: pulse 2.8s ease-out infinite;
}

.pulse::after {
    animation-delay: 1.4s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

/* Floating cards next to the hero phone */

.float-card {
    position: absolute;
    z-index: 3;
    width: 13.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    background: color-mix(in srgb, var(--bg-raised) 92%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    line-height: 1.4;
    animation: float 6s ease-in-out infinite alternate;
}

.float-card small {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.float-rec {
    left: -2.5rem;
    top: 38%;
    width: 11.5rem;
}

.float-note {
    right: -1.5rem;
    bottom: 8%;
    animation-delay: -3s;
}

.wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 2rem;
}

.wave span {
    flex: 1;
    height: 100%;
    border-radius: 2px;
    background: var(--carspeak);
    transform: scaleY(0.25);
    animation: wave 1.1s ease-in-out infinite alternate;
}

.wave span:nth-child(3n) { animation-delay: -0.2s; animation-duration: 0.9s; }
.wave span:nth-child(3n + 1) { animation-delay: -0.55s; animation-duration: 1.3s; }
.wave span:nth-child(4n) { animation-delay: -0.8s; }
.wave span:nth-child(5n) { animation-delay: -0.35s; animation-duration: 0.75s; }

@keyframes wave {
    to {
        transform: scaleY(1);
    }
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1f1b12;
    background: #f5b301;
}

.tag-teal {
    color: #fff;
    background: #0f7a80;
}

.tag-pink {
    color: #fff;
    background: #c82f72;
}

.float-note p {
    margin-bottom: 0.6rem;
}

.float-note .dest {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink-muted);
}

/* App cards (home) */

.app-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
}

.app-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--accent-line);
    border-radius: var(--radius-lg);
    background: var(--accent-soft);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.app-card-visual {
    display: grid;
    place-items: start center;
    height: 21rem;
    padding-top: 2.5rem;
    overflow: hidden;
}

.app-card-visual .phone {
    transition: transform 0.5s var(--ease);
}

.app-card:hover .app-card-visual .phone {
    transform: translateY(-1rem);
}

.app-card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-top: 1px solid var(--accent-line);
    background: var(--bg-raised);
}

.app-card-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.app-card-title img {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.app-card-title h3 {
    font-size: 1.6rem;
    font-weight: 900;
}

.app-card-title small {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.app-card-body > p {
    color: var(--ink-muted);
}

.checks {
    display: grid;
    gap: 0.55rem;
}

.checks li {
    position: relative;
    padding-left: 1.75rem;
}

.checks li::before {
    content: "";
    position: absolute;
    left: 0.1rem;
    top: 0.5em;
    width: 0.8rem;
    height: 0.45rem;
    border-left: 2.5px solid var(--accent);
    border-bottom: 2.5px solid var(--accent);
    transform: rotate(-45deg);
}

.app-card-body .btn-row {
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Cards and grids */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.card {
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-raised);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-line);
}

.card h3 {
    margin-bottom: 0.6rem;
}

.card p,
.card li {
    color: var(--ink-muted);
}

.card a {
    color: var(--accent);
    font-weight: 700;
    text-underline-offset: 0.2em;
}

.card .checks {
    margin-top: 0.75rem;
}

.icon {
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    margin-bottom: 1.1rem;
    border-radius: 0.9rem;
    background: var(--accent-soft);
    color: var(--accent);
}

.icon svg {
    width: 1.45rem;
    height: 1.45rem;
}

/* Split feature rows */

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.split + .split {
    margin-top: var(--section);
}

.split-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.25rem;
}

.split-visual .phone:nth-child(2) {
    margin-top: 3rem;
}

.split-copy h2 + p,
.split-copy h3 + p {
    margin-top: 1rem;
}

.split-copy p {
    color: var(--ink-muted);
}

.split-copy .feature-list {
    margin-top: 1.75rem;
}

.split.is-reversed .split-visual {
    order: -1;
}

.feature-list {
    display: grid;
    gap: 1.1rem;
}

.feature-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.1rem 1rem;
    align-items: start;
}

.feature-list .icon {
    grid-row: span 2;
    margin: 0;
}

.feature-list strong {
    align-self: end;
}

.feature-list span {
    color: var(--ink-muted);
}

.note {
    margin-top: 1.75rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-line);
    font-size: 0.95rem;
    color: var(--ink-muted);
}

/* Scroll steps */

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vw, 5rem);
}

.steps-visual {
    display: none;
}

.step {
    display: grid;
    gap: 1.25rem;
    padding-block: 1.5rem;
}

.step-num {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 900;
}

.step h3 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 900;
}

.step p {
    max-width: 30rem;
    font-size: 1.1rem;
    color: var(--ink-muted);
}

.step-shot {
    margin-top: 0.5rem;
}

@media (min-width: 56.25em) {
    .steps.is-enhanced {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    }

    .steps.is-enhanced .steps-visual {
        display: grid;
        place-items: center;
        position: sticky;
        top: max(5.5rem, calc(50vh - 19rem));
        align-self: start;
        height: 38rem;
    }

    .steps.is-enhanced .steps-visual .phone-screen img {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 0.5s var(--ease);
    }

    .steps.is-enhanced .steps-visual .phone-screen img.is-active {
        opacity: 1;
    }

    .steps.is-enhanced .step-shot {
        display: none;
    }

    .steps.is-enhanced .step {
        align-content: center;
        min-height: 62vh;
        opacity: 0.35;
        transition: opacity 0.4s var(--ease);
    }

    .steps.is-enhanced .step.is-active {
        opacity: 1;
    }
}

/* Tag routes */

.routes {
    display: grid;
    gap: 0.85rem;
    margin-top: 2rem;
}

.route {
    display: grid;
    grid-template-columns: 5.5rem minmax(2rem, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--bg-raised);
    box-shadow: var(--shadow-sm);
}

.route-line {
    position: relative;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}

.route-line::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 0.6rem;
    height: 0.6rem;
    margin-top: -0.3rem;
    border-radius: 50%;
    background: var(--accent);
    animation: travel 2.6s var(--ease) infinite;
}

.route:nth-child(2) .route-line::after { animation-delay: 0.5s; }
.route:nth-child(3) .route-line::after { animation-delay: 1s; }

@keyframes travel {
    0% {
        left: 0;
        opacity: 0;
    }
    15%,
    85% {
        opacity: 1;
    }
    100% {
        left: calc(100% - 0.6rem);
        opacity: 0;
    }
}

.route-dest {
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
}

.route-dest span {
    display: block;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--ink-muted);
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pills li {
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-raised);
    font-size: 0.9rem;
    font-weight: 700;
}

.fineprint {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--ink-muted);
}

.subhead {
    margin-top: 2.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.subhead + .pills {
    margin-top: 0.6rem;
}

.pills + .subhead {
    margin-top: 1.5rem;
}

/* Pricing */

.plans {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
    align-items: stretch;
}

.plan {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.plan-featured {
    border: 2px solid var(--accent);
}

.plan-name {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent);
}

.plan .price {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.price-rows {
    display: grid;
    margin-top: auto;
    border-top: 1px solid var(--line);
}

.price-rows li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--line);
}

.price-rows strong {
    display: block;
    color: var(--ink);
}

.price-rows small {
    font-size: 0.85rem;
}

.price-rows .amount {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--ink);
    white-space: nowrap;
}

.price-rows .amount span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ink-muted);
}

/* FAQ */

.faq {
    display: grid;
    gap: 0.75rem;
    max-width: 50rem;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--bg-raised);
    transition: border-color 0.2s;
}

.faq details[open] {
    border-color: var(--accent-line);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "";
    flex: none;
    width: 0.65rem;
    height: 0.65rem;
    border-right: 2.5px solid var(--accent);
    border-bottom: 2.5px solid var(--accent);
    transform: rotate(45deg);
    transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
    transform: rotate(-135deg);
}

.faq details p {
    padding: 0 1.35rem 1.25rem;
    color: var(--ink-muted);
}

/* CTA band */

.cta-band {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 4.5rem);
    border-radius: var(--radius-lg);
    background: var(--accent);
    color: var(--on-accent);
    text-align: center;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: -40% -10% auto auto;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.22), transparent);
    animation: drift 14s ease-in-out infinite alternate;
}

.cta-band > * {
    position: relative;
}

.cta-band p {
    max-width: 34rem;
    margin: 1rem auto 2rem;
    font-size: 1.15rem;
    opacity: 0.9;
}

.cta-band .btn {
    background: var(--on-accent);
    color: var(--accent);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.cta-band .btn:hover {
    transform: translateY(-2px);
}

/* About */

.about {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: start;
}

.about > div > p {
    margin-top: 1rem;
    font-size: 1.15rem;
    color: var(--ink-muted);
}

.contact-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

/* Footer */

.site-footer {
    padding-block: 3rem 2rem;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
    color: var(--ink-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.footer-grid h2 {
    margin-bottom: 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink);
}

.footer-grid ul {
    display: grid;
    gap: 0.5rem;
}

.footer-grid a {
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-brand p {
    max-width: 22rem;
    margin-top: 0.9rem;
}

.footer-brand .brand {
    color: var(--ink);
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
}

/* Sticky mobile CTA */

.sticky-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    display: none;
    padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 0.35s var(--ease);
}

.sticky-cta .btn {
    width: 100%;
}

.sticky-cta.is-shown {
    transform: translateY(0);
}

/* Reveal on scroll (only when JavaScript is available) */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive */

@media (max-width: 56.24em) {
    .hero-grid,
    .split,
    .plans,
    .about {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 0;
        margin-top: 1rem;
    }

    .split.is-reversed .split-visual {
        order: 0;
    }

    .app-cards,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .step-shot {
        justify-self: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .sticky-cta {
        display: block;
    }

    .has-sticky-cta .site-footer {
        padding-bottom: 6.5rem;
    }
}

@media (max-width: 40em) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .site-nav a {
        padding-inline: 0.55rem;
        font-size: 0.88rem;
    }

    .brand span {
        display: none;
    }

    .site-footer .brand span {
        display: inline;
    }

    .float-rec {
        display: none;
    }

    .float-note {
        right: -0.25rem;
        bottom: -1.5rem;
        width: 12rem;
        font-size: 0.82rem;
    }

    .hero-visual {
        padding-bottom: 2rem;
    }

    .split-visual .phone-sm {
        width: 46%;
    }

    .route {
        grid-template-columns: auto minmax(1.5rem, 1fr) auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .route-line::after {
        display: none;
    }

    @view-transition {
        navigation: none;
    }
}
