:root {
    --color-background: #f7f4ed;
    --color-foreground: #2b2926;
    --color-card: #ffffff;
    --color-primary: #3f6b3a;
    --color-primary-foreground: #ffffff;
    --color-secondary: #e9e3d5;
    --color-accent: #e2e8da;
    --color-muted: #eee9df;
    --color-muted-foreground: #6f675d;
    --color-highlight: #b3886a;
    --color-border: #e8e2d2;
    --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
    --font-sans: "Manrope", system-ui, sans-serif;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --shadow-soft: 0 12px 40px rgba(43, 41, 38, 0.06);
    --shadow-card: 0 4px 20px rgba(43, 41, 38, 0.05);
    --shadow-header: 0 1px 0 rgba(43, 41, 38, 0.06);
    --max-width: 1120px;
    --content-width: 720px;
    --header-height: 4.25rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-secondary);
    background-image:
        radial-gradient(circle at 1px 1px, rgba(43, 41, 38, 0.04) 1px, transparent 0),
        linear-gradient(180deg, rgba(233, 227, 213, 0.72), rgba(247, 244, 237, 0.85)),
        url("../assets/images/paper-texture.jpg");
    background-size: 24px 24px, auto, cover;
    background-blend-mode: normal, multiply, normal;
    background-attachment: fixed;
    color: var(--color-foreground);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-primary-foreground);
    text-decoration: none;
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(233, 227, 213, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-header);
}

.site-header__inner,
.site-footer__inner,
.section__inner,
.legal-container {
    width: min(calc(100% - 2.5rem), var(--max-width));
    margin-inline: auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-height);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--color-foreground);
}

.site-brand__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

.site-brand__logo {
    width: 2rem;
    height: auto;
    filter: brightness(0);
}

.site-brand__name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    font-optical-sizing: auto;
    letter-spacing: 0.01em;
}

.site-nav-toggle {
    position: relative;
}

.site-nav-toggle__button {
    display: none;
    list-style: none;
    cursor: pointer;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-card);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-foreground);
}

.site-nav-toggle__button::-webkit-details-marker {
    display: none;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem 1.5rem;
}

.site-nav__link {
    position: relative;
    color: var(--color-muted-foreground);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    padding-bottom: 0.2rem;
    transition: color 0.2s ease;
}

.site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
    color: var(--color-foreground);
}

.site-nav__link--active {
    color: var(--color-primary);
}

.site-nav__link--active::after {
    transform: scaleX(1);
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 5.5rem;
    text-align: center;
}

.hero__watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(22rem, 55vw);
    height: auto;
    opacity: 0.04;
    transform: translate(-50%, -52%);
    pointer-events: none;
    user-select: none;
}

.hero__inner {
    position: relative;
    width: min(calc(100% - 2.5rem), var(--max-width));
    margin-inline: auto;
}

.hero__kicker {
    margin: 0 0 1rem;
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-style: italic;
    font-weight: 500;
    font-optical-sizing: auto;
    color: var(--color-highlight);
    letter-spacing: 0.02em;
}

.hero__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.75rem;
}

.hero__logo {
    display: block;
    width: clamp(3.25rem, 7vw, 4.5rem);
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0);
}

.hero__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 0 1.5rem;
    color: var(--color-highlight);
    font-size: 1.1rem;
    opacity: 0.7;
}

.hero__ornament::before,
.hero__ornament::after {
    content: "";
    width: 3.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-highlight), transparent);
}

.hero__title {
    margin: 0 0 0.65rem;
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 500;
    font-optical-sizing: auto;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--color-foreground);
}

.hero__subtitle {
    margin: 0;
    max-width: 24rem;
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.1vw, 1.3rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--color-muted-foreground);
}

.hero__lead {
    max-width: 38rem;
    margin: 0 auto 2.5rem;
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    line-height: 1.7;
    color: var(--color-muted-foreground);
}

/* Store badges */

.store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.store-badge-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.store-badge__beta {
    position: absolute;
    top: -0.55rem;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-primary-foreground);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(63, 107, 58, 0.35);
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 3.4rem;
    padding: 0.55rem 1.1rem 0.55rem 0.9rem;
    border-radius: 0.75rem;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26, 26, 26, 0.22);
}

.store-badge__icon {
    width: 1.65rem;
    height: 1.65rem;
    flex-shrink: 0;
}

.store-badge__icon--play {
    object-fit: contain;
}

.store-badge__label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.store-badge__small {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    opacity: 0.78;
}

.store-badge__large {
    font-size: 1.05rem;
    font-weight: 700;
}

/* App showcase */

.app-showcase {
    padding: 0 0 4.5rem;
}

.app-showcase__header {
    width: min(calc(100% - 2.5rem), var(--max-width));
    margin: 0 auto 0.85rem;
    text-align: center;
}

.app-showcase__hint {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-muted-foreground);
}

.app-showcase__scroller {
    width: calc(100% - 2rem);
    margin-inline: auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 1rem;
    padding: 0.25rem 1rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(179, 136, 106, 0.55) transparent;
}

.app-showcase__scroller::-webkit-scrollbar {
    height: 0.45rem;
}

.app-showcase__scroller::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(179, 136, 106, 0.55);
}

.app-showcase__scroller:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.app-showcase__track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    margin-inline: auto;
    padding: 0.25rem 0 0;
}

.app-showcase__panel {
    margin: 0;
    flex: 0 0 auto;
    width: clamp(15rem, 78vw, 18.5rem);
    scroll-snap-align: start;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-card);
    box-shadow: var(--shadow-soft);
}

.app-showcase__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1242 / 2688;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

@media (min-width: 768px) {
    .app-showcase__scroller {
        overflow-x: visible;
    }

    .app-showcase__track {
        width: 100%;
        margin-inline: 0;
    }

    .app-showcase__panel {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }
}

@media (min-width: 900px) {
    .app-showcase__hint {
        display: none;
    }
}

/* Sections */

.section {
    padding: 5rem 0;
    scroll-margin-top: var(--header-height);
}

.section--features {
    background: linear-gradient(
        180deg,
        rgba(233, 227, 213, 0.55) 0%,
        rgba(238, 233, 223, 0.85) 50%,
        rgba(233, 227, 213, 0.55) 100%
    );
}

.section__title {
    margin: 0 0 1rem;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    font-weight: 600;
    font-optical-sizing: auto;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.section__lead {
    max-width: 34rem;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--color-muted-foreground);
}

/* Feature grid */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    text-align: left;
}

.section__inner {
    text-align: center;
}

.section__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.feature-card {
    padding: 1.6rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    background: var(--color-accent);
    color: var(--color-primary);
}

.feature-card:nth-child(2) .feature-card__icon,
.feature-card:nth-child(5) .feature-card__icon {
    background: rgba(179, 136, 106, 0.18);
    color: var(--color-highlight);
}

.feature-card:nth-child(3) .feature-card__icon,
.feature-card:nth-child(6) .feature-card__icon {
    background: rgba(233, 227, 213, 0.9);
    color: var(--color-foreground);
}

.feature-card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.feature-card__title {
    margin: 0 0 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    font-optical-sizing: auto;
    line-height: 1.25;
    color: var(--color-foreground);
}

.feature-card__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-muted-foreground);
}

/* Legal pages */

.legal-back {
    display: block;
    width: min(calc(100% - 2.5rem), var(--max-width));
    margin: 1.5rem auto 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.legal-back:hover,
.legal-back:focus-visible {
    color: var(--color-highlight);
}

.page-legal {
    flex: 1;
}

.legal-container {
    padding: 1.5rem 0 5rem;
}

.legal-hero {
    margin-bottom: 2rem;
    max-width: var(--content-width);
}

.legal-hero__title {
    margin: 0 0 0.75rem;
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    font-optical-sizing: auto;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.legal-hero__lead {
    margin: 0;
    max-width: 42rem;
    color: var(--color-muted-foreground);
    font-size: 1.1rem;
    line-height: 1.65;
}

.legal-prose {
    max-width: var(--content-width);
}

.legal-prose h2 {
    margin: 2.5rem 0 1rem;
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    font-optical-sizing: auto;
    line-height: 1.2;
}

.legal-prose p {
    margin: 0 0 1rem;
    color: var(--color-muted-foreground);
    font-size: 1.05rem;
    line-height: 1.7;
}

.legal-prose a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    transition: color 0.2s ease;
}

.legal-prose a:hover,
.legal-prose a:focus-visible {
    color: var(--color-highlight);
}

.legal-prose strong {
    color: var(--color-foreground);
    font-weight: 700;
}

.about-story__signature {
    margin-top: 2rem;
    color: var(--color-foreground);
    font-style: italic;
}

.about-story__role {
    font-style: normal;
    font-size: 0.95rem;
    color: var(--color-muted-foreground);
}

.legal-prose hr {
    border: none;
    height: 1px;
    margin: 2rem 0;
    background: var(--color-border);
}

.legal-card {
    max-width: var(--content-width);
    padding: 1.75rem 2rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-card);
}

.legal-card + .legal-card {
    margin-top: 1.25rem;
}

.legal-card__title {
    margin: 0 0 0.65rem;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    font-optical-sizing: auto;
}

.legal-card__text {
    margin: 0;
    color: var(--color-muted-foreground);
    line-height: 1.65;
}

.legal-card a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.legal-card a:hover,
.legal-card a:focus-visible {
    color: var(--color-highlight);
}

/* Android beta page */

.beta-steps {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    counter-reset: beta-step;
}

.beta-steps__item {
    position: relative;
    padding-left: 2.75rem;
    counter-increment: beta-step;
}

.beta-steps__item + .beta-steps__item {
    margin-top: 1.25rem;
}

.beta-steps__item::before {
    content: counter(beta-step);
    position: absolute;
    left: 0;
    top: 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-primary-foreground);
    font-size: 0.85rem;
    font-weight: 800;
}

.beta-steps__label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 700;
    color: var(--color-foreground);
}

.beta-steps__text {
    margin: 0;
    color: var(--color-muted-foreground);
    line-height: 1.65;
}

.beta-steps__hint {
    margin: 0.65rem 0 0;
    padding: 0.7rem 0.85rem;
    border-left: 3px solid var(--color-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: rgba(63, 107, 58, 0.08);
    color: var(--color-muted-foreground);
    font-size: 0.9rem;
    line-height: 1.55;
}

.beta-steps__aside {
    margin: 0.45rem 0 0;
    color: var(--color-muted-foreground);
    font-size: 0.82rem;
    line-height: 1.5;
}

.beta-steps__text a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.beta-steps__text a:hover,
.beta-steps__text a:focus-visible {
    color: var(--color-highlight);
}

.beta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.beta-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.beta-cta:hover {
    transform: translateY(-1px);
}

.beta-cta--primary {
    background: var(--color-primary);
    color: var(--color-primary-foreground);
    box-shadow: 0 4px 14px rgba(63, 107, 58, 0.28);
}

.legal-card a.beta-cta--primary {
    color: var(--color-primary-foreground);
    text-decoration: none;
}

.beta-cta--primary:hover,
.beta-cta--primary:focus-visible {
    background: #355a31;
    color: var(--color-primary-foreground);
}

.legal-card a.beta-cta--primary:hover,
.legal-card a.beta-cta--primary:focus-visible {
    color: var(--color-primary-foreground);
}

.beta-cta--secondary {
    border: 1px solid var(--color-border);
    background: var(--color-card);
    color: var(--color-foreground);
}

.legal-card a.beta-cta--secondary {
    color: var(--color-foreground);
    text-decoration: none;
}

.beta-cta--secondary:hover,
.beta-cta--secondary:focus-visible {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.legal-card a.beta-cta--secondary:hover,
.legal-card a.beta-cta--secondary:focus-visible {
    color: var(--color-primary);
}

.beta-note .legal-card__text strong {
    color: var(--color-foreground);
}

/* Footer */

.site-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--color-primary);
    color: var(--color-primary-foreground);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 1.25rem 2rem;
    padding: 2.25rem 0 2.5rem;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    grid-column: 1;
    grid-row: 1;
}

.site-footer__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
}

.site-footer__logo {
    width: 1.5rem;
    height: auto;
}

.site-footer__name {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary-foreground);
}

.site-footer__tagline {
    margin: 0.1rem 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.site-footer__nav a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible,
.site-footer__cookie-settings:hover,
.site-footer__cookie-settings:focus-visible {
    color: var(--color-highlight);
}

.site-footer__cookie-settings {
    border: none;
    padding: 0;
    background: none;
    color: rgba(255, 255, 255, 0.82);
    font: inherit;
    font-size: 0.92rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.site-footer__copy {
    margin: 0;
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Consent banner */

.consent-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 50;
    max-width: 42rem;
    margin-inline: auto;
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: rgba(247, 244, 237, 0.97);
    box-shadow: var(--shadow-soft);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.consent-banner--hidden {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

.consent-banner__text {
    margin: 0 0 1rem;
    color: var(--color-muted-foreground);
    font-size: 0.92rem;
    line-height: 1.55;
}

.consent-banner__title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.5rem;
    color: var(--color-foreground);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
}

.consent-banner__title-icon {
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.2rem;
    line-height: 1;
}

.consent-banner__categories {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.consent-banner__category {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.55);
}

.consent-banner__category-copy {
    flex: 1 1 auto;
}

.consent-banner__category-heading {
    margin: 0 0 0.25rem;
    color: var(--color-foreground);
    font-size: 0.95rem;
    font-weight: 700;
}

.consent-banner__category-description {
    margin: 0;
    color: var(--color-muted-foreground);
    font-size: 0.86rem;
    line-height: 1.45;
}

.consent-banner__category-control {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    color: var(--color-foreground);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.consent-banner__category-control input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--color-primary);
}

.consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.consent-banner__button,
.consent-banner__link {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 700;
}

.consent-banner__button {
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    cursor: pointer;
}

.consent-banner__button--primary {
    background: var(--color-primary);
    color: var(--color-primary-foreground);
}

.consent-banner__button--secondary {
    background: transparent;
    color: var(--color-foreground);
    border: 1px solid var(--color-border);
}

.consent-banner__button--ghost {
    background: transparent;
    color: var(--color-muted-foreground);
    border: none;
    padding-inline: 0.35rem;
}

.consent-banner__link {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

/* Motion */

.rise-in {
    animation: riseIn 0.85s ease both;
}

.rise-in:nth-child(2) { animation-delay: 0.08s; }
.rise-in:nth-child(3) { animation-delay: 0.16s; }
.rise-in:nth-child(4) { animation-delay: 0.24s; }
.rise-in:nth-child(5) { animation-delay: 0.32s; }

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .site-nav-toggle__button {
        display: inline-block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        flex-direction: column;
        align-items: stretch;
        min-width: 13rem;
        padding: 0.75rem;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-lg);
        background: var(--color-card);
        box-shadow: var(--shadow-soft);
    }

    .site-nav-toggle[open] .site-nav {
        display: flex;
    }

    .site-nav__link {
        padding: 0.5rem 0.25rem;
    }

    .hero {
        padding: 3.5rem 0 4rem;
    }

    .app-showcase {
        padding-bottom: 3rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-footer__nav {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }

    .site-footer__copy {
        grid-row: 3;
    }

    .legal-card {
        padding: 1.35rem 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
