@font-face {
    font-family: "Public Sans";
    src: url("/fonts/public-sans-latin-400-700.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Google Sans Flex";
    src: url("/fonts/google-sans-flex-latin-500-700.woff2") format("woff2");
    font-weight: 500 700;
    font-style: normal;
    font-display: swap;
    font-stretch: 100%;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --color-bg: #f6f2ea;
    --color-panel: #ffffff;
    --color-card-bg: #fbf8f2;
    --color-border: #e4dccc;
    --color-ink: #1c2a38;
    --color-sub: #4c5a68;
    --color-navy: #16324f;
    --color-accent: #c4793a;
    --color-accent-text: #8f5321;
    --color-accent-soft: #efdcc6;
    --font-heading: "Google Sans Flex", "Public Sans", sans-serif;
    --font-body: "Public Sans", sans-serif;
    --ink: var(--color-ink);
    --muted: var(--color-sub);
    --soft: var(--color-bg);
    --paper: var(--color-card-bg);
    --surface: var(--color-panel);
    --line: var(--color-border);
    --primary: var(--color-navy);
    --primary-2: var(--color-accent-text);
    --accent: var(--color-accent);
    --accent-soft: var(--color-accent-soft);
    --shadow: 0 24px 60px rgba(23, 35, 54, 0.12);
    --shadow-hover: 0 22px 54px rgba(23, 35, 54, 0.14);
}

/* Inline SVG icons replace the former icon font. The glyph tracks 1em. */
.bi > svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    overflow-x: clip;
    color: var(--muted);
    background: var(--color-bg);
    font-family: var(--font-body);
    font-synthesis: none;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

[id] {
    scroll-margin-top: 9rem;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 2000;
    padding: 0.65rem 0.85rem;
    color: #fff;
    background: var(--primary);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.navbar {
    min-height: 76px;
    padding: 0.75rem 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--primary);
    font-weight: 800;
}

.navbar-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.navbar .nav-link {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-menu {
    min-width: 18rem;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(23, 35, 54, 0.12);
}

.navbar .dropdown-item {
    display: grid;
    gap: 0.12rem;
    padding: 0.62rem 0.7rem;
    border-radius: 6px;
    color: var(--primary);
    font-weight: 800;
}

.navbar .dropdown-item span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
    background: var(--soft);
    color: var(--primary);
}

.nav-cta {
    padding: 0.7rem 1rem !important;
    border: 1px solid var(--primary);
    border-radius: 6px;
    color: var(--primary) !important;
}

.section {
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-heading {
    max-width: 760px;
}

.section-heading-center {
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    text-align: center;
}

h1,
h2,
h3,
.navbar-brand {
    font-family: var(--font-heading);
    letter-spacing: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-weight: 600;
    line-height: 1.15;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
    font-size: 1.12rem;
}

p {
    color: var(--muted);
}

.eyebrow {
    margin: 0 0 0.8rem;
    color: var(--color-accent-text);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0.82rem 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 28px rgba(27, 53, 96, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    border-color: var(--color-ink);
    background: var(--color-ink);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.72);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 9rem;
    background: var(--soft);
    overflow: hidden;
}

/* Hero LCP image: a real <img> so the fetchpriority preload applies to the
   painted element (was a CSS background, which double-downloaded). The <picture>
   handles responsive/format selection; .hero-bg above it holds only the
   gradient overlays that keep the headline readable. */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(244, 247, 245, 0.93) 0%, rgba(244, 247, 245, 0.82) 42%, rgba(23, 35, 54, 0.18) 72%, rgba(23, 35, 54, 0.28) 100%),
        linear-gradient(0deg, rgba(23, 35, 54, 0.14), rgba(23, 35, 54, 0.14));
}

.hero > .container {
    z-index: 2;
}

.hero h1 {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(2.4rem, 4.5vw, 3.75rem);
}

.hero h1 span {
    display: block;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-top: 0.55rem;
}

.hero-description {
    max-width: 650px;
    margin: 1.35rem 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.hero-reassurance {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    max-width: 680px;
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
}

.hero-reassurance li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-reassurance li::before {
    content: "";
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: var(--primary-2);
}

.hero-reassurance a {
    color: inherit;
    text-decoration-line: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
}

.hero-reassurance a:hover,
.hero-reassurance a:focus-visible {
    color: var(--primary);
}

.hero-visual {
    position: relative;
    min-height: 560px;
}

.profile-card {
    position: absolute;
    right: 3%;
    bottom: 9%;
    width: min(100%, 430px);
    padding: clamp(1.4rem, 3vw, 1.9rem);
    border: 1px solid rgba(220, 229, 223, 0.9);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 26px 70px rgba(23, 35, 54, 0.18);
    backdrop-filter: blur(18px);
}

.profile-card img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(27, 53, 96, 0.14);
}

.profile-card strong {
    display: block;
    margin-top: 1rem;
    color: var(--primary);
    font-size: 1.35rem;
}

.profile-card p {
    margin: 0.45rem 0 0;
}

.situation-card > i,
.outcome-grid i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--primary-2), transparent 88%);
    color: var(--primary-2);
    font-size: 1.25rem;
}

.light-section {
    background: var(--soft);
}

.mockup-frame {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.situation-card,
.process-card,
.proof-notes article {
    height: 100%;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.situation-card:hover,
.process-card:hover,
.proof-notes article:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--primary-2), transparent 68%);
    box-shadow: var(--shadow-hover);
}

.situation-card h3,
.process-card h3,
.outcome-grid h3 {
    margin: 1rem 0 0;
}

.situation-card p,
.process-card p,
.outcome-grid p {
    margin: 0.6rem 0 0;
}

.situation-card a,
.outcome-grid a {
    text-decoration: none;
}

.dark-section {
    background: var(--primary);
    color: #fff;
}

.dark-section h2,
.dark-section h3,
.dark-section a {
    color: #fff;
}

.dark-section p {
    color: rgba(255, 255, 255, 0.78);
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.outcome-grid article {
    height: 100%;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.outcome-grid i {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.mockup-frame {
    background: #fff;
}

.mockup-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.mockup-note {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(23, 35, 54, 0.12);
    font-weight: 800;
}

.mockup-note i {
    color: var(--primary-2);
}

@media (min-width: 992px) {
    .outcomes-visual {
        align-self: flex-end;
    }
}

.process-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 10px 22px rgba(27, 53, 96, 0.18);
    font-size: 0.86rem;
    font-weight: 900;
}

.process-card span {
    color: var(--color-accent-text);
    background: var(--accent-soft);
    border: 1px solid var(--color-accent);
    box-shadow: 0 10px 22px rgba(196, 121, 58, 0.16);
}

.process-card span {
    margin-bottom: 1rem;
}

.proof-notes {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.9rem;
}

.proof-notes strong,
.proof-notes span {
    display: block;
}

.proof-notes span {
    margin-top: 0.25rem;
    color: var(--muted);
}

.proof-notes a {
    display: inline-block;
    margin-top: 0.75rem;
    font-weight: 800;
}

.final-cta {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--color-navy);
    color: #fff;
}

.final-cta h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.final-cta p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
}

.contact-intro {
    max-width: 560px;
}

.contact-expectations {
    display: grid;
    gap: 1rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.contact-expectations li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 0.85rem;
}

.contact-expectations i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.contact-expectations strong,
.contact-expectations span {
    display: block;
}

.contact-expectations strong {
    margin-bottom: 0.15rem;
    color: #fff;
    font-family: var(--font-heading);
}

.contact-expectations span {
    color: rgba(255, 255, 255, 0.74);
}

.contact-card {
    display: grid;
    gap: 1rem;
    padding: clamp(1.15rem, 2vw, 1.5rem);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
}

.contact-form-field--full {
    grid-column: 1 / -1;
}

.contact-card label,
.contact-card label span {
    display: grid;
    gap: 0.35rem;
}

.contact-card label span {
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 900;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    min-height: 46px;
    padding: 0.65rem 0.75rem;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.contact-card textarea {
    min-height: 116px;
    resize: vertical;
}

.contact-card .btn {
    width: 100%;
}

.contact-form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.contact-form-optional {
    display: inline;
    color: var(--muted);
    font-weight: 600;
}

.contact-form-help {
    display: block;
    margin: 0.35rem 0 0.55rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.5;
}

.contact-question-link {
    margin-top: 1rem;
}

.contact-question-link a {
    color: #d7f4ec;
    font-weight: 700;
}

.contact-question-link a:hover,
.contact-question-link a:focus-visible {
    color: #fff;
}

.contact-form-conversation-option {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
}

.contact-card .contact-form-conversation-option input {
    width: 1.15rem;
    min-height: 1.15rem;
    margin-top: 0.2rem;
    padding: 0;
    accent-color: var(--primary-2);
}

.contact-form-conversation-option strong,
.contact-form-conversation-option small {
    display: block;
}

.contact-form-conversation-option small {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.5;
}

.contact-form-status {
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 700;
}

.contact-form-status--error {
    border: 1px solid #b42318;
    background: #fff1f0;
    color: #8f1d14;
}

.contact-form-success h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-form-success p {
    color: var(--ink);
}

.contact-links {
    display: grid;
    gap: 0.45rem;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 800;
}

.back-to-top {
    position: fixed;
    top: 58%;
    right: max(1rem, calc((100vw - 1140px) / 4));
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: var(--primary);
    box-shadow: 0 14px 34px rgba(23, 35, 54, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) scale(0.94);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    color: var(--primary-2);
    box-shadow: 0 18px 42px rgba(23, 35, 54, 0.2);
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(217, 164, 65, 0.55);
    outline-offset: 3px;
}

.back-to-top i {
    position: relative;
    z-index: 1;
    font-size: 1.7rem;
    line-height: 1;
}

.back-to-top__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.back-to-top__track,
.back-to-top__progress {
    fill: none;
    stroke-width: 3;
}

.back-to-top__track {
    stroke: #e4e9e6;
}

.back-to-top__progress {
    stroke: var(--primary-2);
    stroke-linecap: round;
    transition: stroke-dashoffset 120ms linear;
}

.site-footer {
    padding: 0;
    background: #0f2438;
    color: #fff;
}

.site-footer__accent {
    height: 6px;
    background: var(--color-accent);
}

.site-footer__main {
    padding-top: clamp(2.75rem, 5vw, 4rem);
    padding-bottom: clamp(2.75rem, 5vw, 4rem);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.84);
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 0.22em;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #fff;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.25fr) minmax(150px, 0.7fr) minmax(220px, 0.95fr) minmax(120px, 0.55fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
}

.site-footer__brand img {
    width: 44px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.96;
}

.site-footer__intro {
    max-width: 28rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.site-footer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 1.25rem;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    background: var(--color-accent-soft);
    color: var(--color-navy) !important;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.site-footer__button:hover,
.site-footer__button:focus {
    background: #fff;
    color: var(--color-navy) !important;
}

.site-footer__heading {
    margin: 0 0 0.7rem;
    color: var(--color-accent-soft);
    font-family: var(--font-heading);
    font-size: 0.78125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__links,
.site-footer__contact,
.site-footer__profiles {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links a,
.site-footer__contact a,
.site-footer__profiles a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.90625rem;
    font-weight: 500;
    line-height: 1.4;
}

.site-footer__contact li {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.90625rem;
    line-height: 1.55;
}

.site-footer__legal {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #091a29;
}

.site-footer__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8125rem;
}

.site-footer__meta p {
    margin: 0;
    color: inherit;
    font-size: inherit;
}

.site-footer__meta nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.site-footer__meta a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 500;
}

.cookie-consent {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1100;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    width: min(680px, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid rgba(19, 37, 66, 0.14);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(19, 37, 66, 0.18);
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__copy strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 0.98rem;
}

.cookie-consent__copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.cookie-consent__copy a {
    color: var(--primary);
    font-weight: 800;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.cookie-consent__button {
    min-height: 42px;
    border: 1px solid rgba(19, 37, 66, 0.18);
    border-radius: 999px;
    padding: 0.6rem 0.9rem;
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
}

.cookie-consent__button--primary {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.cookie-consent__button--secondary {
    background: #fff;
    color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 1399.98px) {
    .back-to-top {
        top: auto;
        right: 1rem;
        bottom: 1rem;
        transform: translateY(0) scale(0.94);
    }

    .back-to-top.is-visible {
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0 0.4rem;
    }

    .nav-cta {
        display: inline-flex;
        margin-top: 0.45rem;
    }

    .hero {
        min-height: auto;
        padding-top: 9.5rem;
    }

    .hero-bg {
        background:
            linear-gradient(180deg, rgba(244, 247, 245, 0.93) 0%, rgba(244, 247, 245, 0.86) 56%, rgba(23, 35, 54, 0.16) 100%),
            linear-gradient(0deg, rgba(23, 35, 54, 0.12), rgba(23, 35, 54, 0.12));
    }

    .hero-visual {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }

    .profile-card {
        position: relative;
        inset: auto;
        width: 100%;
    }

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

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

    .cookie-consent {
        grid-template-columns: 1fr;
    }

    .cookie-consent__actions {
        justify-content: flex-start;
    }

}

@media (max-width: 575.98px) {
    .hero h1 {
        max-width: 12ch;
        font-size: clamp(2.25rem, 10.8vw, 2.7rem);
        line-height: 1.08;
    }

    .hero h1 span {
        font-size: clamp(1.05rem, 5.6vw, 1.35rem);
    }

    .hero-actions,
    .hero-actions .btn,
    .hero-reassurance {
        display: grid;
        gap: 0.5rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.65;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-field--full {
        grid-column: auto;
    }

    .section {
        padding: 3.6rem 0;
    }

    .hero.section {
        padding-top: 9.5rem;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .site-footer__grid > * + * {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

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

    .cookie-consent {
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100vw - 1.5rem);
    }

    .cookie-consent__actions,
    .cookie-consent__button {
        width: 100%;
    }
}
