/* Lesson Plan Factory marketing page — no build step, loaded directly. */

:root {
    --paper: #f7f3ea;
    --paper-2: #fffdf7;
    --ink: #14211c;
    --ink-soft: #2d3d35;
    --muted: #5d6d64;
    --line: #ddd5c4;
    --accent: #b3521c;
    --accent-dark: #8a3d12;
    --accent-soft: #f4e2d2;
    --forest: #1f4d3a;
    --forest-soft: #dce9df;
    --gold: #c39a45;
    --shadow-sm: 0 2px 10px rgba(20, 33, 28, .06);
    --shadow-md: 0 18px 40px -18px rgba(20, 33, 28, .28);
    --shadow-lg: 0 40px 80px -40px rgba(20, 33, 28, .45);
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --radius: 18px;
}

* { box-sizing: border-box; }

.marketing-body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.marketing-body h1,
.marketing-body h2,
.marketing-body h3,
.marketing-body h4 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0;
}

.marketing-body p { margin: 0; }
/* Body copy links inherit the prose colour; buttons do not. They are links
   with their own background, so inheriting the page ink made the dark pill
   dark text on a dark pill — legible only by hovering. */
.marketing-body a:not(.btn-el) { color: inherit; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 100;
    background: var(--ink);
    color: var(--paper);
    padding: .75rem 1rem;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap {
    width: min(1180px, calc(100% - 3rem));
    margin-inline: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-dark);
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--accent);
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 72px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.02em;
}
.brand-logo {
    width: 36px;
    height: 28px;
    object-fit: contain;
    flex: 0 0 auto;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
}
.site-nav {
    display: flex;
    gap: 1.6rem;
    margin-left: auto;
}
.site-nav a {
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: .3rem 0;
    border-bottom: 1px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--accent); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.header-actions .login { font-size: .9rem; font-weight: 600; text-decoration: none; }
.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 8px;
    padding: .35rem .55rem;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn-el {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: 999px;
    padding: .8rem 1.3rem;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    cursor: pointer;
}
.btn-el:hover { transform: translateY(-1px); }
.btn-el:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-el .arrow { transition: transform .18s ease; }
.btn-el:hover .arrow { transform: translateX(3px); }

.btn-primary-el {
    background: var(--ink);
    color: var(--paper-2);
    box-shadow: var(--shadow-sm);
}
.btn-primary-el:hover { background: #0c1712; box-shadow: var(--shadow-md); color: var(--paper-2); }

.btn-accent-el {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px -14px rgba(179, 82, 28, .9);
}
.btn-accent-el:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost-el {
    border-color: var(--line);
    color: var(--ink);
    background: transparent;
}
.btn-ghost-el:hover { border-color: var(--ink); background: var(--paper-2); }

.btn-light-el {
    background: var(--paper-2);
    color: var(--ink);
}
.btn-light-el:hover { background: #fff; color: var(--ink); }

.btn-sm-el { padding: .55rem .95rem; font-size: .85rem; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 4rem;
    background:
        radial-gradient(900px 500px at 82% -10%, rgba(195, 154, 69, .18), transparent 60%),
        radial-gradient(700px 460px at 8% 20%, rgba(31, 77, 58, .10), transparent 65%);
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 4rem;
    align-items: center;
}
.hero h1 {
    font-size: clamp(2.55rem, 5.2vw, 4.4rem);
    margin: 1rem 0 1.2rem;
}
.hero h1 em {
    font-style: italic;
    color: var(--accent);
}
.hero-lede {
    font-size: 1.13rem;
    color: var(--ink-soft);
    max-width: 34rem;
    margin-bottom: 1.8rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    align-items: center;
}
.cta-note {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    margin-top: 1rem;
    font-size: .82rem;
    color: var(--muted);
}
.cta-note span { display: inline-flex; align-items: center; gap: .4rem; }
.cta-note svg { color: var(--forest); flex: none; }

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}
.trust-pill {
    font-size: .76rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: color-mix(in srgb, var(--paper-2) 80%, transparent);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .4rem .75rem;
}

/* ---------- Handout mockups ---------- */

.packet-stage {
    position: relative;
    min-height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.packet {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 1.35rem 1.4rem 1.5rem;
    width: 300px;
    position: relative;
    font-size: .78rem;
    line-height: 1.5;
}
.packet-standard {
    transform: rotate(-3.2deg) translate(-76px, -14px);
    z-index: 2;
}
.packet-scaffolded {
    transform: rotate(2.6deg) translate(86px, 46px);
    z-index: 3;
}
.packet-tab {
    position: absolute;
    top: -13px;
    left: 16px;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .22rem .55rem;
    border-radius: 999px;
    color: #fff;
}
.packet-standard .packet-tab { background: var(--forest); }
.packet-scaffolded .packet-tab { background: var(--accent); }
.packet h4 {
    font-size: 1.05rem;
    margin: .55rem 0 .15rem;
}
.packet .kicker {
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    font-weight: 700;
}
.packet .rule { height: 1px; background: var(--line); margin: .6rem 0; }
.packet ol { margin: 0 0 .5rem 1.05rem; padding: 0; }
.packet li { margin-bottom: .4rem; }
.packet .frame {
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    border-radius: 0 6px 6px 0;
    padding: .5rem .6rem;
    margin: .55rem 0;
    font-size: .7rem;
}
.packet .frame b { display: block; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }
.mini-organizer {
    width: 100%;
    border-collapse: collapse;
    font-size: .62rem;
    margin-top: .45rem;
}
.mini-organizer th,
.mini-organizer td {
    border: 1px solid var(--line);
    padding: .28rem .35rem;
    text-align: left;
}
.mini-organizer th { background: var(--forest-soft); font-weight: 600; }
.packet-note {
    position: absolute;
    bottom: 30px;
    z-index: 4;
    font-size: .72rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .42rem .8rem;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

/* ---------- Proof bar ---------- */

.proof-bar {
    border-block: 1px solid var(--line);
    background: var(--paper-2);
    padding: 1.6rem 0;
}
.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.proof-item { display: flex; gap: .85rem; align-items: flex-start; }
.proof-item svg { color: var(--accent); flex: none; margin-top: .1rem; }
.proof-item strong { display: block; font-family: var(--serif); font-size: 1.08rem; }
.proof-item span { font-size: .84rem; color: var(--muted); }

/* ---------- Sections ---------- */

.section { padding: 5.5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-head { max-width: 46rem; margin-bottom: 2.8rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: .7rem 0 .9rem; }
.section-head p { color: var(--muted); font-size: 1.02rem; max-width: 40rem; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}
.feature-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.6rem 1.7rem;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #cfc5b0;
}
.feature-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--forest-soft);
    color: var(--forest);
    margin-bottom: 1rem;
}
.feature-card:nth-child(even) .feature-icon { background: var(--accent-soft); color: var(--accent-dark); }
.feature-card h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.feature-card p { color: var(--muted); font-size: .92rem; }

/* ---------- Steps ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 1.8rem 1.4rem 1.5rem;
    border-top: 2px solid var(--ink);
}
.step::before {
    counter-increment: step;
    content: "0" counter(step);
    font-family: var(--serif);
    font-size: 2.4rem;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: .8rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .9rem; }

/* ---------- Change cards (in place of invented testimonials) ---------- */

.change-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}
.change-card {
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius);
    padding: 1.7rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.change-card:nth-child(2) { background: var(--forest); }
.change-card:nth-child(3) { background: var(--accent-dark); }
.change-card .label {
    font-size: .64rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .72;
    font-weight: 700;
}
.change-card h3 { font-size: 1.28rem; }
.change-card p { font-size: .9rem; opacity: .86; }
/* .marketing-body p zeroes every paragraph's margin, so the note needs the
   extra specificity to keep the gap above it. */
.marketing-body .pilot-note {
    margin-top: 1.6rem;
    font-size: .84rem;
    color: var(--muted);
    border-left: 3px solid var(--gold);
    padding-left: .9rem;
}

/* ---------- Pricing ---------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: stretch;
}
.price-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.7rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
}
.price-card.featured {
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}
.price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 999px;
    padding: .3rem .7rem;
    white-space: nowrap;
}
.price-name { font-family: var(--serif); font-size: 1.3rem; }
.price-desc { color: var(--muted); font-size: .84rem; min-height: 2.6rem; margin: .3rem 0 1rem; }
.price-amount { font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.price-amount span { font-family: var(--sans); font-size: .8rem; color: var(--muted); font-weight: 500; }
.price-list { list-style: none; margin: 1.1rem 0 1.4rem; padding: 0; font-size: .86rem; }
.price-list li { display: flex; gap: .5rem; margin-bottom: .55rem; }
.price-list svg { color: var(--forest); flex: none; margin-top: .15rem; }
.price-card .btn-el { margin-top: auto; width: 100%; }
.price-fine { font-size: .72rem; color: var(--muted); margin-top: .7rem; text-align: center; }
.pricing-note { margin-top: 1.4rem; font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin-inline: auto; }
.faq .accordion-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
}
.faq .accordion-button {
    background: transparent;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.15rem .2rem;
    box-shadow: none;
}
.faq .accordion-button:not(.collapsed) { color: var(--accent-dark); }
.faq .accordion-button::after { width: .85rem; height: .85rem; background-size: .85rem; }
.faq .accordion-body { padding: 0 .2rem 1.2rem; color: var(--muted); font-size: .92rem; max-width: 46rem; }

/* ---------- Final CTA ---------- */

.final-cta {
    background: var(--ink);
    color: var(--paper);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}
.final-cta::after {
    content: "";
    position: absolute;
    inset: auto -10% -70% 55%;
    height: 420px;
    background: radial-gradient(circle, rgba(195, 154, 69, .22), transparent 65%);
    pointer-events: none;
}
.final-cta .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.final-cta h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.final-cta p { color: color-mix(in srgb, var(--paper) 72%, transparent); margin-top: .6rem; max-width: 38rem; }

/* ---------- Footer ---------- */

.site-footer {
    background: #0f1a15;
    color: #c9d3cc;
    padding: 3rem 0 2rem;
    font-size: .84rem;
}
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand { color: #fff; }
.footer-brand p { color: #93a49a; margin-top: .5rem; max-width: 24rem; }
.footer-links { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.footer-links h4 { font-family: var(--sans); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #93a49a; margin-bottom: .6rem; }
.footer-links a { display: block; color: #d8e1da; text-decoration: none; margin-bottom: .35rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2rem; padding-top: 1.2rem; color: #7f9187; font-size: .76rem; }

/* ---------- Motion ---------- */

.reveal { opacity: 1; }
.has-js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.has-js .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .has-js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .packet-stage { min-height: 0; display: grid; gap: 1.4rem; justify-items: center; padding-block: 1rem 2rem; }
    .packet-standard, .packet-scaffolded { transform: none; width: min(340px, 100%); }
    .packet-note { position: static; margin-top: .4rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .steps, .change-grid, .pricing-grid, .dials { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .final-cta .wrap { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 0;
        padding: .5rem 1.5rem 1rem;
        margin: 0;
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
    .menu-toggle { display: block; }
    .header-actions .login { display: none; }
    .hero { padding-top: 3rem; }
    .packet-stage { min-height: 0; display: grid; gap: 1.4rem; justify-items: center; padding-block: 1rem 2rem; }
    .packet-standard, .packet-scaffolded { transform: none; width: min(340px, 100%); }
    .packet-note { position: static; margin-top: .4rem; }
    .proof-grid { grid-template-columns: 1fr; gap: 1rem; }
    .section { padding: 3.6rem 0; }
    .trust-row { gap: .45rem; }
}

/* ---------- Levels vs. tiers ---------- */

.dials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}
.dial-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.7rem 1.6rem;
    box-shadow: var(--shadow-sm);
}
.dial-card .label {
    font-size: .64rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-dark);
}
.dial-card h3 { font-size: 1.35rem; margin: .45rem 0 .5rem; }
.dial-card p { color: var(--muted); font-size: .9rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1rem; }
.chip {
    font-size: .72rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .34rem .66rem;
}
.dial-card.accent .chip { background: var(--accent-soft); border-color: #e6cdb7; color: var(--accent-dark); }
.dial-card.accent .label { color: var(--forest); }
.dial-note {
    margin-top: 1.3rem;
    font-size: .86rem;
    color: var(--ink-soft);
    border-left: 3px solid var(--gold);
    padding-left: .9rem;
    max-width: 56rem;
}
