/* QuickPass Heritage Guide — utility-first lite, sans heading + serif body, centered hero */

:root {
    --slate: #374151;
    --slate-dark: #1f2937;
    --slate-soft: #4b5563;
    --coral: #e11d48;
    --coral-dark: #be123c;
    --bg: #fcfcfd;
    --paper: #ffffff;
    --ink: #1a1a1a;
    --ink-soft: #44474d;
    --mute: #8a8d93;
    --line: #e7e8ec;
    --line-strong: #cfd1d7;
    --warn: #b91c1c;

    --container: 1180px;
    --gutter: 28px;

    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --serif: Georgia, "Iowan Old Style", "Times New Roman", Times, serif;

    --r: 10px;
    --r-sm: 6px;
    --sh-sm: 0 1px 2px rgba(31, 41, 55, 0.05);
    --sh: 0 10px 30px rgba(31, 41, 55, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.72;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

a { color: var(--coral-dark); text-decoration: underline; text-underline-offset: 2px; transition: color .15s; }
a:hover { color: var(--slate); }
a:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
    font-family: var(--sans);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.02em;
    margin: 0 0 .55em;
    color: var(--slate-dark);
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.24rem; }
h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--coral); }

p { margin: 0 0 1em; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.lead { font-size: 1.12rem; color: var(--ink-soft); line-height: 1.7; }

.eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--coral);
    background: rgba(225, 29, 72, 0.07);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

/* ==== Header ==== */
.site-head {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 50;
}
.site-head__in {
    max-width: var(--container);
    margin: 0 auto;
    padding: 15px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--slate);
    color: var(--bg);
    display: inline-flex; align-items: center; justify-content: center;
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__name {
    font-family: var(--sans);
    font-weight: 800;
    font-size: 1.16rem;
    letter-spacing: -0.02em;
    color: var(--slate-dark);
}
.brand:hover { text-decoration: none; }

.nav { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a {
    font-family: var(--sans);
    color: var(--slate-dark);
    font-size: .94rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--coral); border-bottom-color: var(--coral); }
.nav a.active { color: var(--coral); border-bottom-color: var(--coral); }
.nav a.cta {
    background: var(--coral);
    color: #fff;
    padding: 9px 18px;
    border-radius: 999px;
    border-bottom: none;
}
.nav a.cta:hover { background: var(--coral-dark); color: #fff; border-bottom: none; }
.nav a.cta.active { background: var(--coral-dark); border-bottom: none; }

.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--slate-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==== Buttons ==== */
.btn {
    display: inline-block;
    font-family: var(--sans);
    font-weight: 700;
    font-size: .96rem;
    padding: 13px 28px;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
}
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); color: #fff; text-decoration: none; }
.btn-slate { background: var(--slate); color: #fff; }
.btn-slate:hover { background: var(--slate-dark); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--slate-dark); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--slate-dark); color: #fff; border-color: var(--slate-dark); text-decoration: none; }

/* ==== Hero — centered ==== */
.hero {
    padding: 90px 0 70px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(225,29,72,0.05) 0%, transparent 60%), var(--bg);
}
.hero h1 { max-width: 880px; margin: 0 auto 22px; }
.hero .lead { max-width: 660px; margin: 0 auto 32px; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero__counts {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
    padding-top: 36px;
    border-top: 1px solid var(--line);
    max-width: 720px;
    margin: 0 auto;
}
.hero__counts div strong {
    display: block;
    font-family: var(--sans);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--coral);
    line-height: 1;
    margin-bottom: 6px;
}
.hero__counts div span { font-family: var(--sans); font-size: .82rem; letter-spacing: .06em; color: var(--mute); text-transform: uppercase; }
.hero__media {
    max-width: 980px;
    margin: 54px auto 0;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--sh);
}
.hero__media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* ==== Sections ==== */
.sec { padding: 76px 0; }
.sec-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 740px; margin: 0 auto 46px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ==== Page hero ==== */
.page-hero { padding: 58px 0 44px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 880px; }
.page-hero .lead { max-width: 820px; }

/* ==== Cards — flat with top border ==== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card__kicker { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); font-weight: 700; margin-bottom: 8px; }
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 16px; flex: 1; }
.card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: .84rem; color: var(--mute); }
.card__foot a { color: var(--slate-dark); font-weight: 700; text-decoration: none; }
.card__foot a:hover { color: var(--coral); }

/* ==== Steps ==== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: s; }
.step { background: var(--paper); padding: 28px 24px; border-radius: var(--r); border: 1px solid var(--line); }
.step::before {
    counter-increment: s;
    content: counter(s);
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 999px;
    background: rgba(225,29,72,0.10);
    color: var(--coral-dark);
    font-family: var(--sans);
    font-weight: 800;
    margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { font-size: .96rem; color: var(--ink-soft); margin: 0; }

/* ==== Two col ==== */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 52px; align-items: start; }
.aside {
    background: var(--paper);
    padding: 30px 28px;
    border-radius: var(--r);
    border: 1px solid var(--line);
    border-top: 4px solid var(--coral);
    position: sticky; top: 92px;
}
.aside h3 { font-size: 1.06rem; margin-bottom: 12px; color: var(--slate-dark); }
.aside p, .aside ul { font-size: .96rem; color: var(--ink-soft); }
.aside ul { list-style: none; padding: 0; margin: 0; }
.aside ul li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.aside ul li:last-child { border-bottom: none; }

/* ==== Tiers (free) ==== */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.tier {
    background: var(--paper);
    padding: 32px 28px 30px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    display: flex; flex-direction: column;
}
.tier-feature { border: 2px solid var(--coral); box-shadow: var(--sh); }
.tier h3 { color: var(--slate-dark); margin-bottom: 6px; }
.tier__free { font-family: var(--sans); font-size: 2rem; font-weight: 800; color: var(--coral); margin-bottom: 4px; }
.tier__tag { font-size: .94rem; color: var(--ink-soft); padding: 12px 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tier ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.tier ul li { padding: 7px 0 7px 26px; position: relative; font-size: .96rem; color: var(--ink-soft); }
.tier ul li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 800; }

/* ==== FAQ ==== */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    cursor: pointer; padding: 20px 0; list-style: none;
    font-family: var(--sans);
    font-weight: 700; font-size: 1.08rem; color: var(--slate-dark);
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--coral); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 22px; color: var(--ink-soft); font-size: 1rem; }

/* ==== Form ==== */
.form { background: var(--paper); padding: 32px 30px; border: 1px solid var(--line); border-radius: var(--r); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .grp { margin-bottom: 18px; display: flex; flex-direction: column; }
.form label { font-family: var(--sans); font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--slate-dark); }
.form input, .form select, .form textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--r-sm);
    font-family: var(--serif);
    font-size: 1rem;
    background: var(--paper); color: var(--ink);
    transition: border-color .15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(225,29,72,0.12);
}
.form .grp-check { flex-direction: row; align-items: flex-start; gap: 10px; }
.form .grp-check input { margin-top: 5px; }
.form .grp-check label { font-family: var(--serif); font-weight: 400; font-size: .94rem; color: var(--ink-soft); margin: 0; }
.form .acts { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.status { font-family: var(--sans); font-size: .92rem; color: var(--coral-dark); font-weight: 600; }
.status.err { color: var(--warn); }

/* ==== Table ==== */
.tbl { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 18px 0; }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--slate); color: #fff; font-family: var(--sans); font-weight: 700; font-size: .9rem; }
.tbl tr:last-child td { border-bottom: none; }
.tbl td { font-size: .96rem; color: var(--ink-soft); }

/* ==== Team ==== */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.team__m { background: var(--paper); padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r); }
.team__m h4 { font-family: var(--sans); color: var(--slate-dark); font-size: 1.08rem; text-transform: none; letter-spacing: -0.01em; margin-bottom: 4px; font-weight: 800; }
.team__role { font-family: var(--sans); font-size: .78rem; color: var(--coral); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 12px; }
.team__bio { font-size: .96rem; color: var(--ink-soft); }

/* ==== Timeline ==== */
.tl { list-style: none; padding: 0; margin: 26px 0 0; border-left: 2px solid var(--line-strong); }
.tl li { padding: 12px 0 18px 24px; position: relative; }
.tl li::before { content: ""; position: absolute; left: -7px; top: 18px; width: 12px; height: 12px; border-radius: 999px; background: var(--coral); border: 2px solid var(--bg); }
.tl strong { font-family: var(--sans); color: var(--slate-dark); font-weight: 800; display: block; margin-bottom: 4px; }

/* ==== CTA ==== */
.cta { background: var(--slate-dark); color: #fff; padding: 64px 0; text-align: center; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,0.8); max-width: 620px; margin: 0 auto 28px; font-size: 1.06rem; }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta .btn-ghost:hover { background: #fff; color: var(--slate-dark); border-color: #fff; }

/* ==== Thank-you ==== */
.thanks { padding: 90px 0; text-align: center; }
.thanks__icon { width: 90px; height: 90px; margin: 0 auto 26px; color: var(--coral); }
.thanks .lead { max-width: 660px; margin: 0 auto 40px; }
.thanks__next { max-width: 780px; margin: 0 auto 40px; list-style: none; padding: 0; text-align: left; }
.thanks__next li { background: var(--paper); padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--r); border-left: 4px solid var(--coral); margin-bottom: 14px; }
.thanks__next h3 { font-size: 1.05rem; margin-bottom: 6px; }
.thanks__next p { font-size: .96rem; color: var(--ink-soft); margin: 0; }
.thanks__acts { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==== Facts ==== */
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .94rem; color: var(--ink-soft); }
.facts li:last-child { border-bottom: none; }
.facts strong { font-family: var(--sans); color: var(--slate-dark); margin-right: 4px; }

/* ==== Footer ==== */
.site-foot { background: var(--slate-dark); color: #fff; padding: 60px 0 0; }
.site-foot__grid { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 42px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 42px; }
.site-foot .brand__name { color: #fff; }
.site-foot p, .site-foot address { color: rgba(255,255,255,0.72); font-style: normal; font-size: .92rem; line-height: 1.75; }
.site-foot h4 { color: #fff; margin-bottom: 16px; font-size: .8rem; letter-spacing: .14em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot ul li { margin-bottom: 9px; }
.site-foot a { color: rgba(255,255,255,0.82); font-size: .93rem; text-decoration: none; }
.site-foot a:hover { color: var(--coral); text-decoration: underline; }
.site-foot__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 22px var(--gutter); text-align: center; }
.site-foot__bottom p { margin: 0; font-size: .85rem; color: rgba(255,255,255,0.55); }

/* ==== Breakpoints ==== */
@media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; gap: 34px; }
    .aside { position: static; }
    .site-foot__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--bg); border-bottom: 1px solid var(--line);
        flex-direction: column; padding: 20px var(--gutter); gap: 16px; align-items: stretch;
    }
    .nav.open { display: flex; }
    .sec { padding: 54px 0; }
    .hero { padding: 56px 0; }
    .hero__counts { gap: 30px; }
    .form .row { grid-template-columns: 1fr; }
    .site-foot__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
    :root { --gutter: 18px; }
    .hero__counts div strong { font-size: 1.9rem; }
    .card__body { padding: 20px 20px 22px; }
    .tier { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
