/* ServeRouter homepage. Flat, dense, one ink primary. Self-contained: brand.css is not loaded here. */
:root {
    --bg: #ffffff;
    --soft: #f6f7f8;
    --ink: #0f1115;
    --text: #3b414c;
    --muted: #6a7280;
    --line: #e3e6ea;
    --line-strong: #cfd4da;
    --accent: #5b3fd6;
    --max: 1160px;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sec { padding: 112px 0 0; }
.sec-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px 64px; align-items: end; margin-bottom: 56px; }
h1, h2, h3 { color: var(--ink); font-weight: 650; }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.02em; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); }
.eyebrow { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* Buttons: one ink primary, bordered secondary. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 12px; background: var(--ink); color: #fff; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color 120ms, border-color 120ms; }
.btn:hover { background: #2a2f38; border-color: #2a2f38; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { background: var(--soft); border-color: var(--line-strong); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: #e9ecef; border-color: #e9ecef; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Nav */
.nav-wrap { position: sticky; top: 0; z-index: 20; background: #ffffffee; backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 18px; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; gap: 24px; margin-right: auto; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--text); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-login { font-size: 14.5px; font-weight: 500; text-decoration: none; }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: 20px; color: var(--ink); cursor: pointer; }
.mnav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mnav.open { display: block; }
.mnav a { display: block; padding: 14px 24px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }

/* Hero */
.hero { padding: 88px 0 0; }
.hero h1 { max-width: 22ch; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.03em; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-top: 28px; }
.hero .lead { max-width: 460px; }
.hero-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.shot { margin-top: 64px; border-radius: 12px; overflow: hidden; background: var(--soft); box-shadow: 0 30px 80px -30px #0f111133, 0 0 0 1px #0f11110d; }
.shot img { display: block; width: 100%; height: auto; }

/* Facts: open columns, no rules or boxes. */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 56px; }
.fact h3 { font-size: 17px; }
.fact p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* Tour */
.tour-body { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: start; }
.tour-steps { display: flex; flex-direction: column; gap: 4px; }
.tour-step { position: relative; display: block; width: 100%; padding: 12px 0 12px 20px; border: 0; background: none; font: inherit; text-align: left; color: var(--muted); cursor: pointer; }
.tour-step::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--line-strong); }
.tour-step:hover { color: var(--ink); }
.tour-step.is-on { color: var(--ink); }
.tour-step.is-on::before { background: var(--ink); }
.tour-txt b { display: block; font-size: 16px; font-weight: 600; }
.tour-more { display: none; margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--text); font-weight: 400; }
.tour-step.is-on .tour-more { display: block; }
.tour-stage { position: sticky; top: 88px; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 30px 80px -30px #0f111133, 0 0 0 1px #0f11110d; }
.tour-chrome { display: none; }
.tour-chrome span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.tour-chrome em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--muted); }
.tour-panel { position: relative; margin: 0; }
.tour-panel img { display: block; width: 100%; height: auto; }
.tour-pins { position: absolute; inset: 0 0 auto 0; aspect-ratio: 1600 / 1032; pointer-events: none; }
.tour-pin { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); }
.tour-dot { position: absolute; inset: 0; border: 2px solid var(--accent); border-radius: 6px; }
.tour-label { position: absolute; white-space: nowrap; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; padding: 5px 9px; border-radius: 6px; }
.tour-pin-t .tour-label { left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); }
.tour-pin-b .tour-label { left: 50%; top: calc(100% + 8px); transform: translateX(-50%); }
.tour-pin-l .tour-label { right: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
.tour-pin-r .tour-label { left: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
.tour-cap { display: none; }

/* Integrations: a logo strip, no dividers. */
.ints { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.int img { display: block; height: 32px; width: auto; max-width: 120px; object-fit: contain; margin-bottom: 16px; }
.int b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.int span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }

/* Quotes: large type, no rules. */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }
.quote figcaption { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Pricing: columns separated by space; the featured plan gets an ink rule. */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.plan { display: flex; flex-direction: column; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.plan.hl { border-top: 2px solid var(--ink); }
.plan h3 { font-size: 18px; }
.plan .tag { margin-left: 8px; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.plan .for { margin-top: 2px; font-size: 14.5px; color: var(--muted); }
.plan .price { margin: 24px 0; color: var(--ink); font-size: 48px; font-weight: 650; letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { display: grid; gap: 10px; margin-bottom: 32px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li i { margin-top: 3px; color: var(--accent); }
.plan .btn { margin-top: auto; align-self: flex-start; }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: 600 16px/1.4 var(--sans); color: var(--ink); text-align: left; cursor: pointer; }
.faq-q .hgi-minus-sign { display: none; }
.faq-q[aria-expanded="true"] .hgi-add-01 { display: none; }
.faq-q[aria-expanded="true"] .hgi-minus-sign { display: inline; }
.faq-a { padding: 14px 0 20px; border-bottom: 1px solid var(--line); color: var(--text); }
.faq-a[hidden] { display: none; }
.faq-a p { max-width: 62ch; }

/* Closing */
.close { padding: 144px 0 120px; text-align: center; }
.close h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.03em; }
.close p { margin: 12px 0 28px; color: var(--muted); font-size: 18px; }

/* Footer */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.fcols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.fcols h3 { margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.fcols li + li { margin-top: 8px; }
.fcols a { font-size: 14.5px; text-decoration: none; }
.fcols a:hover { color: var(--ink); text-decoration: underline; }
.ftag { margin-top: 12px; max-width: 300px; font-size: 14.5px; color: var(--muted); }
.fmeta { margin-top: 16px; font-size: 13px; color: var(--muted); }

@media (max-width: 960px) {
    .sec-head { grid-template-columns: 1fr; margin-bottom: 36px; }
    .hero-row { flex-direction: column; align-items: flex-start; }
    .facts, .quotes, .plans { grid-template-columns: 1fr; gap: 36px; }
    .ints { grid-template-columns: repeat(2, 1fr); }
    .tour-body { grid-template-columns: 1fr; gap: 24px; }
    .tour-stage { position: relative; top: 0; order: -1; }
    .fcols { grid-template-columns: 1fr 1fr; }
    .faq { margin-left: 0; }
}
@media (max-width: 760px) {
    .nav-links, .nav-login { display: none; }
    .nav-actions { margin-left: auto; }
    .menu-btn { display: inline-grid; place-items: center; }
    .sec { padding-top: 72px; }
    .hero { padding-top: 48px; }
    .shot { margin-top: 40px; }
    .tour-label { display: none; }
    .tour-cap { display: block; padding: 10px 12px; font-size: 13px; color: var(--muted); }
    .fcols { grid-template-columns: 1fr; }
    .close { padding: 88px 0 72px; }
}
