@font-face {
    font-family: "GT America";
    src: url("/assets/fonts/gt-america-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GT America";
    src: url("/assets/fonts/gt-america-medium.woff2") format("woff2");
    font-weight: 500 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-brand: "GT America", sans-serif;
    --bg: #ffffff;
    --ink: #222221;
    --ink-plum: #1b0624;
    --muted: #898683;
    --line: rgba(26, 23, 21, 0.1);
    --line-soft: rgba(26, 23, 21, 0.06);
    --btn: #160f0c;
    --badge: rgba(27, 6, 36, 0.88);
    --surface: #f2f0ea;
    --surface-2: #f0f0ee;
    --surface-muted: var(--surface-2);
    --text-muted: var(--muted);
    --accent-wave: url("/assets/hero-wave.png");
    --accent-blue: #dce8f2;
    --accent-blue-deep: #b8cfe0;
    --wrap: min(100%, 1280px);
    --max: 1280px;
    --radius-lg: 8px;
    --gutter: clamp(20px, 5vw, 80px);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --text-h1: clamp(40px, 4.6vw, 56px);
    --leading-h1: 1.05;
    --tracking-title: -5%;
    --tracking-h1: var(--tracking-title);
    --text-h2: clamp(28px, 3.2vw, 40px);
    --leading-h2: 1.1;
    --tracking-h2: var(--tracking-title);
    --tracking-h3: var(--tracking-title);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-brand);
}

body {
    margin: 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body.page-home,
body.page-guides {
    /* layout hooks */
}

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

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

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

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

p,
h1,
h2,
h3,
figure,
blockquote {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-brand);
}

h1 {
    font-size: var(--text-h1);
    font-weight: 400;
    line-height: var(--leading-h1);
    letter-spacing: var(--tracking-h1);
    color: var(--ink-plum);
    text-wrap: balance;
}

h2 {
    font-size: var(--text-h2);
    font-weight: 400;
    line-height: var(--leading-h2);
    letter-spacing: var(--tracking-h2);
    color: var(--ink-plum);
}

h3 {
    font-weight: 500;
    letter-spacing: var(--tracking-h3);
    color: var(--ink-plum);
}

::selection {
    background: var(--ink-plum);
    color: #fff;
}

.wrap {
    width: var(--wrap);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.7s var(--ease),
        transform 0.7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Nav */
.site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition:
        background-color 0.55s var(--ease),
        backdrop-filter 0.55s var(--ease),
        -webkit-backdrop-filter 0.55s var(--ease),
        border-color 0.55s var(--ease);
}

.site-nav:not(.is-scrolled):not(.is-menu-open) {
    background-color: transparent !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.site-nav.is-scrolled,
.site-nav.is-menu-open {
    background-color: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: var(--line-soft);
}

.nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    min-height: 72px;
    width: var(--wrap);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
}

.brand-mark {
    width: 14px;
    height: 14px;
    background:
        linear-gradient(45deg, transparent 42%, var(--ink) 42%, var(--ink) 58%, transparent 58%),
        linear-gradient(-45deg, transparent 42%, var(--ink) 42%, var(--ink) 58%, transparent 58%),
        linear-gradient(0deg, transparent 42%, var(--ink) 42%, var(--ink) 58%, transparent 58%),
        linear-gradient(90deg, transparent 42%, var(--ink) 42%, var(--ink) 58%, transparent 58%);
}

.brand-name {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.03em;
    text-transform: lowercase;
    color: var(--ink-plum);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.nav-links a {
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 15px;
    letter-spacing: -0.02em;
    color: var(--ink);
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-links a:hover {
    background: rgba(26, 23, 21, 0.06);
}

.nav-links a[aria-current="page"] {
    background: rgba(27, 6, 36, 0.06);
    color: var(--ink-plum);
}

.nav-item--menu {
    position: relative;
}

.nav-menu-trigger {
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font: inherit;
    font-size: 15px;
    letter-spacing: -0.02em;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.25s var(--ease);
}

.nav-menu-trigger:hover,
.nav-item--menu.is-active .nav-menu-trigger,
.nav-item--menu.is-open .nav-menu-trigger {
    background: rgba(26, 23, 21, 0.06);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 240px;
    padding: 8px;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(27, 6, 36, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
    z-index: 60;
}

.nav-item--menu.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    white-space: nowrap;
}

.nav-dropdown a:hover {
    background: var(--surface);
}

.breadcrumbs {
    margin-bottom: 24px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    opacity: 0.4;
}

.breadcrumbs a:hover {
    color: var(--ink-plum);
}

.service-hub {
    padding: clamp(100px, 12vw, 140px) 0 clamp(64px, 8vw, 96px);
}

/* Homepage services grid */
.services {
    padding: clamp(80px, 10vw, 140px) 0;
}

.services-head {
    max-width: 640px;
}

.services-head .module-tag {
    display: inline-flex;
}

.services-head h2 {
    margin-top: 20px;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink-plum);
}

.services-lead {
    max-width: 520px;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 32px);
    margin-top: clamp(48px, 6vw, 72px);
    padding-top: 32px;
}

.services-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    scroll-margin-top: 96px;
    transition:
        border-color 0.25s var(--ease),
        transform 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}

.services-card:hover {
    border-color: rgba(27, 6, 36, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(27, 6, 36, 0.07);
}

.services-card:hover .services-card__link {
    opacity: 1;
}

.services-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: clamp(16px, 2vw, 20px) clamp(20px, 2.5vw, 28px);
    background: var(--surface);
    border-bottom: 1px solid var(--line-soft);
}

.services-card__top .module-tag {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 7px 12px;
    min-height: 0;
    line-height: 1;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink-plum);
}

.services-card__delivery {
    font-size: 12px;
    letter-spacing: -0.01em;
    color: var(--muted);
    white-space: nowrap;
}

.services-card__visual {
    display: flex;
    align-items: center;
    min-height: clamp(168px, 18vw, 208px);
    padding: clamp(20px, 2.5vw, 28px);
    background: linear-gradient(180deg, var(--surface) 0%, rgba(245, 243, 240, 0.45) 100%);
    border-bottom: 1px solid var(--line-soft);
}

.services-card__visual > * {
    width: 100%;
}

.services-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: clamp(20px, 2.5vw, 28px);
}

.services-card__body h3 {
    padding: 0;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: var(--tracking-title);
    color: var(--ink-plum);
}

.services-card__body > p {
    margin: 10px 0 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

.services-card__features {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.services-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink);
}

.services-card__features li::before {
    content: "";
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin-top: 7px;
    border-radius: 999px;
    background: var(--ink-plum);
}

.services-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 22px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: var(--tracking-title);
    color: var(--ink-plum);
    opacity: 0.72;
    transition: opacity 0.2s var(--ease);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-hub__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.service-hub__card {
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3vw, 32px);
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: #fff;
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.service-hub__card:hover {
    border-color: rgba(27, 6, 36, 0.16);
    transform: translateY(-2px);
}

.service-hub__card h2 {
    margin-top: 12px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 400;
    line-height: 1.3;
    color: var(--ink-plum);
}

.service-hub__card p {
    margin-top: 10px;
    flex: 1;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.service-hub__card .text-link {
    margin-top: 16px;
}

.service-page.guide-article {
    padding-top: clamp(100px, 12vw, 120px);
}

.service-related {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line-soft);
}

.service-related h2 {
    font-size: 22px;
    font-weight: 400;
    color: var(--ink-plum);
}

.service-related__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.service-related__card {
    padding: 18px;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: var(--surface);
}

.service-related__card strong {
    display: block;
    margin-top: 8px;
    font-weight: 400;
    font-size: 15px;
    color: var(--ink-plum);
}

.work--page {
    padding: clamp(100px, 12vw, 140px) 0 clamp(64px, 8vw, 80px);
}

.contact-page {
    padding: clamp(100px, 12vw, 140px) 0 0;
}

.contact-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.contact-page__email {
    margin-top: 24px;
    text-align: center;
    font-size: 15px;
    color: var(--muted);
}

.contact-page__email a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-grid.footer-grid--enterprise .footer-brand {
    width: 100%;
    max-width: 320px;
    text-align: center;
}

.footer-grid.footer-grid--enterprise .footer-tagline {
    margin-left: auto;
    margin-right: auto;
}

.footer-grid.footer-grid--enterprise .footer-contact {
    justify-content: center;
}

.footer-grid.footer-grid--enterprise nav {
    align-items: center;
    width: max-content;
    max-width: 100%;
}

.footer-tagline {
    margin-top: 16px;
    max-width: 280px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.footer-contact__email {
    font-size: 14px;
    color: var(--ink);
    transition: opacity 0.2s var(--ease);
}

.footer-contact__email:hover {
    opacity: 0.6;
}

.footer-contact__linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: opacity 0.2s var(--ease);
}

.footer-contact__linkedin svg {
    display: block;
    filter: grayscale(100%);
    opacity: 0.55;
}

.footer-contact__linkedin:hover svg {
    opacity: 0.85;
}

.footer-bottom--enterprise {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    text-align: center;
}

.footer-bottom--enterprise nav {
    display: flex;
    gap: 16px;
    font-size: 13px;
}

.footer-bottom--enterprise a {
    color: var(--muted);
}

.footer-bottom--enterprise a:hover {
    color: var(--ink-plum);
}

@media (max-width: 960px) {
    .service-hub__grid,
    .service-related__grid {
        grid-template-columns: 1fr;
    }

    .footer-grid.footer-grid--enterprise {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(40px, 8vw, 64px);
    }

    .footer-grid.footer-grid--enterprise .footer-brand {
        grid-column: 1 / -1;
        max-width: 360px;
        justify-self: center;
    }

    .nav-dropdown {
        display: none;
    }
}

.nav-cta.btn {
    min-height: 40px;
    padding: 10px 18px;
    font-size: 14px;
}

.nav-cta {
    justify-self: end;
}

.nav-toggle {
    display: none;
    justify-self: end;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    padding: 0;
    position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav-toggle::before { top: 13px; }
.nav-toggle span { top: 19px; }
.nav-toggle::after { top: 25px; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--accent {
    position: relative;
    isolation: isolate;
    gap: 0;
    background: transparent;
    color: #fff;
    overflow: hidden;
    transition: color 0.55s var(--ease);
}

.btn--accent::before,
.btn--accent::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    transition: opacity 0.55s var(--ease);
}

.btn--accent::before {
    background: var(--btn);
    opacity: 1;
}

.btn--accent::after {
    background: var(--accent-wave) center / cover no-repeat;
    opacity: 0;
}

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

.btn--accent:hover::before {
    opacity: 0;
}

.btn--accent:hover::after {
    opacity: 1;
}

.btn__text,
.btn__arrow,
.btn__calendar-icon {
    position: relative;
    z-index: 1;
}

.btn__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 0;
    min-width: 0;
    margin-left: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-14px);
    transition:
        width 0.55s var(--ease),
        min-width 0.55s var(--ease),
        margin 0.55s var(--ease),
        opacity 0.5s var(--ease),
        transform 0.55s var(--ease);
}

.btn__arrow svg {
    display: block;
    flex-shrink: 0;
}

.btn--accent:hover .btn__arrow {
    width: 14px;
    min-width: 14px;
    margin-left: 10px;
    opacity: 1;
    transform: translateX(0);
}

.btn--accent:hover .btn__arrow svg {
    animation: accentArrowTravel 1.35s var(--ease) infinite;
}

@keyframes accentArrowTravel {
    0%,
    100% {
        transform: translateX(-4px);
        opacity: 0.65;
    }

    50% {
        transform: translateX(4px);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn--accent:hover .btn__arrow svg {
        animation: none;
    }

    .btn__arrow {
        transition-duration: 0.01ms;
    }
}

.btn--accent.btn--accent-active,
.btn--accent.btn--accent-active:hover {
    color: var(--ink);
}

.btn--accent.btn--accent-active::before,
.btn--accent.btn--accent-active:hover::before {
    opacity: 0;
}

.btn--accent.btn--accent-active::after,
.btn--accent.btn--accent-active:hover::after {
    opacity: 1;
}

.btn--accent.btn--accent-active .btn__arrow,
.btn--accent.btn--accent-active:hover .btn__arrow {
    width: 14px;
    min-width: 14px;
    margin-left: 10px;
    opacity: 1;
    transform: translateX(0);
}

.btn--accent.btn--accent-active .btn__arrow svg,
.btn--accent.btn--accent-active:hover .btn__arrow svg {
    animation: accentArrowTravel 1.35s var(--ease) infinite;
}

@media (prefers-reduced-motion: reduce) {
    .btn--accent.btn--accent-active .btn__arrow svg,
    .btn--accent.btn--accent-active:hover .btn__arrow svg {
        animation: none;
    }
}

.btn--calendar {
    gap: 6px;
    padding-left: 12px;
    padding-right: 12px;
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
}

.btn--calendar:hover {
    background: var(--surface-2);
    border-color: var(--accent-blue-deep);
}

.btn__calendar-icon {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.btn__arrow-upright {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn__arrow-upright svg {
    display: block;
}

.btn--lg {
    min-height: 40px;
    padding: 12px 24px;
    font-size: 12px;
}

.btn--accent.btn--lg:hover .btn__arrow {
    width: 14px;
    min-width: 14px;
}

.btn--outline {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
    flex-shrink: 0;
}

.btn--outline:hover {
    background: var(--surface-2);
}

.text-link {
    font-size: 12px;
    color: var(--ink);
}

.text-link:hover {
    opacity: 0.7;
}

/* Agency signpost (homepage) */
.agency-signpost {
    position: relative;
    z-index: 40;
    margin-top: calc(72px + env(safe-area-inset-top, 0px));
    border-bottom: 1px solid var(--line-soft);
    background: rgba(220, 232, 242, 0.45);
}

.agency-signpost__inner {
    padding: 10px 0;
    text-align: center;
}

.agency-signpost p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ink);
}

.agency-signpost a {
    font-weight: 500;
    color: var(--ink-plum);
    text-decoration: none;
}

.agency-signpost a:hover {
    opacity: 0.75;
}

.page-home:has(.agency-signpost) .hero {
    padding-top: clamp(48px, 8vh, 72px);
}

/* Agencies landing */
.hero--agencies .hero-cta-row {
    margin-top: clamp(24px, 3vh, 32px);
}

.hero--agencies .hero-cta-row .btn {
    margin-top: 0;
}

.agency-problem {
    padding: clamp(56px, 8vw, 96px) 0;
}

.agency-problem__head {
    max-width: 640px;
}

.agency-problem__head h2 {
    margin-top: 16px;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink-plum);
}

.agency-problem__body {
    max-width: 640px;
    margin-top: clamp(24px, 3vw, 32px);
}

.agency-problem__body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
}

.agency-problem__body p + p {
    margin-top: 16px;
}

.work--agencies {
    padding-top: clamp(56px, 8vw, 88px);
}

.work-card--static {
    pointer-events: none;
    cursor: default;
}

.work-card--static:hover {
    border-color: var(--line-soft);
    transform: none;
}

/* Hero */
.hero {
    padding: clamp(128px, 15vh, 168px) 0 clamp(48px, 6vh, 72px);
    background: var(--bg);
    overflow: visible;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 5vw, 64px);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: none;
}

.hero-content--animate > * {
    opacity: 0;
    transform: translateY(16px);
    animation: heroIn 0.85s var(--ease) forwards;
}

.hero-content--animate .hero-badge { animation-delay: 0.05s; }
.hero-content--animate h1 { animation-delay: 0.12s; }
.hero-content--animate .hero-lead { animation-delay: 0.2s; }

@keyframes heroIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content--animate > * {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: clamp(20px, 3vh, 28px);
    padding: 4px 14px 4px 14px;
    border-radius: 999px;
    background: var(--badge);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    transition: opacity 0.2s var(--ease);
}

.hero-badge:hover {
    opacity: 0.9;
}

.hero h1 {
    font-family: var(--font-brand);
    font-weight: 400;
    max-width: min(100%, 22em);
    text-wrap: pretty;
    line-height: 1.12;
    padding-block-end: 0.14em;
    margin-block-end: -0.14em;
    overflow: visible;
    color: #160f0c;
    background: linear-gradient(90deg, #160f0c 0%, #5f5866 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.hero-lead {
    width: 100%;
    max-width: min(100%, 52rem);
    margin-top: clamp(20px, 2.5vh, 28px);
    font-size: clamp(17px, 1.8vw, 21px);
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--muted);
    text-wrap: pretty;
}

.hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1280 / 800;
    border-radius: 16px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    overflow: hidden;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero .seo-answer {
    display: none;
}

/* Trust strip */
.trust {
    padding: 40px 0;
}

.trust-intro {
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--muted);
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 48px);
    margin-top: 32px;
}

.trust-logos li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.trust-logos img {
    display: block;
    max-height: clamp(28px, 4vw, 40px);
    max-width: clamp(88px, 14vw, 140px);
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.45;
    filter: grayscale(100%);
    transition: opacity 0.25s var(--ease);
}

.trust-logos img:hover {
    opacity: 0.75;
}

/* Work / case studies */
.work {
    padding: clamp(80px, 10vw, 120px) 0;
}

.work-head {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(40px, 5vw, 64px);
    text-align: center;
}

.work-head h1,
.work-head h2 {
    font-size: var(--text-h1);
    font-weight: 400;
    line-height: var(--leading-h1);
    color: var(--ink-plum);
}

.work-sub {
    max-width: 560px;
    margin: 16px auto 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--muted);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 32px);
}

.work-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.work-card:hover {
    border-color: rgba(27, 6, 36, 0.18);
    transform: translateY(-2px);
}

.work-card__media {
    aspect-ratio: 16 / 10;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4vw, 40px);
    overflow: hidden;
}

.work-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.work-card__media--logo img {
    max-width: min(220px, 70%);
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.work-card__body {
    padding: clamp(20px, 2.5vw, 28px);
    border-top: 1px solid var(--line-soft);
}

.work-card__meta {
    font-size: 12px;
    color: var(--muted);
}

.work-card__body h3 {
    margin-top: 10px;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 400;
    line-height: 1.25;
    color: var(--ink-plum);
    text-wrap: wrap;
}

.work-card__summary {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.work-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    font-size: 13px;
    letter-spacing: -0.01em;
    color: var(--ink);
}

/* Guides page */
main > .notes.guides-page:first-child {
    padding-top: clamp(100px, 12vw, 140px);
}

.guides-page-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(32px, 4vw, 48px);
}

.guides-page-head h1 {
    width: 100%;
    text-align: center;
}

.guides-page-lead {
    width: 100%;
    max-width: 560px;
    margin: 20px auto 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--muted);
    text-align: center;
}

.guides-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--surface);
    font-size: 12px;
    letter-spacing: -0.01em;
    color: var(--muted);
}

.guides-search {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: clamp(32px, 4vw, 48px);
}

.guides-search__field {
    position: relative;
    display: block;
    width: min(100%, 480px);
}

.guides-search__icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.guides-search__field input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    letter-spacing: -0.01em;
    color: var(--ink);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.guides-search__field input::placeholder {
    color: var(--muted);
}

.guides-search__field input:hover {
    border-color: rgba(27, 6, 36, 0.14);
}

.guides-search__field input:focus {
    outline: none;
    border-color: rgba(27, 6, 36, 0.22);
    box-shadow: 0 0 0 3px rgba(221, 236, 251, 0.9);
}

.guides-search__count {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

.guides-bento {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.5vw, 20px);
}

.guides-bento-row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(12px, 1.5vw, 20px);
    align-items: stretch;
}

.guide-card {
    grid-column: span var(--col-span, 4);
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    min-height: 0;
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.guide-card:hover {
    border-color: rgba(27, 6, 36, 0.16);
    transform: translateY(-2px);
}

.guide-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.guide-card__media {
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface);
}

.guide-card--lead .guide-card__media,
.guide-card--full .guide-card__media {
    aspect-ratio: 16 / 9;
}

.guide-card--side .guide-card__media {
    aspect-ratio: 4 / 3;
}

.guide-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-card__media--contain {
    background: #fff;
}

.guide-card__media--contain img {
    object-fit: contain;
}

.guide-card__body {
    flex: 1 1 auto;
    padding: clamp(16px, 2vw, 22px);
}

.guide-card__meta {
    font-size: 12px;
    color: var(--muted);
}

.guide-card__meta span {
    opacity: 0.5;
}

.guide-card__title {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: var(--tracking-title);
    color: var(--ink-plum);
}

.guide-card--lead .guide-card__title,
.guide-card--full .guide-card__title {
    font-size: clamp(20px, 2.2vw, 24px);
}

.guide-card--side .guide-card__title {
    font-size: 16px;
}

.guide-card__excerpt {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.guide-card--side .guide-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guides-empty {
    padding: clamp(48px, 6vw, 72px) 0;
    text-align: center;
    font-size: 16px;
    color: var(--muted);
}

/* Guide article */
.guide-article {
    padding: clamp(100px, 12vw, 140px) 0 clamp(80px, 10vw, 120px);
}

.guide-article__head {
    text-align: left;
    margin-bottom: clamp(40px, 5vw, 56px);
}

.guide-article__back {
    display: inline-block;
    margin-bottom: 24px;
}

.guide-article__meta {
    margin-bottom: 16px;
}

.guide-article__head h1 {
    text-align: left;
}

.guide-article__body {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    text-align: left;
}

.guide-article__body > * + * {
    margin-top: 1.25em;
}

.guide-article__lead {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: var(--ink-plum);
}

.guide-article__body h2 {
    margin-top: 2.5em;
    font-size: var(--text-h2);
    font-weight: 400;
    line-height: var(--leading-h2);
    color: var(--ink-plum);
}

.guide-article__body h3 {
    margin-top: 1.75em;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 400;
    line-height: 1.3;
    color: var(--ink-plum);
}

.guide-article__body a {
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s var(--ease);
}

.guide-article__body a:hover {
    opacity: 0.75;
}

.guide-article__close {
    margin-top: 2.5em;
    padding-top: 1.5em;
    border-top: 1px solid var(--line-soft);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: var(--ink-plum);
}

.guide-article__hero {
    margin-top: clamp(28px, 4vw, 48px);
    margin-bottom: clamp(32px, 4vw, 48px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    aspect-ratio: 16 / 9;
    max-height: clamp(280px, 44vw, 520px);
    background: var(--surface);
}

.guide-article__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.guide-article__hero--contain {
    background: #fff;
}

.guide-article__hero--contain img {
    object-fit: contain;
}

/* Case study detail */
.case-study {
    padding: clamp(100px, 12vw, 140px) 0 0;
}

.case-study__head h1 {
    font-size: var(--text-h1);
    font-weight: 400;
    line-height: var(--leading-h1);
    letter-spacing: var(--tracking-title);
    color: var(--ink-plum);
    text-wrap: wrap;
}

.case-study__back {
    display: inline-block;
    margin-bottom: 24px;
}

.case-study__meta {
    margin-bottom: 16px;
}

.case-study__lead {
    margin-top: 20px;
    max-width: 640px;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: var(--ink-plum);
}

.case-study__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.case-study__hero {
    margin-top: clamp(40px, 5vw, 56px);
    margin-bottom: clamp(32px, 4vw, 48px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    aspect-ratio: 16 / 9;
    max-height: clamp(320px, 48vw, 560px);
    background: var(--surface);
}

.case-study__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.case-study__hero--logo {
    aspect-ratio: auto;
    max-height: none;
    min-height: clamp(150px, 17vw, 200px);
    padding: clamp(28px, 4vw, 48px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
}

.case-study__hero--logo img {
    width: auto;
    height: auto;
    max-width: min(320px, 72%);
    max-height: clamp(80px, 12vw, 140px);
    object-fit: contain;
}

.case-study__content {
    padding-top: clamp(48px, 6vw, 72px);
    padding-bottom: clamp(80px, 10vw, 120px);
}

.case-study__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.case-study__stats div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(20px, 2.5vw, 28px);
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: #fff;
}

.case-study__stats span {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.case-study__stats strong {
    font-size: clamp(16px, 1.8vw, 18px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: var(--tracking-title);
    color: var(--ink-plum);
    overflow-wrap: anywhere;
}

.case-study__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 32px);
    margin-top: clamp(32px, 4vw, 48px);
    padding-top: clamp(32px, 4vw, 48px);
    border-top: 1px solid var(--line-soft);
}

.case-study__grid--split {
    margin-top: clamp(20px, 2.5vw, 32px);
    padding-top: 0;
    border-top: 0;
}

.case-study__card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.case-study__card--surface {
    background: var(--surface);
}

.case-study__card__top {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: clamp(16px, 2vw, 20px) clamp(20px, 2.5vw, 28px);
    background: var(--surface);
    border-bottom: 1px solid var(--line-soft);
}

.case-study__card--surface .case-study__card__top {
    background: rgba(255, 255, 255, 0.72);
}

.case-study__card__top .module-tag,
.case-study__section-title {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    min-height: 0;
    line-height: 1.2;
    font-size: clamp(18px, 1.8vw, 21px);
    font-weight: 500;
    letter-spacing: var(--tracking-h3);
    background: transparent;
    color: var(--ink-plum);
}

.case-study__card--surface .case-study__card__top .module-tag {
    background: transparent;
}

.case-study__card > p,
.case-study__card > .case-study__results,
.case-study__card > .case-study__pills {
    margin: 0;
    padding: clamp(20px, 2.5vw, 28px);
}

.case-study__card > p {
    flex: 1;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
}

.case-study__results {
    display: grid;
    gap: 14px;
    list-style: none;
    padding: 0;
}

.case-study__results li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
}

.case-study__check {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    border-radius: 999px;
    background: rgba(27, 6, 36, 0.06);
    color: var(--ink-plum);
}

.case-study__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.case-study__pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    line-height: 1.3;
    color: var(--muted);
}

.case-study__quote {
    margin-top: clamp(32px, 4vw, 48px);
    padding: clamp(28px, 3.5vw, 40px);
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: var(--surface);
}

.case-study__quote p {
    max-width: 720px;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: var(--tracking-title);
    color: var(--ink-plum);
}

.case-study__quote footer {
    margin-top: 20px;
    font-size: 14px;
    color: var(--muted);
}

.case-study__quote footer span {
    opacity: 0.5;
}

.case-study--empty .case-study__actions {
    margin-top: 32px;
}

@media (max-width: 960px) {
    .case-study__grid,
    .case-study__grid--split {
        grid-template-columns: 1fr;
    }

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

    .guides-bento-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-card {
        grid-column: auto;
    }
}

@media (max-width: 720px) {
    .case-study__stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .case-study__hero {
        max-height: none;
    }

    .case-study__hero:not(.case-study__hero--logo) img {
        object-fit: contain;
        background: var(--surface);
    }

    .guides-bento-row {
        grid-template-columns: 1fr;
    }

    .guide-card {
        grid-column: span 1;
    }

    .guide-card--side .guide-card__excerpt {
        display: block;
    }
}

/* Metrics */
.metrics {
    padding: clamp(88px, 10vw, 140px) 0;
}

.metrics h2 {
    max-width: 520px;
    padding-bottom: clamp(8px, 1.5vw, 16px);
    font-size: clamp(32px, 3.4vw, 44px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink-plum);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(40px, 5vw, 64px);
    margin-top: clamp(64px, 7vw, 96px);
    padding-bottom: clamp(64px, 7vw, 96px);
}

.stat-num {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.12em;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.stat-unit {
    font-size: 0.42em;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.stat-arrow {
    font-size: 0.5em;
    font-weight: 400;
    opacity: 0.35;
    margin: 0 0.06em;
}

.stat-from,
.stat-to {
    font-size: 1em;
}

.stat-label {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--muted);
}

.values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 0;
    padding-top: clamp(56px, 7vw, 88px);
}

.value-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(12px, 2vw, 20px) clamp(36px, 4.5vw, 52px) clamp(16px, 2vw, 24px) clamp(36px, 4.5vw, 52px);
    color: inherit;
    transition:
        background 0.4s var(--ease),
        transform 0.4s var(--ease);
}

.value-card:first-child {
    border-left: 0;
    padding-left: clamp(4px, 1vw, 12px);
}

.value-card:last-child {
    padding-right: clamp(4px, 1vw, 12px);
}

.value-card:hover {
    background: rgba(220, 232, 242, 0.35);
    transform: translateY(-2px);
}

.value-card:hover .value-card__link {
    opacity: 1;
    transform: translateX(2px);
}

.value-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 28px;
    color: var(--ink);
}

.value-card h3 {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
}

.value-card p {
    margin-top: 14px;
    max-width: 320px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
}

.value-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 32px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink-plum);
    opacity: 0.7;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

/* Testimonial */
.testimonial {
    padding: clamp(72px, 9vw, 120px) 0;
}

.testimonial-head {
    text-align: center;
}

.testimonial h2 {
    font-size: clamp(32px, 3.4vw, 44px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink-plum);
}

.testimonial-sub {
    max-width: 560px;
    margin: 20px auto 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--muted);
}

.quote-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: clamp(40px, 5vw, 64px);
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

.quote-card blockquote {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    padding: clamp(32px, 4vw, 48px);
}

.quote-card blockquote > p {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.quote-card figcaption {
    margin-top: 40px;
}

.quote-card figcaption strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.quote-card figcaption span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: var(--muted);
}

.quote-visual {
    background: var(--surface);
    min-height: 280px;
}

.quote-visual__panel {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background:
        radial-gradient(circle at 70% 40%, rgba(26, 23, 21, 0.08), transparent 50%),
        linear-gradient(145deg, #ebe8e0 0%, #f5f3ed 100%);
}

.quote-visual__img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center 30%;
}

/* Product modules */
.module {
    padding: clamp(80px, 10vw, 140px) 0;
}

.module-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--surface-2);
    font-size: 12px;
    color: var(--muted);
}

.module-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
}

.module-title-row h2 {
    max-width: 640px;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink-plum);
}

.module-sub {
    max-width: 520px;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--muted);
}

.module-body {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
    margin-top: clamp(40px, 5vw, 64px);
}

.module-body--reverse .module-visual {
    order: 2;
}

.module-body--reverse .module-features {
    order: 1;
}

.module-visual {
    border-radius: 24px;
    background: var(--surface);
    padding: clamp(24px, 3vw, 36px);
    min-height: 360px;
}

/* Mock UIs */
.mock-proposal,
.mock-report,
.mock-portal,
.mock-ops,
.mock-saas,
.mock-internal {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(27, 6, 36, 0.06);
    box-shadow: 0 1px 2px rgba(22, 15, 12, 0.04);
}

.mock-proposal__head,
.mock-portal__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.mock-proposal__head span,
.mock-portal__head span {
    font-size: 11px;
    color: var(--muted);
}

.mock-proposal__head strong,
.mock-portal__head strong {
    font-size: 14px;
    font-weight: 500;
}

.mock-line {
    height: 8px;
    margin-top: 14px;
    border-radius: 4px;
    background: var(--surface-2);
}

.mock-line.wide { width: 72%; }
.mock-line.short { width: 42%; }

.mock-proposal__price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    font-size: 12px;
}

.mock-proposal__price strong {
    font-size: 18px;
    font-weight: 500;
}

.mock-report__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mock-report__stats span {
    font-size: 11px;
    color: var(--muted);
}

.mock-report__stats strong {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.mock-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 88px;
    margin-top: 16px;
}

.mock-bars i {
    flex: 1;
    height: var(--h);
    border-radius: 4px 4px 0 0;
    background: rgba(27, 6, 36, 0.12);
}

.mock-portal__steps {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.mock-portal__steps span {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    font-size: 11px;
}

.mock-portal__steps span.done {
    background: rgba(27, 6, 36, 0.08);
    color: var(--ink-plum);
}

.mock-portal__note {
    margin-top: 20px;
    padding: 14px;
    border-radius: 12px;
    background: #ebf5ff;
    font-size: 12px;
    line-height: 1.45;
}

.mock-portal__note strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.mock-ops__queue {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mock-ops__queue span {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    font-size: 11px;
}

.mock-ops__rows {
    margin-top: 16px;
}

.mock-ops__rows > div {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 12px;
}

.mock-ops__rows strong {
    font-weight: 500;
}

.mock-ops__rows span {
    color: var(--muted);
}

.mock-ops__rows em {
    font-style: normal;
    font-size: 11px;
    color: var(--ink-plum);
}

.mock-saas__head,
.mock-internal__flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mock-saas__head strong {
    font-size: 14px;
    font-weight: 500;
}

.mock-saas__head span {
    font-size: 11px;
    color: var(--ink-plum);
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(27, 6, 36, 0.06);
}

.mock-saas__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.mock-saas__metrics span {
    font-size: 11px;
    color: var(--muted);
}

.mock-saas__metrics strong {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
}

.mock-saas__usage {
    height: 8px;
    margin-top: 16px;
    border-radius: 999px;
    background: var(--surface-2);
    overflow: hidden;
}

.mock-saas__usage i {
    display: block;
    width: var(--w, 60%);
    height: 100%;
    border-radius: inherit;
    background: rgba(27, 6, 36, 0.18);
}

.mock-internal__flow {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: var(--muted);
}

.mock-internal__flow span {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--ink);
}

.mock-internal__flow i {
    width: 16px;
    height: 1px;
    background: rgba(27, 6, 36, 0.16);
}

.mock-internal__rows {
    margin-top: 16px;
}

.mock-internal__rows > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 12px;
}

.mock-internal__rows strong {
    font-weight: 500;
}

.mock-internal__rows em {
    font-style: normal;
    font-size: 11px;
    color: var(--ink-plum);
}

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

.feature-card {
    padding: 20px;
    border-radius: 16px;
    background: var(--surface);
}

.feature-card__icon {
    color: var(--ink);
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.feature-card p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.feature-list li.is-active {
    background: var(--surface-2);
}

.feature-list li {
    transition: background 0.3s var(--ease);
}

.module-visual {
    transition: transform 0.5s var(--ease);
}

.module.reveal.is-visible .module-visual {
    animation: moduleVisualIn 0.8s var(--ease) forwards;
}

@keyframes moduleVisualIn {
    from {
        opacity: 0.85;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-list li.is-active p {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--muted);
}

.feature-list__icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--ink);
}

/* Ownership */
.ownership {
    padding: clamp(80px, 10vw, 140px) 0;
}

.ownership-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.ownership h2 {
    margin-top: 20px;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink-plum);
}

.ownership-lead {
    max-width: 440px;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--muted);
}

.ownership .btn {
    margin-top: 24px;
}

.ownership-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ownership-list li {
    padding: 18px 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* Process */
.process {
    padding: clamp(80px, 10vw, 140px) 0;
}

.process-head {
    display: grid;
    gap: clamp(20px, 3vw, 28px);
}

.process-head .module-tag {
    margin-bottom: 16px;
}

.process-head__intro {
    min-width: 0;
}

.process h2 {
    max-width: none;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink-plum);
}

.process-lead {
    margin: 0;
    max-width: 38ch;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
}

@media (min-width: 900px) {
    .process-head {
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
        gap: clamp(40px, 5vw, 80px);
        align-items: start;
    }

    .process-lead {
        margin-top: clamp(36px, 4vw, 48px);
        justify-self: end;
        text-align: left;
    }
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 28px);
    margin-top: clamp(56px, 7vw, 88px);
    padding: 0;
    list-style: none;
}

.process-step {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(28px, 3.2vw, 40px);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: rgba(239, 239, 239, 0.22);
}

.process-step__head {
    display: flex;
    align-items: baseline;
    gap: clamp(14px, 2vw, 24px);
    margin-bottom: clamp(18px, 2vw, 24px);
    padding-bottom: clamp(16px, 2vw, 20px);
    border-bottom: 1px solid var(--line-soft);
}

.process-step__num {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.process-step__title {
    flex: 1 1 auto;
    margin: 0;
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: var(--tracking-title);
    color: var(--ink-plum);
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
}

.process-step__body {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
}

.process-step__points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: clamp(20px, 2.5vw, 28px) 0 0;
    padding: 0;
    list-style: none;
}

.process-step__points li {
    position: relative;
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.process-step__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-blue-deep);
}

/* Pricing */
.pricing {
    padding: clamp(80px, 10vw, 140px) 0;
}

.pricing-layout {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 4vw, 48px);
}

.pricing-head {
    max-width: 720px;
}

.pricing-head h2 {
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink-plum);
}

.pricing-lead {
    max-width: 640px;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
}

.pricing-aside {
    max-width: 640px;
    margin: 0 auto;
    padding-top: clamp(8px, 2vw, 16px);
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
    color: var(--muted);
}

.pricing-aside a {
    color: var(--ink-plum);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s var(--ease);
}

.pricing-aside a:hover {
    opacity: 0.7;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    align-items: stretch;
}

.pricing-card {
    position: relative;
    border-radius: 24px;
    border: 1px solid var(--line-soft);
    background: #fff;
    box-shadow: none;
    transition: border-color 0.4s var(--ease);
}

.pricing-card--featured {
    border-color: var(--accent-blue-deep);
    box-shadow: 0 24px 48px rgba(184, 207, 224, 0.35);
}

.pricing-card--featured .pricing-card__shine {
    opacity: 0.32;
}

.pricing-card--featured:hover {
    border-color: var(--accent-blue-deep);
}

.pricing-card--featured .pricing-card__tag {
    border-color: var(--accent-blue-deep);
    background: var(--accent-blue);
    color: var(--ink-plum);
}

.pricing-card:hover {
    border-color: rgba(184, 207, 224, 0.9);
}

.pricing-card__shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--accent-wave) right -20% top -40% / 120% auto no-repeat;
    opacity: 0.22;
    pointer-events: none;
}

.pricing-card__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(32px, 3.5vw, 40px);
    border-radius: inherit;
    background: #fff;
}

.pricing-card__top {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line-soft);
}

.pricing-card__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pricing-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.pricing-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--ink-plum);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.pricing-card__price {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.2;
    color: var(--muted);
}

.pricing-card__price strong {
    display: block;
    margin-top: 4px;
    font-size: clamp(40px, 4.5vw, 52px);
    font-weight: 400;
    letter-spacing: -0.05em;
    color: var(--ink);
}

.pricing-card__meta {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
}

.pricing-card__timeline {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    font-size: 12px;
    line-height: 1;
    color: var(--ink-plum);
}

.pricing-card__summary {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--ink);
}

.pricing-card__list {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
    margin-top: 24px;
}

.pricing-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink);
}

.pricing-card__list li::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4.2 3.4 6.6 9 1.4' stroke='%231b0624' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.pricing-card__terms {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
    font-size: 13px;
    color: var(--muted);
}

.pricing-card__actions {
    margin-top: 24px;
    width: 100%;
}

.pricing-card__actions .btn {
    width: 100%;
    min-height: 40px;
    padding: 10px 18px;
    font-size: 14px;
}


@media (max-width: 960px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-inline: auto;
    }
}

/* Notes */
.notes {
    padding: clamp(80px, 10vw, 120px) 0;
}

.notes-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(32px, 4vw, 48px);
}

.notes-head h2 {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 400;
    color: var(--ink-plum);
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px);
}

.notes-meta {
    font-size: 12px;
    color: var(--muted);
}

.notes-meta span {
    opacity: 0.5;
}

.notes-grid h3 {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
}

.notes-grid h3 a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s var(--ease);
}

.notes-grid h3 a:hover {
    opacity: 0.75;
}

.notes-grid article {
    padding-top: 20px;
}

/* SEO: answer blocks & FAQ */
.seo-answer {
    margin-top: 20px;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}

.seo-updated {
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--muted);
}

.seo-faq {
    padding: clamp(80px, 10vw, 140px) 0;
}

.seo-faq--center .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seo-faq--center h2 {
    max-width: none;
    text-align: center;
}

.seo-faq--center .seo-faq__list {
    width: min(100%, 720px);
    margin-inline: auto;
}

.seo-faq--center .seo-faq__item p {
    max-width: none;
    margin-inline: 0;
    text-align: left;
}

.seo-faq h2 {
    max-width: 520px;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink-plum);
}

.seo-faq__list {
    max-width: 720px;
    margin-top: clamp(48px, 6vw, 72px);
    border-top: 1px solid var(--line-soft);
}

.seo-faq__item {
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.seo-faq__item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: var(--tracking-title);
    color: var(--ink-plum);
    transition: color 0.2s var(--ease);
}

.seo-faq__item summary:hover {
    color: var(--ink);
}

.seo-faq__item summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    color: var(--muted);
    transition: transform 0.25s var(--ease);
}

.seo-faq__item[open] summary::after {
    content: "−";
}

.seo-faq__item summary::-webkit-details-marker {
    display: none;
}

.seo-faq__item > p {
    overflow: hidden;
    max-width: 640px;
    max-height: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    transition:
        max-height 0.45s var(--ease),
        opacity 0.35s var(--ease),
        padding 0.45s var(--ease);
}

.seo-faq__item[open] > p {
    max-height: 24rem;
    padding: 0 0 20px;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .seo-faq__item > p {
        transition-duration: 0.01ms;
    }
}

.seo-faq__item p strong {
    color: var(--ink);
    font-weight: 500;
}

.seo-faq__item a {
    color: var(--ink-plum);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.seo-faq__item a:hover {
    color: var(--ink);
}

/* Final CTA */
.final-cta {
    padding: clamp(100px, 12vw, 160px) 0;
    text-align: center;
}

.final-cta h2 {
    max-width: 640px;
    margin: 0 auto;
    font-size: clamp(32px, 3.6vw, 52px);
    font-weight: 400;
    line-height: 1.08;
    color: var(--ink-plum);
}

.final-cta p {
    max-width: 480px;
    margin: 20px auto 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--muted);
}

.final-cta .btn {
    display: inline-flex;
    margin-top: 32px;
}

/* Footer */
.site-footer {
    padding: clamp(48px, 6vw, 72px) 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: clamp(32px, 4vw, 56px);
}

.footer-grid.footer-grid--enterprise {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(48px, 8vw, 120px);
    justify-items: center;
    text-align: center;
}

.footer-grid h2 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
}

.footer-grid nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.footer-grid a {
    font-size: 14px;
    color: var(--ink);
    transition: opacity 0.2s var(--ease);
}

.footer-grid a:hover {
    opacity: 0.6;
}

.footer-bottom {
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: 24px;
    border-top: 1px solid var(--line-soft);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .module-title-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .module-body,
    .module-body--reverse {
        grid-template-columns: 1fr;
    }

    .module-body--reverse .module-visual,
    .module-body--reverse .module-features {
        order: unset;
    }

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

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

@media (max-width: 768px) {
    html {
        overflow-x: clip;
    }

    .nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        min-height: 64px;
    }

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

    .site-nav .nav-links,
    .site-nav .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 44px;
        height: 44px;
        margin-left: auto;
        margin-right: calc(-1 * (44px - 40px) / 2);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .site-nav {
        padding-top: env(safe-area-inset-top, 0);
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 8px var(--gutter) 24px;
        border-top: 1px solid var(--line-soft);
        background: #fff;
    }

    .mobile-menu[data-open="true"] {
        display: flex;
        position: fixed;
        top: calc(64px + env(safe-area-inset-top, 0px));
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 49;
        height: calc(100dvh - 64px - env(safe-area-inset-top, 0px));
        min-height: calc(100dvh - 64px - env(safe-area-inset-top, 0px));
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-bottom: max(32px, env(safe-area-inset-bottom));
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .mobile-menu a:not(.btn) {
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 14px 0;
        font-size: 17px;
        letter-spacing: -0.02em;
        border-bottom: 1px solid var(--line-soft);
    }

    .mobile-menu .btn {
        margin-top: 24px;
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .hero {
        padding-top: clamp(108px, 18vw, 128px);
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(34px, 9vw, 44px);
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-visual {
        border-radius: 12px;
    }

    .hero__inner {
        gap: 32px;
    }

    .trust {
        padding: 32px 0;
    }

    .trust-logos {
        gap: 12px 20px;
        margin-top: 24px;
    }

    .trust-logos img {
        max-height: 32px;
        max-width: 108px;
    }

    .metrics h2,
    .testimonial h2,
    .services-head h2,
    .work-head h2,
    .ownership h2,
    .process h2,
    .pricing-head h2,
    .notes-head h2,
    .seo-faq h2,
    .final-cta h2 {
        font-size: clamp(28px, 7.5vw, 36px);
    }

    .stat-num {
        font-size: clamp(48px, 12vw, 64px);
    }

    .stats,
    .values {
        grid-template-columns: 1fr;
    }

    .value-card {
        border-left: 0;
        padding: 32px 0 24px;
    }

    .value-card:first-child {
        padding-top: 0;
    }

    .values {
        padding-top: 40px;
    }

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

    .work-card {
        border-radius: 12px;
    }

    .services-grid {
        margin-top: 40px;
        padding-top: 24px;
    }

    .services-card {
        border-radius: 12px;
    }

    .services-card__visual {
        min-height: 160px;
        padding: 16px;
    }

    .services-card__body h3 {
        font-size: clamp(18px, 4.8vw, 22px);
    }

    .quote-card {
        grid-template-columns: 1fr;
    }

    .quote-visual {
        min-height: 200px;
    }

    .process-head {
        gap: 16px;
    }

    .process-lead {
        max-width: none;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    .process-step {
        padding: 24px 20px;
    }

    .pricing-card__price strong {
        font-size: clamp(40px, 10vw, 52px);
    }

    .case-study__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .case-study__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .case-study__head h1 {
        font-size: clamp(32px, 8vw, 40px);
    }

    .footer-grid,
    .footer-grid.footer-grid--enterprise {
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        gap: clamp(36px, 7vw, 56px);
    }

    .footer-grid.footer-grid--enterprise .footer-brand {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .footer-bottom--enterprise {
        flex-direction: column;
        align-items: center;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero h1 {
        margin-inline: auto;
    }

    .hero-lead {
        margin-inline: auto;
    }

    .trust-logos {
        justify-content: center;
    }

    .metrics h2,
    .services-head,
    .services-head h2,
    .services-lead,
    .pricing-head,
    .pricing-head h2,
    .pricing-lead,
    .ownership h2,
    .ownership-lead,
    .process-head,
    .process-head__intro,
    .process h2,
    .process-lead,
    .seo-faq h2,
    .seo-faq--center h2 {
        text-align: center;
        margin-inline: auto;
    }

    .services-head,
    .pricing-head,
    .ownership-grid > div:first-child,
    .process-head {
        max-width: none;
    }

    .services-head .module-tag,
    .ownership .module-tag,
    .process-head .module-tag,
    .pricing-head .module-tag {
        margin-inline: auto;
    }

    .stat,
    .stat-label {
        text-align: center;
    }

    .stat-num {
        justify-content: center;
    }

    .value-card {
        align-items: center;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .value-card p {
        max-width: none;
        margin-inline: auto;
    }

    .value-card__link {
        justify-content: center;
    }

    .work-card__body {
        text-align: center;
    }

    .work-card__link {
        justify-content: center;
    }

    .services-card__top {
        justify-content: center;
    }

    .services-card__body {
        align-items: center;
        text-align: center;
    }

    .services-card__features li {
        justify-content: center;
        text-align: center;
    }

    .services-card__link {
        justify-content: center;
    }

    .quote-card blockquote {
        align-items: center;
        text-align: center;
    }

    .ownership-grid > div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ownership .btn {
        align-self: center;
    }

    .ownership-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .process-lead {
        justify-self: center;
        text-align: center;
    }

    .process-step {
        text-align: center;
    }

    .process-step__head {
        justify-content: center;
    }

    .process-step__points li {
        padding-left: 0;
    }

    .process-step__points li::before {
        position: static;
        display: inline-block;
        margin-right: 8px;
        vertical-align: middle;
    }

    .pricing-card__inner {
        align-items: center;
        text-align: center;
    }

    .pricing-card__badges {
        justify-content: center;
    }

    .pricing-card__timeline {
        align-self: center;
    }

    .pricing-card__list li {
        justify-content: center;
        text-align: center;
    }

    .seo-faq--center .seo-faq__item summary,
    .seo-faq__item summary {
        justify-content: center;
        text-align: center;
    }

    .seo-faq--center .seo-faq__item p,
    .seo-faq__item p {
        text-align: center;
    }

    .seo-faq__list {
        margin-inline: auto;
    }

    .breadcrumbs ol {
        justify-content: center;
    }

    .guide-article__head,
    .guide-article__head h1,
    .guide-article__body,
    .guide-article__lead {
        text-align: center;
    }

    .guide-article__back {
        margin-inline: auto;
    }

    .guide-article__close {
        text-align: center;
    }

    .guide-article__close .btn {
        margin-inline: auto;
    }

    .mobile-menu a:not(.btn) {
        justify-content: center;
        text-align: center;
    }

    .module-title-row {
        align-items: center;
        text-align: center;
    }

    .case-study__head,
    .case-study__head h1,
    .case-study__lead {
        text-align: center;
    }

    .case-study__actions {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer-grid,
    .footer-grid.footer-grid--enterprise {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .trust-logos {
        justify-content: center;
    }

    .guides-bento-row {
        grid-template-columns: 1fr;
    }

    .guide-card {
        grid-column: span 1;
    }

    .mock-report__stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .mock-bars {
        height: 72px;
    }
}

/* Blog */
.blog-page,
.blog-post-page.guide-article {
    padding: clamp(100px, 12vw, 140px) 0 clamp(80px, 10vw, 120px);
}

.blog-page {
    padding-bottom: clamp(80px, 10vw, 120px);
}

.seo-faq.wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: clamp(80px, 10vw, 120px);
}

.seo-faq.wrap h2 {
    max-width: none;
    margin-inline: auto;
    text-align: center;
}

.seo-faq.wrap .seo-faq__list {
    width: min(100%, 720px);
    margin-inline: auto;
}

.seo-faq.wrap .seo-faq__item summary {
    justify-content: center;
    text-align: center;
}

.seo-faq.wrap .seo-faq__item p {
    max-width: none;
    margin-inline: auto;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 24px;
    margin-top: 40px;
}

.blog-card {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.blog-card:hover {
    border-color: var(--line);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.blog-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-muted);
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.blog-card__date {
    font-size: 13px;
    color: var(--text-muted);
}

.blog-card__body h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.blog-card__excerpt {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-muted);
    flex: 1;
}

.blog-card__meta {
    font-size: 13px;
    color: var(--text-muted);
}

/* Audit */
.audit-page {
    padding-bottom: 0;
}

.audit-page > .breadcrumbs {
    padding-top: clamp(88px, 10vh, 104px);
}

.audit-hero {
    position: relative;
    padding: clamp(48px, 8vw, 80px) 0;
    text-align: center;
    overflow: hidden;
}

.audit-hero--dark {
    background: var(--ink);
    color: #fff;
    margin-top: 0;
    padding-top: clamp(100px, 12vh, 128px);
}

.audit-hero--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%);
    background-size: 38px 38px, auto;
    opacity: 0.5;
    pointer-events: none;
}

.audit-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.audit-hero__tag {
    margin-bottom: 20px;
}

.audit-title {
    margin: 0;
    text-wrap: balance;
}

.audit-title--xl {
    font-size: var(--text-h1);
    font-weight: 400;
    line-height: var(--leading-h1);
    letter-spacing: var(--tracking-h1);
    color: #fff;
}

.audit-section:not(.audit-section--dark) .audit-title--lg {
    color: var(--ink-plum);
}

.audit-title--lg {
    font-size: var(--text-h2);
    font-weight: 400;
    line-height: var(--leading-h2);
    letter-spacing: var(--tracking-h2);
}

.audit-prose {
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
}

.audit-prose--lead {
    font-size: clamp(18px, 2vw, 22px);
}

.audit-prose--on-dark {
    color: rgba(255, 255, 255, 0.76);
}

.audit-hero__inner > div:has(.btn--light),
.audit-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.audit-hero__inner > p:not([class]) {
    margin-top: 16px;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.btn--light {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

.btn--outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.audit-pills,
.audit-hero__inner > div:has(.audit-pill) {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
}

.audit-pill {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.audit-section {
    padding: clamp(56px, 8vw, 96px) 0;
    background: var(--bg);
}

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

.audit-section .wrap,
.audit-section > div {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.audit-card {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--surface);
    padding: clamp(24px, 4vw, 40px);
    margin-bottom: 20px;
}

.audit-card--dark {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.audit-section .grid,
.audit-card .grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 900px) {
    .audit-section .lg\\:grid-cols-2,
    .audit-card .lg\\:grid-cols-2 {
        grid-template-columns: 1fr 1fr;
    }

    .audit-section .lg\\:grid-cols-\\[\\.85fr_1\\.15fr\\] {
        grid-template-columns: 0.85fr 1.15fr;
    }

    .audit-section .md\\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.issue-number {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-muted);
}

.subhead {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 24px 0 8px;
}

.audit-list {
    margin: 12px 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.audit-section--dark .subhead {
    color: rgba(255, 255, 255, 0.5);
}

.audit-section--dark .audit-prose,
.audit-section--dark .audit-list {
    color: rgba(255, 255, 255, 0.72);
}

.price-card {
    background: linear-gradient(135deg, #f4efe3 0%, #fffaf0 48%, #ece7da 100%);
}

.audit-page .module-tag,
.audit-page .section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.audit-section--dark .module-tag,
.audit-section--dark .section-label {
    color: rgba(255, 255, 255, 0.5);
}

/* Enterprise consistency pass */
:where(
    body,
    button,
    input,
    textarea,
    select,
    p,
    a,
    span,
    li,
    strong,
    summary
) {
    font-family: inherit;
}

:where(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .audit-title,
    .hero h1,
    .metrics h2,
    .testimonial h2,
    .work-head h1,
    .work-head h2,
    .services-head h2,
    .services-card h3,
    .service-hub__card h2,
    .service-related h2,
    .ownership h2,
    .process h2,
    .process-step__title,
    .pricing-head h2,
    .notes-head h2,
    .notes-grid h3,
    .seo-faq h2,
    .seo-faq__item summary,
    .final-cta h2,
    .guides-page-head h1,
    .case-study__head h1,
    .guide-article__head h1,
    .guide-article__body h2,
    .guide-article__body h3,
    .value-card h3,
    .work-card__body h3,
    .module-title-row h2,
    .feature-card h3,
    .guide-card__title,
    .blog-card__body h2
) {
    font-family: var(--font-brand);
    letter-spacing: var(--tracking-title);
}

:where(
    .brand-name,
    .footer-grid h2
) {
    font-family: var(--font-brand);
}

:where(
    .value-card,
    .work-card,
    .quote-card,
    .services-card,
    .service-hub__card,
    .service-related__card,
    .case-study__card,
    .case-study__stats div,
    .case-study__quote,
    .guide-card__link,
    .blog-card__link,
    .seo-faq__item,
    .audit-card,
    .price-card,
    .guide-article__hero,
    .case-study__hero,
    .nav-dropdown
) {
    border-radius: 8px;
}
