:root {
    --ink: #1a1a1a;
    --paper: #faf8f5;
    --warm: #c8712e;
    --warm-light: #f5e6d3;
    --warm-hover: #a85d24;
    --muted: #6b6560;
    --rule: #ddd5cc;
    --card-bg: #ffffff;
    --section-alt: #f2eeea;
    --green: #2a7d4f;
    --green-light: #e6f4ec;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* ---- SKIP LINK ---- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--ink);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 6px 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    z-index: 200;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---- NAV ---- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
    transition: box-shadow 0.3s ease;
}
nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}
.nav-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--card-bg) !important;
    background: var(--ink);
    padding: 0.55rem 1.25rem;
    border-radius: 6px;
    transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--warm) !important; color: #fff !important; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
    transition: all 0.3s;
}

/* ---- SECTIONS ---- */
section { padding: 6rem 2rem; }
.container { max-width: 1080px; margin: 0 auto; }

/* ---- HERO ---- */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    text-align: center;
}
.hero-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.4rem, 5.5vw, 3.6rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
    max-width: 780px;
    margin: 0 auto 1.25rem;
}
.hero-sub {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 0.75rem;
    line-height: 1.65;
}
.hero-credibility {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}
.hero-credibility strong {
    color: var(--ink);
    font-weight: 600;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: var(--warm);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--warm-hover);
    transform: translateY(-1px);
}
.btn-secondary {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--ink);
    font-weight: 600;
    font-size: 1rem;
    border: 1.5px solid var(--rule);
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover {
    border-color: var(--ink);
    transform: translateY(-1px);
}
.hero-proof {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--ink);
}
.hero-stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.15rem;
}

/* ---- SECTION COMMONS ---- */
.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 1rem;
}
.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.section-subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin-bottom: 3rem;
    line-height: 1.7;
}
.text-center { text-align: center; }

/* ---- LOGO TICKER ---- */
.ticker-section {
    padding: 2rem 0 2.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    overflow: hidden;
}
.ticker-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0.6;
    margin-bottom: 1.5rem;
}
.ticker-track {
    position: relative;
    display: flex;
    overflow: hidden;
}
/* Fade masks */
.ticker-track::before,
.ticker-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8rem;
    z-index: 2;
    pointer-events: none;
}
.ticker-track::before {
    left: 0;
    background: linear-gradient(to right, var(--paper) 0%, transparent 100%);
}
.ticker-track::after {
    right: 0;
    background: linear-gradient(to left, var(--paper) 0%, transparent 100%);
}
/*
 * Two identical sets animate independently at translateX(-100%).
 * Each set moves by exactly its own width, so when it wraps the
 * other set is already in position — perfectly seamless.
 */
.ticker-set {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    animation: ticker-scroll 32s linear infinite;
}
.ticker-track:hover .ticker-set {
    animation-play-state: paused;
}
.ticker-item {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--ink);
    opacity: 0.28;
    white-space: nowrap;
    padding: 0 0.25rem;
    transition: opacity 0.25s;
    letter-spacing: -0.01em;
}
.ticker-track:hover .ticker-item {
    opacity: 0.55;
}
.ticker-sep {
    font-size: 0.4rem;
    color: var(--warm);
    opacity: 0.4;
    padding: 0 2rem;
    flex-shrink: 0;
}
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
    .ticker-set { animation: none; }
}

/* ---- WHO THIS IS FOR ---- */
.for-section { background: var(--section-alt); }
.personas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.persona-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--rule);
    transition: transform 0.2s, box-shadow 0.2s;
}
.persona-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.persona-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--warm-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}
.persona-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}
.persona-card p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ---- CASE STUDY VIGNETTE ---- */
.vignette-section { background: var(--paper); }
.vignette-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 720px;
    margin: 0 auto;
}
.vignette-card {
    background: var(--card-bg);
    border: 1px solid var(--rule);
    border-radius: 16px;
    padding: 2.5rem;
}
.vignette-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a6645;
    background: #d0f0e2;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}
.vignette-badge--warm {
    color: #b85c1a;
    background: #fde8d3;
}
.vignette-badge--indigo {
    color: #3730a3;
    background: #e0e7ff;
}
.vignette-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}
.vignette-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}
.vignette-step {
    padding: 1rem;
    background: var(--paper);
    border-radius: 8px;
}
.vignette-step-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 0.4rem;
}
.vignette-step p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.55;
}
.vignette-note {
    font-size: 0.8rem;
    color: var(--muted);
    font-style: italic;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rule);
}

/* ---- WHAT YOU GET ---- */
.get-section { background: var(--section-alt); }
.get-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.get-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 1.5rem;
}
.get-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--warm-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.get-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.get-item p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.testimonial {
    background: var(--card-bg);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 2rem;
}
.testimonial-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm);
    background: var(--warm-light);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.85rem;
}
.testimonial blockquote {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--warm-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--warm);
    flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.875rem; }
.testimonial-role { font-size: 0.8rem; color: var(--muted); }
.testimonials-extra { display: none; }
.testimonials-extra.open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.testimonials-toggle {
    display: block;
    margin: 2rem auto 0;
    background: transparent;
    border: 1.5px solid var(--rule);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
    font-family: 'DM Sans', sans-serif;
}
.testimonials-toggle:hover { border-color: var(--ink); }

/* ---- HOW IT WORKS ---- */
.how-section { background: var(--section-alt); }
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.step { text-align: center; }
.step-number {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--warm);
    line-height: 1;
    margin-bottom: 1rem;
}
.step h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.how-cta { text-align: center; margin-top: 3rem; }

/* ---- GUARANTEE ---- */
.guarantee-bar {
    background: var(--green-light);
    border: 1px solid rgba(42, 125, 79, 0.15);
    border-radius: 10px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto 0;
}
.guarantee-icon { font-size: 1.5rem; flex-shrink: 0; }
.guarantee-bar p { font-size: 0.9rem; color: var(--green); line-height: 1.55; }
.guarantee-bar strong { font-weight: 600; }

/* ---- FAQ ---- */
.faq-list { max-width: 700px; margin: 2.5rem auto 0; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.4;
}
.faq-question:hover { color: var(--warm); }
.faq-chevron {
    font-size: 1.2rem;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    color: var(--muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 1.25rem;
}
.faq-answer p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }

/* ---- ABOUT ---- */
.about-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: start;
}
.about-photo {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    background: var(--section-alt);
    border: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.about-photo-placeholder {
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
    padding: 1rem;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-content p { color: var(--muted); margin-bottom: 1rem; line-height: 1.7; }
.about-links { display: flex; gap: 1.25rem; margin-top: 1.5rem; }
.about-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--warm);
    text-decoration: none;
    transition: color 0.2s;
}
.about-links a:hover { color: var(--warm-hover); }
.about-links a svg { width: 16px; height: 16px; }

/* ---- FINAL CTA ---- */
.final-cta { background: var(--ink); text-align: center; }
.final-cta .section-label { color: var(--warm); }
.final-cta .section-title { color: #fff; }
.final-cta p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.btn-primary-light {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: var(--warm);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-primary-light:hover { background: var(--warm-hover); transform: translateY(-1px); }

/* ---- FOOTER ---- */
footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
    border-top: 1px solid var(--rule);
}
@media (max-width: 768px) {
    footer { padding-bottom: 5rem; }
}

/* ---- STICKY MOBILE CTA ---- */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--rule);
    padding: 0.75rem 1.5rem;
    text-align: center;
}
.sticky-mobile-cta a {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: var(--warm);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
}

/* ---- ANIMATIONS ---- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- LIBRARY DRAWER ---- */
#library-drawer {
    display: none;
    background: var(--section-alt);
    padding: 4rem 0 5rem;
    border-top: 1px solid var(--rule);
}
#library-drawer.open { display: block; }
.library-drawer-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 3rem;
}
.library-drawer-header h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
}
#libraryClose {
    background: none;
    border: none;
    font-size: 0.875rem;
    cursor: pointer;
    color: var(--muted);
    padding: 0;
    text-decoration: underline;
}
#libraryClose:hover { color: var(--ink); }
.library-category { margin-bottom: 3rem; }
.library-category-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warm);
    margin-bottom: 1.25rem;
}
.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1.25rem 1rem;
}
.library-book {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.library-book img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.library-book:hover img {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.library-book-title {
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 0.5rem;
    text-align: center;
    line-height: 1.35;
}
footer .library-trigger {
    margin-left: 1.25rem;
    color: var(--muted);
    text-decoration: none;
    font-size: inherit;
}
footer .library-trigger:hover { color: var(--ink); text-decoration: underline; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    section { padding: 4rem 1.5rem; }
    .hero { padding-top: 8rem; padding-bottom: 4rem; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--rule);
        padding: 1.5rem 2rem;
        gap: 1.25rem;
    }
    .mobile-menu-btn { display: block; }
    .personas { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-extra.open { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 2.5rem; }
    .get-grid { grid-template-columns: 1fr; }
    .vignette-timeline { grid-template-columns: 1fr; }
    .about-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .about-links { justify-content: center; }
    .hero-proof { gap: 1.5rem; }
    .guarantee-bar { flex-direction: column; text-align: center; }
    .sticky-mobile-cta { display: block; }
    .for-who-grid { grid-template-columns: 1fr; }
}

/* ---- FOR-WHO 2-TRACK LAYOUT ---- */
.for-who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 3rem;
    margin-top: 2.5rem;
    align-items: stretch;
}
.for-who-track-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--rule);
    align-self: end;
}

/* ---- GET-SECTION TRACKS ---- */
.get-track-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 2rem;
    margin-top: 3.5rem;
}
.get-track-label:first-child { margin-top: 0; }

/* ---- HERO CTA NOTE ---- */
.hero-cta-note {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 0.5rem;
    text-align: center;
}
