/* =============================================================
   Flotica – marketing site styles
   Organized as: tokens → base → layout → components → pages → responsive
   ============================================================= */

@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@400;500&family=Wix+Madefor+Text:wght@400;500;600;700&display=swap");

/* ── Fonts ─────────────────────────────────────────────────── */
@font-face {
    font-family: "Wix Madefor Display";
    src: url("../font/WixMadeforDisplay-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Wix Madefor Display";
    src: url("../font/WixMadeforDisplay-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Wix Madefor Display";
    src: url("../font/WixMadeforDisplay-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Wix Madefor Display";
    src: url("../font/WixMadeforDisplay-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ── Design tokens ─────────────────────────────────────────── */
:root {
    /* Backgrounds */
    --bg-dark: #1e2633;
    --bg-dark-alt: #242f42;
    --bg-dark-deep: #141b26;
    --bg-light: #b6cbe9;
    --bg-light-soft: #dee8f6;

    /* Text */
    --text-light: #f2f9fe;
    --text-light-muted: #b6cbe9;
    --text-light-soft: #c8d4e6;
    --text-dark: #1e2633;
    --text-dark-muted: #3b4d6b;

    /* Accent */
    --accent: #ec5d3a;
    --accent-strong: #f87136;

    /* Layout */
    --container: min(1180px, 92vw);
    --container-narrow: min(960px, 92vw);
    --radius-card: 20px;
    --radius-button: 12px;
    --section-space: clamp(64px, 9vw, 110px);
    --container-hero: min(1228px, 92vw);

    /* Effects */
    --shadow-soft: 0 18px 42px rgba(16, 22, 30, 0.18);
    --shadow-card: 0 10px 30px rgba(16, 22, 30, 0.08);
    --border-light: 1px solid rgba(242, 249, 254, 0.12);
    --border-dark: 1px solid rgba(30, 38, 51, 0.12);

    /* Palette aliases */
    --surface-header-start: rgba(30, 38, 51, 0.96);
    --surface-header-mid: rgba(30, 38, 51, 0.9);
    --surface-header-end: rgba(30, 38, 51, 0.62);
    --surface-glass-start: rgba(255, 255, 255, 0.09);
    --surface-glass-end: rgba(255, 255, 255, 0.2);
    --surface-device-shell: rgba(38, 44, 57, 0.92);
    --surface-card-light: rgba(255, 255, 255, 0.55);
    --surface-card-soft: rgba(255, 255, 255, 0.4);
    --surface-card-strong: rgba(255, 255, 255, 0.97);
    --surface-card-strongest: rgba(255, 255, 255, 0.98);
    --surface-card-solid: #fff;
    --surface-panel-dark: rgba(30, 38, 51, 0.98);
    --surface-panel-dark-alt: rgba(36, 47, 66, 0.96);
    --surface-faq-dark: rgba(255, 255, 255, 0.04);
    --surface-field: rgba(30, 38, 51, 0.04);

    --text-on-dark-nav: #f4f6fa;
    --text-on-dark-strong: #fff;
    --text-on-dark-content: rgba(242, 249, 254, 0.87);
    --text-on-dark-card: rgba(242, 249, 254, 0.84);
    --text-on-dark-ui: rgba(242, 249, 254, 0.82);
    --text-on-dark-answer: rgba(242, 249, 254, 0.8);
    --text-on-dark-footer: rgba(242, 249, 254, 0.78);
    --text-on-dark-secondary: rgba(242, 249, 254, 0.72);
    --text-on-dark-tertiary: rgba(242, 249, 254, 0.7);
    --text-on-dark-quiet: rgba(242, 249, 254, 0.5);
    --text-on-dark-link: rgba(242, 249, 254, 0.85);
    --text-dark-placeholder: rgba(30, 38, 51, 0.45);

    --border-light-strong: 1px solid rgba(242, 249, 254, 0.35);
    --border-light-soft: 1px solid rgba(255, 255, 255, 0.09);
    --border-light-muted: 1px solid rgba(255, 255, 255, 0.07);
    --border-light-interactive: 1px solid rgba(242, 249, 254, 0.22);
    --border-light-hover: 1px solid rgba(242, 249, 254, 0.2);
    --border-light-faint: 1px solid rgba(242, 249, 254, 0.08);
    --border-light-quiet: 1px solid rgba(242, 249, 254, 0.06);
    --border-dark-soft: 1px solid rgba(30, 38, 51, 0.10);
    --border-dark-regular: 1px solid rgba(30, 38, 51, 0.15);
    --border-dark-strong: 1px solid rgba(30, 38, 51, 0.2);
    --border-dark-emphasis: 1px solid rgba(30, 38, 51, 0.22);
    --border-dark-contrast: 1px solid rgba(30, 38, 51, 0.3);
    --border-dark-faint: 1px solid rgba(30, 38, 51, 0.08);
    --border-accent-soft: 1px solid rgba(248, 113, 54, 0.4);
    --outline-accent-soft: 2px solid rgba(236, 93, 58, 0.4);

    --shadow-device: 0 22px 40px rgba(10, 16, 27, 0.25);
    --shadow-menu: 0 20px 36px rgba(11, 16, 24, 0.34);

    /* Typography */
    --font-display: "Wix Madefor Display", system-ui, -apple-system, sans-serif;
    --font-text: "Wix Madefor Text", system-ui, -apple-system, sans-serif;
    --type-nav-size: 16px;
    --type-nav-line: 24px;
    --type-nav-mobile-size: 14px;
    --type-eyebrow-size: 14px;
    --type-eyebrow-line: 1.2;
    --type-eyebrow-weight: 500;
    --type-eyebrow-tracking: 1px;
    --type-eyebrow-mobile-size: 13px;
    --type-eyebrow-mobile-line: 1.35;
    --type-lead-size: clamp(1rem, 1.75vw, 18px);
    --type-lead-line: 1.6;
    --type-lead-weight: 600;
    --type-lead-fixed-size: 18px;
    --type-lead-fixed-line: 1.6;
    --type-lead-fixed-weight: 600;
    --type-hero-size: clamp(2.95rem, 4vw, 3.375rem);
    --type-hero-line: 1.2;
    --type-hero-tracking: -2px;
    --type-section-size: clamp(2rem, 6vw, 3rem);
    --type-section-line: 1.2;
    --type-section-tracking: -2px;
    --type-feature-size: clamp(2rem, 5.25vw, 42px);
    --type-feature-line: 1.2;
    --type-feature-tracking: -1px;
    --type-team-size: clamp(2rem, 4.25vw, 34px);
    --type-team-line: 1;
    --type-team-tracking: -1px;
    --type-card-size: clamp(1.375rem, 3vw, 26px);
    --type-card-line: 1.3;
    --type-card-tracking: -1px;
    --type-card-lg-size: clamp(1.5rem, 3.5vw, 28px);
    --type-card-lg-line: 1.1;
    --type-card-lg-tracking: -1px;
    --type-card-highlight-size: clamp(1.25rem, 2.7vw, 22px);
    --type-card-highlight-line: 1.5;
    --type-card-highlight-tracking: -1px;
    --type-card-highlight-weight: 600;
    --type-faq-size: clamp(1.125rem, 2.25vw, 22px);
    --type-faq-line: 1.5;
    --type-faq-tracking: -1px;
    --type-meta-size: 13px;
    --type-meta-tracking: 0.06em;
    --type-body-regular-size: 16px;
    --type-body-regular-line: 1.5;
    --type-body-small-size: 15px;
    --type-body-small-line: 1.55;
    --type-body-small-relaxed-size: 15px;
    --type-body-small-relaxed-line: 1.6;
    --type-body-compact-size: 14px;
    --type-body-compact-line: 1.6;
    --type-body-compact-weight: 500;
    --type-body-caption-size: 14px;
    --type-body-caption-line: 1.55;

    /* Responsive style controls */
    --header-row-padding-top: 18px;
    --header-row-padding-bottom: 16px;
    --hero-section-padding-top: clamp(44px, 4.5vw, 62px);
    --hero-section-padding-bottom: clamp(12px, 2vw, 28px);
    --mobile-menu-width: min(262px, calc(100vw - 32px));
    --type-nav-current-size: var(--type-nav-size);
    --type-eyebrow-current-size: var(--type-eyebrow-size);
    --type-eyebrow-current-line: var(--type-eyebrow-line);
}

/* ── Base ──────────────────────────────────────────────────── */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

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

p {
    margin: 0;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 500;
}

/* Heading colors per surface */
.section.dark h1 {
    color: var(--text-light);
}

.section.dark h2 {
    color: var(--text-light-muted);
    font-weight: 500;
}

.section.dark h3,
.section.dark h4,
.section.dark h5 {
    color: var(--text-light);
}

.section.light h1,
.section.light h2,
.section.soft h1,
.section.soft h2 {
    color: var(--text-dark);
}

.section.light h3,
.section.light h4,
.section.light h5,
.section.soft h3,
.section.soft h4,
.section.soft h5 {
    color: var(--text-dark);
}

/* ── Text roles ───────────────────────────────────────────── */
.text-nav,
.top-nav {
    font-size: var(--type-nav-current-size);
    line-height: var(--type-nav-line);
}

.text-eyebrow,
.eyebrow {
    font-size: var(--type-eyebrow-current-size);
    line-height: var(--type-eyebrow-current-line);
    font-weight: var(--type-eyebrow-weight);
    letter-spacing: var(--type-eyebrow-tracking);
    text-transform: uppercase;
}

.text-lead,
.lead {
    font-size: var(--type-lead-size);
    line-height: var(--type-lead-line);
    font-weight: var(--type-lead-weight);
}

.text-lead-fixed,
.hero-copy .lead,
.feature-copy>p {
    font-size: var(--type-lead-fixed-size);
    line-height: var(--type-lead-fixed-line);
    font-weight: var(--type-lead-fixed-weight);
}

.text-hero-title,
.hero-section .hero-copy h1 {
    font-size: var(--type-hero-size);
    line-height: var(--type-hero-line);
    letter-spacing: var(--type-hero-tracking);
}

.text-section-title,
.section-intro h2 {
    font-size: var(--type-section-size);
    line-height: var(--type-section-line);
    letter-spacing: var(--type-section-tracking);
}

.text-feature-title,
.feature-copy h3 {
    font-size: var(--type-feature-size);
    line-height: var(--type-feature-line);
    letter-spacing: var(--type-feature-tracking);
}

.text-team-title,
.team-copy h3 {
    font-size: var(--type-team-size);
    line-height: var(--type-team-line);
    letter-spacing: var(--type-team-tracking);
}

.text-card-title,
.bento-card h4,
.bento-card-tall h4 {
    font-size: var(--type-card-size);
    line-height: var(--type-card-line);
    letter-spacing: var(--type-card-tracking);
}

.text-card-title-lg,
.crisis-card h4 {
    font-size: var(--type-card-lg-size);
    line-height: var(--type-card-lg-line);
    letter-spacing: var(--type-card-lg-tracking);
}

.text-card-title-highlight,
.bonus-card h5 {
    font-size: var(--type-card-highlight-size);
    line-height: var(--type-card-highlight-line);
    letter-spacing: var(--type-card-highlight-tracking);
    font-weight: var(--type-card-highlight-weight);
}

.text-faq-title,
.faq-question {
    font-size: var(--type-faq-size);
    line-height: var(--type-faq-line);
    letter-spacing: var(--type-faq-tracking);
}

.text-meta-label,
.contact-channels h6,
.footer-col h4 {
    font-size: var(--type-meta-size);
    letter-spacing: var(--type-meta-tracking);
    text-transform: uppercase;
}

.text-body-regular,
.crisis-card p,
.testimonial p {
    font-size: var(--type-body-regular-size);
    line-height: var(--type-body-regular-line);
}

.text-body-small,
.bonus-card p,
.footer-col a {
    font-size: var(--type-body-small-size);
    line-height: var(--type-body-small-line);
}

.text-body-small-relaxed,
.faq-answer {
    font-size: var(--type-body-small-relaxed-size);
    line-height: var(--type-body-small-relaxed-line);
}

.text-body-compact,
.bento-card p,
.bento-card-tall p,
.team-copy p {
    font-size: var(--type-body-compact-size);
    line-height: var(--type-body-compact-line);
    font-weight: var(--type-body-compact-weight);
}

.text-body-caption,
.footer-brand p {
    font-size: var(--type-body-caption-size);
    line-height: var(--type-body-caption-line);
}

/* ── Layout primitives ─────────────────────────────────────── */
.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header .container,
.hero-section .container {
    width: var(--container-hero);
}

.container.narrow {
    width: var(--container-narrow);
    margin: 0 auto;
}

.section {
    padding: var(--section-space) 0;
}

.section.dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section.light {
    background: var(--bg-light);
    color: var(--text-dark);
}

.section.soft {
    background: var(--bg-light-soft);
    color: var(--text-dark);
}

.stack {
    display: grid;
    gap: clamp(28px, 4vw, 44px);
}

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

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

.section-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.section-intro .lead {
    margin: 0 auto;
}

/* Typography helpers */
.eyebrow {
    margin: 0 0 14px;
    color: var(--accent-strong);
}

.section.light .eyebrow,
.section.soft .eyebrow {
    color: var(--accent);
}

.lead {
    max-width: 780px;
    color: var(--text-light-muted);
}

.section.light .lead,
.section.soft .lead {
    color: var(--text-dark);
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, var(--surface-header-start) 0%, var(--surface-header-mid) 72%, var(--surface-header-end) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: var(--header-row-padding-top) 0 var(--header-row-padding-bottom);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    margin-left: auto;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: -36px;
}

.logo-link img {
    width: 229px;
    height: auto;
    object-fit: contain;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-on-dark-ui);
}

.nav-toggle-bar.short {
    width: 14px;
    margin-left: 6px;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.top-nav a {
    color: var(--text-on-dark-nav);
    transition: color 0.2s ease;
}

.top-nav a:hover,
.top-nav a.active {
    color: var(--accent-strong);
}

.language-menu {
    position: relative;
    flex-shrink: 0;
    padding-left: 18px;
}

.language-menu::before {
    content: "|";
    position: absolute;
    left: 0;
    top: 50%;
    color: var(--text-on-dark-quiet);
    font-size: 18px;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-on-dark-nav);
    cursor: pointer;
    font-size: var(--type-nav-current-size);
    line-height: var(--type-nav-line);
    transition: color 0.2s ease;
}

.language-toggle:hover,
.language-menu[data-open="true"] .language-toggle {
    color: var(--accent-strong);
}

.language-toggle-label,
.language-option {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.language-toggle-label {
    text-decoration: none;
}

.language-toggle-caret {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.18s ease;
}

.language-menu[data-open="true"] .language-toggle-caret {
    transform: rotate(-135deg) translate(-1px, -1px);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 74px;
    padding: 8px;
    border-radius: 16px;
    border: var(--border-light);
    background: var(--surface-panel-dark);
    box-shadow: var(--shadow-menu);
    z-index: 130;
}

.language-menu[data-open="true"] .language-dropdown {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.language-option {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text-on-dark-nav);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease, background 0.2s ease;
}

.language-option:hover,
.language-option.active,
.language-option[aria-checked="true"] {
    color: var(--accent-strong);
    background: rgba(255, 255, 255, 0.06);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-row.center {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 12px;
    background: var(--accent);
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.25;
    min-height: 48px;
    padding: 12px 25px 12px 28px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: none;
}

.btn:hover {
    background: var(--accent-strong);
    transform: translateY(-1px);
    box-shadow: none;
}

.btn.alt {
    background: transparent;
    color: inherit;
    border: var(--border-light-strong);
    box-shadow: none;
}

.section.light .btn.alt,
.section.soft .btn.alt {
    border: var(--border-dark-contrast);
    color: var(--text-dark);
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    font-size: 18px;
    flex-shrink: 0;
}


/* ── Hero ──────────────────────────────────────────────────── */
.hero-section {
    overflow: clip;
    padding-top: var(--hero-section-padding-top);
    padding-bottom: var(--hero-section-padding-bottom);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 585px;
    align-items: center;
    gap: clamp(14px, 2.4vw, 34px);
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding-top: 30px;
}

.hero-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42em;
}

.hero-eyebrow span {
    white-space: nowrap;
}

.hero-copy .eyebrow {
    margin-bottom: 41px;
    color: var(--accent-strong);
}

.hero-section .hero-copy h1 {
    max-width: 601px;
    color: var(--text-light);
    margin-bottom: 22px;
    white-space: pre-line;
}

.hero-copy .lead {
    max-width: 675px;
    margin-bottom: 32px;
    color: var(--text-light-muted);
}

.hero-visual {
    position: relative;
    min-height: 500px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
    isolation: isolate;
}

.hero-art {
    position: absolute;
    top: 0;
    right: 0;
    width: 585px;
    height: 500px;
    transform: translateX(-100px);
    transform-origin: top right;
}

.hero-visual img {
    display: block;
    height: auto;
}

.hero-glow {
    position: absolute;
    top: -96px;
    left: -200px;
    width: 158%;
    max-width: none;
    z-index: 0;
    opacity: 0.6;
}

.hero-chevron {
    position: absolute;
    top: 72px;
    left: 70px;
    width: 180px;
    height: 400px;
    object-fit: fill;
    z-index: 2;
}

.hero-copy .btn {
    min-width: 329px;
}

.hero-device {
    position: absolute;
    top: 0;
    right: 2px;
    width: 357px;
    padding: 8px;
    border-radius: 28px;
    background: linear-gradient(158deg, var(--surface-glass-start) 0%, var(--surface-glass-end) 100%);
    box-shadow: var(--shadow-device);
    z-index: 1;
}

.hero-device::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 27px;
    background: var(--surface-device-shell);
    border: var(--border-light-soft);
}

.hero-road {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 341 / 495;
    object-fit: cover;
    object-position: 10% 50%;
    border-radius: 23px;
}

.hero-overlay {
    position: absolute;
    right: -42px;
    bottom: 12px;
    width: 292px;
    z-index: 3;
}

/* ── Image hover ─────────────────────────────────────────── */
.crisis-icon,
.bento-time-base,
.bento-time-icon-shell,
.bento-cost-img img,
.bento-tablet-img img,
.features-hero-img img,
.feature-screenshot img,
.bonus-icon,
.author img {
    transform-origin: center;
    transition: transform 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {

    .crisis-icon:hover,
    .bento-time-base:hover,
    .bento-time-icon-shell:hover,
    .bento-cost-img img:hover,
    .bento-tablet-img img:hover,
    .features-hero-img img:hover,
    .feature-screenshot img:hover,
    .bonus-icon:hover,
    .author img:hover {
        transform: scale(1.05);
    }
}

/* ── Cards (generic) ──────────────────────────────────────── */
.card {
    border-radius: var(--radius-card);
    padding: 24px;
    border: var(--border-light);
    background: var(--bg-dark-alt);
}

.card p {
    color: var(--text-on-dark-card);
}

.section.light .card,
.section.soft .card {
    background: var(--surface-card-light);
    border: var(--border-dark-soft);
}

.section.light .card p,
.section.soft .card p {
    color: var(--text-dark-muted);
}

/* ── Crisis cards ──────────────────────────────────────────── */
.crisis-card {
    background: linear-gradient(180deg, rgba(112, 129, 194, 0.94) 0%, rgba(80, 94, 147, 0.96) 56%, rgba(34, 42, 66, 0.98) 100%);
    border-radius: var(--radius-card);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 34px rgba(10, 14, 24, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.crisis-icon {
    width: 128px;
    height: 128px;
    object-fit: contain;
    margin-bottom: 24px;
    display: block;
}

.crisis-card h4 {
    margin-bottom: 16px;
}

.crisis-card p {
    color: var(--text-on-dark-strong);
}

.crisis-divider {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    margin-top: 18px;
    color: var(--accent);
}

.crisis-divider svg {
    width: 70px;
    height: 70px;
    fill: none;
    stroke: currentColor;
    stroke-width: 6.75;
    stroke-linecap: square;
    stroke-linejoin: miter;
    filter: drop-shadow(0 10px 16px rgba(236, 93, 58, 0.12));
}

/* ── Bento grid ────────────────────────────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.bento-left {
    display: grid;
    gap: 18px;
}

.bento-card,
.bento-card-tall {
    border-radius: 23px;
    padding: 32px;
    overflow: hidden;
    border: none;
    color: var(--text-dark);
    box-shadow: none;
}

.bento-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: linear-gradient(225deg, rgb(255, 255, 255) 10%, rgb(200, 211, 227) 100%);
}

.bento-card-tall {
    display: flex;
    flex-direction: column;
    gap: 28px;
    background: linear-gradient(139deg, rgb(255, 255, 255) 9%, rgb(200, 211, 227) 100%);
}

.bento-card-copy {
    flex: 1 1 0;
    min-width: 0;
}

.bento-card h4,
.bento-card-tall h4 {
    margin-bottom: 6px;
}

.bento-card p,
.bento-card-tall p {
    color: var(--text-dark);
}

.bento-card-media {
    flex-shrink: 0;
}

.bento-time-img {
    position: relative;
    width: clamp(200px, 50%, 400px);
    height: 200px;
    border-radius: 24px;
    overflow: visible;
}

.bento-time-base {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

.bento-time-icon-shell {
    position: absolute;
    left: 15px;
    bottom: 15px;
    width: clamp(102px, 51%, 112px);
    aspect-ratio: 112 / 108;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 27px;
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.2) 100%);
    box-shadow: 0 7.5px 18.74px rgba(0, 0, 0, 0.13), 0 2px 4px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.bento-time-icon-frame {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.bento-time-icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bento-cost-img {
    width: clamp(168px, 38%, 230px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-cost-img img {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
}

.bento-tablet-img {
    border-radius: 24px;
    overflow: hidden;
}

.bento-tablet-img img {
    width: 100%;
    height: auto;
    display: block;
}

.bento-card-tall .bento-card-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.bento-card-tall .bento-card-copy h4,
.bento-card-tall .bento-card-copy p {
    margin: 0;
}

/* ── Features section ──────────────────────────────────────── */
.features-stack {
    width: var(--container-hero);
}

.features-hero-img {
    max-width: 1143px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
}

.features-hero-img img {
    width: 100%;
    aspect-ratio: 1143 / 583;
    object-fit: cover;
    object-position: center;
}

.feature-rows {
    display: grid;
    gap: 80px;
}

.feature-row {
    display: grid;
    grid-template-columns: minmax(0, 545px) minmax(0, 633px);
    justify-content: start;
    gap: 50px;
    align-items: center;
    padding: 0;
}

.feature-copy {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-row.reverse .feature-copy {
    order: 2;
}

.feature-row.reverse .feature-screenshot {
    order: 1;
}

.feature-step {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(236, 93, 58, 0.68);
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-badge {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
}

.feature-copy h3 {
    margin-bottom: 16px;
}

.feature-copy>p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.check-list-row {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-list-row li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--text-dark-muted);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.45;
}

.check-list-row li img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: -11px;
}

.feature-screenshot {
    padding: 12px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 0;
}

.feature-screenshot img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ── Bonus cards ───────────────────────────────────────────── */
.bonus-card {
    background: var(--surface-card-strongest);
    border-radius: var(--radius-card);
    padding: 36px 28px 30px;
    text-align: center;
    border: var(--border-dark-faint);
    box-shadow: var(--shadow-card);
}

.bonus-icon {
    width: auto;
    max-width: min(168px, 100%);
    height: 96px;
    object-fit: contain;
    margin: 0 auto 22px;
    display: block;
}

.section.dark .bonus-card h5,
.bonus-card h5 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.bonus-card p {
    color: var(--text-dark-muted);
}

.check-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.check-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface-card-solid);
    border: var(--border-dark-faint);
    border-radius: 999px;
    padding: 14px 22px;
    font-size: 15px;
    line-height: 1.2;
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: var(--shadow-card);
}

.check-chip-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: 0 0 auto;
}

/* ── Team rows ─────────────────────────────────────────────── */
.team-stack {
    display: grid;
    gap: clamp(40px, 6vw, 72px);
}

.team-row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
    gap: clamp(24px, 4vw, 72px);
    align-items: center;
    padding: 0;
}

.team-row.reverse {
    direction: rtl;
}

.team-row.reverse>* {
    direction: ltr;
}

.team-copy {
    width: 100%;
    max-width: 43ch;
    justify-self: start;
}

.team-copy h3 {
    margin-bottom: 8px;
}

.team-role {
    display: block;
    font-size: clamp(1rem, 2vw, 20px);
    line-height: 1.5;
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 18px;
}

.team-copy p {
    color: var(--text-dark);
}

.team-copy p+p {
    margin-top: 12px;
}

.team-photo {
    width: min(100%, 420px);
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    overflow: hidden;
    justify-self: end;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
}

.team-photo[data-photo="teamAdam"] img {
    object-position: 50% 0%;
}

.team-photo[data-photo="teamBartosz"] img {
    object-position: 50% 5%;
}

.team-photo[data-photo="teamWojciech"] img {
    object-position: 50% 14%;
}

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials-marquee {
    --marquee-gap: 22px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.testimonials-track {
    display: flex;
    gap: var(--marquee-gap);
    width: max-content;
    animation: testimonials-marquee 30s linear infinite;
    will-change: transform;
}

.testimonials-marquee:hover .testimonials-track,
.testimonials-marquee:focus-within .testimonials-track {
    animation-play-state: paused;
}

.testimonials-group {
    display: flex;
    gap: var(--marquee-gap);
}

.testimonial {
    display: grid;
    gap: 14px;
    flex: 0 0 clamp(320px, 34vw, 460px);
    min-height: 100%;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.testimonial:hover {
    transform: translateY(-2px);
    border: var(--border-light-hover);
    background: var(--surface-panel-dark-alt);
}

.testimonial p {
    color: var(--text-on-dark-strong);
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: var(--border-light-interactive);
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--text-light);
}

.author-role {
    font-size: 14px;
    color: var(--text-on-dark-secondary);
}

@keyframes testimonials-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - (var(--marquee-gap) / 2)));
    }
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-wrap {
    display: grid;
    gap: 12px;
    max-width: 880px;
    margin: 0 auto;
    width: 100%;
}

.faq-item {
    border: var(--border-light);
    border-radius: 16px;
    background: var(--surface-faq-dark);
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
    border: var(--border-accent-soft);
}

.section.light .faq-item,
.section.soft .faq-item {
    border: var(--border-dark-regular);
    background: var(--surface-card-soft);
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text-on-dark-strong);
    text-align: left;
    padding: 20px 22px;
    cursor: pointer;
    font: inherit;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    font-weight: 600;
}

.faq-question-text {
    flex: 1 1 auto;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(130, 142, 157, 1);
    flex-shrink: 0;
    margin-top: 1px;
    transition: transform 0.2s ease;
}

.faq-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.section.light .faq-icon,
.section.soft .faq-icon {
    color: rgba(130, 142, 157, 1);
}

.faq-answer {
    padding: 0 22px 20px;
    color: var(--text-on-dark-answer);
    max-width: 92ch;
}

.section.light .faq-answer,
.section.soft .faq-answer {
    color: var(--text-dark-muted);
}

.faq-answer[hidden] {
    display: none;
}

/* ── Contact card ──────────────────────────────────────────── */
.contact-card {
    background: var(--surface-card-strong);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 44px);
    color: var(--text-dark);
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
    box-shadow: var(--shadow-soft);
}

.contact-card .lead {
    color: var(--text-dark);
}

.contact-highlight {
    color: var(--accent);
    font-weight: 600;
}

.contact-info {
    display: grid;
    gap: 18px;
}

.contact-channels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 6px;
}

.contact-channel {
    display: grid;
    gap: 10px;
}

.contact-channel-head {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-channel-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1065e3;
    flex: 0 0 auto;
    font-size: 24px;
    line-height: 1;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.contact-channels h6 {
    margin: 0;
    color: #212a40;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: normal;
    text-transform: none;
}

.contact-channels p {
    margin: 0;
    color: #485e79;
    font-family: "Prompt", system-ui, -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

.contact-channels p a,
.contact-channels p a:visited {
    color: inherit;
}

.contact-channels a {
    color: inherit;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 10px;
    border: var(--border-dark-strong);
    background: var(--surface-field);
    color: var(--text-dark);
    padding: 12px 14px;
    font: inherit;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-dark-placeholder);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: var(--outline-accent-soft);
    outline-offset: 1px;
    border-color: var(--accent);
}

.form-msg {
    font-size: 14px;
    color: var(--accent);
    min-height: 20px;
}

.form-msg[data-state="error"] {
    color: #b94a48;
}

.radar-feedback-section .section-intro {
    max-width: 1080px;
}

.radar-feedback-section .section-intro h1 {
    max-width: 24ch;
    margin-left: auto;
    margin-right: auto;
}

.contact-card--radar {
    max-width: 1080px;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    background: linear-gradient(135deg, rgba(248, 249, 254, 0.98) 0%, rgba(222, 230, 245, 0.98) 100%);
}

.radar-feedback-copy {
    gap: 28px;
}

.radar-feedback-paragraphs {
    display: grid;
    gap: 28px;
}

.radar-feedback-paragraphs p {
    color: #212a40;
    font-family: "Prompt", system-ui, -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.7;
}

.radar-feedback-channels {
    margin-top: 4px;
}

.radar-feedback-form {
    gap: 16px;
}

.radar-feedback-form input,
.radar-feedback-form textarea {
    border-radius: 12px;
    padding: 16px 18px;
    border: var(--border-dark-soft);
    background: rgba(255, 255, 255, 0.92);
}

.radar-feedback-form textarea {
    min-height: 136px;
    resize: none;
}

.radar-feedback-form .btn {
    width: 100%;
    min-height: 56px;
    justify-content: center;
}

.section-anchor {
    display: block;
    position: relative;
    top: -96px;
    height: 0;
    visibility: hidden;
}

/* ── Thank you ────────────────────────────────────────────── */
.thank-you-section {
    position: relative;
    overflow: clip;
    padding-top: clamp(112px, 16vh, 156px);
    padding-bottom: clamp(136px, 20vh, 208px);
    isolation: isolate;
}

.thank-you-section::before,
.thank-you-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.95;
    filter: blur(14px);
}

.thank-you-section::before {
    left: min(-10vw, -120px);
    top: 48%;
    width: min(34vw, 520px);
    height: min(50vw, 760px);
    transform: translateY(-50%);
    background: radial-gradient(circle at 35% 42%, rgba(86, 136, 212, 0.22) 0%, rgba(57, 102, 176, 0.16) 32%, rgba(30, 38, 51, 0) 72%);
}

.thank-you-section::after {
    right: min(-12vw, -140px);
    top: 24%;
    width: min(42vw, 680px);
    height: min(52vw, 820px);
    background: radial-gradient(circle at 48% 50%, rgba(61, 110, 186, 0.18) 0%, rgba(40, 77, 136, 0.12) 30%, rgba(30, 38, 51, 0) 72%);
}

.thank-you-shell {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: clamp(28px, 4vw, 40px);
    text-align: center;
    max-width: 940px;
    min-height: clamp(420px, 56vh, 620px);
    margin: 0 auto;
}

.thank-you-title {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(2.6rem, 4.6vw, 4.25rem);
    line-height: 1.06;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.thank-you-copy {
    max-width: 900px;
    margin: 0;
    font-size: clamp(1.125rem, 1.8vw, 1.4rem);
    line-height: 1.75;
    letter-spacing: -0.01em;
    color: var(--text-on-dark-content);
}

.thank-you-copy strong {
    color: var(--text-light);
    font-weight: 600;
}

.thank-you-shell .btn {
    min-width: 262px;
}

.thank-you-section--radar {
    padding-top: clamp(96px, 14vh, 132px);
    padding-bottom: clamp(86px, 14vh, 128px);
}

.thank-you-section--radar .thank-you-shell {
    min-height: clamp(320px, 44vh, 440px);
    max-width: 980px;
}

.thank-you-section--radar .thank-you-title {
    max-width: none;
}

.thank-you-section--radar .thank-you-copy {
    max-width: 960px;
}

/* ── 404 ──────────────────────────────────────────────────── */
.not-found-page {
    background:
        radial-gradient(circle at 20% 0%, rgba(37, 72, 109, 0.28), transparent 30%),
        radial-gradient(circle at 80% 18%, rgba(236, 93, 58, 0.16), transparent 26%),
        linear-gradient(180deg, #09111b 0%, #050b12 100%);
}

.not-found-page .site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header--404 {
    position: relative;
}

.site-header--404 .logo-link {
    margin-left: 0;
}

.site-header--404 .logo-link img {
    width: auto;
    height: 34px;
}

.header-row--404 {
    gap: 32px;
    padding-top: 28px;
    padding-bottom: 18px;
}

.top-nav--404 {
    gap: 22px;
}

.top-nav--404 a {
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.4;
}

.not-found-section {
    padding-top: clamp(96px, 14vh, 132px);
    padding-bottom: clamp(108px, 16vh, 176px);
}

.not-found-shell {
    max-width: 760px;
    min-height: auto;
    gap: 22px;
}

.not-found-code {
    margin: 0 0 10px;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: clamp(76px, 14vw, 132px);
    line-height: 0.88;
    font-weight: 800;
    letter-spacing: -0.08em;
    background: linear-gradient(180deg, #3a4451 0%, #101821 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.not-found-title {
    max-width: 12ch;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #f2f9fe 30%, #d4edff 55%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.not-found-copy {
    max-width: 480px;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #828e9d;
}

.not-found-shell .btn {
    min-height: 56px;
    padding: 0 28px;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(236, 93, 58, 0.2);
}

.not-found-shell .btn:hover,
.not-found-shell .btn:focus-visible {
    box-shadow: 0 14px 28px rgba(236, 93, 58, 0.2);
}

.site-footer--404 {
    padding-top: 0;
    background: transparent;
}

.footer-bottom--404 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    justify-content: center;
}

.footer-bottom--404 p {
    font-family: "Manrope", system-ui, sans-serif;
    color: #828e9d;
}

/* ── Privacy ───────────────────────────────────────────────── */
.privacy-article {
    display: grid;
    gap: 16px;
    max-width: 980px;
    color: var(--text-on-dark-content);
}

.privacy-article h2 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    margin-bottom: 6px;
}

.privacy-article h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-top: 10px;
    margin-bottom: 0;
}

.privacy-article ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-dark);
    border-top: none;
    margin-top: auto;
    padding: 56px 0 28px;
    color: var(--text-on-dark-footer);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 0.95fr 0.95fr;
    gap: 32px;
}

.footer-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 0;
    align-items: start;
    max-width: 360px;
}

.footer-brand img {
    width: 56px;
    height: auto;
}

.footer-brand p {
    margin: 0;
    color: rgba(242, 249, 254, 0.92);
    white-space: pre-line;
}

.footer-col {
    display: grid;
    gap: 14px;
    align-content: start;
}

.footer-col h4 {
    margin: 0;
    color: rgba(242, 249, 254, 0.94);
    font-size: 18px;
    line-height: 1.28;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.footer-col a {
    color: rgba(242, 249, 254, 0.56);
    width: fit-content;
    transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col a.active {
    color: var(--accent-strong);
}

.footer-bottom {
    margin-top: 52px;
    padding-top: 18px;
    border-top: var(--border-light-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(242, 249, 254, 0.5);
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(242, 249, 254, 0.56);
    transition: color 0.2s ease;
}

.footer-social-link:hover {
    color: var(--text-on-dark-strong);
}

.footer-social-badge {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    background: var(--text-on-dark-strong);
    color: var(--bg-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
    text-transform: lowercase;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {

    :root {
        /* Tablet style controls */
        --hero-section-padding-top: 24px;
        --hero-section-padding-bottom: 56px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 30px;
    }

    .hero-glow {
        left: -100px;
    }

    .hero-copy {
        order: 2;
        padding-top: 0;
        text-align: center;
    }

    .hero-copy .eyebrow {
        justify-content: center;
        max-width: 360px;
        margin: 0 auto 28px;
    }

    .hero-copy h1 {
        max-width: 12ch;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(3rem, 8vw, 4.4rem);
        line-height: 1.06;
    }

    .hero-copy .btn-row {
        justify-content: center;
    }

    .hero-visual {
        order: 1;
        width: min(100%, 480px);
        min-height: 406px;
        margin: 0 auto;
    }

    .hero-art {
        left: 50%;
        right: auto;
        transform: translateX(calc(-50% - 100px)) scale(0.81);
        transform-origin: top center;
    }

    .hero-chevron {
        left: 87px;
        width: 217px;
    }

    .bento-card,
    .bento-card-tall .bento-card-copy {
        gap: 22px;
    }

    .features-hero-img {
        max-width: none;
    }

    .thank-you-section::before {
        left: -24%;
        top: 58%;
        width: min(58vw, 460px);
        height: min(82vw, 620px);
    }

    .thank-you-section::after {
        right: -18%;
        top: 14%;
        width: min(70vw, 560px);
        height: min(86vw, 680px);
    }

    .thank-you-shell {
        min-height: clamp(360px, 48vh, 520px);
    }

    .thank-you-section--radar .thank-you-shell {
        min-height: clamp(280px, 36vh, 380px);
    }

    .feature-rows {
        gap: 44px;
    }

    .check-list-row li img {
        width: 38px;
        height: 38px;
        margin-top: -6px;
    }
}

@media (max-width: 900px) {

    .site-header .container,
    .hero-section .container {
        width: min(720px, calc(100vw - 48px));
    }

    .header-row {
        position: relative;
        align-items: center;
        flex-direction: row;
        gap: 12px;
    }

    .header-actions {
        gap: 8px;
    }

    .logo-link img {
        width: 122px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .top-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: var(--mobile-menu-width);
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 18px 18px 20px;
        border-radius: 18px;
        border: var(--border-light);
        background: var(--surface-panel-dark);
        box-shadow: var(--shadow-menu);
        z-index: 120;
    }

    .site-header[data-menu-open="true"] .top-nav {
        display: flex;
    }

    .language-dropdown {
        top: calc(100% + 8px);
        right: 0;
    }

    .language-menu {
        padding-left: 0;
    }

    .language-menu::before {
        content: none;
    }

    .language-toggle-label {
        text-decoration: underline;
        text-decoration-thickness: 1.5px;
        text-underline-offset: 0.22em;
    }

    .language-toggle-caret {
        display: none;
    }

    .hero-grid,
    .bento-grid,
    .feature-row,
    .team-row,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-card:not(.contact-card--radar) {
        grid-template-columns: minmax(190px, 0.82fr) minmax(0, 1fr);
        gap: 24px;
    }

    .contact-card:not(.contact-card--radar) .contact-info {
        display: contents;
    }

    .contact-card:not(.contact-card--radar) .contact-info>.lead {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .contact-card:not(.contact-card--radar) .contact-form {
        grid-column: 2;
        grid-row: 2;
    }

    .contact-card:not(.contact-card--radar) .contact-channels {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
        margin-top: 0;
        gap: 24px;
    }

    .grid-3,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom {
        align-items: flex-start;
    }

    .team-row {
        justify-items: center;
        text-align: center;
    }

    .team-copy {
        width: 100%;
        max-width: 50ch;
        justify-self: center;
    }

    .team-photo {
        justify-self: center;
        width: min(100%, 380px);
    }

    .team-row.reverse {
        direction: ltr;
    }

    .bento-card {
        flex-direction: column;
        align-items: stretch;
    }

    .bento-card,
    .bento-card-tall {
        padding: 28px;
    }

    .bento-card .bento-card-copy,
    .bento-card-tall .bento-card-copy {
        order: 1;
        width: 100%;
        text-align: center;
    }

    .bento-card .bento-card-media,
    .bento-card-tall .bento-tablet-img {
        order: 2;
        width: min(100%, 480px);
        margin: 0 auto;
    }

    .bento-time-img,
    .bento-cost-img {
        width: 100%;
        max-width: none;
    }

    .bento-time-img {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .bento-cost-img img {
        width: min(100%, 320px);
        max-width: none;
    }

    .bento-card-tall .bento-card-copy {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        order: 2;
        padding-top: 0;
        text-align: center;
    }

    .hero-copy .eyebrow {
        justify-content: center;
        max-width: min(100%, 720px);
        margin: 0 auto 28px;
    }

    .hero-copy h1 {
        max-width: 12ch;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(3rem, 8vw, 4.4rem);
        line-height: 1.06;
    }

    .hero-visual {
        order: 1;
        width: min(100%, 480px);
        min-height: 406px;
        margin: 0 auto;
    }

    .hero-art {
        left: 50%;
        right: auto;
        transform: translateX(calc(-50% - 100px)) scale(0.81);
        transform-origin: top center;
    }

    .feature-row.reverse .feature-copy,
    .feature-row.reverse .feature-screenshot {
        order: initial;
    }
}

@media (max-width: 760px) {

    :root {
        /* Mobile style controls */
        --header-row-padding-bottom: 10px;
        --hero-section-padding-top: 34px;
        --hero-section-padding-bottom: clamp(360px, 48vh, 620px);
        --type-nav-current-size: var(--type-nav-mobile-size);
        --type-eyebrow-current-size: var(--type-eyebrow-mobile-size);
        --type-eyebrow-current-line: var(--type-eyebrow-mobile-line);
    }

    .site-header .container {
        width: calc(100vw - 100px);
    }

    .header-row {
        position: relative;
        align-items: center;
        flex-direction: row;
        gap: 12px;
    }

    .header-actions {
        gap: 8px;
    }

    .logo-link img {
        width: 122px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .top-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: var(--mobile-menu-width);
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 18px 18px 20px;
        border-radius: 18px;
        border: var(--border-light);
        background: var(--surface-panel-dark);
        box-shadow: var(--shadow-menu);
        z-index: 120;
    }

    .site-header[data-menu-open="true"] .top-nav {
        display: flex;
    }

    .language-dropdown {
        top: calc(100% + 8px);
        right: 0;
    }

    .language-menu {
        padding-left: 0;
    }

    .language-menu::before {
        content: none;
    }

    .language-toggle-label {
        text-decoration: underline;
        text-decoration-thickness: 1.5px;
        text-underline-offset: 0.22em;
    }

    .language-toggle-caret {
        display: none;
    }

    .section-anchor {
        top: -72px;
    }

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

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .team-row {
        justify-items: center;
        text-align: center;
    }

    .team-copy,
    .team-photo {
        justify-self: center;
    }

    .hero-copy {
        text-align: center;
    }

    .thank-you-section {
        padding-top: clamp(72px, 11vh, 104px);
        padding-bottom: clamp(92px, 15vh, 140px);
    }

    .thank-you-section::before {
        left: -42%;
        top: 72%;
        width: min(100vw, 420px);
        height: min(148vw, 560px);
    }

    .thank-you-section::after {
        right: -32%;
        top: 8%;
        width: min(96vw, 420px);
        height: min(132vw, 520px);
    }

    .thank-you-shell {
        min-height: auto;
        gap: 24px;
    }

    .thank-you-title {
        max-width: 12ch;
    }

    .thank-you-copy {
        line-height: 1.65;
    }

    .site-header--404 .header-row--404 {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .site-header--404 .top-nav--404 {
        display: flex;
        position: static;
        width: auto;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 14px 22px;
        padding: 0;
        border: 0;
        background: none;
        box-shadow: none;
    }

    .site-header--404 .logo-link img {
        width: auto;
        height: 30px;
    }

    .not-found-section {
        padding-top: clamp(72px, 11vh, 104px);
        padding-bottom: clamp(92px, 15vh, 140px);
    }

    .not-found-shell {
        gap: 24px;
    }

    .not-found-copy {
        font-size: 17px;
    }

    .contact-card--radar {
        padding: 24px;
    }

    .radar-feedback-section .section-intro h1,
    .thank-you-section--radar .thank-you-title {
        max-width: 12ch;
    }

    .radar-feedback-paragraphs {
        gap: 20px;
    }

    .radar-feedback-form textarea {
        min-height: 124px;
    }

    .bento-card {
        flex-direction: column;
        align-items: stretch;
    }

    .bento-time-img,
    .bento-cost-img {
        width: 100%;
        max-width: none;
    }

    .bento-time-img {
        aspect-ratio: 16 / 10;
    }

    .bento-time-icon-shell {
        left: 15px;
        bottom: 15px;
    }

    .bento-cost-img img {
        width: min(100%, 280px);
        max-width: none;
    }

    .bento-card-tall .bento-card-copy {
        grid-template-columns: 1fr;
    }

    .hero-eyebrow span:nth-child(2) {
        display: none;
    }

    .btn {
        justify-content: space-between;
        padding: 16px 20px 16px 22px;
    }

    .features-hero-img img {
        max-height: 300px;
    }

    .testimonials-marquee {
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .testimonials-track {
        width: 100%;
        display: grid;
        gap: 16px;
        animation: none;
    }

    .testimonials-group {
        display: contents;
    }

    .testimonials-group[aria-hidden="true"] {
        display: none;
    }

    .testimonial {
        width: auto;
        flex-basis: auto;
    }

    .hero-visual {
        display: block;
        width: min(100%, 372px);
        min-height: 334px;
        margin: 0 auto;
    }

    .hero-art {
        left: 50%;
        right: auto;
        transform: translateX(calc(-50% - 80px)) scale(0.7);
        transform-origin: top center;
    }

    .hero-copy h1 {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(2.15rem, 10.4vw, 3rem);
        line-height: 1.08;
    }

    .hero-chevron {
        display: block !important;
        opacity: 1;
        height: auto;
    }

    .hero-device {
        position: absolute;
        margin: 0;
        padding: 6px;
        border-radius: 24px;
    }

    .hero-device::before {
        border-radius: 23px;
    }

    .hero-road {
        border-radius: 20px;
    }

    .hero-overlay {
        left: auto;
        transform: none;
        opacity: 0.94;
        z-index: 3;
    }

    .section {
        padding: 56px 0;
    }

    .contact-card:not(.contact-card--radar) {
        grid-template-columns: 1fr;
    }

    .contact-card:not(.contact-card--radar) .contact-info {
        display: contents;
    }

    .contact-card:not(.contact-card--radar) .contact-info>.lead {
        grid-column: 1;
        grid-row: 1;
    }

    .contact-card:not(.contact-card--radar) .contact-form {
        grid-column: 1;
        grid-row: 2;
    }

    .contact-card:not(.contact-card--radar) .contact-channels {
        grid-column: 1;
        grid-row: 3;
        gap: 20px;
    }
}

@media (max-width: 500px) {
    .hero-visual {
        width: min(100%, 318px);
        min-height: 286px;
    }

    .hero-art {
        transform: translateX(calc(-50% - 40px)) scale(0.54);
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-track {
        animation: none;
    }

    .testimonial {
        transition: none;
    }

    .crisis-icon,
    .bento-time-base,
    .bento-time-icon-shell,
    .bento-cost-img img,
    .bento-tablet-img img,
    .features-hero-img img,
    .feature-screenshot img,
    .bonus-icon,
    .author img {
        transition: none;
    }

    .crisis-icon:hover,
    .bento-time-base:hover,
    .bento-time-icon-shell:hover,
    .bento-cost-img img:hover,
    .bento-tablet-img img:hover,
    .features-hero-img img:hover,
    .feature-screenshot img:hover,
    .bonus-icon:hover,
    .author img:hover {
        transform: none;
    }
}