/* =========================================
   Design tokens
   ========================================= */
:root {
    --navy: #0f2a44;
    --navy-deep: #081a2c;
    --navy-soft: #1d3e5c;
    --cream: #faf6ef;
    --cream-warm: #f4ece0;
    --amber: #d97a3a;
    --amber-deep: #b85f24;
    --ink: #14202e;
    --ink-soft: #4a5868;
    --line: #e3dccf;
    --white: #ffffff;

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 2px rgba(15, 42, 68, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 42, 68, 0.08);
    --shadow-lg: 0 20px 48px rgba(15, 42, 68, 0.12);

    --max-w: 1180px;
    --max-w-narrow: 820px;
}

/* =========================================
   Base
   ========================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--amber-deep); }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
    color: var(--navy);
}
p { margin: 0 0 1em; }

/* =========================================
   Layout helpers
   ========================================= */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}
.narrow { max-width: var(--max-w-narrow); margin-left: auto; margin-right: auto; }
section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.eyebrow {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber-deep);
    margin: 0 0 16px;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-primary:hover {
    background: var(--navy-deep);
    border-color: var(--navy-deep);
    color: var(--white);
    transform: translateY(-1px);
}
.btn-amber {
    background: var(--amber);
    color: var(--white);
    border-color: var(--amber);
}
.btn-amber:hover {
    background: var(--amber-deep);
    border-color: var(--amber-deep);
    color: var(--white);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-ghost:hover {
    background: var(--navy);
    color: var(--cream);
}

/* =========================================
   Navigation
   ========================================= */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 246, 239, 0.9);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: var(--max-w);
    margin: 0 auto;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
    color: var(--navy);
    letter-spacing: -0.01em;
}
.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--navy);
    color: var(--cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    font-size: 15px;
    font-weight: 500;
}
.nav-links a:hover { color: var(--navy); }

.nav-cta{
    color: white;
    margin-left: 10%; 
    padding: 10%;
}
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
    color: var(--navy);
}
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 860px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        padding: 8px 24px 24px;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }
    .nav-links li:last-child a { border-bottom: 0; }
    .nav-cta { margin: 12px 0 0; width: 100%; justify-content: center; }
    .nav-toggle { display: inline-flex; }
}

/* =========================================
   Hero
   ========================================= */
.hero {
    position: relative;
    padding: 110px 0 90px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(217, 122, 58, 0.10), transparent 45%),
        radial-gradient(circle at 88% 8%, rgba(15, 42, 68, 0.07), transparent 50%);
    pointer-events: none;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.35;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}
.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.hero h1 em {
    font-style: italic;
    color: var(--amber-deep);
    font-weight: 500;
}
.hero h3 {
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--navy-soft);
    margin: 0 auto 36px;
    max-width: 720px;
}
.hero-sub {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 auto 36px;
}
.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-meta {
    margin-top: 56px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    color: var(--ink-soft);
    font-size: 14px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--amber); }

/* =========================================
   Mission band
   ========================================= */
.mission-band {
    background: var(--navy);
    color: var(--cream);
    padding: 56px 0;
}
.mission-band p {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 30px);
    text-align: center;
    line-height: 1.35;
    margin: 0 auto;
    max-width: 880px;
    color: var(--cream);
    font-weight: 500;
}
.mission-band em { color: #f5b787; font-style: italic; }

.mission-band .underline {
    text-decoration: underline;
    color:var(--amber);
}
/* =========================================
   Section heads
   ========================================= */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-head h2 {
    font-size: clamp(32px, 4vw, 46px);
    margin-bottom: 16px;
}
.section-head p {
    font-size: 18px;
    color: var(--ink-soft);
    margin: 0;
}

/* =========================================
   Problem section
   ========================================= */
.problem {
    background: var(--cream-warm);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
@media (max-width: 860px) {
    .problem-grid { grid-template-columns: 1fr; }
}
.problem-card {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px;
}
.problem-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.problem-card p {
    color: var(--ink-soft);
    margin: 0;
    font-size: 15px;
}
.problem-card .icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--cream-warm);
    color: var(--amber-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.problem-card .icon svg { width: 20px; height: 20px; }

/* =========================================
   Services section
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 920px) {
    .services-grid { grid-template-columns: 1fr; }
}
.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--navy-soft);
}
.service-card .num {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--amber);
    font-size: 22px;
    margin-bottom: 12px;
}
.service-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.service-card p {
    color: var(--ink-soft);
    font-size: 15px;
}
.service-card ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.service-card li {
    padding: 8px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink);
}
.service-card li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
    margin-top: 9px;
    flex-shrink: 0;
}

/* =========================================
   Process / Steps
   ========================================= */
.process {
    background: var(--navy);
    color: var(--cream);
}
.process .section-head h2,
.process .section-head p { color: var(--cream); }
.process .section-head p { opacity: 0.78; }
.process .eyebrow { color: #f5b787; }
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}
@media (max-width: 920px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .process-steps { grid-template-columns: 1fr; }
}
.step {
    background: var(--navy-soft);
    border: 1px solid rgba(245, 183, 135, 0.18);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    position: relative;
}
.step .step-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 38px;
    color: #f5b787;
    line-height: 1;
    margin-bottom: 14px;
}
.step h3 {
    color: var(--cream);
    font-size: 19px;
    margin-bottom: 8px;
}
.step p {
    color: rgba(250, 246, 239, 0.78);
    font-size: 14px;
    margin: 0;
}

/* =========================================
   Pricing
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}
@media (max-width: 960px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
.price-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.price-card.featured {
    background: var(--navy);
    color: var(--cream);
    border-color: var(--navy);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
@media (max-width: 960px) {
    .price-card.featured { transform: none; }
}
.price-card.featured h3,
.price-card.featured .price,
.price-card.featured .price-tagline { color: var(--cream); }
.price-card.featured li { color: rgba(250, 246, 239, 0.92); }
.price-card.featured li::before { background: #f5b787; }
.price-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--amber);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
    align-self: flex-start;
}
.price-card h3 {
    font-size: 26px;
    margin-bottom: 8px;
}
.price-tagline {
    color: var(--ink-soft);
    font-size: 15px;
    margin-bottom: 4px;
    min-height: 44px;
}
.price {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 4px;
}
.price small {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    display: block;
    margin-top: 8px;
}
.price-card.featured .price small { color: rgba(250, 246, 239, 0.7); }
.price-card ul {
    list-style: none;
    margin: 12px 0 24px;
    padding: 0;
    flex-grow: 1;
}
.price-card li {
    padding: 10px 0;
    font-size: 14.5px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.price-card li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
    margin-top: 9px;
    flex-shrink: 0;
}
.price-card .btn { width: 100%; justify-content: center; }
.price-note {
    text-align: center;
    margin-top: 36px;
    color: var(--ink-soft);
    font-size: 14px;
}

/* =========================================
   Blueprint Intel teaser
   ========================================= */
.intel {
    background: var(--cream-warm);
    position: relative;
    overflow: hidden;
}
.intel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(217, 122, 58, 0.08), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(15, 42, 68, 0.05), transparent 50%);
    pointer-events: none;
}
.intel .container { position: relative; }
.intel h2 em { font-style: italic; color: var(--amber-deep); font-weight: 500; }
.intel-demo {
    max-width: 680px;
    margin: 56px auto 0;
}
.intel-window {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.intel-window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: #f5efe4;
    border-bottom: 1px solid var(--line);
}
.intel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d8d1c2;
}
.intel-window-title {
    margin-left: 14px;
    font-size: 12px;
    color: var(--ink-soft);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.intel-prompt {
    padding: 32px 28px 28px;
}
.intel-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-soft);
    margin-bottom: 12px;
    font-weight: 600;
}
.intel-input {
    min-height: 120px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--cream);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}
.intel-cursor {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    background: var(--amber-deep);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: intel-blink 1.05s steps(2) infinite;
}
@keyframes intel-blink {
    50% { opacity: 0; }
}
.intel-tease {
    text-align: center;
    margin-top: 22px;
    color: var(--ink-soft);
    font-size: 14px;
    letter-spacing: 0.04em;
}
@media (max-width: 540px) {
    .intel-prompt { padding: 24px 20px 22px; }
    .intel-input { font-size: 15px; min-height: 140px; }
}

/* =========================================
   About / Mission
   ========================================= */
.about {
    background: var(--cream-warm);
}
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}
@media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
}
.about h2 {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 20px;
}
.about p {
    font-size: 17px;
    color: var(--ink-soft);
}
.about-stats {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-stats hr{
    border: none;
    border-top: 1px solid var(--line);
    margin: 10px 0 -10px 0;
    width: 200%;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.4;
}
.stat-block.full { 
    grid-column: 1 / -1;
    padding-top: 20px; 
}



/* =========================================
   FAQ
   ========================================= */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--line);
}
.faq-item summary {
    padding: 22px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    color: var(--navy);
    list-style: none;
    transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 26px;
    color: var(--amber);
    transition: transform .2s ease;
    line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--amber-deep); }
.faq-answer {
    padding: 0 0 22px;
    color: var(--ink-soft);
    font-size: 16px;
    max-width: 680px;
}

/* =========================================
   Final CTA
   ========================================= */
.cta {
    background: var(--navy);
    color: var(--cream);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(217, 122, 58, 0.18), transparent 50%),
        radial-gradient(circle at 90% 100%, rgba(245, 183, 135, 0.12), transparent 50%);
    pointer-events: none;
}
.cta-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}
.cta h2 {
    color: var(--cream);
    font-size: clamp(34px, 5vw, 56px);
    margin-bottom: 16px;
}
.cta h2 em { font-style: italic; color: #f5b787; font-weight: 500; }
.cta p {
    color: rgba(250, 246, 239, 0.82);
    font-size: 18px;
    margin-bottom: 32px;
}
.cta .btn-amber:hover { transform: translateY(-2px); }

/* =========================================
   Footer
   ========================================= */
footer {
    background: var(--navy-deep);
    color: rgba(250, 246, 239, 0.75);
    padding: 56px 0 32px;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
footer h4 {
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 10px; }
footer a { color: rgba(250, 246, 239, 0.75); }
footer a:hover { color: var(--cream); }
.footer-brand .logo { color: var(--cream); margin-bottom: 12px; }
.footer-brand p { color: rgba(250, 246, 239, 0.65); max-width: 320px; }
.footer-bottom {
    border-top: 1px solid rgba(250, 246, 239, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(250, 246, 239, 0.55);
}

/* =========================================
   Reveal-on-scroll
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
