/* Margo design system for pages built on shared CSS (homepage, /integrations, /resources).
   Matches context/BRAND.md and the /build-the-moat reference page. Nav + footer live in site.css. */

:root {
  --white: #FFFFFF;
  --ink: #1A1A17;
  --ink-2: #3A3A36;
  --muted: #5C5C57;
  --line: #E6E4DF;
  --tint: #F6F5F2;
  --coral: #C1554B;
  --coral-dark: #A4463D;
  --coral-light: #E8897F;
  --coral-tint: #FBEEEC;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: 'Inter', -apple-system, system-ui, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
.key { color: var(--coral); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 100px; font-family: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; border: 0; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--coral); }
.btn-line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-line:hover { border-color: var(--coral); color: var(--coral); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: var(--coral-dark); }
.btn-ghost-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.6); }
.btn-ghost-light:hover { border-color: var(--white); }
.text-link { font-weight: 600; color: var(--coral); text-decoration: none; }
.text-link:hover { color: var(--coral-dark); text-decoration: underline; }

/* BREADCRUMB */
.breadcrumb { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--coral); }

/* HERO */
.hero { padding: 72px 0 80px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; margin: 20px 0 24px; }
.hero h1.h1-long { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.04; }
.hero-sub { font-size: 20px; color: var(--ink-2); max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-fine { margin-top: 20px; font-size: 14px; color: var(--muted); }
.hero-fine strong { color: var(--ink); font-weight: 600; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

/* PAGE HERO (inner pages) */
.page-hero { padding: 64px 0 64px; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; margin: 18px 0 22px; max-width: 900px; }
.page-hero .hero-sub { max-width: 700px; }

/* SECTIONS */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section.tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; margin-top: 14px; }
.section-head p { font-size: 18px; color: var(--ink-2); margin-top: 18px; }
.section-foot { margin-top: 32px; font-size: 16px; color: var(--ink-2); }
@media (max-width: 720px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* PHONE (hero illustration) */
.phone-wrap { display: flex; flex-direction: column; align-items: center; }
.phone { width: 100%; max-width: 360px; background: var(--ink); border-radius: 44px; padding: 12px; }
.phone-screen { background: var(--tint); border-radius: 34px; padding: 22px 16px 18px; overflow: hidden; }
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 16px; }
.phone-brand { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.phone-brand span { color: var(--coral); }
.phone-day { font-size: 12px; font-weight: 600; color: var(--muted); }
.phone-hello { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; padding: 0 6px 14px; }
.coach-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 10px; }
.coach-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.coach-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.coach-card.win .coach-label::before { background: var(--coral); }
.coach-card.focus .coach-label::before { background: var(--ink); }
.coach-card.drift .coach-label::before { background: var(--muted); }
.coach-text { font-size: 14px; line-height: 1.45; color: var(--ink); }
.coach-text strong { font-weight: 700; }
.coach-actions { display: flex; gap: 8px; margin-top: 10px; }
.coach-btn { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 100px; background: var(--ink); color: var(--white); }
.coach-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.phone-foot { text-align: center; font-size: 11.5px; color: var(--muted); padding-top: 6px; }
.phone-caption { font-size: 12px; color: var(--muted); margin-top: 14px; text-align: center; max-width: 320px; }

/* INSIGHT GRID */
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.insight { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.insight-q { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.insight p { font-size: 15.5px; color: var(--ink-2); flex-grow: 1; }
.insight-says { margin-top: 18px; background: var(--tint); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--ink); line-height: 1.45; }
.insight-says::before { content: 'Margo: '; font-weight: 700; color: var(--coral); }
.insight-from { margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 920px) { .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .insight-grid { grid-template-columns: 1fr; } }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.step { padding: 28px 28px 8px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step:last-child .step-num { background: var(--coral); }
.step h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.step p { font-size: 16px; color: var(--ink-2); }
.step-time { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* COST COMPARISON */
.cost { border: 1.5px solid var(--ink); border-radius: 18px; padding: 32px; background: var(--white); }
.cost-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.cost-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.cost-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) 160px; gap: 20px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.cost-name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.cost-name small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.cost-track { position: relative; height: 18px; background: var(--tint); border-radius: 100px; }
.cost-bar { position: absolute; top: 0; left: 0; height: 18px; border-radius: 100px; background: var(--ink-2); }
.cost-range { position: absolute; top: 0; height: 18px; border-radius: 0 100px 100px 0; background: #CFCDC7; }
.cost-bar.margo { background: var(--coral); min-width: 10px; }
.cost-amount { font-size: 16px; font-weight: 800; text-align: right; letter-spacing: -0.01em; }
.cost-amount small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.cost-row.is-margo .cost-name, .cost-row.is-margo .cost-amount { color: var(--coral); }
.cost-note { margin-top: 22px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.cost-note a { color: var(--muted); }
@media (max-width: 760px) { .cost { padding: 22px; } .cost-row { grid-template-columns: 1fr auto; gap: 8px 16px; } .cost-track { grid-column: 1 / -1; grid-row: 2; } }

/* CHIPS / INTEGRATION STRIP */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); }
.chip:hover { border-color: var(--coral); color: var(--coral); }
.chip-status { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chip.live .chip-status { color: var(--coral); }

/* FIT CARDS */
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fit-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; font-size: 16px; color: var(--ink-2); }
.fit-card strong { color: var(--ink); font-weight: 700; display: block; margin-bottom: 4px; font-size: 18px; }
.fit-card em { display: block; font-style: normal; margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .fit-grid { grid-template-columns: 1fr; } }

/* DARK BAND */
.band-dark { background: var(--ink); color: var(--white); padding: 96px 0; }
.band-dark .eyebrow { color: #A9A8A2; }
.band-dark h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin: 14px 0 20px; max-width: 860px; }
.band-dark h2 .key { color: var(--coral-light); }
.band-dark p { color: #D8D7D2; max-width: 640px; font-size: 18px; }
.band-dark .hero-actions { margin-top: 32px; }

/* PRICING TEASER */
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; display: flex; flex-direction: column; }
.tier.featured { border: 2px solid var(--ink); }
.tier-name { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tier.featured .tier-name { color: var(--coral); }
.tier-price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 10px 0 4px; }
.tier-price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier-unit { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.tier p { font-size: 15.5px; color: var(--ink-2); flex-grow: 1; margin-bottom: 22px; }
@media (max-width: 860px) { .tier-grid { grid-template-columns: 1fr; } }

/* PROGRAM BAND */
.program { display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; border: 1.5px solid var(--ink); border-radius: 18px; padding: 32px; text-decoration: none; color: var(--ink); background: var(--white); }
.program:hover { border-color: var(--coral); }
.program h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 8px 0 10px; }
.program p { font-size: 16px; color: var(--ink-2); }
.program-cta { font-weight: 700; color: var(--coral); white-space: nowrap; }
@media (max-width: 760px) { .program { grid-template-columns: 1fr; gap: 14px; padding: 24px; } }

/* RESOURCE CARDS */
.res-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.res-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.res-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 26px; text-decoration: none; color: var(--ink); }
.res-card:hover { border-color: var(--ink); }
.res-kind { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.res-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 8px; }
.res-card p { font-size: 15.5px; color: var(--ink-2); flex-grow: 1; }
.res-meta { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.res-go { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--ink); }
.res-card:hover .res-go { color: var(--coral); }
@media (max-width: 920px) { .res-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .res-grid, .res-grid.three { grid-template-columns: 1fr; } }

/* FOUNDER STRIP */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.founder figure { border-radius: 16px; overflow: hidden; background: var(--tint); aspect-ratio: 4 / 5; }
.founder figure img { width: 100%; height: 100%; object-fit: cover; }
.founder blockquote { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.founder-name { margin-top: 18px; font-size: 15px; color: var(--muted); }
.founder-name strong { color: var(--ink); }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; gap: 24px; } .founder figure { max-width: 280px; } }

/* FAQ */
.faq { max-width: 820px; border-top: 1.5px solid var(--ink); }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-q { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.faq-a { font-size: 16px; color: var(--ink-2); }
.faq-a a { color: var(--coral); font-weight: 600; text-decoration: none; }

/* INTEGRATIONS PAGE */
.int-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.int-list { border-top: 1.5px solid var(--ink); }
.int { display: grid; grid-template-columns: 220px minmax(0, 1fr) 240px; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.int-name { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.int-kind { font-size: 13px; color: var(--muted); margin-top: 6px; }
.int-status { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; background: var(--tint); color: var(--ink); }
.int-status.live { background: var(--coral-tint); color: var(--coral-dark); }
.int-body p { font-size: 16px; color: var(--ink-2); margin-bottom: 10px; }
.int-body strong { color: var(--ink); }
.int-feeds { font-size: 14px; color: var(--muted); }
.int-feeds dt { font-weight: 700; color: var(--ink); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.int-feeds dd { margin-bottom: 14px; line-height: 1.5; }
@media (max-width: 900px) { .int { grid-template-columns: 1fr; gap: 12px; } }

/* NEWSLETTER FORM */
.wl-form { display: flex; gap: 8px; max-width: 480px; }
.wl-input { flex: 1; min-width: 0; padding: 15px 20px; border-radius: 100px; border: 1px solid #55554F; background: transparent; color: var(--white); font: inherit; font-size: 15px; }
.wl-input::placeholder { color: #8F8E88; }
.wl-input:focus { outline: none; border-color: var(--coral); }
.wl-submit { padding: 15px 24px; border-radius: 100px; border: 0; background: var(--coral); color: var(--white); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.wl-submit:hover { background: var(--coral-dark); }
.wl-fine { margin-top: 14px; font-size: 13px; color: #8F8E88; }
@media (max-width: 600px) { .wl-form { flex-direction: column; } }
.tier .btn { justify-content: center; }

/* INTEGRATION HUB + DETAIL */
.stat-strip { display: flex; flex-wrap: wrap; gap: 0; margin-top: 40px; border: 1.5px solid var(--ink); border-radius: 16px; overflow: hidden; max-width: 720px; }
.stat-strip > div { flex: 1 1 180px; padding: 18px 22px; border-right: 1px solid var(--line); }
.stat-strip > div:last-child { border-right: 0; }
.stat-strip strong { display: block; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat-strip span { font-size: 13px; color: var(--muted); }
.group-title { margin: 56px 0 18px; scroll-margin-top: 84px; }
.int-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.int-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; text-decoration: none; color: var(--ink); background: var(--white); }
.int-card:hover { border-color: var(--ink); }
.int-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.int-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.int-card .int-status { margin-top: 0; white-space: nowrap; }
.int-card-role { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.int-card p { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 920px) { .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .int-grid { grid-template-columns: 1fr; } }
.int-head { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.int-head .int-status { margin-top: 0; }
.int-head .int-kind { margin-top: 0; font-size: 14px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; } }
.watch-list { list-style: none; margin: 16px 0; display: grid; gap: 10px; }
.watch-list li { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; padding-left: 22px; position: relative; }
.watch-list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.detail-note { color: var(--ink-2); }
.detail-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.detail-card h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.detail-card p { font-size: 16px; color: var(--ink-2); margin-bottom: 12px; }
.detail-card strong { color: var(--ink); }
.steps-list { margin: 0 0 18px 20px; display: grid; gap: 8px; font-size: 16px; color: var(--ink-2); }

/* GUIDES */
.guide-hero { padding: 56px 0 32px; }
.guide-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; margin: 18px 0 16px; max-width: 860px; }
.guide-sub { font-size: 20px; color: var(--ink-2); max-width: 720px; }
.guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.guide-meta strong { color: var(--ink); font-weight: 600; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.stage-pill { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; background: var(--coral-tint); color: var(--coral-dark); }
.stage-pill.plain { background: var(--tint); color: var(--ink); }
.guide-note { max-width: 720px; margin: 8px auto 0; background: var(--tint); border-left: 3px solid var(--coral); border-radius: 0 10px 10px 0; padding: 14px 18px; font-size: 15px; color: var(--ink-2); }
.guide-note a { color: var(--coral); font-weight: 600; }
.article { max-width: 720px; margin: 0 auto; padding: 32px 0 72px; font-size: 18.5px; line-height: 1.7; color: var(--ink); }
.article p { margin: 0 0 22px; }
.article h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 48px 0 16px; }
.article h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; margin: 36px 0 12px; }
.article ul, .article ol { margin: 0 0 22px 24px; }
.article li { margin-bottom: 8px; }
.article li p { margin: 0; }
.article blockquote { border-left: 3px solid var(--coral); padding-left: 18px; color: var(--ink-2); margin: 0 0 22px; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.article img { border-radius: 14px; margin: 8px 0 26px; background: var(--tint); width: 100%; height: auto; }
.article a { color: var(--coral-dark); text-decoration: underline; text-underline-offset: 2px; }
.article strong { font-weight: 700; }
.article em { font-style: italic; }
.guide-end { max-width: 720px; margin: 0 auto 72px; border: 1.5px solid var(--ink); border-radius: 18px; padding: 28px; }
.guide-end h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.guide-end p { color: var(--ink-2); font-size: 16px; margin-bottom: 18px; }
.guide-nav { max-width: 720px; margin: 0 auto 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-nav a { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-decoration: none; color: var(--ink); }
.guide-nav a:hover { border-color: var(--ink); }
.guide-nav small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.guide-nav strong { font-size: 16px; line-height: 1.35; }
.guide-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 640px) { .guide-nav { grid-template-columns: 1fr; } .guide-nav .next { grid-column: 1; text-align: left; } }
.arc { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.arc a { text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--white); }
.arc a:hover { border-color: var(--coral); }
.arc b { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); margin-bottom: 6px; }
.arc span { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
@media (max-width: 860px) { .arc { grid-template-columns: 1fr 1fr; } }
.guide-list { border-top: 1.5px solid var(--ink); }
.guide-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.guide-row:hover h3 { color: var(--coral); }
.guide-row h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.guide-row p { font-size: 15.5px; color: var(--ink-2); margin-top: 4px; }
.guide-row time { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .guide-row { grid-template-columns: 1fr; gap: 6px; } }

/* COMPARE */
.compare-table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 16px; overflow: hidden; }
.compare-table th, .compare-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
.compare-table td:first-child { font-weight: 700; width: 26%; }
.compare-table .margo-col { background: var(--coral-tint); }
.compare-wrap { overflow-x: auto; }
.link-card { display: block; text-decoration: none; } .link-card:hover { border-color: var(--ink); } .link-card em { color: var(--coral) !important; font-weight: 600; }
.guide-row .stage-pill { white-space: nowrap; }

/* DEVICE VISUALS (phone + laptop illustrations) */
.device-hero { margin: 8px auto 0; max-width: 1080px; }
.device-hero img, .device-split img, .device-report img, .step-img { display: block; width: 100%; height: auto; }
.device-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1080px; margin: 28px auto 0; }
.device-mode h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.device-mode p { font-size: 15px; color: var(--ink-2); }
.ui-caption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 24px; }
.step-img { height: 220px; width: auto !important; max-width: 100%; object-fit: contain; object-position: left center; margin: 0 0 18px -12px; }
.device-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: end; max-width: 1080px; margin: 0 auto; }
.device-phone img { max-width: 340px; margin: 0 auto; }
.device-split figcaption, .device-report figcaption { font-size: 15px; color: var(--ink-2); margin-top: 14px; max-width: 46ch; }
.device-split figcaption strong, .device-report figcaption strong { color: var(--ink); }
.device-report { max-width: 820px; margin: 48px auto 0; }
@media (max-width: 820px) {
  .device-modes, .device-split { grid-template-columns: 1fr; gap: 20px; }
  .device-phone img { max-width: 280px; }
  .step-img { height: 170px; margin-left: 0; }
}

/* LIVE FOUNDING SEATS + GUARANTEE (assets/founding-rate.js fills [data-seats]) */
.seats { display: block; font-size: 13px; font-weight: 700; color: var(--coral-dark); margin-top: 2px; }
.seats[hidden] { display: none; }
span.seats-inline { display: inline; font-weight: 600; }
span.seats-inline[hidden] { display: none; }
.tier .tier-fine, .tier-fine { font-size: 13px; color: var(--muted); flex-grow: 0; margin: 12px 0 0; }
.band-dark .seats { color: var(--coral-light); }
