:root {
    --bg: #15130f;
    --bg-2: #100e0b;
    --surface: #1d1a15;
    --surface-2: #24211a;
    --border: #372f22;
    --border-soft: #2a2519;
    --text: #ece6d9;
    --text-muted: #a89d87;
    --text-dim: #766c5a;
    --accent: #e8963c;
    --accent-dim: #8a5f28;
    --accent-ink: #1a1108;
}

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

body {
    font-family: 'IBM Plex Sans', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== Manifest ruled-paper texture (hero + pricing) ===== */
.ruled {
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0px, transparent 34px,
        rgba(232, 150, 60, 0.05) 35px
    );
}

/* ===== Nav ===== */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-soft);
}
.logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 21px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
}
.logo span { color: var(--accent); }
.nav-menu { display: flex; gap: 34px; list-style: none; }
.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14.5px;
    transition: color 0.2s;
}
.nav-menu a:hover { color: var(--text); }
.nav-cta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent-dim);
    padding: 9px 18px;
    text-decoration: none;
    transition: all 0.2s;
}
.nav-cta:hover { background: rgba(232, 150, 60, 0.1); border-color: var(--accent); }

/* ===== Hero ===== */
.hero { padding: 90px 0 60px; }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(232, 150, 60, 0.08);
    border: 1px solid var(--accent-dim);
    padding: 7px 14px 7px 10px;
    margin-bottom: 30px;
    position: relative;
    clip-path: polygon(0 50%, 10px 0, 100% 0, 100% 100%, 10px 100%);
}
.tag::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    margin-left: 6px;
}

h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 58px;
    line-height: 1.06;
    text-transform: uppercase;
    letter-spacing: 0.005em;
    max-width: 880px;
    margin-bottom: 26px;
    text-wrap: balance;
}
h1 em { color: var(--accent); font-style: normal; }

.subtitle {
    font-size: 18px;
    line-height: 1.65;
    max-width: 58ch;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.stamp-btn {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-ink);
    background: var(--accent);
    padding: 15px 34px;
    text-decoration: none;
    border: 1px solid var(--accent);
    transform: rotate(-0.6deg);
    transition: transform 0.2s ease, filter 0.2s ease;
}
.stamp-btn:hover { transform: rotate(0deg) scale(1.02); filter: brightness(1.08); }
.stamp-btn.ghost {
    background: transparent;
    color: var(--accent);
    margin-left: 14px;
}

/* ===== Book a call ===== */
.hero-cal-section { padding: 70px 0 90px; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.cal-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.cal-subtitle { color: var(--text-muted); font-size: 15px; margin-bottom: 34px; max-width: 55ch; }
.cal-embed {
    border: 1px solid var(--border);
    background: var(--surface);
}
.cal-embed iframe { display: block; width: 100%; height: 560px; border: none; }

/* ===== Section shared ===== */
section { padding: 100px 0; }
.eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 0.005em;
    margin-bottom: 20px;
    max-width: 700px;
    text-wrap: balance;
}
.section-lede { color: var(--text-muted); font-size: 16.5px; max-width: 62ch; margin-bottom: 56px; line-height: 1.65; }

/* ===== How it works — route ===== */
.route-wrap { position: relative; }
.route-line-svg { position: absolute; top: 34px; left: 0; right: 0; width: 100%; height: 6px; display: block; }
.route-line-svg path {
    stroke: var(--border);
    stroke-width: 2;
}
.route-line-svg path.progress {
    stroke: var(--accent);
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.route-wrap.in-view .route-line-svg path.progress { stroke-dashoffset: 0; }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}
.step { position: relative; }
.step-marker {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    transition: border-color 0.6s ease 0.3s, background 0.6s ease 0.3s;
}
.route-wrap.in-view .step-marker { border-color: var(--accent); background: var(--surface-2); }
.step-marker svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 8px;
}
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

/* ===== Who this is for — tag manifest ===== */
.tag-manifest { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.seg-tag {
    font-family: 'IBM Plex Sans', sans-serif;
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 16px 20px;
    position: relative;
}
.seg-tag::before {
    content: '';
    position: absolute;
    left: -1px; top: 50%;
    width: 8px; height: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.seg-tag.primary {
    border-color: var(--accent-dim);
    background: rgba(232, 150, 60, 0.06);
    flex: 1.5 1 280px;
    padding: 18px 20px;
}
.seg-tag.primary::before { background: var(--accent); border-color: var(--accent); }
.seg-tag.primary h3 { font-size: 17px; }
.seg-tag.primary p { font-size: 14px; }
.seg-tag:not(.primary):not(.trail) { flex: 1 1 240px; }
.seg-tag h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.seg-tag p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.seg-tag.trail {
    flex: 0 1 auto;
    padding: 9px 15px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    color: var(--text-dim);
}
.seg-tag.trail::before { display: none; }

.callout {
    border-left: 2px solid var(--accent-dim);
    padding: 4px 0 4px 24px;
    margin-bottom: 50px;
    font-size: 17px;
    color: var(--text-muted);
    max-width: 62ch;
    line-height: 1.65;
}
.callout strong { color: var(--text); font-weight: 500; }

/* ===== Pricing — receipt ===== */
.receipt {
    max-width: 560px;
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 40px 40px 32px;
    position: relative;
}
.receipt::before, .receipt::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 12px;
    background:
        linear-gradient(-45deg, var(--bg) 6px, transparent 0) 0 6px,
        linear-gradient(45deg, var(--bg) 6px, transparent 0) 0 6px;
    background-size: 12px 12px;
    background-repeat: repeat-x;
}
.receipt::before { top: -1px; }
.receipt::after { bottom: -1px; transform: rotate(180deg); }

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--border);
}
.receipt-row:last-of-type { border-bottom: none; }
.receipt-row .label { font-size: 15px; color: var(--text-muted); }
.receipt-row .value { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--text-dim); text-align: right; }
.receipt-icon { display: inline-flex; align-items: center; gap: 6px; }
.receipt-icon svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.receipt-row.emphasis .label { color: var(--text); font-weight: 500; font-size: 16px; }
.receipt-row.emphasis .value { color: var(--accent); font-size: 14px; }

.pricing-copy { max-width: 46ch; }
.pricing-copy p { color: var(--text-muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 16px; }
.pricing-copy strong { color: var(--text); font-weight: 500; }
.pricing-copy p.pricing-highlight { font-size: 17.5px; color: var(--text); }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* ===== About — badge card ===== */
.badge-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 34px;
    align-items: center;
    max-width: 720px;
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 34px;
    position: relative;
}
.badge-card::before, .badge-card::after,
.rivet-tl, .rivet-tr, .rivet-bl, .rivet-br { content: ''; }
.rivet {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--border);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.4);
}
.rivet.tl { top: 10px; left: 10px; }
.rivet.tr { top: 10px; right: 10px; }
.rivet.bl { bottom: 10px; left: 10px; }
.rivet.br { bottom: 10px; right: 10px; }

.badge-photo {
    grid-column: 1;
    grid-row: 1;
    width: 150px; height: 150px;
    object-fit: cover;
    border: 2px solid var(--border);
    filter: grayscale(0.3);
}
.badge-text { grid-column: 2; grid-row: 1; }
.badge-text h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; text-transform: uppercase; margin-bottom: 4px; }
.badge-role { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.badge-text p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ===== FAQ — clipboard ===== */
.clipboard { max-width: 760px; border: 1px solid var(--border); background: var(--surface); }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    display: flex; align-items: center; gap: 18px;
    padding: 22px 26px;
    cursor: pointer;
    user-select: none;
}
.faq-question h3 { font-size: 16px; font-weight: 500; flex: 1; }
.faq-mark {
    font-family: 'IBM Plex Mono', monospace;
    width: 22px; height: 22px;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim);
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.faq-item.active .faq-mark { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 240px; }
.faq-answer p { padding: 0 26px 24px 66px; font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ===== Footer ===== */
footer { padding: 60px 0 40px; border-top: 1px solid var(--border-soft); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--text-dim); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    h1 { font-size: 40px; }
    .section-title { font-size: 30px; }
    .nav-menu { display: none; }
    .steps { grid-template-columns: 1fr; gap: 34px; }
    .route-line-svg { display: none; }
    .step { padding-left: 26px; border-left: 2px dashed var(--border); }
    .step-marker { width: 52px; height: 52px; margin-bottom: 14px; margin-left: -28px; background: var(--bg); }
    .pricing-grid { grid-template-columns: 1fr; gap: 40px; }
    .badge-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .badge-photo { grid-column: 1; grid-row: 1; }
    .badge-text { grid-column: 1; grid-row: 2; }
    .cal-embed iframe { height: 480px; }
}
@media (max-width: 520px) {
    h1 { font-size: 32px; }
    .container { padding: 0 18px; }
    section { padding: 70px 0; }
    .seg-tag.primary { padding: 18px 20px; }
}
