/* Build by CJ - Premium Design System */

    :root {
    /*
     * Default design tokens - overridden on the public site by Settings → Branding
     * (#brand-theme-vars, loaded after this stylesheet).
     */
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-rgb: 37, 99, 235;
    --navy: #0F172A;
    --navy-deep: #020617;
    --navy-rgb: 15, 23, 42;
    --accent: #0EA5E9;
    --accent-hover: #0284C7;
    --accent-rgb: 14, 165, 233;
    --accent-hover-rgb: 2, 132, 199;
    --gold: #F59E0B;
    --gold-light: #FCD34D;
    --success: #059669;
    --success-rgb: 5, 150, 105;
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;
    --card: #FFFFFF;
    --card-dark: #0F172A;
    --border: #E2E8F0;
    --heading: #0F172A;
    --text: #475569;
    --text-light: #64748B;
    --text-muted: var(--text-light);
    --ink-muted: var(--text-light);
    --header-bg: rgba(255, 255, 255, 0.92);
    --hero-gradient-start: #F8FAFC;
    --mock-line: #E2E8F0;
    --trust-logo: #64748B;
    --hover-border: #D4D9DE;
    --shadow-sm: 0 1px 3px rgba(44, 50, 54, 0.05);
    --shadow-md: 0 4px 24px rgba(44, 50, 54, 0.07);
    --shadow-lg: 0 12px 48px rgba(44, 50, 54, 0.09);
    --shadow-card: 0 4px 6px rgba(44, 50, 54, 0.04), 0 20px 48px rgba(44, 50, 54, 0.08);
    --shadow-card-hover: 0 8px 12px rgba(44, 50, 54, 0.06), 0 28px 56px rgba(44, 50, 54, 0.12);
    --radius-card: 24px;
    --radius-btn: 10px;
    --radius-sm: 12px;
    --font-heading: 'Manrope', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --container: 1280px;
    --header-h: 72px;
    --promo-h: 0px;
    --site-top-h: var(--header-h);
    --section-pad: 100px;
    --grid-gap: 24px;
    --block-gap: 48px;
    --header-gap: 48px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.25s var(--ease);
}

body.has-promo-bar {
    --promo-h: 64px;
    --site-top-h: calc(var(--header-h) + var(--promo-h));
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--site-top-h);
    overflow-x: clip;
}

body {
    overflow-x: clip;
    max-width: 100%;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: min(var(--container), 92vw);
    margin: 0 auto;
}

.highlight { color: var(--gold); }

/* ─── Site chrome (sticky header + nav) ─── */
.site-chrome {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-top {
    position: relative;
    z-index: auto;
}

/* ─── Header ─── */
.site-header {
    position: relative;
    z-index: 1000;
    height: var(--header-h);
    background: var(--header-bg);
    border-bottom: 1px solid transparent;
    overflow: visible;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 12px;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.0625rem;
    color: var(--heading);
    text-decoration: none;
}

.logo:hover {
    color: var(--heading);
}

.logo:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 8px;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 700;
}

.logo-image {
    display: block;
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.logo-image--footer {
    height: 38px;
    max-width: 180px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.nav__link-icon {
    display: none;
}

.nav__link {
    color: inherit;
    text-decoration: none;
}

.nav__body {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(10px, 1.2vw, 22px);
    min-width: 0;
    flex: 1 1 auto;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid var(--border);
}

.nav__account-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav__ctas {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav a:not(.btn) {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    transition: color var(--transition);
}

.nav a:not(.btn):hover { color: var(--primary); }

.nav-account {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--text);
}

.nav-account svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--primary);
}

.search-results-section {
    margin-top: 32px;
}

.search-results-section:first-of-type {
    margin-top: 40px;
}

.pricing-currency-row {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.currency-switcher--inline {
    justify-content: center;
}

.account-currency-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border, #E4E2DC);
    border-radius: 12px;
    background: #fff;
}

.account-currency-bar__note {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ink-muted, #8A9399);
}

.invoice-pay-panel__currency-note {
    margin: 8px 0 0;
    font-size: 0.85rem;
    color: var(--ink-muted, #8A9399);
    line-height: 1.45;
}

.currency-switcher {
    display: inline-flex;
    align-items: center;
}

.currency-switcher__track {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(44, 50, 54, 0.05);
}

.currency-switcher__btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text-muted, #8A9399);
    font: inherit;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 6px 9px;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.currency-switcher__btn:hover:not(.is-active):not(:disabled) {
    color: var(--heading, #2C3236);
}

.currency-switcher__btn.is-active {
    background: #fff;
    color: var(--heading, #2C3236);
    box-shadow: 0 1px 2px rgba(44, 50, 54, 0.08);
    cursor: default;
}

.currency-switcher__btn:focus-visible {
    outline: 2px solid var(--primary, #4A8268);
    outline-offset: 1px;
}

.currency-switcher--footer .currency-switcher__track {
    background: rgba(255, 255, 255, 0.08);
}

.currency-switcher--footer .currency-switcher__btn {
    color: rgba(255, 255, 255, 0.55);
}

.currency-switcher--footer .currency-switcher__btn:hover:not(.is-active):not(:disabled) {
    color: rgba(255, 255, 255, 0.85);
}

.currency-switcher--footer .currency-switcher__btn.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: none;
}

.currency-switcher--footer .currency-switcher__btn:focus-visible {
    outline-color: var(--gold, #E6A23C);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--heading);
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-toggle:hover {
    background: var(--bg-alt);
    border-color: var(--hover-border);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.nav-toggle__icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 20px;
    height: 14px;
}

.nav-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
    transform-origin: center;
}

.nav-toggle.is-open {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: rgba(var(--primary-rgb), 0.22);
    color: var(--primary);
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--site-top-h, var(--header-h));
    background: rgba(var(--navy-rgb), 0.45);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.25s var(--ease);
    border: none;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

body.nav-open .nav-backdrop {
    display: block;
    opacity: 1;
}

body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
    position: relative;
    width: 100%;
}

html.nav-open {
    overflow: hidden;
    height: 100%;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    border: none;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
    white-space: nowrap;
}

.btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: var(--card);
    color: var(--heading);
    border: 1px solid var(--border);
}

.btn--secondary:hover {
    border-color: var(--hover-border);
    box-shadow: var(--shadow-sm);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn--ghost:hover {
    color: var(--heading);
    border-color: var(--hover-border);
    background: var(--card);
}

.btn--white {
    background: #fff;
    color: var(--primary);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--heading);
    border: 1px solid var(--border);
}

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

.btn--sm { padding: 7px 14px; font-size: 0.8125rem; }
.btn--lg { padding: 12px 22px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

/* ─── Hero ─── */
.hero {
    background:
        linear-gradient(180deg, var(--hero-gradient-start) 0%, var(--bg) 100%);
    color: var(--heading);
    padding: clamp(48px, 6vw, 72px) 0 clamp(56px, 7vw, 80px);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin: 0 0 16px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(var(--success-rgb), 0.08);
    border: 1px solid rgba(var(--success-rgb), 0.22);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: var(--heading);
    margin-bottom: 20px;
}

.hero-title-line {
    display: block;
}

.hero-title-line--accent {
    color: var(--primary);
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: var(--text);
    max-width: 28rem;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-bottom: 20px;
}

.hero-cta-secondary {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--heading);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(var(--primary-rgb), 0.35);
}

.hero-cta-secondary:hover {
    color: var(--primary);
    text-decoration-color: var(--primary);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin: 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--border);
    list-style: none;
}

.hero-proof__stat {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--text);
    white-space: nowrap;
}

.hero-proof__stat strong {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--primary);
}

.hero-proof__stat span {
    color: var(--text-light);
}

.hero-proof__stat:not(:first-child) {
    padding-left: 14px;
    border-left: 1px solid var(--border);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    padding: 28px 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.hero-stat {
    min-width: 100px;
}

.hero-trust-pills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
}

.hero-trust-pills li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--heading);
}

.hero-trust-pills svg {
    width: 15px;
    height: 15px;
    color: var(--primary);
    flex-shrink: 0;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text);
    margin-top: 4px;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-browser {
    background: var(--card);
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.5s var(--ease);
}

.hero-browser:hover { transform: translateY(-6px); }

.hero-browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.browser-url {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-light);
}

.hero-browser-body {
    padding: 32px;
}

.mock-line {
    height: 12px;
    background: var(--mock-line);
    border-radius: 6px;
    margin-bottom: 14px;
}

.mock-line--lg { width: 75%; height: 20px; }
.mock-line--md { width: 50%; }
.mock-line--btn {
    width: 120px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    margin-top: 20px;
    opacity: 0.9;
}

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

.mock-block {
    height: 72px;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.hero-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--heading);
}

.hero-chip--1 { top: 12%; right: -16px; }
.hero-chip--2 { bottom: 16%; left: -20px; }
.hero-chip .chip-value { color: var(--gold); }

/* ─── Trust band (social proof + security) ─── */
.trust-band {
    padding: 20px 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.trust-band__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.trust-band__head {
    min-width: 0;
}

.trust-band-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 48px;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.trust-band-label {
    margin: 0 0 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
}

.trust-band-score {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 0;
}

.trust-band-score .rating-stars {
    color: var(--gold);
    flex-shrink: 0;
}

.trust-band-score__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--text);
}

.trust-band-score__text strong {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--heading);
}

.trust-band-score__detail,
.trust-band-score__region {
    display: inline;
}

.trust-band-score__region::before {
    content: ' · ';
}

.trust-band-clients {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-band-clients li {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
}

.trust-band-clients__sep {
    display: none;
}

.trust-band-secure__label--short {
    display: none;
}

.trust-band-secure {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 28px;
    margin: 0;
    padding: 0;
}

.trust-band-secure li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
    white-space: nowrap;
}

.trust-band-secure svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

/* ─── Sections ─── */
.section {
    padding: var(--section-pad) 0;
}

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

.section--navy .section-title { color: #fff; }
.section--navy .section-desc { color: rgba(255, 255, 255, 0.65); }
.section--navy .section-label { color: var(--gold); }

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto var(--header-gap);
}

.section-header--row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
    max-width: none;
    margin-bottom: 56px;
}

.section-label,
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--heading);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text);
    line-height: 1.7;
}

/* ─── Service cards ─── */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    box-shadow: var(--shadow-sm);
}

.service-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    padding: 32px 28px;
    color: inherit;
    text-decoration: none;
}

.service-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.service-card__more svg {
    width: 16px;
    height: 16px;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: var(--radius-sm);
    color: var(--primary);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.65;
    flex: 1;
}

.service-outcome,
.service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    width: 100%;
    line-height: 1.4;
}

.service-outcome svg,
.service-card__cta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
}

.service-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.service-benefit-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px;
}

.service-benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
}

.service-benefit-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.6;
}

.service-icon--page {
    margin-bottom: 24px;
}

.service-icon--inline {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
}

.service-icon--inline svg {
    width: 18px;
    height: 18px;
}

.service-benefit-card .service-icon--inline {
    margin-bottom: 16px;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.tech-stack-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
}

.tech-stack-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tech-stack-card__head h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--heading);
}

.tech-stack-card .about-points {
    margin: 0;
}

.tech-stack-card .about-points li {
    padding: 8px 0;
    font-size: 0.875rem;
}

.about-learn-more {
    margin: 0 0 28px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-light);
}

.about-learn-more a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.about-learn-more a:hover {
    text-decoration: underline;
}

.about-content__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.resource-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.resource-guide-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.resource-guide-card--has-media {
    padding: 0;
}
.resource-guide-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-alt);
}
.resource-guide-card__media picture,
.resource-guide-card__media img,
.resource-guide-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.resource-guide-card--has-media h3,
.resource-guide-card--has-media p,
.resource-guide-card--has-media .resource-guide-card__link,
.resource-guide-card--has-media .resource-guide-card__icon {
    margin-left: 28px;
    margin-right: 28px;
}
.resource-guide-card--has-media h3 {
    margin-top: 24px;
}
.resource-guide-card--has-media .resource-guide-card__icon {
    margin-top: 24px;
}
.resource-guide-card--has-media .resource-guide-card__link {
    margin-bottom: 28px;
}

.resource-guide-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.resource-guide-card h3 a {
    color: var(--heading);
    text-decoration: none;
}

.resource-guide-card h3 a:hover {
    color: var(--primary);
}

.resource-guide-card p {
    flex: 1;
    margin-bottom: 20px;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text);
}

.resource-guide-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

/* ─── Work grid ─── */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.work-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    color: inherit;
}

.work-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-metric {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--heading);
    line-height: 1.2;
}

.work-metric strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--primary);
}

.work-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.work-industry {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 10px;
}

.work-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.25;
    margin-bottom: 4px;
}

.work-client {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 12px;
}

.work-summary {
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.work-result {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--heading);
    padding: 12px 14px;
    margin-bottom: 16px;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    border-radius: var(--radius-sm);
}

.work-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.work-card-link svg {
    width: 16px;
    height: 16px;
}

.work-section-cta {
    text-align: center;
    margin-top: var(--block-gap);
}

/* ─── Pricing ─── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}

.site-upgrades-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    margin-top: 8px;
}

@media (max-width: 1024px) {
    .site-upgrades-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

.site-upgrades-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.site-upgrades-card .pricing-card-badges {
    align-self: flex-start;
    width: auto;
}

.site-upgrades-card .pricing-sale-badge {
    width: auto;
    max-width: 100%;
}

.site-upgrades-card .pricing-features {
    flex: 1;
}

.site-upgrades-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
}

.site-upgrades-video {
    max-width: 880px;
    margin: 0 auto 40px;
}

.site-upgrades-video .guide-video {
    margin: 0;
}

.site-upgrades-video__heading {
    text-align: center;
    margin-bottom: 20px;
}

.site-upgrades-video__heading h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--heading);
    margin: 0 0 8px;
}

.site-upgrades-video__heading p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.site-upgrades-teaser {
    margin-top: 48px;
    padding: 32px 36px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.04) 0%, var(--card) 55%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-upgrades-teaser__copy {
    flex: 1 1 280px;
    max-width: 640px;
}

.site-upgrades-teaser__copy h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0 0 8px;
    color: var(--heading);
}

.site-upgrades-teaser__copy p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.site-upgrades-teaser__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 640px) {
    .site-upgrades-teaser {
        padding: 24px;
    }

    .site-upgrades-teaser__actions {
        width: 100%;
    }

    .site-upgrades-teaser__actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

.pricing-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 40px 32px;
}

.pricing-card--popular {
    border: 2px solid var(--primary);
}

.pricing-card--sale {
    border-color: rgba(var(--accent-rgb), 0.55);
}

.pricing-card--popular.pricing-card--sale {
    border: 2px solid var(--primary);
}

.pricing-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    min-height: 0;
}

.pricing-card-badges--header {
    justify-content: center;
    margin-bottom: 20px;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.pricing-card-badges .pricing-badge {
    position: static;
    transform: none;
}

.pricing-badge--header {
    position: static;
    transform: none;
    display: inline-block;
}

.pricing-sale-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-card-badges .pricing-sale-badge {
    position: static;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pricing-price--card .pricing-price-current,
.pricing-price--lg .pricing-price-current {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.pricing-price--table .pricing-price-current {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--heading);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.pricing-price-original {
    font-size: 0.9375rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.pricing-price--table .pricing-price-original {
    font-size: 0.8125rem;
}

.pricing-price--sale .pricing-price-current {
    color: var(--primary);
}

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
}

.pricing-tagline {
    font-size: 0.9375rem;
    color: var(--text);
    margin-bottom: 24px;
    min-height: 48px;
}

.price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading);
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 0.9375rem;
    color: var(--text-light);
}

.pricing-delivery {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 8px 0 28px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { flex-shrink: 0; color: var(--success); margin-top: 4px; width: 16px; height: 16px; }

.pricing-note {
    text-align: center;
    margin-top: 48px;
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* Pricing comparison table */
.pricing-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
}

.pricing-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    table-layout: fixed;
}

.pricing-table caption.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pricing-table-label-col {
    width: 200px;
}

.pricing-table th,
.pricing-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    text-align: center;
}

.pricing-table thead th {
    padding-top: 24px;
    padding-bottom: 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.pricing-table tbody th {
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--heading);
    background: var(--bg);
    width: 200px;
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tfoot th,
.pricing-table tfoot td {
    background: var(--bg);
    border-bottom: none;
    padding-top: 20px;
    padding-bottom: 24px;
}

.pricing-table tfoot th {
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--heading);
}

.pricing-table-plan {
    position: relative;
    vertical-align: top;
}

.pricing-table-plan--popular {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.07) 0%, rgba(var(--primary-rgb), 0.02) 100%);
    box-shadow: inset 0 0 0 2px var(--primary);
}


.pricing-table-plan--popular.pricing-table-plan--sale {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.07) 0%, rgba(var(--accent-rgb), 0.04) 100%);
    box-shadow:
        inset 0 0 0 2px var(--primary),
        inset 0 3px 0 0 var(--gold);
}

.pricing-table-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    min-height: 52px;
}

.pricing-table tbody td.is-popular-col,
.pricing-table tfoot td.is-popular-col {
    background: rgba(var(--primary-rgb), 0.03);
}

.pricing-table tbody td.is-sale-col,
.pricing-table tfoot td.is-sale-col {
    background: rgba(var(--accent-rgb), 0.04);
}

.pricing-table tbody td.is-popular-col.is-sale-col,
.pricing-table tfoot td.is-popular-col.is-sale-col {
    background: rgba(var(--primary-rgb), 0.04);
}

.pricing-table-popular {
    display: inline-block;
    padding: 5px 12px;
    background: var(--primary);
    color: #fff;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-table-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
    line-height: 1.3;
}

.package-sale-note {
    margin: -12px 0 20px;
    padding: 12px 14px;
    background: rgba(var(--accent-rgb), 0.12);
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--heading);
}

.checkout-sale-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.checkout-sale-summary strong {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--primary);
}

.checkout-panel--popular {
    border-color: var(--primary);
}

.checkout-panel--sale {
    border-color: rgba(var(--accent-rgb), 0.4);
}

.pricing-table-timeline {
    display: block;
    margin-top: 6px;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.pricing-table-tagline {
    display: block;
    margin: 10px 0 16px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text);
    min-height: 40px;
}

.pricing-table-cta {
    width: 100%;
}

.pricing-table-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.pricing-table-icon svg {
    width: 16px;
    height: 16px;
}

.pricing-table-icon--yes {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
}

.pricing-table-icon--no {
    background: var(--bg);
    color: var(--text-light);
}

.pricing-table-text {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text);
    max-width: 180px;
    margin: 0 auto;
}

.pricing-cards-mobile {
    display: none;
}

@media (max-width: 900px) {
    .pricing-table-wrap {
        display: none;
    }

    .pricing-cards-mobile {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (min-width: 901px) {
    .pricing-grid .pricing-table-wrap {
        width: 100%;
    }
}

/* ─── Process ─── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px 28px;
}

.process-num {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.65;
}

/* ─── Testimonials ─── */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 36px 32px;
    margin: 0;
}

.testimonial-stars {
    margin-bottom: 0;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 28px;
}

.testimonial-card footer strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--heading);
    margin-bottom: 4px;
}

.testimonial-card footer span {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* ─── About ─── */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--block-gap);
    align-items: center;
}

.about-photo {
    aspect-ratio: 4/5;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--navy);
    border: 1px solid var(--border);
}

.about-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--heading);
}

.about-content p {
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.75;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0 40px;
}

.pillar {
    padding: 18px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    color: var(--text);
}

.pillar strong { color: var(--heading); display: block; margin-bottom: 4px; }

/* ─── Contact ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--block-gap);
    align-items: start;
}

.refund-request {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: var(--block-gap);
    align-items: start;
}

.refund-request__main .form-alert {
    margin-bottom: 20px;
}

.refund-request-form.contact-form {
    padding: 28px;
}

.refund-form-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.refund-form-step {
    padding: 22px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.refund-form-step--accent {
    background: var(--card);
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.06);
}

.refund-form-step--warning {
    margin-top: 14px;
    background: rgba(239, 68, 68, 0.03);
    border-color: rgba(239, 68, 68, 0.18);
}

.refund-form-step__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.refund-form-step--accent .refund-form-step__header {
    border-bottom-color: rgba(var(--primary-rgb), 0.15);
}

.refund-form-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.12);
    flex-shrink: 0;
}

.refund-form-step__num--warning {
    color: #DC2626;
    background: rgba(239, 68, 68, 0.12);
}

.refund-form-step__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 4px;
}

.refund-form-step__desc {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.refund-form-step__body .form-group:last-child {
    margin-bottom: 0;
}

.refund-form-step__submit {
    justify-content: center;
    gap: 8px;
}

.refund-request-form .checkout-form--sections {
    gap: 14px;
}

.refund-request__notice {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    margin: 20px 0;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--warning, #f59e0b) 10%, var(--bg));
    border: 1px solid color-mix(in srgb, var(--warning, #f59e0b) 28%, transparent);
}

.refund-request__notice svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--warning, #d97706);
}

.refund-request__notice p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text);
}

.refund-ref-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.refund-ref-toggle__option {
    cursor: pointer;
}

.refund-ref-toggle__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.refund-ref-toggle__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    height: 100%;
    padding: 16px;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.refund-ref-toggle__card svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    margin-bottom: 4px;
}

.refund-ref-toggle__title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--heading);
}

.refund-ref-toggle__hint {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.4;
}

.refund-ref-toggle__option input:focus-visible + .refund-ref-toggle__card {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.refund-ref-toggle__option input:checked + .refund-ref-toggle__card {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.12);
}

.form-group__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 10px;
}

.refund-request-form .checkout-form__fields .form-group:last-child {
    margin-bottom: 0;
}

.refund-request-form .form-hint {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
}

.refund-request-outcome[hidden] {
    display: none !important;
}

.refund-request-outcome--eligible {
    margin-top: 16px;
    padding: 20px;
    border-top: 0;
    border-radius: var(--radius-sm);
    background: rgba(var(--primary-rgb), 0.04);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
}

.refund-request-outcome__lead {
    margin: 0 0 16px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text);
}

.refund-request-outcome--ineligible {
    margin-top: 14px;
}

.refund-request-panel--ineligible {
    margin-top: 14px;
    background: rgba(239, 68, 68, 0.03);
    border-color: rgba(239, 68, 68, 0.18);
}

.refund-request-panel__step--muted {
    color: #DC2626;
    background: rgba(239, 68, 68, 0.12);
}

.refund-request-panel__policy-notice {
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.18);
}

.refund-request-panel__policy-notice p {
    margin: 0 0 8px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text);
}

.refund-request-panel__policy-notice p:last-child {
    margin-bottom: 0;
}

.refund-request-form__ack {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 20px;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text);
}

.refund-request-form__ack input {
    margin-top: 3px;
    flex-shrink: 0;
}

.refund-request-form .checkout-submit {
    width: 100%;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 900px) {
    .refund-request {
        grid-template-columns: 1fr;
    }

    .refund-request-form.contact-form {
        padding: 22px 18px;
    }
}

@media (max-width: 560px) {
    .refund-ref-toggle {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1025px) {
    .contact-grid__info { order: 1; }
    .contact-grid__form { order: 2; }
}

.contact-info .section-header {
    text-align: left;
    margin: 0 0 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    transition: color var(--transition);
}

.contact-link:hover { color: var(--primary); }
.contact-link svg { color: var(--primary); flex-shrink: 0; }

.contact-info-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px;
}

.contact-info-panel--sticky {
    position: sticky;
    top: calc(var(--site-top-h, 80px) + 24px);
    align-self: start;
    z-index: 2;
}

.contact-info-panel__title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--heading);
    margin: 8px 0 12px;
    line-height: 1.2;
}

.contact-info-panel__lead {
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 4px;
}

.contact-info-panel .contact-promise {
    margin: 20px 0;
}

.contact-info-panel__links {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.contact-info-panel__link {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-info-panel__link:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    box-shadow: 0 4px 16px rgba(44, 50, 54, 0.06);
}

.contact-info-panel__link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.contact-info-panel__link-icon svg {
    width: 20px;
    height: 20px;
}

.contact-info-panel__link-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact-info-panel__link-body strong {
    font-size: 0.875rem;
    color: var(--heading);
}

.contact-info-panel__link-body span {
    font-size: 0.8125rem;
    color: var(--text-light);
    word-break: break-word;
}

.contact-info-panel__trust {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.contact-info-panel__trust li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.5;
}

.contact-info-panel__trust svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-panel__note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-info-panel__note a {
    color: var(--primary);
    font-weight: 600;
}

.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { margin-bottom: 24px; }

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--heading);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.form-alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.9375rem;
}

.form-alert--success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.form-alert--error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #DC2626;
}

/* ─── Footer ─── */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.75);
    padding: 72px 0 28px;
    overflow-x: clip;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr);
    gap: clamp(32px, 5vw, 56px);
    margin-bottom: 48px;
    align-items: start;
}

.footer-grid .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.65;
    max-width: 340px;
    color: #94A3B8;
    margin: 0;
}

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

.footer-group {
    min-width: 0;
    border: 0;
}

.footer-group__title {
    list-style: none;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
    cursor: default;
    user-select: none;
}

.footer-group__title::-webkit-details-marker {
    display: none;
}

.footer-group__links a {
    display: block;
    font-size: 0.9375rem;
    padding: 7px 0;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition);
    word-break: break-word;
}

.footer-group__links a:hover {
    color: var(--accent-hover);
}

.footer-group--contact {
    grid-column: 1 / -1;
}

.footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 16px;
}

.site-footer .trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
}

.site-footer .trust-badge svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom__copy,
.footer-bottom__meta {
    margin: 0;
    font-size: 0.8125rem;
    color: #94A3B8;
    line-height: 1.5;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 20px;
}

.footer-legal a {
    font-size: 0.8125rem;
    color: #CBD5E1;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--accent-hover, rgba(255, 255, 255, 0.85));
}

.footer-payments {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-bottom__utilities {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
}

.payment-logo {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.85);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
    background: rgba(var(--accent-hover-rgb, var(--accent-rgb)), 0.15);
    color: var(--accent-hover);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.footer-statement {
    font-size: 0.875rem;
    color: #94A3B8;
    font-style: italic;
    margin: 16px 0 0;
    max-width: 320px;
}

.footer-newsletter {
    margin-top: 24px;
    width: 100%;
    max-width: 360px;
}

.footer-newsletter__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 8px;
}

.footer-newsletter__row {
    display: flex;
    gap: 8px;
}

.footer-newsletter__row input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font: inherit;
    font-size: 0.9375rem;
}

.footer-newsletter__row input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter__row input:focus {
    outline: none;
    border-color: rgba(var(--accent-rgb), 0.55);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.footer-newsletter__row .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Legacy selectors - keep for any older markup */
.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.9375rem;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent-hover); }

@media (min-width: 769px) {
    .footer-group__title {
        pointer-events: none;
        cursor: default;
        padding: 0;
    }

    .footer-group__title::after {
        display: none;
    }

    .footer-group {
        border-bottom: none;
    }

    .footer-group__links {
        padding-bottom: 0;
    }
}

@media (min-width: 1025px) {
    .footer-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }

    .footer-group--contact {
        grid-column: auto;
    }
}

/* ─── Page templates ─── */
.page-header {
    padding: 64px 0 48px;
    text-align: center;
    background: var(--bg);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-header p {
    color: var(--text);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.0625rem;
}

.page-content {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    background: var(--bg);
}

.thank-you-body {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.thank-you-body > p {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 28px;
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (max-width: 640px) {
    .thank-you-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .thank-you-actions .btn {
        width: 100%;
    }
}

.package-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.checkout-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 36px;
    position: sticky;
    top: calc(var(--site-top-h) + 24px);
}

.checkout-panel h3 {
    font-family: var(--font-heading);
    color: var(--heading);
    margin-bottom: 24px;
}

.checkout-panel--focused {
    box-shadow: 0 0 0 3px rgba(74, 130, 104, 0.35);
    transition: box-shadow 0.3s ease;
}

.gateway-options {
    border: none;
    margin: 20px 0 24px;
    padding: 0;
}

.gateway-options__legend {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 6px;
    padding: 0;
}

.gateway-options__desc {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 14px;
}

.gateway-options__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gateway-option {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.gateway-option:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    background: rgba(var(--primary-rgb), 0.03);
}

.gateway-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.12);
}

.gateway-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.gateway-option__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--primary);
    flex-shrink: 0;
}

.gateway-option__icon svg {
    width: 20px;
    height: 20px;
}

.gateway-option:has(input:checked) .gateway-option__icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.gateway-option__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gateway-option__label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--heading);
    line-height: 1.3;
}

.gateway-option__hint {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.4;
}

.gateway-option__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border);
    color: transparent;
    flex-shrink: 0;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.gateway-option__check svg {
    width: 14px;
    height: 14px;
}

.gateway-option:has(input:checked) .gateway-option__check {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.gateway-option:focus-within {
    outline: 2px solid rgba(var(--primary-rgb), 0.35);
    outline-offset: 2px;
}

/* Invoice */
.invoice-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 48px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.invoice-table { width: 100%; border-collapse: collapse; margin: 24px 0; }

.invoice-table th,
.invoice-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.invoice-table th {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.invoice-total {
    text-align: right;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--heading);
    margin-top: 8px;
}

.invoice-totals {
    text-align: right;
    margin-top: 16px;
}

.invoice-totals p {
    color: var(--text-muted);
    margin: 0 0 2px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.invoice-totals .invoice-total {
    margin-top: 6px;
    font-size: 1.0625rem;
}

.invoice-total--paid {
    color: var(--success);
    font-size: 0.9375rem;
    font-weight: 500;
}

.invoice-total--due {
    font-weight: 600;
    font-size: 0.9375rem;
}

.invoice-pay-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.invoice-pay-hero__amount {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--heading);
    line-height: 1.2;
}

.invoice-pay-hero__detail {
    margin: 4px 0 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

.invoice-pay-hero__side {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.invoice-pay-hero__status {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.invoice-pay-hero__sub {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.invoice-pay-hero__cta {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--heading);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm, 6px);
    background: transparent;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.invoice-pay-hero__cta:hover {
    border-color: var(--heading);
    background: rgba(0, 0, 0, 0.02);
}

.invoice-pay-hero__note {
    margin: 0;
    max-width: 280px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.invoice-pay-panel--unavailable {
    padding: 20px;
    border-radius: var(--radius-card);
    background: #F8FAFC;
    color: var(--text-muted);
}

.invoice-paid-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.invoice-paid-hero__label {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.invoice-paid-hero__date {
    margin: 4px 0 0;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--heading);
    letter-spacing: -0.01em;
}

.invoice-paid-hero__links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.invoice-paid-hero__link {
    display: inline-block;
    padding: 8px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--heading);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm, 6px);
    background: transparent;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.invoice-paid-hero__link:hover {
    border-color: var(--heading);
    background: rgba(0, 0, 0, 0.02);
}

.invoice-pay-panel {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.invoice-pay-panel__header {
    margin-bottom: 20px;
}

.invoice-pay-panel__header h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--heading);
    margin-bottom: 4px;
}

.invoice-pay-panel__amount {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
}

.invoice-pay-form .checkout-terms {
    margin: 20px 0;
}

.invoice-pay-panel__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.invoice-pay-panel__secure svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.invoice-paid-footer {
    margin: 32px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.invoice-paid-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
    padding: 20px;
    border-radius: var(--radius-card);
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    font-weight: 600;
}

.invoice-paid-banner svg {
    width: 22px;
    height: 22px;
}

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

.invoice-brand__logo {
    max-height: 40px;
    width: auto;
}

.invoice-brand__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
}

.invoice-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--navy, #1a1a2e);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.invoice-brand__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

.invoice-header__contact {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 12px;
}

.invoice-header__doc {
    text-align: right;
}

.invoice-header__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.invoice-header__number {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.invoice-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.invoice-meta-grid__right {
    text-align: right;
}

.invoice-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.invoice-muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.invoice-muted--small {
    font-size: 0.85rem;
}

.invoice-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.invoice-terms-box {
    margin-top: 24px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.04);
}

.invoice-terms-box__text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contract-document h2,
.contract-document h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    color: var(--heading);
}

.contract-document__signed,
.contract-document .account-badge {
    display: inline-block;
    margin-bottom: 16px;
}

.contract-body {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.contract-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.invoice-milestones {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.invoice-milestones__title {
    font-size: 1rem;
    margin-bottom: 12px;
}

.invoice-milestones__table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-milestones__table th,
.invoice-milestones__table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.invoice-milestones__table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--text-dim);
}

.invoice-milestone-row.is-next {
    background: rgba(var(--primary-rgb), 0.05);
}

.invoice-milestone-row__next {
    display: block;
    font-size: 0.78rem;
    color: var(--primary);
    margin-top: 4px;
}

.invoice-milestone-row__date {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 4px;
}

.invoice-milestone-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.invoice-milestone-status--paid {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
}

.invoice-milestone-status--pending {
    background: rgba(245, 158, 11, 0.12);
    color: #B45309;
}

.invoice-partial-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    margin-bottom: 24px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.invoice-pay-panel__milestone {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.invoice-flash {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.invoice-flash--success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.invoice-flash--error {
    background: rgba(239, 68, 68, 0.1);
    color: #B91C1C;
}

@media (max-width: 640px) {
    .invoice-page {
        margin: 16px;
        padding: 24px 20px;
    }

    .invoice-page > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .invoice-page > div[style*="grid-template-columns"] > div:last-child {
        text-align: left !important;
    }

    .invoice-meta-grid {
        grid-template-columns: 1fr;
    }

    .invoice-meta-grid__right,
    .invoice-header__doc {
        text-align: left;
    }
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge--partially_paid { background: rgba(245, 158, 11, 0.12); color: #B45309; }
.status-badge--paid { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.status-badge--sent { background: rgba(var(--primary-rgb), 0.1); color: var(--primary); }
.status-badge--due { background: rgba(245, 158, 11, 0.12); color: #B45309; }
.status-badge--overdue { background: rgba(239, 68, 68, 0.12); color: #B91C1C; }
.status-badge--draft { background: #F1F5F9; color: var(--text); }
.status-badge--cancelled { background: #F1F5F9; color: var(--text-muted); }

/* Minimal pages (checkout success/cancel) */
.minimal-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    overflow-x: clip;
    max-width: 100%;
}

.minimal-header {
    padding:
        max(16px, env(safe-area-inset-top))
        max(20px, env(safe-area-inset-right))
        16px
        max(20px, env(safe-area-inset-left));
    border-bottom: 1px solid var(--border);
    background: var(--card);
}

.minimal-header .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--heading);
    text-decoration: none;
}

.minimal-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding:
        32px
        max(20px, env(safe-area-inset-right))
        max(48px, env(safe-area-inset-bottom))
        max(20px, env(safe-area-inset-left));
    min-width: 0;
}

.minimal-content--wide {
    align-items: flex-start;
    max-width: min(1080px, 100%);
    padding-top: 24px;
    padding-bottom: 56px;
}

/* Global checkout flow */
.checkout-flow {
    width: 100%;
}

.checkout-flow__header {
    margin-bottom: 32px;
}

.checkout-flow__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
}

.checkout-flow__back:hover {
    color: var(--primary);
}

.checkout-flow__back svg {
    width: 16px;
    height: 16px;
}

.checkout-flow__title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.checkout-flow h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 8px;
}

.checkout-flow__tagline {
    color: var(--text-light);
    line-height: 1.6;
    max-width: 540px;
}

.checkout-flow__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
    align-items: flex-start;
}

.checkout-flow__badges .pricing-badge {
    position: static;
    transform: none;
}

.checkout-flow__grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.checkout-flow__summary {
    position: sticky;
    top: 24px;
}

.checkout-order-card {
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}

.checkout-order-card__title {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 16px;
}

.checkout-steps {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.checkout-steps__item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    padding: 10px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-light);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.checkout-steps__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--bg-alt);
    color: var(--text-light);
    flex-shrink: 0;
}

.checkout-steps__item.is-active {
    color: var(--heading);
    border-color: rgba(var(--primary-rgb), 0.35);
    background: rgba(var(--primary-rgb), 0.06);
}

.checkout-steps__item.is-active span {
    background: var(--primary);
    color: #fff;
}

.checkout-flow__main {
    min-width: 0;
}

.checkout-flow__price {
    margin-bottom: 12px;
}

.checkout-flow__currency {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.checkout-flow__currency-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin-bottom: 8px;
}

.checkout-flow__currency-note {
    margin: 8px 0 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-light);
}

.checkout-auth {
    padding: 8px 0;
}

.checkout-auth__intro {
    margin-bottom: 20px;
}

.checkout-auth__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 8px;
}

.checkout-auth__desc {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.checkout-auth__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 4px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
}

.checkout-auth__tab {
    flex: 1;
    border: 0;
    background: transparent;
    color: var(--text-light);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: calc(var(--radius-sm) - 2px);
    cursor: pointer;
}

.checkout-auth__tab.is-active {
    background: var(--card);
    color: var(--heading);
    box-shadow: var(--shadow-sm);
}

.checkout-auth__panel {
    display: none;
}

.checkout-auth__panel.is-active {
    display: block;
}

.checkout-auth__help,
.checkout-auth__footer {
    margin: 12px 0 0;
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}

.checkout-auth__footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.input-readonly {
    background: var(--bg-alt);
    color: var(--text-light);
    cursor: not-allowed;
}

.maintenance-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-h, 80px));
    padding: 48px 24px;
}

.maintenance-page__inner {
    max-width: 520px;
    text-align: center;
}

.maintenance-page__inner h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--heading);
    margin: 12px 0 16px;
}

.maintenance-page__message {
    color: var(--text);
    line-height: 1.65;
    margin: 0 auto 12px;
}

.maintenance-page__eta {
    color: var(--text-muted, #8A9399);
    margin: 0 auto 28px;
}

.maintenance-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.maintenance-page__note {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0;
}

.checkout-flow__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.checkout-flow__meta svg {
    width: 16px;
    height: 16px;
}

.checkout-flow__due {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    margin-bottom: 24px;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-radius: var(--radius-sm);
}

.checkout-flow__due span {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
}

.checkout-flow__due strong {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--heading);
}

.checkout-flow__schedule h2,
.checkout-flow__schedule h3,
.checkout-flow__includes h2,
.checkout-flow__includes h3 {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 12px;
}

.checkout-flow__schedule ul {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.checkout-flow__schedule li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
    color: var(--text);
}

.checkout-flow__schedule li.is-active {
    color: var(--heading);
    font-weight: 600;
}

.checkout-flow__schedule li:last-child {
    border-bottom: none;
}

.checkout-flow__details-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.checkout-panel--flow {
    position: static;
    padding: 28px;
}

.checkout-form--sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-section {
    padding: 22px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.checkout-section--payment {
    background: var(--card);
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.06);
}

.checkout-section--confirm {
    background: rgba(var(--primary-rgb), 0.04);
    border-color: rgba(var(--primary-rgb), 0.18);
}

.checkout-section__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.checkout-section--payment .checkout-section__header {
    border-bottom-color: rgba(var(--primary-rgb), 0.15);
}

.checkout-section__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.12);
    flex-shrink: 0;
}

.checkout-section__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 4px;
}

.checkout-section__desc {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.checkout-section__body .checkout-form__fields {
    margin-bottom: 0;
}

.checkout-form__fields .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.gateway-options--embedded {
    margin: 0;
}

.checkout-confirm-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    margin-bottom: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.checkout-confirm-total span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.checkout-confirm-total strong {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary);
}

.checkout-form--sections .checkout-terms {
    margin: 0 0 16px;
}

.checkout-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-submit svg {
    width: 18px;
    height: 18px;
}

.checkout-section__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.checkout-section__secure svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.package-checkout-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 0;
    position: sticky;
    top: calc(var(--site-top-h, 80px) + 24px);
    align-self: start;
    z-index: 3;
    max-height: calc(100vh - var(--site-top-h, 80px) - 48px);
    overflow: auto;
    overscroll-behavior: contain;
}

.package-checkout-card__inner {
    padding: 32px;
}

.package-checkout-card--popular {
    border-color: rgba(var(--primary-rgb), 0.35);
}

.package-checkout-card--sale {
    border-color: rgba(230, 162, 60, 0.45);
}

.package-checkout-card h3 {
    font-family: var(--font-heading);
    color: var(--heading);
    margin-bottom: 8px;
}

.package-checkout-card__intro {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.package-checkout-card__price {
    margin-bottom: 16px;
}

.package-checkout-card__due {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    margin-bottom: 20px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: var(--radius-sm);
}

.package-checkout-card__due span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
}

.package-checkout-card__due strong {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--heading);
}

.package-checkout-card .btn {
    margin-bottom: 16px;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
}

.error-page {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-page h1 {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary);
}

/* ─── Reveal animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ─── Sticky mobile CTA ─── */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    align-items: center;
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

.sticky-mobile-cta.is-visible {
    display: flex;
}

.sticky-mobile-cta .btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.8125rem;
}

body.has-sticky-cta {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

body.nav-open .sticky-mobile-cta {
    display: none !important;
}

/* ─── Back to top ─── */
.back-to-top {
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    z-index: 997;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: var(--heading);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.back-to-top:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

body.has-sticky-cta .back-to-top {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

body.nav-open .back-to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}

@media (min-width: 1101px) {
    body.has-sticky-cta .back-to-top {
        bottom: max(20px, env(safe-area-inset-bottom, 0px));
    }
}

@media (min-width: 1101px) {
    .sticky-mobile-cta {
        display: none !important;
    }

    body.has-sticky-cta {
        padding-bottom: 0;
    }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    :root {
        --section-pad: 80px;
        --block-gap: 40px;
        --header-gap: 40px;
    }
    .hero-grid,
    .about-grid,
    .contact-grid,
    .package-detail { grid-template-columns: 1fr; }
    .contact-info-panel--sticky {
        position: static;
        top: auto;
        z-index: auto;
    }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .resource-guide-grid,
    .service-benefits,
    .tech-stack-grid { grid-template-columns: repeat(2, 1fr); }
    .work-grid,
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .trust-badges-grid,
    .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-visual { max-width: 520px; margin: 0 auto; }
    .section-header--row { flex-direction: column; align-items: flex-start; gap: 20px; }
    .hero-chip--1 { right: 0; }
    .hero-chip--2 { left: 0; }
}

@media (min-width: 1101px) {
    .header-inner .nav {
        flex: 1 1 auto;
        min-width: 0;
    }

    .nav-toggle {
        display: none;
    }
}

@media (max-width: 1200px) {
    .nav__body {
        gap: 14px;
    }

    .nav a:not(.btn) {
        font-size: 0.875rem;
    }

    .nav .btn--sm {
        padding: 8px 12px;
        font-size: 0.8125rem;
    }

    .nav__actions {
        margin-left: 8px;
        padding-left: 10px;
        gap: 8px;
    }

    .nav__ctas {
        gap: 6px;
    }
}

@media (max-width: 1100px) {
    html.nav-open,
    body.nav-open {
        overflow: hidden;
        overscroll-behavior: none;
    }

    body.nav-open {
        touch-action: none;
    }

    body.nav-open .nav.open {
        touch-action: pan-y;
    }

    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--bg);
    }

    .logo {
        min-width: 0;
        flex: 1;
    }

    .logo > span:not(.logo-mark) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav {
        position: fixed;
        top: var(--site-top-h, var(--header-h));
        left: auto;
        right: 0;
        bottom: 0;
        width: min(100%, 360px);
        max-width: 100vw;
        height: calc(100dvh - var(--site-top-h, var(--header-h)));
        max-height: calc(100dvh - var(--site-top-h, var(--header-h)));
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
        margin: 0;
        transform: translate3d(100%, 0, 0);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
        border: none;
        box-shadow: none;
        z-index: 1101;
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .nav__body,
    .nav__actions {
        display: flex;
        flex-direction: column;
    }

    .nav__body {
        flex: 1;
        overflow-y: auto;
        padding: 0 24px;
        min-height: 0;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        gap: 0;
    }

    .nav__actions {
        flex-shrink: 0;
        gap: 12px;
        padding: 20px 24px calc(24px + env(safe-area-inset-bottom, 0px));
        border-top: none;
        background: var(--bg);
        margin-left: 0;
        padding-left: 24px;
        border-left: none;
        box-shadow: none;
    }

    .nav__account-wrap {
        width: 100%;
    }

    .nav__ctas {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .nav.open {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 20px 0;
        width: 100%;
        font-size: 1.0625rem;
        font-weight: 500;
        color: var(--heading);
        background: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        transition: color 0.15s;
    }

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

    .site-modern .nav .nav__link {
        padding: 20px 0;
        border-radius: 0;
        border: none;
        box-shadow: none;
        background: none;
    }

    .site-modern .nav .nav__link:hover {
        background: none;
        color: var(--primary);
    }

    .nav__link-icon {
        display: block;
        width: 16px;
        height: 16px;
        color: var(--text-muted, #94a3b8);
        flex-shrink: 0;
        opacity: 0.6;
    }

    .nav__link:hover .nav__link-icon {
        color: var(--primary);
        opacity: 1;
    }

    .nav__actions .nav-account {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 16px 0;
        width: 100%;
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--heading);
        border: none;
        border-radius: 0;
        background: none;
        box-shadow: none;
        text-align: center;
        transition: color 0.15s;
    }

    .nav__actions .nav-account svg {
        width: 18px;
        height: 18px;
        color: var(--primary);
    }

    .nav__actions .nav-account:hover {
        background: none;
        border-color: transparent;
        color: var(--primary);
    }

    .nav__actions .btn {
        width: 100%;
        margin-top: 0;
        padding: 14px 20px;
        font-size: 0.9375rem;
        justify-content: center;
    }

    .nav a:not(.btn):not(.nav__link) {
        padding: 14px 12px;
        width: 100%;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text);
    }

    .nav .btn {
        width: 100%;
        margin-top: 0;
        padding: 14px 20px;
        font-size: 0.9375rem;
    }

    .nav .nav-account {
        margin-top: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1103;
        position: relative;
    }

    .nav-backdrop {
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    body.nav-open .nav-backdrop {
        display: block;
        opacity: 1;
        z-index: 1099;
    }

    body.nav-open .site-chrome {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1100;
    }

    body.nav-open {
        touch-action: none;
    }

    body > .nav.open,
    .nav.open {
        z-index: 1101;
    }

    body.nav-open .site-header {
        z-index: 1102;
        border-bottom-color: transparent;
        box-shadow: none;
    }

    body.nav-open #main-content {
        z-index: 0;
        pointer-events: none;
    }

    body.nav-open .hero-visual,
    body.nav-open .hero-showcase,
    body.nav-open .hero-frame-metric {
        z-index: 0;
    }

    @media (max-width: 380px) {
        .nav {
            width: 100%;
            border-left: none;
        }
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 64px;
        --block-gap: 32px;
        --header-gap: 32px;
        --grid-gap: 20px;
        --header-h: 64px;
    }

    html,
    body {
        overflow-x: clip;
    }

    body { font-size: 16px; }

    .header-inner {
        gap: 12px;
    }

    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--bg);
    }

    .logo {
        font-size: 1rem;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    body.nav-open .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    @media (max-width: 380px) {
        .nav {
            width: 100%;
            border-left: none;
        }
    }

    .service-grid,
    .work-grid,
    .testimonial-grid,
    .process-grid,
    .trust-badges-grid,
    .guarantee-grid,
    .resource-guide-grid,
    .service-benefits,
    .tech-stack-grid { grid-template-columns: 1fr; }
    .form-row,
    .about-pillars { grid-template-columns: 1fr; }
    .hero-stats { gap: 24px; }
    .site-footer {
        padding: 48px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 28px;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 28px;
        margin-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-grid .logo {
        justify-content: center;
    }

    .footer-tagline {
        max-width: 420px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-social a {
        width: 44px;
        height: 44px;
    }

    .footer-statement {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-newsletter {
        max-width: 100%;
        width: 100%;
    }

    .footer-newsletter__row {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-newsletter__row .btn {
        width: 100%;
    }

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

    .footer-group {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-group--contact {
        border-bottom: none;
    }

    .footer-group__title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0;
        padding: 16px 0;
        font-size: 0.75rem;
        cursor: pointer;
        color: rgba(255, 255, 255, 0.55);
    }

    .footer-group__title::after {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 2px solid rgba(255, 255, 255, 0.45);
        border-bottom: 2px solid rgba(255, 255, 255, 0.45);
        transform: rotate(45deg);
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }

    .footer-group[open] .footer-group__title::after {
        transform: rotate(-135deg);
    }

    .footer-group__links {
        padding-bottom: 12px;
    }

    .footer-group__links a {
        padding: 10px 0;
        font-size: 0.9375rem;
    }

    .footer-group--contact .footer-trust {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 16px;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .container.footer-grid,
    .container.footer-bottom {
        padding-left: 20px;
        padding-right: 20px;
    }
    .contact-form { padding: 28px; }

    .hero-proof {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 12px 0 0;
    }

    .hero-proof__stat {
        flex-direction: column;
        align-items: center;
        gap: 1px;
        white-space: normal;
        text-align: center;
        font-size: 0.6875rem;
    }

    .hero-proof__stat:not(:first-child) {
        padding-left: 0;
        border-left: none;
    }

    .hero-proof__stat strong {
        display: block;
        font-size: 0.875rem;
    }

    .trust-band-top {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .trust-band-score {
        justify-content: center;
    }

    .trust-band-clients {
        justify-content: center;
        gap: 10px 20px;
    }

    .trust-band-secure {
        gap: 8px 16px;
    }

    .cookie-banner-inner { flex-direction: column; text-align: center; }
}

/* ─── Promo bar ─── */
.promo-bar {
    background: var(--navy);
    color: #fff;
    padding: 10px 0;
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.promo-bar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 28px;
    position: relative;
    padding-right: 36px;
}

.promo-bar-lead {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.promo-bar-tag {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.promo-bar-copy {
    min-width: 0;
}

.promo-bar-title {
    margin: 0;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.35;
    color: #fff;
}

.promo-bar-desc {
    margin: 2px 0 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.62);
}

.promo-bar-side,
.promo-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.promo-bar-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-bar-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
}

.promo-bar-badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.promo-bar-badge--spots {
    color: var(--gold);
    background: rgba(var(--accent-rgb), 0.1);
    border-color: rgba(var(--accent-rgb), 0.2);
}

.promo-bar-badge--timer {
    font-variant-numeric: tabular-nums;
}

.promo-bar-badge--code {
    gap: 8px;
}

.promo-bar-code-label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: 0.625rem;
    letter-spacing: 0.06em;
}

.promo-bar-badge--code strong {
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
}

.promo-bar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.8125rem;
    line-height: 1;
    transition: background var(--transition), transform var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.promo-bar-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .promo-bar-inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .promo-bar-desc {
        display: none;
    }

    .promo-bar-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .promo-bar-actions {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
    }

    .promo-bar-badges {
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: wrap;
        gap: 6px;
    }

    .promo-bar-cta {
        flex: 0 0 auto;
    }
}

@media (max-width: 640px) {
    body.has-promo-bar {
        --promo-h: 0px; /* synced via JS to actual height */
    }

    .promo-bar {
        padding: 8px 0;
    }

    .promo-bar-inner {
        gap: 8px;
        padding-right: 32px;
    }

    .promo-bar-lead {
        align-items: flex-start;
        gap: 8px;
    }

    .promo-bar-tag {
        padding: 3px 7px;
        font-size: 0.5625rem;
    }

    .promo-bar-title {
        font-size: 0.75rem;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }

    .promo-bar-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }

    .promo-bar-badges {
        display: flex;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 4px;
        min-width: 0;
    }

    .promo-bar-badges::-webkit-scrollbar {
        display: none;
    }

    .promo-bar-badge {
        padding: 4px 7px;
        font-size: 0.625rem;
        flex-shrink: 0;
    }

    .promo-bar-badge svg {
        width: 11px;
        height: 11px;
    }

    .promo-bar-badge--code .promo-bar-code-label {
        display: none;
    }

    .promo-bar-cta {
        flex: 0 0 auto;
        width: auto;
        padding: 7px 12px;
        font-size: 0.6875rem;
        border-radius: 8px;
        white-space: nowrap;
    }
}

@media (max-width: 380px) {
    .promo-bar-badge-text {
        font-size: 0.625rem;
    }

    .promo-bar-lead {
        flex-wrap: wrap;
    }
}


/* ─── Trust badges grid ─── */
.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.section-blocks {
    display: flex;
    flex-direction: column;
    gap: var(--block-gap);
}

.rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent);
}

.rating-stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1px;
}

.trust-badge-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    text-align: center;
}

.trust-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: var(--radius-sm);
    color: var(--primary);
    margin-bottom: 14px;
}

.trust-badge-icon svg { width: 22px; height: 22px; }

.trust-badge-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    color: var(--heading);
    margin-bottom: 6px;
}

.trust-badge-card span {
    font-size: 0.8125rem;
    color: var(--text);
}

.trust-badge-card a { color: var(--primary); font-weight: 600; }

/* ─── Sale / urgency card ─── */
.sale-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06) 0%, rgba(var(--accent-rgb), 0.08) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    margin-bottom: 48px;
}

.sale-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--heading);
    margin-bottom: 8px;
}

.sale-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    font-size: 0.875rem;
}

.sale-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.sale-urgency { color: #DC2626; }
.sale-spots { color: var(--gold); }

.secure-checkout-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text);
}

.secure-checkout-note svg { color: var(--success); width: 18px; height: 18px; flex-shrink: 0; }

/* ─── FAQ ─── */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--heading);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 400;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
    padding: 0 24px 20px;
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-item__answer {
    padding: 0 24px 20px;
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.75;
}

.faq-item__answer p {
    padding: 0;
    margin: 0 0 12px;
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

.faq-item__answer a,
.faq-page__lead a,
.faq-featured__answer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.faq-item__answer a:hover,
.faq-page__lead a:hover,
.faq-featured__answer a:hover {
    text-decoration: underline;
}

.faq-page__intro {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.faq-page__lead {
    margin: 0 0 20px;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text);
}

.faq-page__jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.faq-page__jump-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--heading);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    text-decoration: none;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.faq-page__jump-link:hover {
    border-color: rgba(var(--primary-rgb), 0.45);
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

.faq-featured {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.faq-featured__header {
    max-width: 640px;
    margin-bottom: 24px;
}

.faq-featured__header .section-desc {
    margin-bottom: 0;
}

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

.faq-featured__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    border-top: 3px solid var(--primary);
}

.faq-featured__question {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--heading);
}

.faq-featured__answer {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text);
}

.faq-featured__answer p {
    margin: 0;
}

.faq-page__layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.faq-page__nav {
    position: sticky;
    top: calc(var(--site-top-h, var(--header-h)) + 24px);
    max-height: calc(100vh - var(--site-top-h, var(--header-h)) - 40px);
    overflow-y: auto;
    padding-bottom: 8px;
}

.faq-page__nav-label {
    margin: 0 0 12px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.faq-page__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.faq-page__nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.faq-page__nav-link svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.faq-page__nav-link:hover {
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary);
}

.faq-category + .faq-category {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.faq-category__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.faq-category__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.faq-category__icon svg {
    width: 20px;
    height: 20px;
}

.faq-category__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--heading);
}

.faq-list--page {
    max-width: none;
    margin: 0;
}

.faq-related {
    margin-top: 56px;
    padding-top: 56px;
    border-top: 1px solid var(--border);
}

.faq-related__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.faq-related__card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.faq-related__card:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.faq-related__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.faq-related__icon svg {
    width: 18px;
    height: 18px;
}

.faq-related__card strong {
    font-size: 0.9375rem;
    color: var(--heading);
}

.faq-related__card span:last-child {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.faq-page .faq-cta {
    margin-top: 48px;
}

@media (max-width: 1024px) {
    .faq-featured__grid {
        grid-template-columns: 1fr;
    }

    .faq-page__layout {
        grid-template-columns: 1fr;
    }

    .faq-page__nav {
        position: static;
    }

    .faq-page__nav-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

@media (max-width: 600px) {
    .faq-related__grid {
        grid-template-columns: 1fr;
    }
}

.faq-cta {
    margin-top: 48px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    text-align: left;
}

.faq-cta__card {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    padding: clamp(24px, 3vw, 32px);
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.faq-cta__card::before {
    display: none;
}

.faq-cta__content {
    flex: 1 1 280px;
    min-width: 0;
}

.faq-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 6px;
}

.faq-cta p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.55;
    max-width: 36rem;
}

/* ─── Legal pages ─── */
.legal-body {
    max-width: 760px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 48px;
}

.legal-body h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--heading);
    margin: 32px 0 12px;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body h3 {
    font-size: 1rem;
    color: var(--heading);
    margin: 20px 0 8px;
}

.legal-body p, .legal-body li {
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 12px;
}

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

.legal-body a { color: var(--primary); font-weight: 500; }

.legal-updated {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 12px;
}

/* ─── Cookie banner ─── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(15,23,42,0.08);
    padding: 10px 0;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-banner-text {
    flex: 1;
    min-width: 0;
}

.cookie-banner-summary {
    font-size: 0.8125rem;
    color: var(--text);
    margin: 0;
    line-height: 1.45;
}

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

.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 8px;
}

.cookie-category {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text);
}

.cookie-category input { margin: 0; }

.cookie-banner.is-expanded {
    padding: 14px 0;
}

@media (max-width: 640px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .cookie-banner-actions {
        justify-content: flex-end;
    }

    .cookie-banner-actions .btn {
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* ─── Guarantees row ─── */
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
}

.guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}

.guarantee-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: var(--radius-sm);
    color: var(--primary);
    margin-bottom: 12px;
    flex-shrink: 0;
}

.guarantee-icon svg,
.guarantee-item svg {
    width: 28px;
    height: 28px;
    display: block;
}

.guarantee-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    color: var(--heading);
    margin-bottom: 6px;
}

.guarantee-item span { font-size: 0.8125rem; color: var(--text); }

@media (max-width: 1024px) {
    .trust-badges-grid { grid-template-columns: repeat(2, 1fr); }
    .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
    .sale-card { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    .trust-badges-grid,
    .guarantee-grid { grid-template-columns: 1fr; }
    .legal-body { padding: 28px 20px; }
    .hero-actions .btn { width: 100%; }
    .hero-actions { flex-direction: column; }
}

/* ─── Breadcrumbs ─── */
.breadcrumbs {
    padding: 16px 0 0;
    background: var(--bg);
}

.breadcrumbs--hero {
    padding: 0 0 20px;
    background: transparent;
    text-align: left;
    width: 100%;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.breadcrumbs__sep {
    display: inline-flex;
    align-items: center;
    color: var(--text-light);
    flex-shrink: 0;
}

.breadcrumbs__sep svg {
    width: 14px;
    height: 14px;
    display: block;
}

.breadcrumbs__item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumbs__item a:hover {
    color: var(--primary);
}

.breadcrumbs__home-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.breadcrumbs__home-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.breadcrumbs__item span[aria-current="page"] {
    color: var(--heading);
    font-weight: 600;
}

/* ─── Landing pages ─── */
.landing-page {
    overflow-x: clip;
}

.landing-page .breadcrumbs:not(.breadcrumbs--hero) {
    padding-top: 20px;
}

.page-hero--landing:has(.breadcrumbs--hero) {
    padding-top: calc(var(--header-gap) + 8px);
}

.landing-section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}

.landing-section--compact {
    padding-top: 0;
    padding-bottom: 32px;
}

.page-hero--landing {
    padding: calc(var(--header-gap) + 8px) 0 var(--header-gap);
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
    border-bottom: 1px solid var(--border);
}

.page-hero--article {
    padding-bottom: calc(var(--header-gap) - 16px);
}

.page-hero__inner {
    max-width: 760px;
    margin: 0 auto;
}

.page-hero--landing h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.12;
    max-width: none;
}

.page-hero__lead {
    color: var(--text);
    max-width: 620px;
    margin: 0 auto 24px;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.65;
}

.page-hero__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.page-hero__badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.page-hero__proof {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 0;
    list-style: none;
    margin: 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-light);
}

.page-hero__proof li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
}

.page-hero__proof li:not(:last-child) {
    border-right: 1px solid var(--border);
}

.page-hero__proof strong {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--heading);
    font-size: 0.9375rem;
}

.landing-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.landing-metric {
    padding: 28px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    text-align: center;
}

.landing-metric__value {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.landing-metric__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 12px;
}

.landing-metric p {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.55;
    margin: 0;
}

.landing-cta__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(32px, 5vw, 48px);
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
}

.landing-cta__content {
    flex: 1;
    min-width: 0;
}

.landing-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.landing-cta__desc {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.65;
    max-width: 520px;
}

.landing-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.landing-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
}

.landing-empty a {
    color: var(--primary);
    font-weight: 600;
}

.landing-pricing-notes {
    margin-top: 32px;
    text-align: center;
}

.landing-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.landing-process .process-timeline-step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px;
}

.section-header--left {
    text-align: left;
    max-width: none;
    margin-left: 0;
}

.work-card-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.work-card h2 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
}

.blog-card__tag {
    display: inline-flex;
    align-self: flex-start;
    max-width: 100%;
    min-width: 0;
    padding: 4px 10px;
    margin-bottom: 12px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    overflow: hidden;
}

.blog-card__tag a {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    text-decoration: none;
}

.blog-card__tag a:hover {
    color: var(--primary-hover);
}

.blog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.blog-card__link {
    margin-top: auto;
    padding-top: 12px;
}

.blog-article__meta--hero {
    margin-bottom: 16px;
}

.package-detail__price {
    margin-bottom: 24px;
}

.package-includes-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 16px;
}

.package-desc {
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 28px;
}

.package-meta {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.pricing-note--left {
    text-align: left;
    margin-top: 24px;
}

.checkout-fallback {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.checkout-fallback a {
    color: var(--primary);
}

/* Package process + payment schedule (shared with /packages landing page) */
.package-process {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.package-process li {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.package-process__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 800;
    border-radius: 10px;
    font-size: 0.9375rem;
}

.package-process li strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--heading);
    margin-bottom: 6px;
}

.package-process li p {
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.package-process--index {
    max-width: 720px;
    margin: 0 auto;
}

.package-payment-schedule {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.package-payment-schedule--index {
    max-width: 640px;
    margin: 0 auto;
}

.package-payment-step {
    padding: 18px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.package-payment-step--active {
    border-color: rgba(var(--primary-rgb), 0.4);
    background: rgba(var(--primary-rgb), 0.04);
}

.package-payment-step__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.package-payment-step__label {
    font-weight: 600;
    color: var(--heading);
}

.package-payment-step p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* ─── Package detail pages ─── */
.package-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 48px;
    align-items: start;
}

.package-page-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.package-section__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 20px;
}

.package-ideal {
    padding: 20px;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: var(--radius-sm);
    margin-top: 20px;
}

.package-ideal h2 {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 8px;
}

.package-ideal p {
    color: var(--text);
    line-height: 1.65;
    margin: 0;
}

.pricing-features--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

.pricing-features--grid li {
    border-bottom: 1px solid var(--border);
}

.package-not-included {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.package-not-included li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: 0.9375rem;
}

.package-not-included li i,
.package-not-included li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--text-light);
    margin-top: 3px;
}

.package-not-included__note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.package-not-included__note a {
    color: var(--primary);
    font-weight: 600;
}

.package-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-meta svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.checkout-panel__intro {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: -12px 0 20px;
    line-height: 1.5;
}

.checkout-panel__help {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}

.checkout-panel__help a {
    color: var(--primary);
    font-weight: 600;
}

.checkout-summary {
    padding: 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.checkout-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text);
}

.checkout-summary__row + .checkout-summary__row {
    margin-top: 8px;
}

.checkout-summary__row--due {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    font-weight: 600;
    color: var(--heading);
}

.checkout-summary__row--due strong {
    color: var(--primary);
    font-size: 1.125rem;
}

.checkout-summary__milestones {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.checkout-summary__milestones li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
}

.checkout-summary__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 0;
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.45;
}

.checkout-summary__note svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

.checkout-form__fields {
    margin-bottom: 4px;
}

.checkout-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 20px;
    font-size: 0.8125rem;
    color: var(--text);
    line-height: 1.5;
    cursor: pointer;
}

.checkout-terms input {
    margin-top: 3px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.checkout-terms a {
    color: var(--primary);
}

.label-optional {
    font-weight: 400;
    color: var(--text-light);
}

.checkout-sale-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 16px;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.checkout-sale-summary code {
    font-weight: 700;
    color: var(--heading);
}

.req-file-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary, #4A8268);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
}

/* Shared requirements display (account + admin) */
.req-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.req-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.req-section__header h3 {
    font-size: 1rem;
    margin: 0 0 6px;
    color: var(--heading);
}

.req-section__header p {
    margin: 0 0 16px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.req-readonly {
    margin: 0;
    line-height: 1.65;
}

.checkout-page {
    width: 100%;
    text-align: center;
}

.checkout-page h1 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 12px;
}

.checkout-page__lead {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.checkout-page__order {
    text-align: left;
    padding: 20px;
    margin-bottom: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.checkout-page__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--border);
}

.checkout-page__row:last-child {
    border-bottom: none;
}

.checkout-page__note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 12px;
    line-height: 1.5;
}

.checkout-page__next {
    color: var(--text);
    margin-bottom: 28px;
    line-height: 1.65;
}

.checkout-page__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-page__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
}

.checkout-page__icon--success {
    background: rgba(var(--success-rgb), 0.12);
    color: var(--success);
}

.checkout-page__icon--cancel {
    background: rgba(192, 57, 43, 0.1);
    color: #c0392b;
}

.checkout-page--razorpay .checkout-page__order {
    margin-bottom: 28px;
}

.checkout-page--test .checkout-page__badge {
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--accent, #4A8268);
    background: color-mix(in srgb, var(--accent, #4A8268) 12%, transparent);
}

.checkout-page__note--test {
    margin-bottom: 20px;
}

.checkout-page__actions--test {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.checkout-success-next {
    text-align: left;
    padding: 20px;
    margin-bottom: 24px;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-radius: var(--radius-sm);
}

.checkout-success-next h2 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--heading);
}

.checkout-success-next p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .package-page-layout,
    .checkout-flow__grid {
        grid-template-columns: 1fr;
    }

    .checkout-flow__summary {
        position: static;
    }

    .checkout-panel,
    .checkout-panel--flow,
    .package-checkout-card,
    .contact-info-panel--sticky {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .checkout-flow__title-row {
        flex-direction: column;
    }

    .checkout-steps {
        flex-wrap: wrap;
    }

    .checkout-steps__item {
        flex: 1 1 calc(33.333% - 6px);
        min-width: 100px;
        justify-content: center;
    }

    .checkout-form__fields .form-row {
        grid-template-columns: 1fr;
    }

    .pricing-features--grid {
        grid-template-columns: 1fr;
    }
}

/* Legacy page-hero (legal etc.) */
.page-hero:not(.page-hero--landing) {
    padding: 48px 0 40px;
    text-align: center;
    background: var(--bg);
}

.page-hero:not(.page-hero--landing) h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Explore internal links ─── */
.explore-links {
    padding: clamp(36px, 4vw, 48px) 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.explore-links__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
}

.explore-links__label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.explore-links__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.explore-links__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--heading);
    text-decoration: none;
    transition: color var(--transition);
}

.explore-links__link svg {
    width: 14px;
    height: 14px;
    color: var(--text-light);
    transition: color var(--transition), transform var(--transition);
}

.explore-links__link:hover {
    color: var(--primary);
}

.explore-links__link:hover svg {
    color: var(--primary);
    transform: translateX(2px);
}

/* ─── Blog ─── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}
.blog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
    overflow: hidden;
}
.blog-card--has-media {
    padding: 0;
}
.blog-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-alt);
}
.blog-card__media picture,
.blog-card__media img,
.blog-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 24px;
}
.blog-card--has-media .blog-card__body {
    padding: 20px 24px 24px;
}
.blog-card h2 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    line-height: 1.35;
}
.blog-card h2 a {
    color: var(--heading);
    text-decoration: none;
}
.blog-card h2 a:hover { color: var(--primary); }
.blog-card__excerpt {
    color: var(--text);
    font-size: 0.9375rem;
    margin-bottom: 12px;
    line-height: 1.55;
}
.blog-card__meta {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 12px;
}
.blog-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-top: auto;
}

/* Resources page — blog grid */
.blog-grid--resources {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 28px);
}

.blog-grid--resources .blog-card h2 {
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.resources-blog-footer,
.resources-blog-empty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: clamp(28px, 4vw, 40px);
    text-align: center;
}

.resources-blog-empty p {
    width: 100%;
    margin: 0;
    color: var(--text);
    line-height: 1.65;
}

.landing-section--resources-blog .section-header {
    margin-bottom: clamp(28px, 4vw, 40px);
}
.blog-article__inner { max-width: 760px; }
.blog-article__back { margin-bottom: 12px; }
.blog-article__back a { color: var(--primary); text-decoration: none; font-size: 0.9rem; }
.blog-article__header h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 12px;
    color: var(--heading);
}
.blog-article__meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.prose {
    line-height: 1.75;
    color: var(--text);
}
.prose h2, .prose h3 {
    font-family: var(--font-heading);
    color: var(--heading);
    margin: 1.5em 0 0.75em;
}
.content-prose h2,
.service-prose h2,
.blog-article__body h2,
.about-inner-prose h2 {
    font-size: clamp(1.0625rem, 1.9vw, 1.25rem);
    font-weight: 700;
    line-height: 1.35;
    margin: 1.75em 0 0.65em;
}
.content-prose h3,
.service-prose h3,
.blog-article__body h3,
.about-inner-prose h3 {
    font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
    font-weight: 600;
    line-height: 1.4;
    margin: 1.35em 0 0.5em;
}
.content-prose h2:first-child,
.content-prose h3:first-child,
.service-prose h2:first-child,
.service-prose h3:first-child,
.blog-article__body h2:first-child,
.blog-article__body h3:first-child,
.about-inner-prose h2:first-child,
.about-inner-prose h3:first-child {
    margin-top: 0;
}
.section-title--sm {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}
.related-reading__block--spaced {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}
.related-reading__more {
    margin-top: 20px;
    font-size: 0.9375rem;
}
.related-reading__more a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.blog-grid--compact {
    grid-template-columns: repeat(2, 1fr);
}
.resource-guide-grid--compact {
    grid-template-columns: repeat(2, 1fr);
}
.resource-guide-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: var(--primary-soft, rgba(74, 130, 104, 0.1));
    color: var(--primary);
}
.resource-guide-card__icon svg {
    width: 20px;
    height: 20px;
}
.prose p { margin-bottom: 1em; }
.prose ul, .prose ol { margin: 0 0 1em 1.25em; }
.prose a { color: var(--primary); }

.guide-video {
    margin: 0 0 2rem;
}

.service-page-video,
.page-content-video {
    margin: 0 0 2rem;
    max-width: 880px;
}

.service-page-video .guide-video,
.page-content-video .guide-video {
    margin-bottom: 0;
}

.content-featured-image {
    margin: 0 0 2rem;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-alt);
}
.content-featured-image picture,
.content-featured-image img,
.content-featured-image__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.guide-video__embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--surface-2, #f4f5f6);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    border: 1px solid var(--border);
}
.guide-video__embed iframe,
.guide-video__embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}
.guide-video__note,
.guide-video__caption {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.blog-article__footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

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

.article-share__row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.article-share__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    min-width: 108px;
}

.article-share__buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.article-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--heading);
    text-decoration: none;
    background: var(--card);
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.article-share__btn--icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

.article-share__btn--icon svg {
    width: 18px;
    height: 18px;
}

.article-share__btn--labeled {
    width: auto;
    height: auto;
    min-height: 38px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    gap: 8px;
    justify-content: flex-start;
}

.article-share__btn-label {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
}

.article-share__btn--ai .ai-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.article-share__btn--ai .ai-share-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.article-share__btn--chatgpt .ai-share-icon {
    color: #10a37f;
}

.article-share__btn--claude .ai-share-icon {
    color: #d97757;
}

.article-share__btn--perplexity .ai-share-icon {
    color: #20808d;
}

.article-share__btn--chatgpt:hover,
.article-share__btn--chatgpt:focus-visible {
    border-color: #10a37f;
    color: #10a37f;
    background: rgba(16, 163, 127, 0.06);
}

.article-share__btn--claude:hover,
.article-share__btn--claude:focus-visible {
    border-color: #d97757;
    color: #d97757;
    background: rgba(217, 119, 87, 0.06);
}

.article-share__btn--perplexity:hover,
.article-share__btn--perplexity:focus-visible {
    border-color: #20808d;
    color: #20808d;
    background: rgba(32, 128, 141, 0.06);
}

.article-share__btn--gemini:hover,
.article-share__btn--gemini:focus-visible {
    border-color: #4285f4;
    color: #4285f4;
    background: rgba(66, 133, 244, 0.06);
}

.article-share__btn--text {
    padding: 6px 12px;
}

.article-share__btn:hover,
.article-share__btn:focus-visible {
    border-color: var(--primary);
    color: var(--primary);
}

.article-share__btn.is-copied {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
}

/* Legacy alias */
.share-ai {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-ai__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.share-ai__buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.share-ai__btn {
    display: inline-flex;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--heading);
    text-decoration: none;
    background: var(--card);
    white-space: nowrap;
}

.share-ai__btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Comments */
.blog-comments-section--inline {
    margin-top: 32px;
    padding-top: 0;
}

.blog-comments-section--minimal {
    max-width: none;
}

.blog-comments-section--minimal .blog-comments__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.blog-comments-section--minimal .blog-comments__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--heading);
    letter-spacing: -0.01em;
}

.blog-comments-section--minimal .blog-comments__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--bg-alt, #f2f1ec);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-comments-form {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.blog-comments-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-comments-form .form-group {
    margin-bottom: 0;
}

.blog-comments-form textarea {
    min-height: 88px;
    resize: vertical;
}

.blog-comments-form input,
.blog-comments-form textarea {
    font-size: 0.9375rem;
    padding: 10px 12px;
    border-radius: 8px;
}

.blog-comments-form .form-group + .form-group {
    margin-bottom: 12px;
}

.blog-comments-form__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-comments-form__note {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.blog-comments-section--minimal .blog-comments-feed {
    margin-top: 0;
}

.blog-comments__empty {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

.comment-thread--minimal {
    gap: 0;
}

.comment-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.comment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.comment-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    margin-bottom: 6px;
}

.comment-item__meta strong {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--heading);
}

.comment-item__meta time {
    font-size: 0.75rem;
    color: var(--text-light);
}

.comment-item__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text);
}

@media (max-width: 640px) {
    .blog-comments-form__row {
        grid-template-columns: 1fr;
    }
}

.blog-comments-section--inline .blog-comments__header {
    margin-bottom: 24px;
}

.blog-comments-layout--stacked {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
}

.blog-comments-layout--stacked .comment-compose-card {
    position: static;
}
.blog-comments-section .container {
    max-width: 1100px;
}

.blog-comments__header {
    max-width: 640px;
    margin-bottom: 36px;
}

.blog-comments__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 8px;
}

.blog-comments__count {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
}

.blog-comments-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 32px;
    align-items: start;
}

.blog-comments-feed {
    min-width: 0;
}

.comment-thread {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}

.comment-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.14) 0%, rgba(var(--primary-rgb), 0.06) 100%);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.comment-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin-bottom: 8px;
}

.comment-card__meta strong {
    font-size: 0.9375rem;
    color: var(--heading);
}

.comment-card__meta time {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.comment-card__text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text);
}

.comment-empty-state {
    padding: 48px 32px;
    text-align: center;
    background: var(--card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-card);
}

.comment-empty-state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}

.comment-empty-state__icon svg {
    width: 26px;
    height: 26px;
}

.comment-empty-state h3 {
    margin: 0 0 8px;
    font-size: 1.125rem;
    color: var(--heading);
}

.comment-empty-state p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-light);
    max-width: 28ch;
    margin-inline: auto;
}

.blog-comments-compose {
    position: relative;
}

.comment-compose-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
}

.comment-compose-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.comment-compose-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.comment-compose-card__icon svg {
    width: 20px;
    height: 20px;
}

.comment-compose-card__head h3 {
    margin: 0 0 4px;
    font-size: 1.0625rem;
    color: var(--heading);
}

.comment-compose-card__head p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.comment-compose-form .form-group {
    margin-bottom: 16px;
}

.comment-compose-form .form-row {
    gap: 14px;
}

.comment-compose-form .form-group:last-of-type {
    margin-bottom: 18px;
}

.blog-comments-section .form-alert {
    max-width: 720px;
    margin-bottom: 24px;
}

@media (min-width: 901px) {
    .comment-compose-card {
        position: sticky;
        top: 96px;
    }
}

@media (max-width: 900px) {
    .blog-comments-layout {
        grid-template-columns: 1fr;
    }

    .blog-comments-compose {
        order: -1;
    }
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.pagination__btn, .pagination__link {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--heading);
    font-size: 0.875rem;
}
.pagination__link:hover, .pagination__btn:hover { border-color: var(--primary); color: var(--primary); }
.pagination__current {
    padding: 8px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}
.pagination__pages { display: flex; gap: 6px; }

/* Honeypot + reCAPTCHA */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.recaptcha-wrap { margin: 16px 0; }

.recaptcha-wrap--v3 {
    margin-top: 8px;
}

.recaptcha-badge-note {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-muted, #64748B);
}

.recaptcha-badge-note a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer .recaptcha-badge-note {
    color: #94A3B8;
}

.site-footer .recaptcha-badge-note a {
    color: #E2E8F0;
}

/* About / contact / book call layouts */
.about-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about-main > h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--heading);
    margin: 8px 0 16px;
    line-height: 1.2;
}

.about-main__lead {
    font-size: 1.125rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 20px;
}

.about-main .about-pillars {
    margin: 28px 0 8px;
}

.about-main-portrait {
    margin: 32px 0 0;
}

.about-main-portrait .about-photo {
    max-width: 280px;
}

.about-main-portrait figcaption {
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.about-aside-card__steps {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.about-aside-card__steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.about-aside-card__steps li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-aside-card__step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    flex-shrink: 0;
}

.about-aside-card__step-icon svg {
    width: 18px;
    height: 18px;
}

.about-aside-card__step-body strong {
    display: block;
    color: var(--heading);
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.about-aside-card__step-body span {
    display: block;
    color: var(--text-light);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.about-aside-card__actions {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.about-aside-card > .btn--block + .btn--block {
    margin-top: 8px;
}

.about-main p {
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-main__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}
.about-points li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.about-aside-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
    margin-bottom: 0;
}

.about-main > .contact-form + .about-aside-card,
.about-main > .contact-form + .seo-preview-card,
.about-main > .seo-preview-card + .seo-preview-card {
    margin-top: 20px;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.45;
}

.seo-count--good { color: var(--primary); font-weight: 600; }
.seo-count--warn { color: #b8860b; font-weight: 600; }
.seo-count--bad { color: #c0392b; font-weight: 600; }

.seo-preview-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
}

.seo-preview-card__label {
    margin: 0 0 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
}

.seo-preview {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 600px;
}

.seo-preview__url {
    margin: 0 0 4px;
    font-size: 0.875rem;
    color: #202124;
    line-height: 1.3;
}

.seo-preview__title {
    margin: 0 0 4px;
    font-size: 1.25rem;
    color: #1a0dab;
    line-height: 1.3;
}

.seo-preview__desc {
    margin: 0;
    font-size: 0.875rem;
    color: #4d5156;
    line-height: 1.58;
}

.seo-meta-code__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.seo-meta-code__header .seo-preview-card__label {
    margin: 0;
}

.seo-meta-code__block {
    margin: 0;
    padding: 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow-x: auto;
}

.seo-meta-code__block code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--heading);
    white-space: pre;
}

.seo-meta-code .form-hint {
    margin-top: 12px;
}

.seo-meta-code .form-hint code {
    font-size: 0.75rem;
    padding: 2px 6px;
    background: var(--bg-alt);
    border-radius: 4px;
}

.utm-output {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
}

.utm-output code {
    flex: 1;
    min-width: 200px;
    padding: 12px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    word-break: break-all;
    line-height: 1.5;
}

/* ─── Website Growth Score tool ─── */
.landing-page--tool .page-hero--landing {
    padding-top: calc(var(--header-gap) + 4px);
    padding-bottom: 20px;
}

.landing-page--tool .page-hero__lead {
    margin-bottom: 0;
}

.about-layout--tool {
    align-items: start;
}

.growth-score-wizard {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.growth-score-wizard__head {
    position: sticky;
    top: calc(var(--header-height, 72px) + 8px);
    z-index: 20;
    padding: 16px 0 12px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.growth-score-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.growth-score-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 10px 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    color: var(--text-light);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.growth-score-step:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.growth-score-step.is-active {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}

.growth-score-step.is-complete:not(.is-active) {
    border-color: rgba(var(--primary-rgb), 0.35);
    color: var(--heading);
}

.growth-score-step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--bg-alt);
}

.growth-score-step.is-active .growth-score-step__icon,
.growth-score-step.is-complete .growth-score-step__icon {
    background: rgba(var(--primary-rgb), 0.12);
}

.growth-score-step__icon svg {
    width: 16px;
    height: 16px;
}

.growth-score-step__label {
    width: 100%;
    max-width: 100%;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.growth-score-wizard__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.growth-score-wizard__nav .btn--primary {
    margin-left: auto;
}

.growth-score-wizard__nav .btn--primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

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

.growth-score-gate {
    margin-top: 24px;
}

.growth-score-gate .about-aside-card {
    max-width: 420px;
}

.growth-score-gate .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 16px;
    font-size: 0.875rem;
    color: var(--text-muted, #8A9399);
}

.growth-score-question--missing {
    background: rgba(192, 57, 43, 0.04);
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: var(--radius-sm);
}

.growth-score-intro {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: var(--radius-card);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.growth-score-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.growth-score-progress {
    position: relative;
    height: 6px;
    background: var(--bg-alt);
    border-radius: 999px;
    overflow: hidden;
}

.growth-score-progress__bar {
    height: 100%;
    background: var(--primary);
    border-radius: 999px;
    transition: width 0.25s ease;
}

.growth-score-progress__text {
    margin: 8px 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-light);
}

.growth-score-category {
    margin: 0;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.growth-score-category__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
    padding: 0;
    border: none;
    width: 100%;
}

.growth-score-category__title {
    min-width: 0;
    flex: 1;
}

.growth-score-category__label {
    display: block;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.3;
}

.growth-score-category__meta {
    display: block;
    margin: 4px 0 0;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.growth-score-category__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    flex-shrink: 0;
}

.growth-score-category__icon svg {
    width: 22px;
    height: 22px;
}

.growth-score-question {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}

.growth-score-question__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--heading);
    font-weight: 500;
}

.growth-score-question__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    margin-right: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 999px;
}

.growth-score-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    gap: 8px;
    min-width: 240px;
}

.growth-score-option {
    cursor: pointer;
}

.growth-score-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.growth-score-option span {
    display: block;
    padding: 9px 8px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--text);
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.growth-score-option input:focus-visible + span {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.growth-score-option input:checked + span {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.growth-score-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.tool-results-card {
    margin-top: 28px;
}

.about-main .contact-form + .tool-results-card {
    margin-top: 32px;
}

.growth-score-results .about-aside-card {
    margin-bottom: 0;
}

.service-benefits--about {
    margin-bottom: 28px;
}

.about-inner-prose {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    color: var(--text);
    line-height: 1.75;
    font-size: 0.96875rem;
}

.about-inner-prose p {
    margin: 0;
}

.about-inner-prose a {
    color: var(--primary);
    font-weight: 600;
}

.tech-stack-grid + .about-inner-prose {
    margin-top: 24px;
}

.visually-hidden,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.growth-score-results__hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
}

.growth-score-ring {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.growth-score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.growth-score-ring__track {
    fill: none;
    stroke: var(--border);
    stroke-width: 10;
}

.growth-score-ring__fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s ease;
}

.growth-score-ring__value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--heading);
    line-height: 1;
}

.growth-score-ring__value span {
    font-size: 2.25rem;
}

.growth-score-ring__value small {
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

.growth-score-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.growth-score-badge--strong { background: rgba(34, 139, 34, 0.12); color: #228b22; }
.growth-score-badge--good-foundation { background: rgba(var(--primary-rgb), 0.12); color: var(--primary); }
.growth-score-badge--needs-work { background: rgba(184, 134, 11, 0.12); color: #b8860b; }
.growth-score-badge--critical { background: rgba(192, 57, 43, 0.12); color: #c0392b; }

.growth-score-results__summary h3 {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--heading);
}

.growth-score-results__summary p {
    margin: 0 0 10px;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text);
}

.growth-score-results__impact {
    font-weight: 600;
    color: var(--heading) !important;
}

.growth-score-categories {
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
}

.growth-score-bar-row__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.growth-score-bar-row__head strong {
    color: var(--primary);
}

.growth-score-bar {
    height: 8px;
    background: var(--bg-alt);
    border-radius: 999px;
    overflow: hidden;
}

.growth-score-bar span {
    display: block;
    height: 100%;
    background: var(--primary);
    border-radius: 999px;
    transition: width 0.5s ease;
}

.growth-score-priorities {
    margin: 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 12px;
}

.growth-score-priorities li {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text);
}

.growth-score-priorities li strong {
    display: block;
    color: var(--heading);
    margin-bottom: 2px;
    font-size: 0.8125rem;
}

.growth-score-results__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.tool-featured {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, var(--card) 0%, rgba(var(--primary-rgb), 0.04) 100%);
}

.tool-featured__content .section-desc {
    margin-left: 0;
    margin-right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.tool-featured__points {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 12px;
}

.tool-featured__points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text);
}

.tool-featured__points svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.tool-featured__visual {
    display: flex;
    justify-content: center;
}

.tool-featured__score-ring {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 10px solid rgba(var(--primary-rgb), 0.15);
    background: var(--card);
    box-shadow: var(--shadow-md);
    font-family: var(--font-heading);
}

.tool-featured__score-ring span {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.tool-featured__score-ring small {
    margin-top: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .growth-score-steps {
        grid-template-columns: repeat(5, minmax(64px, 1fr));
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x proximity;
    }

    .growth-score-step {
        scroll-snap-align: start;
    }

    .growth-score-step__label {
        display: block;
        font-size: 0.625rem;
        line-height: 1.2;
        max-height: 2.4em;
        overflow: hidden;
    }

    .growth-score-question {
        grid-template-columns: 1fr;
    }

    .growth-score-options {
        grid-template-columns: repeat(3, 1fr);
        min-width: 0;
        width: 100%;
    }

    .growth-score-results__hero,
    .growth-score-results__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .growth-score-ring { margin: 0 auto; }
    .tool-featured { grid-template-columns: 1fr; padding: 28px; }
    .tool-featured__visual { order: -1; }
}

.about-aside-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.about-quote {
    padding: 20px;
    border-left: 3px solid var(--primary);
    background: var(--bg-alt);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9375rem;
}
.book-call-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.book-call-intro {
    margin-bottom: 20px;
}

.book-call-intro h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.book-call-intro p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.65;
}

.book-call-aside-card {
    margin-bottom: 20px;
}

.book-call-aside-card:last-child {
    margin-bottom: 0;
}

.book-call-aside-card h2 {
    margin: 0 0 12px;
    font-size: 1.1rem;
}

.book-call-steps {
    margin: 0;
    padding-left: 1.25em;
    line-height: 1.7;
    color: var(--text);
}

.book-call-steps li + li {
    margin-top: 10px;
}

.book-call-note {
    margin: 0 0 12px;
    line-height: 1.65;
    color: var(--text);
    font-size: 0.9375rem;
}

.book-call-note:last-child {
    margin-bottom: 0;
}

.book-call-fallback__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.book-call-alt-cta {
    margin-top: 24px;
    font-size: 0.9375rem;
    color: var(--text-light);
}

.book-call-alt-cta a {
    color: var(--primary);
    font-weight: 600;
}

.calendly-embed iframe {
    width: 100%;
    min-height: 700px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
}
.book-call-list {
    margin: 16px 0;
    padding-left: 1.25em;
    line-height: 1.7;
    color: var(--text);
}
.page-inline-cta {
    margin-top: 24px;
    font-size: 0.9375rem;
    color: var(--text);
}
.page-inline-cta a { color: var(--primary); font-weight: 600; }
.page-faq-snippet__more { text-align: center; margin-top: 24px; }
.faq-cta__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.legal-footer-note {
    padding-bottom: var(--section-pad);
    font-size: 0.9375rem;
    color: var(--text);
}
.legal-footer-note a { color: var(--primary); }

/* ─── E-book lead magnet & resources hub ─── */
.ebook-lead {
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, var(--card) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    box-shadow: var(--shadow-sm);
    margin-bottom: clamp(28px, 4vw, 40px);
    overflow: hidden;
}

.ebook-lead__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 360px);
    gap: clamp(20px, 3vw, 32px);
    align-items: start;
}

.ebook-lead--has-video .ebook-lead__grid {
    grid-template-areas:
        "copy aside"
        "video .";
}

.ebook-lead--has-video .ebook-lead__copy { grid-area: copy; }
.ebook-lead--has-video .ebook-lead__video-slot {
    grid-area: video;
    min-width: 0;
    padding-top: clamp(18px, 2.5vw, 24px);
    margin-top: 2px;
    border-top: 1px solid var(--border);
}
.ebook-lead--has-video .ebook-lead__aside {
    grid-area: aside;
    align-self: start;
}

.ebook-lead__copy {
    min-width: 0;
}

.ebook-lead__title {
    font-family: var(--font-heading);
    font-size: clamp(1.625rem, 2.8vw, 2.125rem);
    font-weight: 800;
    color: var(--heading);
    line-height: 1.15;
    margin: 8px 0 12px;
    letter-spacing: -0.02em;
    max-width: 16em;
}

.ebook-lead__subtitle {
    font-size: 1.0625rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.45;
}

.ebook-lead__desc {
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 14px;
    max-width: 52ch;
}

.ebook-lead__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.ebook-lead__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text);
}

.ebook-lead__bullets svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.ebook-lead__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    margin-bottom: 4px;
}

.ebook-lead__guide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 10px 16px;
    border: 1px solid rgba(var(--primary-rgb), 0.28);
    border-radius: var(--radius-btn);
    background: rgba(var(--primary-rgb), 0.06);
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, gap 0.15s ease;
}

.ebook-lead__guide-link:hover {
    color: var(--primary-hover);
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    gap: 12px;
}

.ebook-lead__guide-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ebook-lead__video.ebook-lead__video--inline {
    margin-top: 24px;
    padding-top: 0;
    border-top: 0;
}

.ebook-lead__video--inline .ebook-lead__video-player {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}

.ebook-lead__aside {
    min-width: 0;
}

.ebook-lead__visual {
    position: relative;
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}

.ebook-lead__signup--with-cover .ebook-lead__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px 14px;
}

.ebook-lead__signup--with-cover .ebook-lead__cover {
    margin: 0 auto;
    width: min(100%, 280px);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--card);
}

.ebook-lead__signup--with-cover .ebook-lead__cover picture,
.ebook-lead__signup--with-cover .ebook-lead__cover img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.ebook-lead__signup--with-cover .ebook-lead__cover--placeholder {
    min-height: 200px;
}

.ebook-lead__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.ebook-lead__signup {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
    overflow: hidden;
}

.ebook-lead__signup-body {
    padding: clamp(18px, 2.5vw, 24px);
}

.ebook-lead__video-slot .ebook-lead__video {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.ebook-lead__video-slot .guide-video {
    margin-bottom: 0;
}

.ebook-lead__video {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    max-width: 100%;
}

.ebook-lead__video-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    max-width: none;
}

.ebook-lead__video-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.ebook-lead__video-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.ebook-lead__video-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.3;
}

.ebook-lead__video-desc {
    margin: 8px 0 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text);
}

.ebook-lead__video-player {
    max-width: none;
}

.ebook-lead__cover {
    border-radius: 0;
    overflow: hidden;
    border: none;
    background: var(--bg-alt);
    box-shadow: none;
}

.ebook-lead__cover picture,
.ebook-lead__cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
}

.ebook-lead__cover--placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 280px;
    color: var(--primary);
}

.ebook-lead__cover--placeholder svg {
    width: 40px;
    height: 40px;
}

.ebook-lead__cover--placeholder span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
}

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

.ebook-form__optin {
    margin-bottom: 12px;
}

.ebook-form__optin .ebook-form__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text);
    cursor: pointer;
    margin-bottom: 0;
}

.ebook-form__optin .ebook-form__check input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    flex: 0 0 auto;
    margin: 0.2em 0 0;
    padding: 0;
    accent-color: var(--primary);
}

.ebook-form__optin .ebook-form__check span {
    flex: 1;
    line-height: 1.45;
}

.ebook-form__hint {
    margin-top: 10px;
    margin-bottom: 0;
}

.ebook-lead--has-video .ebook-lead__panel-sub {
    margin-bottom: 14px;
}

.ebook-lead__unavailable {
    padding: 20px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--text);
    line-height: 1.65;
}

.ebook-lead--homepage {
    margin-bottom: clamp(32px, 4vw, 44px);
}

.ebook-lead--homepage .ebook-lead__aside {
    align-self: start;
    position: sticky;
    top: calc(var(--header-height, 72px) + 16px);
}

.ebook-lead__panel-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 4px;
    line-height: 1.3;
}

.ebook-lead__panel-sub {
    margin: 0 0 16px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text);
}

.landing-page--ebook .landing-section--ebook-download {
    padding-top: clamp(32px, 5vw, 56px);
    padding-bottom: clamp(32px, 5vw, 56px);
}

.landing-page--ebook .about-main .section-header--left {
    margin: 0 0 var(--header-gap);
    padding: 0;
}

.landing-page--ebook .about-main .section-header--left .section-desc {
    padding-left: 0;
    margin-left: 0;
}

.ebook-page__lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--heading);
    font-weight: 600;
    margin-bottom: 16px;
}

.ebook-page__note {
    margin-top: 20px;
    color: var(--text);
    line-height: 1.65;
}

.ebook-page__meta-list li {
    margin-bottom: 10px;
}

.ebook-page__results p {
    margin-bottom: 12px;
    line-height: 1.65;
    color: var(--text);
}

.ebook-page__results-detail {
    font-size: 0.9375rem;
    color: var(--text);
}

.ebook-page__audience {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ebook-page__audience li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
    line-height: 1.55;
    color: var(--text);
}

.ebook-page__audience svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.ebook-page__chapters {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.ebook-page__chapter {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
}

.ebook-page__chapter-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9375rem;
    flex-shrink: 0;
}

.ebook-page__chapter h3 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 6px;
    line-height: 1.35;
}

.ebook-page__chapter p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.ebook-page__faq {
    margin: 0;
}

.ebook-page__faq-item {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.ebook-page__faq-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.ebook-page__faq dt {
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 6px;
    line-height: 1.4;
}

.ebook-page__faq dd {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.ebook-page__unavailable {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 24px;
}

.ebook-page-teaser {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: clamp(32px, 5vw, 56px);
    align-items: center;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, var(--card) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    box-shadow: var(--shadow-sm);
}

.ebook-page-teaser__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--heading);
    line-height: 1.2;
    margin: 8px 0 12px;
}

.ebook-page-teaser__subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.45;
}

.ebook-page-teaser__desc {
    margin-bottom: 0;
    color: var(--text);
    line-height: 1.7;
    max-width: 56ch;
}

.ebook-page-teaser__bullets {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 10px;
}

.ebook-page-teaser__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text);
}

.ebook-page-teaser__bullets svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.ebook-page-teaser__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ebook-page-teaser__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

.ebook-page-teaser__cover {
    width: min(100%, 280px);
}

.ebook-page-teaser__cover picture,
.ebook-page-teaser__cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: none;
}

.ebook-page-teaser__cover--placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 240px);
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--border);
    background: var(--bg-alt);
    color: var(--text-light);
}

.ebook-page-teaser__cover--placeholder svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.ebook-page-teaser__cover--placeholder span {
    font-size: 0.875rem;
    font-weight: 600;
}

.ebook-page-teaser__badge {
    position: absolute;
    top: 12px;
    right: clamp(12px, 4vw, 24px);
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.landing-section--ebook-download .ebook-lead {
    margin-bottom: 0;
}

.resources-hub {
    display: grid;
    gap: 28px;
}

.resources-hub__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.resources-hub__head h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--heading);
    margin: 0;
}

.resources-hub__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.resources-hub__more svg {
    width: 16px;
    height: 16px;
}

.resources-hub__grid {
    margin-bottom: 8px;
}

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

.resources-hub-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.resources-hub-card:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.resources-hub-card strong {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    color: var(--heading);
}

.resources-hub-card span:last-child {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text);
}

.resources-hub-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}

.resources-hub-card__icon svg {
    width: 20px;
    height: 20px;
}

.resources-hub-card--accent {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06) 0%, var(--card) 100%);
}

.landing-section--ebook {
    padding-bottom: 0;
}

@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid--resources,
    .blog-grid--compact,
    .resource-guide-grid--compact { grid-template-columns: repeat(2, 1fr); }
    .about-layout, .book-call-layout { grid-template-columns: 1fr; }
    .landing-metrics { grid-template-columns: 1fr; }
    .landing-process { grid-template-columns: repeat(2, 1fr); }
    .landing-cta__card {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .landing-cta__content {
        flex: 0 1 auto;
    }
    .landing-cta__actions {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }
    .landing-cta__actions .btn { flex: 1; min-width: 140px; }
    .ebook-lead__grid { grid-template-columns: 1fr; }
    .ebook-lead--has-video .ebook-lead__grid {
        grid-template-areas:
            "aside"
            "copy"
            "video";
    }
    .ebook-lead--homepage .ebook-lead__aside { position: static; align-self: auto; }
    .ebook-lead--homepage .ebook-lead__aside { order: -1; }
    .ebook-page__audience { grid-template-columns: 1fr; }
    .ebook-page-teaser { grid-template-columns: 1fr; }
    .ebook-page-teaser__visual { min-height: 0; order: -1; }
    .resources-hub__links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .explore-links__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-grid { grid-template-columns: 1fr; }
    .blog-grid--resources,
    .blog-grid--compact,
    .resource-guide-grid--compact { grid-template-columns: 1fr; }
    .page-hero__actions { flex-direction: column; }
    .page-hero__actions .btn { width: 100%; }
    .ebook-form__row { grid-template-columns: 1fr; }
    .resources-hub__links { grid-template-columns: 1fr; }
    .about-main__actions { flex-direction: column; }
    .about-main__actions .btn { width: 100%; }
    .page-hero__proof {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 14px;
    }
    .page-hero__proof li {
        border-right: none !important;
        padding: 10px 12px;
        justify-content: center;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--bg-alt);
    }
    .landing-process { grid-template-columns: 1fr; }
    .landing-cta__card {
        gap: 16px;
        padding: 20px 18px;
        justify-content: flex-start;
    }
    .landing-cta__content {
        flex: 0 1 auto;
    }
    .landing-cta__title { margin-bottom: 6px; }
    .landing-cta__actions { flex-direction: column; }
    .landing-cta__actions .btn { width: 100%; }
    .sale-card {
        padding: 20px 18px;
        gap: 16px;
        margin-bottom: 32px;
        justify-content: flex-start;
    }
    .sale-card__body {
        flex: 0 1 auto;
    }
    .sale-card-meta { margin-top: 10px; gap: 8px 14px; }
    .service-card__link { padding: 22px 18px; }
    .service-card__cta { padding-top: 12px; }
    .faq-cta__card {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }
    .faq-cta__content {
        flex: 0 1 auto;
    }
    .faq-cta__actions {
        width: 100%;
        flex-direction: column;
    }
    .faq-cta__actions .btn {
        width: 100%;
        justify-content: center;
    }
    :root { --section-pad: 72px; }
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ——— Color palette tool ——— */
.tool-split--palette {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 24px;
}

.palette-config {
    align-self: start;
}

.palette-form__hint {
    margin: 12px 0 0;
}

.palette-picker-hero {
    margin-bottom: 8px;
}

.palette-picker-hero__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 12px;
}

.palette-picker-hero__field {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
}

.palette-picker-hero__swatch {
    display: block;
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border: 2px solid var(--border);
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.palette-picker-hero__swatch input[type="color"] {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.palette-picker-hero__swatch input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
    border-radius: 50%;
}

.palette-picker-hero__swatch input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 50%;
}

.palette-picker-hero__swatch input[type="color"]::-moz-color-swatch {
    border: none;
    border-radius: 50%;
}

.palette-picker-hero__hex {
    width: 100%;
    padding: 12px 14px;
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--heading);
}

.palette-picker-hero__hex:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.palette-mood-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.palette-mood-fieldset .tool-form__heading {
    margin-top: 20px;
}

.palette-mood-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.palette-mood-option {
    cursor: pointer;
}

.palette-mood-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.palette-mood-option__card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.palette-mood-option__card strong {
    font-size: 0.875rem;
    color: var(--heading);
}

.palette-mood-option__card small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.palette-mood-option input:checked + .palette-mood-option__card {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.2);
}

.palette-mood-option input:focus-visible + .palette-mood-option__card {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.palette-strip-wrap {
    margin-top: 20px;
}

.palette-strip-wrap__label {
    margin: 0 0 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.palette-strip {
    display: flex;
    height: 36px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}

.palette-strip__seg {
    flex: 1;
    min-width: 0;
    padding: 0;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.palette-strip__seg:hover {
    transform: scaleY(1.08);
    z-index: 1;
}

.palette-config-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.palette-preview-panel {
    top: 88px;
}

.palette-browser-mock {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--card);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.palette-browser-mock__chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.palette-browser-mock__dots {
    display: flex;
    gap: 5px;
}

.palette-browser-mock__dots i {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border);
}

.palette-browser-mock__dots i:nth-child(1) { background: #ff5f57; }
.palette-browser-mock__dots i:nth-child(2) { background: #febc2e; }
.palette-browser-mock__dots i:nth-child(3) { background: #28c840; }

.palette-browser-mock__url {
    flex: 1;
    padding: 5px 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.palette-preview-card {
    border: none;
    border-radius: 0;
    overflow: hidden;
    background: var(--card);
}

.palette-preview-card__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid transparent;
}

.palette-preview-card__logo {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
}

.palette-preview-card__nav-links {
    display: flex;
    gap: 6px;
}

.palette-preview-card__nav-links i {
    display: block;
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.65;
}

.palette-preview-card__body {
    padding: 28px 24px 20px;
}

.palette-preview-card__eyebrow {
    margin: 0 0 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.palette-preview-card__title {
    margin: 0 0 10px;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.25;
}

.palette-preview-card__text {
    margin: 0 0 18px;
    font-size: 0.875rem;
    line-height: 1.65;
    max-width: 46ch;
}

.palette-preview-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.palette-preview-card__cta,
.palette-preview-card__cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: default;
}

.palette-preview-card__surface {
    margin: 0 20px 20px;
    padding: 16px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
}

.palette-preview-card__surface-label {
    margin: 0 0 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.palette-preview-card__surface-text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
}

.palette-output {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.palette-output__header {
    margin-bottom: 20px;
}

.palette-output__title {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading);
}

.palette-output__desc {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.palette-swatches--grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.palette-swatch-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.palette-swatch-card:hover {
    border-color: rgba(var(--primary-rgb), 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.palette-swatch-card__color {
    display: block;
    height: 72px;
}

.palette-swatch-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
}

.palette-swatch-card__meta strong {
    font-size: 0.75rem;
    color: var(--heading);
}

.palette-swatch-card__meta code {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.palette-copy-toast {
    margin: 12px 0 0;
    padding: 8px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: var(--radius-sm);
    text-align: center;
}

.palette-output__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.palette-output__card-title {
    margin: 0 0 14px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--heading);
}

.palette-contrast-card,
.palette-export-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
}

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

.palette-contrast-list__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
}

.palette-contrast-list__pair {
    display: flex;
    gap: 4px;
}

.palette-contrast-list__pair i {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.palette-contrast-list__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.palette-contrast-list__copy strong {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--heading);
    line-height: 1.3;
}

.palette-contrast-list__copy span {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.palette-export-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.palette-export-card__header .palette-output__card-title {
    margin: 0;
}

.palette-export-card__code {
    margin: 0;
    padding: 14px 16px;
    max-height: 200px;
    overflow: auto;
    font-size: 0.75rem;
    line-height: 1.6;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.palette-export-card__code code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    white-space: pre;
}

.palette-contrast__badge {
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.palette-contrast__badge--pass {
    background: rgba(34, 139, 87, 0.12);
    color: #1a7a4a;
}

.palette-contrast__badge--fail {
    background: rgba(200, 80, 50, 0.12);
    color: #b5452a;
}

/* Legacy palette helpers (other pages) */
.palette-color-field {
    display: flex;
    align-items: center;
    gap: 12px;
}

.palette-color-field input[type="color"] {
    width: 48px;
    height: 48px;
    padding: 2px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    background: var(--card);
}

.palette-color-field input[type="text"] {
    flex: 1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.palette-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.palette-preview-card__bar {
    height: 8px;
}

.palette-swatches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.palette-swatch {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
}

.palette-swatch__chip {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    cursor: pointer;
}

.palette-swatch__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.palette-swatch__meta strong {
    font-size: 0.8125rem;
}

.palette-swatch__meta code {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.palette-export {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .tool-split--palette {
        grid-template-columns: 1fr;
    }

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

    .palette-output__details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .palette-swatches--grid {
        grid-template-columns: 1fr 1fr;
    }

    .palette-swatch-card__color {
        height: 56px;
    }
}

/* ——— Invoice tool ——— */
.form-row--3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.invoice-tool-workspace {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tool-split,
.invoice-tool-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.tool-config,
.tool-preview-wrap,
.invoice-tool-config,
.invoice-tool-preview-wrap {
    min-width: 0;
}

.tool-config,
.invoice-tool-config {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--card);
}

.tool-config .contact-form,
.invoice-tool-config .contact-form {
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
}

.tool-panel-label,
.invoice-tool-panel-label {
    margin: 0 0 20px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tool-form__heading,
.invoice-tool-form__heading {
    margin: 24px 0 14px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tool-form__heading:first-of-type,
.invoice-tool-form__heading:first-of-type {
    margin-top: 0;
}

.tool-form__heading--inline,
.invoice-tool-form__heading--inline {
    margin: 0;
}

.tool-form .form-group,
.invoice-tool-form .form-group {
    margin-bottom: 16px;
}

.tool-form .form-optional,
.invoice-tool-form .form-optional {
    font-weight: 500;
    color: var(--text-muted);
}

.tool-preview-wrap,
.invoice-tool-preview-wrap {
    position: sticky;
    top: 96px;
}

.tool-workspace .tool-conversion-cta,
.invoice-tool-workspace .tool-conversion-cta {
    margin-top: 48px;
}

.tool-workspace .tool-faq,
.invoice-tool-workspace .tool-faq {
    margin-top: 40px;
}

.tool-resources,
.invoice-tool-resources {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.tool-resources__card,
.invoice-tool-resources__card {
    margin: 0;
}

.tool-resources__card h3,
.invoice-tool-resources__card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.invoice-line-items {
    margin-top: 4px;
}

.invoice-line-items__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.invoice-line-items__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.invoice-line-item {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
}

.invoice-line-item__top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.invoice-line-item__desc {
    flex: 1;
    min-width: 0;
    margin-bottom: 12px !important;
}

.invoice-line-item__top .inv-item-remove {
    flex-shrink: 0;
    margin-top: 26px;
    min-width: 36px;
    padding-inline: 8px;
}

.invoice-line-item__nums {
    margin-bottom: 0;
}

.invoice-line-item__nums .form-group {
    margin-bottom: 0;
}

.inv-item-amount {
    display: block;
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--heading);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9375rem;
    line-height: 1.2;
}

.invoice-tool-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.invoice-tool-actions__hint {
    margin: 10px 0 0;
}

.invoice-tool-preview--pdf {
    border: none !important;
    box-shadow: none !important;
}

.invoice-pdf-capture {
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
    width: 794px;
    max-width: 794px;
    margin: 0;
    padding: 0;
    pointer-events: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: visible !important;
    background: #fff;
}

.invoice-pdf-capture .invoice-tool-preview {
    width: 100%;
    margin: 0;
    border: none !important;
    box-shadow: none !important;
}

@media (max-width: 1024px) {
    .tool-split,
    .invoice-tool-split {
        grid-template-columns: 1fr;
    }

    .tool-preview-wrap,
    .invoice-tool-preview-wrap {
        position: static;
    }
}

.invoice-tool-preview {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: #fff;
    color: #1a1a1a;
}

.invoice-tool-preview__header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8e8e8;
}

.invoice-tool-preview__brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.invoice-tool-preview__brand-copy {
    min-width: 0;
}

.invoice-tool-preview__logo {
    flex-shrink: 0;
}

.invoice-tool-preview__logo img {
    display: block;
    max-width: 120px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.invoice-logo-field {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.invoice-tool-preview__business {
    margin: 0 0 8px;
    font-size: 1.35rem;
    color: #111;
}

.invoice-tool-preview__doc-title {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: right;
    color: #111;
}

.invoice-tool-preview__title-block {
    text-align: right;
    font-size: 0.875rem;
    line-height: 1.6;
}

.invoice-tool-preview__meta {
    margin: 0;
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
}

.invoice-tool-preview__bill-to {
    margin-bottom: 24px;
}

.invoice-tool-preview__label {
    margin: 0 0 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
}

.invoice-tool-preview__client {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.invoice-tool-preview__table th {
    background: #f5f5f5;
    color: #444;
}

.invoice-tool-preview__table th,
.invoice-tool-preview__table td {
    border-color: #e0e0e0;
    color: #222;
}

.invoice-tool-preview__totals {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.invoice-tool-preview__totals-inner {
    min-width: 240px;
}

.invoice-tool-preview__totals-inner p {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 8px;
    font-size: 0.9375rem;
}

.invoice-tool-preview__total {
    margin-top: 12px !important;
    padding-top: 12px;
    border-top: 2px solid #222;
    font-size: 1.05rem !important;
}

.invoice-tool-preview__notes {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
    font-size: 0.875rem;
    line-height: 1.6;
}

.invoice-tool-preview__notes p:last-child {
    margin: 0;
    white-space: pre-wrap;
}

.invoice-tool-preview__footer {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px dashed #ddd;
    font-size: 0.6875rem;
    color: #999;
    text-align: center;
}

.invoice-tool-preview__footer p {
    margin: 0;
    white-space: pre-wrap;
}

.tool-conversion-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding: 28px 24px;
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06) 0%, var(--card) 100%);
}

.tool-conversion-cta__copy h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.tool-conversion-cta__copy p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
    max-width: 52ch;
    line-height: 1.6;
}

.tool-faq {
    margin-top: 48px;
}

.tool-faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tool-faq__item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    padding: 0 16px;
}

.tool-faq__item summary {
    padding: 16px 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

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

.tool-faq__item p {
    margin: 0 0 16px;
    padding-top: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-muted);
}

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

    .tool-resources,
    .invoice-tool-resources {
        grid-template-columns: 1fr;
    }

    .invoice-tool-preview__header {
        flex-direction: column;
    }

    .invoice-tool-preview__title-block,
    .invoice-tool-preview__doc-title {
        text-align: left;
    }

    .tool-conversion-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .tool-conversion-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media print {
    @page {
        margin: 14mm;
        size: A4;
    }

    html,
    body {
        height: auto !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .site-chrome,
    .site-footer,
    .skip-link,
    .nav-backdrop,
    .sticky-mobile-cta,
    .back-to-top,
    .cookie-banner,
    #liveChatMount,
    .breadcrumbs,
    .page-hero,
    .tool-config,
    .tool-panel-label,
    .tool-conversion-cta,
    .tool-faq,
    .tool-resources,
    .explore-links,
    .invoice-tool-actions,
    .invoice-line-items {
        display: none !important;
    }

    .landing-page,
    main#main-content,
    .section,
    .container,
    .tool-workspace,
    .tool-split,
    .tool-preview-wrap {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        width: 100% !important;
        max-width: none !important;
    }

    .tool-preview-wrap {
        position: static !important;
    }

    #invoice-printable {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
        color: #000 !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    #invoice-printable * {
        visibility: visible !important;
    }

    .invoice-tool-preview__header {
        display: flex !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .invoice-tool-preview__table {
        break-inside: auto;
        page-break-inside: auto;
    }

    .invoice-tool-preview__table thead {
        display: table-header-group;
    }

    .invoice-tool-preview__table tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .invoice-tool-preview__logo img {
        max-width: 140px;
        max-height: 80px;
    }

    .invoice-tool-preview__footer {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ——— Hosting & domains reseller page ——— */
.hosting-page__intro {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.hosting-page__lead {
    margin: 0 0 12px;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text);
}

.hosting-page__disclosure {
    margin: 12px 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Domain search */
.hosting-domain-search {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.hosting-domain-search__input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 14px 16px;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hosting-domain-search__input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.hosting-domain-search__btn {
    flex: 0 0 auto;
    gap: 8px;
    padding-inline: 22px;
}

.hosting-domain-search__btn svg {
    width: 18px;
    height: 18px;
}

.hosting-domain-search--compact .hosting-domain-search__input {
    padding: 12px 14px;
    font-size: 0.9375rem;
}

/* Domain hero block */
.hosting-domain-section {
    margin-bottom: 56px;
}

.hosting-domain-section__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 28px 36px;
    align-items: center;
    padding: clamp(24px, 4vw, 36px);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.07) 0%, var(--card) 55%);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.hosting-domain-section__title {
    margin: 8px 0 10px;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--heading);
}

.hosting-domain-section__subtitle {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text);
}

.hosting-domain-section__form {
    min-width: 0;
}

/* Three-column hosting plans */
.hosting-plans-section {
    margin-bottom: 48px;
}

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

.hosting-plan-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hosting-plan-card:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.hosting-plan-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.hosting-plan-card__badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 999px;
}

.hosting-plan-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.hosting-plan-card__icon svg {
    width: 20px;
    height: 20px;
}

.hosting-plan-card__title {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--heading);
}

.hosting-plan-card__tagline {
    margin: 0 0 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.hosting-plan-card__summary {
    margin: 0 0 14px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text);
}

.hosting-plan-card__list {
    margin: 0 0 18px;
    padding-left: 1.2rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text);
}

.hosting-plan-card__list li + li {
    margin-top: 6px;
}

.hosting-plan-card__cta {
    margin-top: auto;
    gap: 8px;
}

.hosting-plan-card__cta svg {
    width: 16px;
    height: 16px;
}

.hosting-extra-links {
    margin-top: 16px;
}

.hosting-extra-links__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    color: inherit;
    text-decoration: none;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, background 0.2s;
}

.hosting-extra-links__item:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    background: var(--card);
}

.hosting-extra-links__item svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.hosting-extra-links__item strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--heading);
}

.hosting-extra-links__item small {
    display: block;
    margin-top: 2px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.hosting-extra-links__action {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.hosting-compare {
    margin-bottom: 48px;
    padding: 28px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}

.hosting-compare__table-wrap {
    overflow-x: auto;
}

.hosting-compare__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.hosting-compare__table th,
.hosting-compare__table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 0.875rem;
}

.hosting-compare__table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.hosting-compare__table tbody th {
    font-weight: 600;
    color: var(--heading);
    white-space: nowrap;
}

.hosting-reasons {
    margin-bottom: 48px;
}

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

.hosting-reason-card {
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.hosting-reason-card__icon {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--primary);
}

.hosting-reason-card__icon svg {
    width: 22px;
    height: 22px;
}

.hosting-reason-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
}

.hosting-reason-card p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text);
}

.hosting-reason-card a {
    color: var(--primary);
    font-weight: 600;
}

.hosting-faq {
    margin-bottom: 32px;
}

.hosting-page__footnote {
    margin: 0;
    padding: 16px 18px;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-muted);
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.hosting-page__footnote a {
    color: var(--primary);
    font-weight: 600;
}

/* Homepage hosting section */
.hosting-home__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(24px, 4vw, 40px);
    align-items: stretch;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.hosting-home__intro .section-desc {
    margin-left: 0;
    margin-right: 0;
}

.hosting-home__points {
    margin: 20px 0 16px;
    padding: 0;
    list-style: none;
}

.hosting-home__points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text);
}

.hosting-home__points li + li {
    margin-top: 10px;
}

.hosting-home__points svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--primary);
}

.hosting-home__guide-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.hosting-home__guide-link svg {
    width: 16px;
    height: 16px;
}

.hosting-home__domain {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    height: 100%;
    padding: clamp(22px, 3vw, 28px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.hosting-home__domain-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.hosting-home__domain-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.hosting-home__domain-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.hosting-home__domain-copy {
    min-width: 0;
    flex: 1;
}

.hosting-home__domain-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--heading);
}

.hosting-home__domain-hint {
    margin: 8px 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text);
}

.hosting-home__domain-search-wrap {
    padding: 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.hosting-home__domain-tlds {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hosting-home__domain-tlds li {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono, ui-monospace, monospace);
    color: var(--text-light);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.hosting-home__domain-note {
    margin: 0;
    margin-top: auto;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.hosting-home__domain .hosting-domain-search {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.hosting-home__domain .hosting-domain-search__input {
    flex: 1 1 auto;
    width: 100%;
    background: var(--card);
}

.hosting-home__domain .hosting-domain-search__btn {
    width: 100%;
    justify-content: center;
}

.hosting-home__plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 16px);
    margin-bottom: clamp(24px, 3vw, 32px);
    list-style: none;
    margin-left: 0;
    padding: 0;
}

.hosting-home-plan {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(18px, 2.5vw, 22px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hosting-home-plan:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.hosting-home-plan__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.hosting-home-plan__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.hosting-home-plan__icon svg {
    width: 18px;
    height: 18px;
}

.hosting-home-plan__badge {
    padding: 4px 10px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 999px;
}

.hosting-home-plan h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--heading);
}

.hosting-home-plan p {
    flex: 1 1 auto;
    margin: 0 0 14px;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.hosting-home-plan__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.hosting-home-plan__link svg {
    width: 14px;
    height: 14px;
}

.hosting-home__footer {
    text-align: center;
}

.hosting-home__footer .btn {
    width: min(100%, 360px);
}

@media (min-width: 640px) {
    .hosting-domain-section__form .hosting-domain-search {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .hosting-domain-section__form .hosting-domain-search__btn {
        width: auto;
        flex-shrink: 0;
    }
}

@media (max-width: 1024px) {
    .hosting-plans-grid {
        grid-template-columns: 1fr;
    }

    .hosting-domain-section__card {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 900px) {
    .hosting-reasons__grid,
    .hosting-home__layout {
        grid-template-columns: 1fr;
    }

    .hosting-domain-search__btn {
        width: 100%;
        justify-content: center;
    }

    .hosting-extra-links__item {
        flex-wrap: wrap;
    }

    .hosting-extra-links__action {
        margin-left: 36px;
        width: 100%;
    }
}

@media (max-width: 639px) {
    .hosting-home__plans {
        grid-template-columns: 1fr;
    }

    .hosting-home__domain .hosting-domain-search {
        flex-direction: column;
    }

    .hosting-home__domain .hosting-domain-search__btn {
        width: 100%;
    }

    .hosting-home__footer .btn {
        width: 100%;
    }
}
