/* ===================================
   ENEBRAT LANDING PAGE - STYLES
   Colours come from the app theme (lib/config/app_theme.dart):
   light mode = "intermediate", dark mode = "original"
   =================================== */

/* --- Fonts ---
   Self-hosted (latin subset) so no request goes to Google.
   SIL Open Font License: assets/fonts/OFL-Fraunces.txt, assets/fonts/OFL-Poppins.txt */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('../assets/fonts/fraunces.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 400 500;
    font-display: swap;
    src: url('../assets/fonts/fraunces-italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/poppins-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/poppins-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../assets/fonts/poppins-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../assets/fonts/poppins-700.woff2') format('woff2');
}

/* --- CSS Variables --- */
:root {
    /* Fixed brand colours */
    --color-deep: #09464A;              /* app dark background */
    --color-cyan: #00BCD4;              /* app dark accent */
    --color-white: #FFFFFF;

    /* Light theme (default) */
    color-scheme: light;
    --color-page: #F0FAF8;              /* app light background, lightened */
    --color-surface: #FFFFFF;
    --color-panel: #CDEDE7;             /* app light background */
    --color-bubble-own: #B1DED5;        /* app light card */
    --color-line: #CDEDE7;
    --color-line-strong: #B1DED5;
    --color-text: #0B3B38;              /* app light textPrimary */
    --color-text-soft: #3F6E6A;         /* app light textSecondary */
    --color-accent: #0D9488;            /* app light accent */
    --color-accent-text: #0F766E;       /* app light accentDark */
    --color-accent-on-surface: #0F766E;
    --color-chip: #CDEDE7;
    --color-block: #09464A;             /* emphasis blocks: app dark background */
    --color-block-row: #0A5A5F;         /* app dark card */
    --color-block-border: #09464A;
    --color-on-block-soft: rgba(255, 255, 255, 0.7);
    --color-btn: #09464A;
    --color-btn-text: #FFFFFF;
    --color-btn-hover: #0A5A5F;
    --color-phone: #0B3B38;
    --color-header: rgba(240, 250, 248, 0.88);
    --color-focus-ring: rgba(13, 148, 136, 0.15);
    --shadow-float: 0 18px 40px rgba(9, 70, 74, 0.14);
    --shadow-soft: 0 8px 30px rgba(9, 70, 74, 0.08);

    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Poppins', system-ui, -apple-system, sans-serif;

    /* Layout */
    --header-height: 76px;
    --container: 1200px;
    --gutter: 24px;
    --section-space: 120px;

    /* Radius */
    --radius-sm: 16px;
    --radius-md: 22px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --radius-pill: 999px;

    --transition: 0.25s ease;
}

/* Dark theme: the page takes the app's dark background, cards its dark card.
   Emphasis blocks can't be darker than the page any more, so they become
   raised cards with a cyan edge. */
:root[data-theme="dark"] {
    color-scheme: dark;
    --color-page: #09464A;              /* app dark background */
    --color-surface: #0A5A5F;           /* app dark card */
    --color-panel: #073B3E;             /* sunken, a step below the page */
    --color-bubble-own: rgba(0, 188, 212, 0.22);
    --color-line: rgba(255, 255, 255, 0.12);
    --color-line-strong: rgba(255, 255, 255, 0.2);
    --color-text: #FFFFFF;              /* app dark textPrimary */
    --color-text-soft: rgba(255, 255, 255, 0.72); /* app dark textSecondary */
    --color-accent: #00BCD4;
    --color-accent-text: #00BCD4;
    --color-accent-on-surface: #FFFFFF;
    --color-chip: rgba(0, 188, 212, 0.14);
    --color-block: #0A5A5F;
    --color-block-row: #09464A;
    --color-block-border: rgba(0, 188, 212, 0.6);
    --color-btn: #00BCD4;
    --color-btn-text: #09464A;
    --color-btn-hover: #FFFFFF;
    --color-phone: #042B2E;
    --color-header: rgba(9, 70, 74, 0.88);
    --color-focus-ring: rgba(0, 188, 212, 0.25);
    --shadow-float: 0 18px 40px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Elements that only exist in one theme (logos, screenshots) */
:root:not([data-theme="dark"]) .only-dark,
:root[data-theme="dark"] .only-light {
    display: none;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-page);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul,
ol {
    list-style: none;
}

button,
input,
textarea {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--color-cyan);
    outline-offset: 3px;
}

/* --- Utilities --- */
.container {
    width: min(var(--container), 100% - 2 * var(--gutter));
    margin-inline: auto;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.125em;
    height: 1.125em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-accent-text);
}

.eyebrow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-cyan);
}

.eyebrow--on-dark {
    color: var(--color-cyan);
}

.checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 0.875rem;
    color: var(--color-text-soft);
}

.checks li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checks .icon {
    color: var(--color-accent-text);
    stroke-width: 2.4;
}

.checks--stacked {
    flex-direction: column;
    gap: 14px;
    font-size: 1rem;
    color: var(--color-text);
}

.checks--stacked .icon {
    width: 22px;
    height: 22px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 24px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--transition), color var(--transition),
                border-color var(--transition), transform var(--transition);
}

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

.btn:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.btn--primary {
    background: var(--color-btn);
    color: var(--color-btn-text);
}

.btn--primary:hover {
    background: var(--color-btn-hover);
}

.btn--outline {
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn--outline:hover {
    border-color: var(--color-btn);
    background: var(--color-btn);
    color: var(--color-btn-text);
}

.btn--accent {
    background: var(--color-cyan);
    color: var(--color-deep);
}

.btn--accent:hover {
    background: var(--color-white);
}

.btn--ghost {
    background: none;
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--color-white);
}

.btn--ghost:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.btn--large {
    height: 60px;
    padding: 0 32px;
    font-size: 1.0625rem;
}

.btn--full {
    width: 100%;
}

/* --- Header --- */
.header {
    position: fixed;
    inset: 0 0 auto;
    height: var(--header-height);
    z-index: 100;
    border-bottom: 1px solid var(--color-line);
    transition: box-shadow var(--transition);
}

/* The blur lives on a pseudo-element: backdrop-filter on .header itself would
   trap the fixed mobile menu inside the header's 76px */
.header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--color-header);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
}

.header.scrolled {
    box-shadow: 0 6px 24px rgba(9, 70, 74, 0.08);
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav__logo-img {
    height: 34px;
    width: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.9375rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-accent-text);
}

.nav__item--mobile {
    display: none;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav__login {
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav__login:hover {
    color: var(--color-accent-text);
}

.nav__toggle,
.nav__close {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
}

/* --- Theme controls --- */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--color-line-strong);
    border-radius: 50%;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
}

.theme-toggle:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-text);
}

/* The header button shows where it takes you: the moon in light, the sun in dark */
:root[data-theme="dark"] .theme-toggle .icon--moon,
:root:not([data-theme="dark"]) .theme-toggle .icon--sun {
    display: none;
}

/* Language switcher: same pill as the theme button, with a menu underneath */
.lang-switch {
    position: relative;
}

.lang-switch__button {
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 1px solid var(--color-line-strong);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    list-style: none;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
}

.lang-switch__button::-webkit-details-marker {
    display: none;
}

.lang-switch__button:hover,
.lang-switch[open] .lang-switch__button {
    border-color: var(--color-accent);
    color: var(--color-accent-text);
}

.lang-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 10;
    min-width: 170px;
    padding: 6px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    box-shadow: var(--shadow-float);
    list-style: none;
}

.lang-switch__menu a {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.9375rem;
    text-align: left;
    color: var(--color-text);
}

.lang-switch__menu a:hover {
    background: var(--color-page);
}

.lang-switch__menu a[aria-current="true"] {
    font-weight: 600;
    color: var(--color-accent-text);
}

.theme-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.theme-switch__label {
    padding: 0 8px 0 12px;
    font-size: 0.8125rem;
    color: var(--color-text-soft);
    white-space: nowrap;
}

.theme-switch__option {
    height: 36px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    border-radius: var(--radius-pill);
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-soft);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.theme-switch__option:hover {
    color: var(--color-text);
}

.theme-switch__option[aria-pressed="true"] {
    background: var(--color-btn);
    color: var(--color-btn-text);
}

/* --- Hero --- */
.hero {
    padding: calc(var(--header-height) + 48px) 0 88px;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: center;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.5rem, 5.2vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.hero__title em,
.section__title em {
    color: var(--color-accent-text);
}

.hero__lead {
    max-width: 560px;
    font-size: 1.1875rem;
    color: var(--color-text-soft);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 4px;
}

/* Theme switch on top, then the phone framed by the panel; the card below
   hangs off the panel's bottom edge, never over the screenshot */
.hero__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 44px;
}

.hero__stage {
    position: relative;
    padding: 28px 40px 48px;
    border-radius: 44px;
    background: var(--color-panel);
}

/* Phone frame around the real screenshots */
.phone {
    padding: 10px;
    border-radius: 44px;
    background: var(--color-phone);
    box-shadow: var(--shadow-float);
}

/* <picture> only offers the AVIF versions; layout rules keep targeting the <img> */
picture {
    display: contents;
}

.phone img {
    width: 100%;
    border-radius: 34px;
}

.phone--hero {
    width: 290px;
}

/* On desktop the phone shrinks with the window height so the whole hero
   visual (switch, phone and card) fits on the first screen.
   2.1741 is the screenshot's aspect ratio (2622 / 1206); 346px is the header,
   hero padding, switch, gaps, panel padding and card overhang. */
@media (min-width: 961px) {
    .phone--hero {
        width: clamp(220px, calc((100vh - 346px) / 2.1741 + 20px), 290px);
    }
}

.float-card {
    position: absolute;
    right: -24px;
    bottom: -44px;
    z-index: 2;
    width: 230px;
    padding: 14px 16px;
    border: 1px solid var(--color-block-border);
    border-radius: 18px;
    background: var(--color-block);
    color: var(--color-white);
    box-shadow: var(--shadow-float);
}

.float-card__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-cyan);
}

.float-card__title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
}

.float-card__text {
    font-size: 0.75rem;
    color: var(--color-on-block-soft);
}

/* --- Pillars strip --- */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    padding: 40px 0;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.pillar__title {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 400;
    line-height: 1.2;
}

.pillar__text {
    margin-top: 6px;
    font-size: 0.9375rem;
    color: var(--color-text-soft);
}

/* --- Sections --- */
.section {
    padding-top: var(--section-space);
}

.section--tight {
    padding-top: 64px;
}

.main > .section:last-child {
    padding-bottom: var(--section-space);
}

.section__head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 56px;
}

.section__head--split {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
}

.section__head--split > div {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.section__head--split .section__title {
    max-width: 700px;
}

.section__head--split > .section__text {
    max-width: 380px;
    flex-shrink: 0;
}

.section__head--center {
    align-items: center;
    text-align: center;
}

.section__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section__text {
    font-size: 1.0625rem;
    color: var(--color-text-soft);
}

/* --- Before / after --- */
.compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.compare__card {
    min-height: 500px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-radius: var(--radius-lg);
}

.compare__card--before {
    background: var(--color-panel);
}

.compare__card--after {
    border: 1px solid var(--color-block-border);
    background: var(--color-block);
    color: var(--color-white);
}

.compare__label {
    margin-bottom: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-soft);
}

.compare__card--after .compare__label {
    color: var(--color-cyan);
}

.bubble {
    align-self: flex-start;
    max-width: 360px;
    padding: 12px 16px;
    border-radius: 18px 18px 18px 4px;
    background: var(--color-surface);
    font-size: 0.9375rem;
}

.bubble b {
    font-weight: 600;
}

.bubble--own {
    align-self: flex-end;
    border-radius: 18px 18px 4px 18px;
    background: var(--color-bubble-own);
}

.compare__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    background: var(--color-block-row);
    font-size: 0.9375rem;
}

.compare__row .icon {
    width: 22px;
    height: 22px;
    color: var(--color-cyan);
}

.muted {
    color: var(--color-on-block-soft);
}

.compare__foot {
    margin-top: auto;
    padding-top: 12px;
    font-size: 0.875rem;
    color: var(--color-text-soft);
}

.compare__card--after .compare__foot {
    color: var(--color-on-block-soft);
}

/* --- How it works --- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.step {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid var(--color-line);
    border-radius: 24px;
    background: var(--color-surface);
}

.step__number {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-accent-text);
}

.step__title {
    font-size: 1.375rem;
    font-weight: 600;
}

.step__text {
    color: var(--color-text-soft);
}

.step--dark {
    border-color: var(--color-block-border);
    background: var(--color-block);
    color: var(--color-white);
}

.step--dark .step__number {
    color: var(--color-cyan);
}

.step--dark .step__text {
    color: var(--color-on-block-soft);
}

/* --- Tools --- */
.tools {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 80px;
    align-items: start;
}

.tools__intro {
    position: sticky;
    top: calc(var(--header-height) + 32px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.tools__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tool {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: var(--color-surface);
}

.tool__icon,
.question__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--color-chip);
    color: var(--color-accent-text);
}

.tool__icon .icon,
.question__icon .icon {
    width: 26px;
    height: 26px;
}

.tool__title {
    margin-top: 6px;
    font-size: 1.1875rem;
    font-weight: 600;
}

.tool__text {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--color-text-soft);
}

/* --- The app inside --- */
.inside {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 64px;
    align-items: center;
    padding: 56px 64px;
    border-radius: var(--radius-xl);
    background: var(--color-panel);
}

.inside__phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.inside__phone .phone {
    width: 100%;
}

.inside__phone figcaption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    font-size: 1.0625rem;
    font-weight: 600;
}

.inside__hint {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--color-text-soft);
}

/* The module screens sit on top of the home screen and fade in when their card is picked */
.phone--screens {
    position: relative;
}

.phone .phone__screen {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.inside__phone[data-screen="medicine"] .phone__screen[data-screen="medicine"],
.inside__phone[data-screen="calendar"] .phone__screen[data-screen="calendar"],
.inside__phone[data-screen="accounting"] .phone__screen[data-screen="accounting"],
.inside__phone[data-screen="shopping"] .phone__screen[data-screen="shopping"] {
    opacity: 1;
    visibility: visible;
}

.questions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.question {
    position: relative;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-radius: var(--radius-md);
    background: var(--color-surface);
}

/* Cards that switch the phone screen: an invisible button covers the whole card */
.question__open {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    border-radius: inherit;
    background: none;
    cursor: pointer;
}

.question__open:hover {
    box-shadow: inset 0 0 0 2px var(--color-line-strong);
}

.question__open[aria-pressed="true"] {
    box-shadow: inset 0 0 0 2px var(--color-accent);
}

/* Small phone in the corner, on the icon's row: says "this opens a screen" without taking space */
.question__peek {
    position: absolute;
    top: 34px;
    right: 28px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-line-strong);
    border-radius: 50%;
    color: var(--color-accent-text);
    pointer-events: none;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.question__peek .icon {
    width: 18px;
    height: 18px;
}

.question__open:hover ~ .question__peek {
    border-color: var(--color-accent);
}

.question__open[aria-pressed="true"] ~ .question__peek {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-white);
}

/* One gentle pulse when the cards first come into view (main.js) */
.questions.is-nudged .question__peek {
    animation: peek-pulse 1.4s ease-out 2;
}

@keyframes peek-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.45);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(13, 148, 136, 0);
    }
}

/* Always the app's dark background: in dark mode it reads as an inset on the card */
.question__icon {
    background: var(--color-deep);
    color: var(--color-cyan);
}

.question__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.question__text {
    margin-top: 6px;
    font-size: 0.9375rem;
    color: var(--color-text-soft);
}

/* Full-width card: text on the left, the real notification on the right */
.question--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 14px 28px;
    align-items: center;
}

.question--wide .question__notification {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
}

/* --- Story --- */
.story {
    margin-top: var(--section-space);
    padding: 110px 0;
    border-block: 1px solid var(--color-block-border);
    background: var(--color-block);
    color: var(--color-white);
}

/* Family photo beside the text, whole and at its own proportions */
.story__grid {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

.story__visual {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-block-row);
}

.story__visual img {
    display: block;
    width: 100%;
    height: auto;
}

.story__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.story__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.story__text {
    max-width: 620px;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-on-block-soft);
}

/* --- Business --- */
.business {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    align-items: center;
    padding: 64px;
    border-radius: 32px;
    background: var(--color-panel);
}

.business__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.business__content .section__title {
    font-size: clamp(1.875rem, 3.4vw, 2.75rem);
}

.business__aside {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.business--compact {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 48px;
}

.business--compact a {
    color: var(--color-accent-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- FAQ --- */
.faq {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 80px;
}

.faq__title {
    font-size: clamp(2rem, 3.6vw, 3rem);
}

.faq__item {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--color-line-strong);
}

.faq__item:last-child {
    border-bottom: 1px solid var(--color-line-strong);
}

.faq__question {
    font-size: 1.1875rem;
    font-weight: 600;
}

.faq__answer {
    color: var(--color-text-soft);
}

/* --- Final call to action --- */
.final-cta {
    padding: 96px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    border: 1px solid var(--color-block-border);
    border-radius: var(--radius-xl);
    background: var(--color-block);
    color: var(--color-white);
    text-align: center;
}

.final-cta__title {
    max-width: 900px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.25rem, 4.6vw, 3.75rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.final-cta__title em {
    color: var(--color-cyan);
}

.final-cta__text {
    font-size: 1.125rem;
    color: var(--color-on-block-soft);
}

.final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding-top: 8px;
}

/* --- Contact --- */
.contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    gap: 80px;
    align-items: start;
}

.contact__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.contact__mail {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    font-weight: 600;
    color: var(--color-accent-on-surface);
    transition: border-color var(--transition);
}

.contact__mail:hover {
    border-color: var(--color-accent);
}

.contact__form {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form__label {
    font-size: 0.875rem;
    font-weight: 600;
}

.form__input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--color-line-strong);
    border-radius: 14px;
    background: var(--color-page);
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form__input::placeholder {
    color: var(--color-text-soft);
    opacity: 0.75;
}

.form__input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-focus-ring);
}

.form__textarea {
    min-height: 140px;
    resize: vertical;
}

/* Honeypot field: off screen for people, still there for bots */
.form__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* First layer of data protection information (lawyers' "Formulario web") */
.data-info {
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--color-page);
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--color-text-soft);
}

/* Collapsed until clicked (native <details>, no JS) */
.data-info__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    list-style: none;
    cursor: pointer;
}

.data-info__title::-webkit-details-marker {
    display: none;
}

.data-info__title .icon {
    transition: transform var(--transition);
}

.data-info[open] .data-info__title {
    margin-bottom: 10px;
}

.data-info[open] .data-info__title .icon {
    transform: rotate(180deg);
}

.data-info__list > div {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 6px 0;
    border-top: 1px solid var(--color-line);
}

.data-info__list dt {
    font-weight: 600;
    color: var(--color-text);
}

.data-info a,
.form__check a,
.form__recaptcha a {
    font-weight: 500;
    color: var(--color-accent-on-surface);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Google asks for this notice when its floating reCAPTCHA badge is hidden */
.form__recaptcha {
    margin-top: -8px;
    font-size: 0.75rem;
    line-height: 1.5;
    text-align: center;
    color: var(--color-text-soft);
}

.grecaptcha-badge {
    visibility: hidden;
}

.form__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-soft);
    cursor: pointer;
}

.form__check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-btn);
    cursor: pointer;
}

/* --- Waitlist dialog --- */
.waitlist {
    width: min(520px, calc(100% - 2 * var(--gutter)));
    max-width: none;
    max-height: calc(100dvh - 2 * var(--gutter));
    margin: auto;
    padding: 0;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-float);
    overflow-y: auto;
}

.waitlist::backdrop {
    background: rgba(4, 43, 46, 0.6);
}

/* The page behind stays put while the dialog is open */
body:has(.waitlist[open]) {
    overflow: hidden;
}

.waitlist__form {
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.waitlist__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: none;
    color: var(--color-text-soft);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.waitlist__close:hover {
    background: var(--color-page);
    color: var(--color-text);
}

.waitlist__title {
    padding-right: 40px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.875rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.waitlist__text {
    margin-top: -8px;
    color: var(--color-text-soft);
}

/* --- Footer --- */
.footer {
    padding: 80px 0 48px;
    border-top: 1px solid var(--color-line);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 40px;
}

.footer__brand {
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer__logo {
    height: 30px;
    width: auto;
}

.footer__tagline {
    font-size: 0.9375rem;
    color: var(--color-text-soft);
}

.footer__columns {
    display: flex;
    gap: 80px;
}

.footer__column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9375rem;
}

.footer__column a {
    color: var(--color-accent-text);
    transition: color var(--transition);
}

.footer__column a:hover {
    color: var(--color-text);
}

/* "Configurar cookies" opens the cookie banner; it looks like the links around it */
.footer__link-btn {
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    text-align: left;
    color: var(--color-accent-text);
    cursor: pointer;
    transition: color var(--transition);
}

.footer__link-btn:hover {
    color: var(--color-text);
}

.footer__langs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    padding: 20px 0;
    border-top: 1px solid var(--color-line);
    font-size: 0.875rem;
    color: var(--color-text-soft);
}

.footer__langs a {
    padding: 2px 0;
    transition: color var(--transition);
}

.footer__langs a:hover,
.footer__langs a[aria-current="true"] {
    color: var(--color-accent-text);
}

.footer__langs a[aria-current="true"] {
    font-weight: 600;
}

.footer__title {
    margin-bottom: 4px;
    font-size: 0.9375rem;
    font-weight: 600;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-line);
    font-size: 0.8125rem;
    color: var(--color-text-soft);
}

.footer__copyright a {
    color: var(--color-accent-text);
    transition: color var(--transition);
}

.footer__copyright a:hover {
    color: var(--color-text);
}

.footer__top-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
}

.footer__top-link:hover {
    color: var(--color-accent-text);
}

/* Pending data in the legal texts ("[-]"): impossible to miss on screen */
.placeholder {
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--color-chip);
    color: var(--color-accent-text);
    font-style: italic;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* --- Páginas legales --- */
.legal-page {
    min-height: 70vh;
    padding: calc(var(--header-height) + 64px) 0 96px;
}

.legal-page__header,
.legal-page__content {
    max-width: 800px;
    margin: 0 auto;
}

/* Translated legal texts: the Spanish version is the one that applies */
.legal-page__notice {
    margin-bottom: 32px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: var(--color-panel);
    font-size: 0.875rem;
    color: var(--color-text);
}

.legal-page__notice a {
    font-weight: 600;
    color: var(--color-accent-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-page__header {
    margin-bottom: 40px;
}

.legal-page__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent-text);
    transition: color var(--transition);
}

.legal-page__back:hover {
    color: var(--color-text);
}

.legal-page__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.legal-page__content h2 {
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-line);
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.5rem;
}

.legal-page__content h3 {
    margin: 28px 0 12px;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Sections are linked from the contact form: keep them clear of the fixed header */
.legal-page__content [id] {
    scroll-margin-top: calc(var(--header-height) + 16px);
}

.legal-page__content p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--color-text-soft);
}

/* Clause numbers as in the lawyers' documents (1., 2.1., 5.1.1., a)) */
.clause__num {
    margin-right: 4px;
    font-weight: 600;
    color: var(--color-text);
}

.legal-page__content h2 .clause__num,
.legal-page__content h3 .clause__num {
    color: var(--color-accent-text);
}

.legal-page__content .clause--l2,
.legal-page__content .clause--item {
    padding-left: 24px;
}

.legal-page__content ul ul {
    margin: 8px 0 0;
}

.legal-page__content a {
    font-weight: 500;
    color: var(--color-accent-text);
    text-decoration: underline;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.legal-page__content a:hover {
    color: var(--color-text);
}

.legal-page__content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-page__content ul li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 8px;
    line-height: 1.8;
    color: var(--color-text-soft);
}

.legal-page__content ul li::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 0.75em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.legal-page__content strong {
    color: var(--color-text);
}

.legal-page__table-wrapper {
    margin-bottom: 24px;
    overflow-x: auto;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
}

.legal-page__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.legal-page__table th {
    padding: 8px 16px;
    background: var(--color-deep);
    color: var(--color-white);
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 600;
}

.legal-page__table td {
    padding: 8px 16px;
    border-bottom: 1px solid var(--color-line);
    line-height: 1.5;
    color: var(--color-text-soft);
}

.legal-page__table tr:last-child td {
    border-bottom: none;
}

.legal-page__table tr:nth-child(even) {
    background: var(--color-page);
}

.legal-page__date {
    margin-top: 40px;
    font-size: 0.875rem;
    font-style: italic;
    color: var(--color-text-soft);
}

/* --- Language suggestion: a bar under the fixed header, in the visitor's language.
   It scrolls away with the page, and the script pushes the page down by its height --- */
.lang-banner {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-panel);
    font-size: 0.9375rem;
}

.lang-banner a {
    font-weight: 600;
    color: var(--color-accent-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lang-banner button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--color-text);
    cursor: pointer;
}

.lang-banner button:hover {
    background: var(--color-surface);
}

/* --- Banner de cookies (recuadro esquina) --- */
.cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    width: 380px;
    max-width: calc(100vw - 48px);
    padding: 24px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-float);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner__title {
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 1.125rem;
}

.cookie-banner__text {
    margin-bottom: 16px;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--color-text-soft);
}

.cookie-banner__text a {
    font-weight: 500;
    color: var(--color-accent-on-surface);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* When the two labels don't fit side by side, the buttons stack, still the same size */
.cookie-banner__btn {
    flex: 1 1 0;
    min-width: max-content;
    white-space: nowrap;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--color-btn);
    color: var(--color-btn-text);
    cursor: pointer;
    transition: background var(--transition);
}

/* Accept and Reject look the same: neither may be easier to pick than the other */
.cookie-banner__btn:hover {
    background: var(--color-btn-hover);
}

/* --- Animations on Scroll --- */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .tools,
    .faq {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .tools__intro {
        position: static;
    }

    .story__grid {
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 56px;
    }

    .contact {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .inside {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 40px;
        padding: 48px;
    }
}

/* Five links plus the buttons need ~1100px; below that the menu goes off-canvas */
@media (max-width: 1100px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 101;
        width: min(320px, 85vw);
        padding: 96px 32px 32px;
        background: var(--color-page);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav__menu.show {
        transform: translateX(0);
        box-shadow: -12px 0 40px rgba(9, 70, 74, 0.15);
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .nav__link {
        font-size: 1.125rem;
    }

    .nav__item--mobile {
        display: block;
    }

    .nav__close {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__actions {
        gap: 12px;
    }

    .nav__login {
        display: none;
    }
}

@media (max-width: 960px) {
    :root {
        --section-space: 88px;
    }

    .hero__grid,
    .compare,
    .steps,
    .inside,
    .story__grid,
    .business {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero__visual {
        padding-top: 16px;
    }

    .pillars {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .section__head--split {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .section__head--split > .section__text {
        max-width: 560px;
    }

    .compare__card {
        min-height: 0;
    }

    .inside__phone {
        max-width: 280px;
        margin: 0 auto;
    }

    .story {
        padding: 88px 0;
    }

    .business {
        gap: 32px;
        padding: 40px;
    }

    .final-cta {
        padding: 72px 32px;
    }
}

@media (max-width: 640px) {
    :root {
        --gutter: 16px;
        --section-space: 72px;
        --header-height: 68px;
    }

    .nav__logo-img {
        height: 28px;
    }

    .hero {
        padding: calc(var(--header-height) + 40px) 0 64px;
    }

    .hero__lead {
        font-size: 1.0625rem;
    }

    .hero__actions {
        flex-direction: column;
        align-self: stretch;
    }

    .btn--large {
        height: 56px;
        padding: 0 24px;
        font-size: 1rem;
    }

    .hero__stage {
        padding: 24px 32px 44px;
        border-radius: 40px;
    }

    .phone--hero {
        width: 240px;
    }

    .hero__visual {
        padding-bottom: 56px;
    }

    /* Wide enough for one line per row, so it stays below the phone */
    .float-card {
        right: auto;
        bottom: -56px;
        left: 50%;
        width: 260px;
        padding: 10px 14px;
        transform: translateX(-50%);
    }

    .compare__card,
    .step,
    .tool,
    .question,
    .contact__form,
    .waitlist__form {
        padding: 24px;
    }

    .question__peek {
        top: 30px;
        right: 24px;
    }

    .bubble {
        max-width: 90%;
    }

    .data-info__list > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .tools__grid,
    .questions,
    .question--wide {
        grid-template-columns: minmax(0, 1fr);
    }

    .question--wide .question__notification {
        grid-column: auto;
        grid-row: auto;
    }

    .inside {
        padding: 32px 20px;
    }

    .business {
        padding: 28px 20px;
    }

    .final-cta {
        padding: 56px 20px;
        border-radius: var(--radius-lg);
    }

    .final-cta__actions {
        flex-direction: column;
        align-self: stretch;
    }

    .footer {
        padding: 56px 0 32px;
    }

    .footer__top {
        flex-direction: column;
        gap: 40px;
    }

    .footer__columns {
        flex-wrap: wrap;
        gap: 32px 48px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
        max-width: none;
        padding: 20px;
    }

    .legal-page {
        padding: calc(var(--header-height) + 32px) 0 64px;
    }

    .legal-page__content h2 {
        font-size: 1.25rem;
    }

    .legal-page__table {
        font-size: 0.75rem;
    }

    .legal-page__table th,
    .legal-page__table td {
        padding: 4px 8px;
    }
}

/* The header button is repeated in the hero; on very narrow screens it does not fit */
@media (max-width: 420px) {
    .nav__actions .btn {
        display: none;
    }
}

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

    *,
    *::before,
    *::after {
        transition: none !important;
    }

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