/* Calibri Ghost Theme
   Brand palette derived from the Calibri app: deep midnight-indigo
   surfaces with oracle-gold as the primary brand/CTA colour. */

/* Font loaded via default.hbs <link> tag — no duplicate @import needed */

/* ========== Custom Properties ========== */
:root {
    /* Dark indigo surfaces (was navy) */
    --navy: #0E1230;          /* deep indigo — dark sections, header, headings */
    --navy-light: #20264f;    /* medium indigo — links, secondary buttons */

    /* Oracle gold — primary brand / CTA */
    --brand: #E8B557;
    --brand-hover: #D9A33D;
    --brand-deep: #B8862B;
    --on-brand: #070A1F;      /* dark text for use on gold backgrounds */

    /* Cool accent (used sparingly) */
    --accent-teal: #3DDBB0;

    --body-text: #515151;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --text-muted: #94a3b8;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --card-shadow-hover: 0 10px 30px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 16px;
    --content-width: 720px;
    --wide-width: 1200px;
    --font-sans: 'Roboto', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'SF Mono', SFMono-Regular, Menlo, monospace;
    --transition: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* Major Third type scale (1.25 ratio, base 1rem/16px) */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-md: 1.125rem;   /* 18px */
    --text-lg: 1.25rem;    /* 20px */
    --text-xl: 1.5rem;     /* 24px */
    --text-2xl: 2rem;      /* 32px */
    --text-3xl: 2.5rem;    /* 40px */
    --text-4xl: 3rem;      /* 48px */
    --text-5xl: 3.5rem;    /* 56px */

    /* 8-point spacing scale */
    --space-1: 0.5rem;     /* 8px */
    --space-2: 1rem;       /* 16px */
    --space-3: 1.5rem;     /* 24px */
    --space-4: 2rem;       /* 32px */
    --space-5: 2.5rem;     /* 40px */
    --space-6: 3rem;       /* 48px */
    --space-8: 4rem;       /* 64px */
    --space-10: 5rem;      /* 80px */
}

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

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: var(--body-text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--navy-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--navy);
}

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

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

/* ========== Header ========== */
.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__inner {
    margin: 0 auto;
    padding: 0 var(--space-4) 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

.site-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    margin-left: 5%;
}

.site-header__logo-img {
    width: 215px;
    height: 24.75px;
    padding-top: 7px;
}

.site-header__logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.site-header__logo:hover .site-header__logo-text {
    color: #fff;
}

/* Mobile menu toggle */
.site-header__menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background var(--transition);
}

.site-header__menu-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.site-header__menu-toggle .icon-close {
    display: none;
}

.site-header__menu-toggle[aria-expanded="true"] .icon-menu {
    display: none;
}

.site-header__menu-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

/* Navigation */
.site-header__nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: var(--space-2) var(--space-3) var(--space-3);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.site-header__nav.is-open {
    display: flex;
}

.site-header__links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.site-header__link {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.8);
    padding: var(--space-1) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color var(--transition);
}

.site-header__link:hover {
    color: #fff;
}

.site-header__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-top: var(--space-2);
}

/* ========== Header Buttons (matching web app) ========== */
.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-header--filled {
    background: var(--brand);
    color: var(--on-brand);
    border: 2px solid var(--brand);
}

.btn-header--filled:hover {
    background: var(--brand-hover);
    border-color: var(--brand-hover);
    color: var(--on-brand);
}

.btn-header--outline {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-header--outline:hover {
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

.btn-header--lg {
    padding: 0.5rem 2rem;
    width: 100%;
    max-width: 250px;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: none;
    line-height: 1.4;
    font-family: var(--font-sans);
}

.btn--ghost {
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
}

.btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn--primary {
    color: #fff;
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.3);
    font-weight: 500;
}

.btn--primary:hover {
    background: var(--navy);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn--cta {
    color: #fff;
    background: var(--navy-light);
    border: 2px solid var(--navy-light);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(32, 51, 74, 0.2);
}

.btn--cta:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    box-shadow: 0 6px 20px rgba(32, 51, 74, 0.3);
    transform: translateY(-1px);
}

.btn--outline {
    color: var(--navy);
    background: transparent;
    border: 2px solid var(--navy);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius);
}

.btn--outline:hover {
    background: var(--navy);
    color: #fff;
}

/* ========== HERO SECTION ========== */
.hero {
    background: radial-gradient(125% 125% at 82% 0%, #161A3D 0%, #0E1230 45%, #070A1F 100%);
    color: #F5F5FA;
    padding: var(--space-6) var(--space-3) var(--space-6);
    position: relative;
    overflow: hidden;
}

/* Gold CTA + light outline button on the dark hero */
.hero .btn--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

.hero .btn--outline:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
}

/* Subtle noise texture overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero__inner {
    max-width: var(--wide-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
}

.hero__left {
    text-align: center;
}

.hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: var(--space-3);
}

/* Both hero CTAs share the same pill style — size to content, not 100% */
.hero__cta-group .btn-header--lg {
    width: auto;
    max-width: none;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 var(--space-2);
    color: #F5F5FA;
}

.hero__subtitle {
    font-size: var(--text-md);
    color: rgba(245, 245, 250, 0.72);
    line-height: 1.6;
    margin: 0;
    max-width: 32em;
}

.hero__flag {
    width: 80px;
    margin: 0 auto var(--space-3);
}

.hero__right {
    text-align: center;
}

.hero__phone {
    max-width: 320px;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.hero__badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero__badge {
    display: inline-block;
    transition: opacity var(--transition), transform var(--transition);
    border-radius: 5px;
    overflow: hidden;
}

.hero__badge img {
    height: 40px;
    width: auto;
    max-width: none;
    display: block;
}

.hero__badge:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* ========== SECTION LAYOUT ========== */
.section__inner {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 0 var(--space-3);
}

.section__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.03em;
    margin: 0 0 var(--space-1);
    color: var(--navy);
}

.section__subtitle {
    text-align: center;
    font-size: var(--text-md);
    color: var(--navy);
    opacity: 0.6;
    margin: 0 0 var(--space-5);
    font-weight: 400;
}

/* ========== TRUST BAR ========== */
.trust-bar {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 100%);
    padding: var(--space-5) var(--space-3);
    text-align: center;
}

.trust-bar__tagline {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--navy);
    opacity: 0.45;
    margin: 0 0 var(--space-3);
    font-weight: 600;
}

.trust-bar__inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.trust-bar__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(32, 51, 74, 0.04);
}

.trust-bar__number {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.trust-bar__label {
    font-size: var(--text-xs);
    color: var(--navy);
    opacity: 0.55;
    font-weight: 400;
}

@media (min-width: 640px) {
    .trust-bar__inner {
        gap: var(--space-8);
    }

    .trust-bar__number {
        font-size: var(--text-3xl);
    }

    .trust-bar__label {
        font-size: var(--text-sm);
    }
}

/* ========== STEPS SECTION ========== */
.steps-section {
    padding: var(--space-8) 0;
    background: var(--bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

.step-card {
    text-align: center;
    padding: var(--space-3);
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 12px rgba(32, 51, 74, 0.04);
    transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(32, 51, 74, 0.08);
}

.step-card__image {
    margin-bottom: var(--space-2);
}

.step-card__image img {
    max-width: 220px;
    margin: 0 auto;
    border-radius: var(--radius);
}

.step-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    margin: 0 0 var(--space-1);
    color: var(--navy);
}

.step-card__text {
    font-size: var(--text-sm);
    color: var(--navy);
    opacity: 0.6;
    margin: 0;
    line-height: 1.5;
}

/* ========== PARTNERS SECTION ========== */
.partners-section {
    padding: var(--space-8) 0;
    background: var(--bg-alt);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    max-width: 800px;
    margin: 0 auto;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: var(--space-3);
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 12px rgba(32, 51, 74, 0.04);
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

.partner-card img {
    max-width: 120px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(32, 51, 74, 0.08);
}

@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========== WHY US SECTION ========== */
.why-us-section {
    padding: var(--space-8) 0;
    background: var(--navy);
    color: #fff;
}

.why-us__title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    text-align: center;
    margin: 0 0 var(--space-5);
    color: #fff;
}

.why-us__content {
    max-width: 700px;
    margin: 0 auto;
}

.why-us__heading {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    margin: 0 0 var(--space-1);
    color: #fff;
}

.why-us__text {
    font-size: var(--text-base);
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin: 0 0 var(--space-4);
}

.why-us__text:last-of-type {
    margin-bottom: 0;
}

.why-us__proudly {
    text-align: center;
    font-size: var(--text-md);
    font-weight: 700;
    color: #fff;
    margin: var(--space-6) 0 0;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* ========== HELP SECTION ========== */
.help-section {
    padding: var(--space-8) 0;
    background: var(--bg);
    text-align: center;
}

.help-section .section__title {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.help-section__text {
    font-size: var(--text-md);
    color: var(--navy);
    opacity: 0.6;
    max-width: 600px;
    margin: 0 auto var(--space-4);
    line-height: 1.5;
}

/* ========== Single Post Layout ========== */
.post-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: var(--space-5) var(--space-3);
}

.post-layout .post {
    max-width: var(--content-width);
    min-width: 0;
}

.post__header {
    margin-bottom: var(--space-4);
    text-align: center;
}

.post__tag {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--navy);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.post__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 var(--space-2);
    letter-spacing: -0.02em;
    color: var(--navy);
}

.post__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.post__meta-divider {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-muted);
}

.post__feature-image {
    margin: 0 0 2.5rem;
}

.post__feature-image img {
    border-radius: var(--radius-lg);
    width: 100%;
}

.post__feature-image figcaption {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

/* ========== Post Content (Ghost Rendered) ========== */
.post__content {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.post__content > * + * {
    margin-top: 1.5rem;
}

.post__content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-top: var(--space-6);
    margin-bottom: var(--space-1);
    color: var(--navy);
    letter-spacing: -0.02em;
}

.post__content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-top: var(--space-5);
    margin-bottom: var(--space-1);
    color: var(--navy);
    letter-spacing: -0.02em;
}

.post__content p {
    margin: 0 0 1.5rem;
}

.post__content blockquote {
    border-left: 3px solid var(--navy);
    margin: 2rem 0;
    padding: 0.25rem 0 0.25rem 1.5rem;
    color: var(--body-text);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
}

.post__content blockquote p:last-child {
    margin-bottom: 0;
}

.post__content pre {
    background: var(--navy);
    color: #e2e8f0;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.6;
}

.post__content code {
    font-family: var(--font-mono);
    font-size: 0.875em;
}

.post__content :not(pre) > code {
    background: var(--bg-alt);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--body-text);
}

.post__content img {
    border-radius: var(--radius);
    margin: 2rem 0;
}

.post__content figure {
    margin: 2rem 0;
}

.post__content figcaption {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.75rem;
}

.post__content ul,
.post__content ol {
    padding-left: 1.5rem;
}

.post__content li {
    margin-bottom: 0.5rem;
}

.post__content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 3rem 0;
}

.post__content a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(32, 51, 74, 0.3);
    transition: text-decoration-color var(--transition);
}

.post__content a:hover {
    text-decoration-color: var(--navy);
    color: var(--navy);
}

/* Ghost Koenig editor width classes */
.kg-width-wide {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.kg-width-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.kg-width-full img {
    width: 100%;
}

/* Ghost content cards (bookmark, gallery, etc.) */
.post__content .kg-card {
    margin: 2rem 0;
}

.post__content .kg-image-card img,
.post__content .kg-gallery-image img {
    border-radius: var(--radius);
}

.post__content .kg-bookmark-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.post__content .kg-bookmark-container {
    display: flex;
    text-decoration: none;
    color: var(--body-text);
}

.post__content .kg-bookmark-content {
    padding: 1.25rem;
    flex: 1;
}

.post__content .kg-bookmark-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.post__content .kg-bookmark-description {
    font-size: 0.85rem;
    color: var(--body-text);
    margin-top: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post__content .kg-bookmark-thumbnail {
    width: 160px;
    flex-shrink: 0;
}

.post__content .kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* ========== Post Footer ========== */
.post__footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post__tag-link {
    background: var(--bg-alt);
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--body-text);
    transition: background var(--transition), color var(--transition);
}

.post__tag-link:hover {
    background: var(--navy);
    color: #fff;
}

/* ========== Author Card ========== */
.post__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.post__author-image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.post__author-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0 0 0.2rem;
}

.post__author-bio {
    font-size: 0.85rem;
    color: var(--body-text);
    margin: 0;
    line-height: 1.5;
}

/* ========== Post Comments ========== */
.post-comments {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

/* ========== Page ========== */
.page {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.page__header {
    margin-bottom: 2rem;
}

.page__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 var(--space-4);
    letter-spacing: -0.02em;
    color: var(--navy);
}

.page__feature-image {
    margin: 0 0 2rem;
}

.page__feature-image img {
    border-radius: var(--radius-lg);
    width: 100%;
}

/* ========== Tag Page ========== */
.tag-page {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.tag-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.tag-header__name {
    font-size: 2rem;
    font-weight: 900;
    margin: 0 0 0.5rem;
    color: var(--navy);
}

.tag-header__description {
    color: var(--body-text);
    font-size: 1rem;
    margin: 0;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.tag-header__count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ========== Blog Layout (used in tag pages) ========== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* ========== POST FEED ========== */
.post-feed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.post-card {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

.post-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.post-card__image-link {
    display: block;
    overflow: hidden;
}

.post-card__image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-card__image {
    transform: scale(1.03);
}

.post-card__content {
    padding: 1.25rem 1.5rem 1.5rem;
}

.post-card__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.post-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.post-card__title a {
    color: var(--navy);
    transition: color var(--transition);
}

.post-card__title a:hover {
    color: var(--navy-light);
}

.post-card__excerpt {
    color: var(--body-text);
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.post-card__meta-sep {
    color: var(--text-muted);
}

.post-card__read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    transition: color var(--transition);
}

.post-card__read-more:hover {
    color: var(--navy-light);
}

/* ========== SIDEBAR ========== */
.blog-sidebar {
    display: none;
}

.sidebar-widget {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.sidebar-widget__title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--navy);
}

.sidebar-widget__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget__list li {
    margin-bottom: 0;
}

.sidebar-widget__link {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition);
}

.sidebar-widget__list li:last-child .sidebar-widget__link {
    border-bottom: none;
}

.sidebar-widget__link:hover {
    color: var(--navy);
}

.sidebar-widget__post-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    transition: color var(--transition);
}

.sidebar-widget__link:hover .sidebar-widget__post-title {
    color: var(--navy-light);
}

.sidebar-widget__date {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* ========== Error Page ========== */
.error-page {
    text-align: center;
    padding: 6rem 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.error-page__code {
    font-size: 7rem;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    margin: 0 0 1rem;
}

.error-page__message {
    font-size: 1.25rem;
    color: var(--body-text);
    margin: 0 0 2rem;
}

/* ========== FOOTER ========== */
.site-footer {
    margin-top: 0;
    padding: var(--space-8) var(--space-3) var(--space-4);
    background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 100%);
    color: var(--body-text);
    border-top: 1px solid var(--border);
}

.site-footer__inner {
    max-width: var(--wide-width);
    margin: 0 auto;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.site-footer__heading {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy);
    margin: 0 0 var(--space-2);
}

.site-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__list li {
    margin-bottom: var(--space-1);
}

.site-footer__list a {
    color: var(--body-text);
    font-size: var(--text-sm);
    transition: color var(--transition);
}

.site-footer__list a:hover {
    color: var(--navy);
}

.site-footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.site-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--body-text);
    background: var(--bg-alt);
    transition: background var(--transition), color var(--transition);
}

.site-footer__social a:hover {
    background: var(--navy);
    color: #fff;
}

.site-footer__legal {
    padding-top: var(--space-4);
    border-top: 1px solid var(--border);
    text-align: center;
}

.site-footer__fsca {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: 0 0 var(--space-1);
}

.site-footer__risk {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: var(--space-1) auto;
    max-width: 600px;
    line-height: 1.5;
}

.site-footer__copyright {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: 0;
}

/* ========== Pagination ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--navy);
    font-weight: 600;
    transition: all var(--transition);
}

.pagination a:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.pagination .page-number {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========== RESPONSIVE — Tablet ========== */
@media (min-width: 640px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .post-card:has(.post-card__image-link) {
        grid-template-columns: 280px 1fr;
    }

    .post-card__image {
        aspect-ratio: 4 / 3;
        height: 100%;
    }

    .hero__title {
        font-size: var(--text-3xl);
    }
}

@media (min-width: 768px) {
    .hero {
        padding: var(--space-5) var(--space-4) var(--space-4);
    }

    .hero__inner {
        flex-direction: row;
        align-items: center;
        gap: var(--space-6);
    }

    .hero__left {
        flex: 1;
        text-align: left;
    }

    .hero__cta-group {
        justify-content: flex-start;
    }

    .hero__flag {
        margin: 0 auto 1.5rem;
    }

    .hero__right {
        flex: 1;
    }

    .hero__phone {
        max-width: 340px;
    }

    .hero__title {
        font-size: var(--text-4xl);
    }

    .hero__subtitle {
        font-size: var(--text-md);
    }

    .steps-section,
    .why-us-section,
    .help-section {
        padding: var(--space-10) 0;
    }

    .section__title {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-1);
    }

    .section__subtitle {
        margin-bottom: var(--space-6);
    }

    .why-us__title {
        font-size: var(--text-4xl);
    }

    .post__title {
        font-size: var(--text-3xl);
    }

    .page__title {
        font-size: var(--text-3xl);
    }

    .page {
        padding: var(--space-6) var(--space-4);
    }

    .post-layout {
        padding: var(--space-6) var(--space-4);
    }
}

/* ========== RESPONSIVE — Desktop ========== */
@media (min-width: 1024px) {
    /* Show desktop nav, hide hamburger */
    .site-header__menu-toggle {
        display: none;
    }

    .site-header__nav {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        position: static;
        background: transparent;
        padding: 0;
        border: none;
        box-shadow: none;
    }

    .site-header__links {
        flex-direction: row;
        gap: 0;
    }

    .site-header__link {
        padding: 0.5rem 0.75rem;
        border-bottom: none;
        border-radius: 6px;
        font-size: 0.875rem;
    }

    .site-header__link:hover {
        background: rgba(255,255,255,0.1);
    }

    .site-header__actions {
        flex-direction: row;
        margin-top: 0;
    }

    /* Blog layout: posts + sidebar */
    .blog-layout {
        grid-template-columns: 1fr 300px;
    }

    .blog-sidebar {
        display: block;
    }

    /* Post layout: content + sidebar */
    .post-layout {
        grid-template-columns: 1fr 300px;
    }

    .hero__title {
        font-size: var(--text-4xl);
    }

    .hero__phone {
        max-width: 380px;
    }

    .post__title {
        font-size: var(--text-4xl);
    }
}

@media (min-width: 1200px) {
    .hero__title {
        font-size: var(--text-5xl);
    }

    .hero {
        padding: var(--space-6) var(--space-4) var(--space-4);
    }
}

/* ========== Utility ========== */
.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;
}

/* ========== Ghost-specific: Members ========== */
.gh-post-upgrade-cta {
    border-radius: var(--radius-lg) !important;
}

/* ============================================================
   LANDING PAGES (Wealth, Merchants, Developers, Promotions)
   ============================================================ */

/* --- Page hero (navy) --- */
.lp-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    padding: var(--space-8) var(--space-3);
    text-align: center;
}
.lp-hero__inner {
    max-width: 820px;
    margin: 0 auto;
}
.lp-hero__eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    opacity: 0.65;
    margin: 0 0 var(--space-2);
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
}
.lp-hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 var(--space-2);
    color: #fff;
}
.lp-hero__subtitle {
    font-size: var(--text-md);
    line-height: 1.6;
    color: rgba(255,255,255,0.82);
    margin: 0 auto var(--space-4);
    max-width: 640px;
}
.lp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

/* Buttons used on dark heroes/bands */
.btn--white {
    color: var(--navy);
    background: #fff;
    border: 2px solid #fff;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius);
}
.btn--white:hover { background: #f0f4f8; border-color: #f0f4f8; color: var(--navy); transform: translateY(-1px); }
.btn--ghost-lg {
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.45);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius);
}
.btn--ghost-lg:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

/* --- Generic landing section --- */
.lp-section { padding: var(--space-8) 0; background: var(--bg); }
.lp-section--alt { background: var(--bg-alt); }
.lp-section--navy { background: var(--navy); color: #fff; }
.lp-lead {
    text-align: center;
    font-size: var(--text-md);
    line-height: 1.7;
    color: var(--navy);
    opacity: 0.7;
    max-width: 680px;
    margin: 0 auto var(--space-5);
}
.lp-section--navy .section__title,
.lp-section--navy .lp-lead { color: #fff; opacity: 1; }
.lp-section--navy .lp-lead { opacity: 0.82; }

/* --- Feature card grid --- */
.lp-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    max-width: var(--wide-width);
    margin: 0 auto;
}
.lp-feature {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    box-shadow: 0 2px 12px rgba(32, 51, 74, 0.04);
    transition: transform var(--transition), box-shadow var(--transition);
}
.lp-feature:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(32, 51, 74, 0.08); }
.lp-feature__icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: #eef3f8;
    color: var(--navy);
    margin-bottom: var(--space-2);
}
.lp-feature__icon svg { width: 24px; height: 24px; }
.lp-feature__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 var(--space-1);
}
.lp-feature__text {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--navy);
    opacity: 0.65;
    margin: 0;
}

/* --- Numbered steps --- */
.lp-steps {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: var(--space-3);
}
.lp-step {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    text-align: left;
}
.lp-step__num {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
}
.lp-step__title {
    font-family: var(--font-heading);
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--navy);
    margin: 6px 0 4px;
}
.lp-step__text { font-size: var(--text-sm); line-height: 1.6; color: var(--navy); opacity: 0.65; margin: 0; }

/* --- Bottom CTA band --- */
.lp-cta-band {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    padding: var(--space-8) var(--space-3);
    text-align: center;
}
.lp-cta-band__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    margin: 0 0 var(--space-2);
    color: #fff;
}
.lp-cta-band__text { color: rgba(255,255,255,0.8); margin: 0 auto var(--space-4); max-width: 560px; }
.lp-cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }

/* --- Endpoint / code list (developers) --- */
.lp-endpoints {
    max-width: 720px;
    margin: var(--space-4) auto 0;
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    overflow: hidden;
}
.lp-endpoint {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 10px var(--space-2);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
    overflow-x: auto;
}
.lp-endpoint:last-child { border-bottom: 0; }
.lp-endpoint .verb {
    font-weight: 700;
    color: var(--accent-teal);
    flex: 0 0 auto;
    min-width: 46px;
}

/* --- Promotions --- */
.promo-card {
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-4);
    text-align: center;
    box-shadow: 0 10px 30px rgba(32, 51, 74, 0.18);
}
.promo-card__badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: var(--space-2);
}
.promo-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 var(--space-2);
    color: #fff;
}
.promo-card__title em { font-style: normal; color: var(--accent-teal); }
.promo-card__meta {
    font-size: var(--text-md);
    color: rgba(255,255,255,0.85);
    margin: 0 0 var(--space-4);
}
.promo-card__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }
.promo-empty {
    text-align: center;
    color: var(--navy);
    opacity: 0.6;
    max-width: 520px;
    margin: 0 auto;
}

/* --- Small print / disclaimer --- */
.lp-disclaimer {
    max-width: 720px;
    margin: var(--space-4) auto 0;
    font-size: var(--text-xs);
    line-height: 1.6;
    color: var(--text-muted);
    text-align: center;
}
.lp-disclaimer a { color: var(--navy); text-decoration: underline; }

@media (min-width: 768px) {
    .lp-hero__title { font-size: var(--text-4xl); }
    .lp-features { grid-template-columns: repeat(3, 1fr); }
    .lp-features--2 { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ABOUT PAGE — person cards, story prose, backers
   ============================================================ */
.lp-prose { max-width: 720px; margin: 0 auto; }
.lp-prose p {
    font-size: var(--text-md);
    line-height: 1.8;
    color: var(--navy);
    opacity: 0.78;
    margin: 0 0 var(--space-3);
}
.lp-prose p:last-child { margin-bottom: 0; }

.person-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    max-width: 920px;
    margin: 0 auto;
    align-items: start;
}
.person-card__photo img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(32, 51, 74, 0.10);
    display: block;
}
.person-card__name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 4px;
}
.person-card__role {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 var(--space-2);
}
.person-card__bio p {
    font-size: var(--text-base);
    color: var(--navy);
    opacity: 0.78;
    line-height: 1.7;
    margin: 0 0 var(--space-2);
}
.person-card__link {
    display: inline-block;
    margin-top: var(--space-1);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
}
.person-card__link:hover { text-decoration: underline; }

.about-backers {
    display: flex;
    gap: var(--space-6);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 920px;
    margin: var(--space-6) auto 0;
    padding-top: var(--space-5);
    border-top: 1px solid var(--border);
}
.about-backers__label {
    width: 100%;
    text-align: center;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: var(--space-1);
}
.about-backers img { max-height: 42px; width: auto; }

@media (min-width: 768px) {
    .person-card { grid-template-columns: 300px 1fr; gap: var(--space-5); }
}
