/* ---------- Design tokens ---------- */
:root {
    --navy-900: #0b1524;
    --navy-800: #0f1b2d;
    --navy-700: #18273f;
    --navy-600: #23344f;
    --slate-500: #4a5a72;
    --slate-400: #6b7a90;
    --cream-50: #faf8f3;
    --cream-100: #f3eee3;
    --cream-200: #e8e0cc;
    --gold-500: #c9a24a;
    --gold-600: #b08a34;
    --gold-300: #e2c584;
    --white: #ffffff;
    --ink: #111827;
    --muted: #5a6779;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 2px rgba(11, 21, 36, 0.06), 0 1px 3px rgba(11, 21, 36, 0.04);
    --shadow-md: 0 4px 6px rgba(11, 21, 36, 0.05), 0 10px 20px rgba(11, 21, 36, 0.08);
    --shadow-lg: 0 20px 40px rgba(11, 21, 36, 0.12);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --container: 1180px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream-50);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-800); text-decoration: none; }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--navy-900);
    line-height: 1.2;
    margin: 0 0 0.5em;
    font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1rem; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.08em; }
p { margin: 0 0 1em; color: var(--slate-500); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
}
.btn-primary:hover {
    background: var(--gold-600);
    border-color: var(--gold-600);
    color: var(--navy-900);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background: transparent;
    color: var(--navy-900);
    border-color: var(--navy-900);
}
.btn-secondary:hover {
    background: var(--navy-900);
    color: var(--cream-50);
}
.btn-ghost {
    background: transparent;
    color: var(--cream-50);
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
    background: var(--cream-50);
    border-bottom: 1px solid var(--cream-200);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(1.1);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-900);
}
.brand:hover { color: var(--navy-900); }
.brand-mark-img {
    width: 44px;
    height: 44px;
    display: block;
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.22rem;
    color: var(--navy-900);
    letter-spacing: -0.01em;
}
.brand-accent { color: var(--gold-600); }
.brand-tagline {
    font-size: 0.7rem;
    color: var(--slate-400);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 2px;
}

.primary-nav ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.primary-nav a {
    display: inline-block;
    padding: 10px 16px;
    color: var(--navy-800);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease, color 0.15s ease;
}
.primary-nav a:hover { background: var(--cream-100); color: var(--navy-900); }
.primary-nav a.is-active {
    color: var(--gold-600);
    background: var(--cream-100);
}
.header-cta { padding: 10px 22px; font-size: 0.9rem; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-900);
    border-radius: 2px;
}

@media (max-width: 860px) {
    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream-50);
        border-bottom: 1px solid var(--cream-200);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .primary-nav.is-open { max-height: 400px; }
    .primary-nav ul {
        flex-direction: column;
        padding: 12px 24px 20px;
        gap: 4px;
    }
    .primary-nav a { display: block; padding: 12px 16px; }
    .header-cta { display: none; }
    .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(ellipse at top right, rgba(201, 162, 74, 0.18), transparent 55%),
        linear-gradient(180deg, var(--navy-900), var(--navy-800));
    color: var(--cream-100);
    padding: 96px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(201, 162, 74, 0.12);
    border: 1px solid rgba(201, 162, 74, 0.35);
    color: var(--gold-300);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 24px;
}
.hero h1 { color: var(--white); max-width: 880px; margin-bottom: 24px; }
.hero h1 em {
    font-style: italic;
    color: var(--gold-300);
    font-weight: 500;
}
.hero-lede {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(247, 245, 240, 0.8);
    max-width: 640px;
    margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
    display: flex;
    gap: 40px;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex-wrap: wrap;
}
.hero-meta .stat-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold-300);
    font-weight: 700;
    display: block;
    line-height: 1;
}
.hero-meta .stat-label {
    color: rgba(247, 245, 240, 0.6);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 6px;
    display: block;
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-eyebrow {
    display: inline-block;
    color: var(--gold-600);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-head p { font-size: 1.08rem; }

/* ---------- Feature grid ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-200);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-300);
}
.feature-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    background: var(--cream-100);
    color: var(--gold-600);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 1.5rem;
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.feature-card p { margin: 0; font-size: 0.96rem; }

/* ---------- How it works ---------- */
.how-section { background: var(--cream-100); }
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 32px 28px 28px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-200);
}
.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: -18px;
    left: 24px;
    background: var(--navy-900);
    color: var(--gold-300);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
}
.step h3 { font-size: 1.15rem; margin-top: 4px; }
.step p { margin: 0; font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}
.plan {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.is-featured {
    border: 2px solid var(--gold-500);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.plan.is-featured:hover { transform: translateY(-10px); }
.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-500);
    color: var(--navy-900);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
}
.plan-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--navy-900);
    margin: 0 0 6px;
    font-weight: 700;
}
.plan-desc { font-size: 0.9rem; margin-bottom: 22px; min-height: 42px; }
.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}
.plan-price .amount {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    color: var(--navy-900);
    font-weight: 700;
    line-height: 1;
}
.plan-price .period { color: var(--slate-400); font-size: 0.95rem; }
.plan-setup { font-size: 0.82rem; color: var(--slate-400); margin-bottom: 24px; }
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}
.plan-features li {
    padding: 9px 0 9px 26px;
    position: relative;
    font-size: 0.93rem;
    color: var(--slate-500);
    border-bottom: 1px dashed var(--cream-200);
}
.plan-features li:last-child { border-bottom: 0; }
.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 9px;
    color: var(--gold-600);
    font-weight: 700;
}
.plan .btn { width: 100%; }

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--slate-400);
    font-size: 0.9rem;
}

/* ---------- Testimonial / trust strip ---------- */
.trust-strip {
    background: var(--navy-900);
    color: var(--cream-100);
    padding: 60px 0;
    text-align: center;
}
.trust-strip h2 { color: var(--white); }
.trust-strip p { color: rgba(247, 245, 240, 0.72); max-width: 620px; margin: 0 auto 28px; }
.trust-strip .btn-primary { margin-top: 8px; }

/* ---------- About page ---------- */
.about-hero {
    background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
    color: var(--cream-100);
    padding: 96px 0 80px;
}
.about-hero h1 { color: var(--white); max-width: 720px; }
.about-hero p { color: rgba(247, 245, 240, 0.78); font-size: 1.15rem; max-width: 680px; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
@media (max-width: 820px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-grid h2 { margin-top: 0; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.value-card {
    padding: 28px;
    border-left: 3px solid var(--gold-500);
    background: var(--white);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
}
.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { margin: 0; font-size: 0.93rem; }

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    padding: 56px 0;
    border-top: 1px solid var(--cream-200);
    border-bottom: 1px solid var(--cream-200);
    text-align: center;
    margin: 60px 0;
}
.stat-big {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold-600);
    line-height: 1;
    font-weight: 700;
    display: block;
}
.stat-big + span {
    display: block;
    margin-top: 10px;
    color: var(--slate-500);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---------- Contact block ---------- */
.contact-block {
    background: var(--cream-100);
    padding: 72px 0;
}
.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
@media (max-width: 760px) {
    .contact-card { grid-template-columns: 1fr; padding: 40px 28px; }
}
.contact-card h2 { margin-top: 0; }
.contact-details { list-style: none; padding: 0; margin: 0; }
.contact-details li {
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-200);
    display: flex;
    flex-direction: column;
}
.contact-details li:last-child { border-bottom: 0; }
.contact-details .label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}
.contact-details a { font-size: 1.1rem; color: var(--navy-900); font-weight: 500; }
.contact-details a:hover { color: var(--gold-600); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-900);
    color: rgba(247, 245, 240, 0.72);
    padding: 72px 0 28px;
    margin-top: 0;
}
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-tagline { color: var(--gold-300); }
.site-footer p { color: rgba(247, 245, 240, 0.65); font-size: 0.92rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 780px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}
.footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 0.82rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: rgba(247, 245, 240, 0.72);
    font-size: 0.93rem;
    transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { margin: 0; font-size: 0.82rem; }
.footer-payment { color: rgba(247, 245, 240, 0.5) !important; }
