/* Orbo Browser — dark green system from the product screens */

:root {
    --ink: #151515;
    --green: #2dcb71;
    --green-deep: #0f5835;
    --night: #0c1710;
    --night-2: #101010;
    --sheet: #2c2c2e;
    --row: #3a3a3c;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.72);
    --faint: rgba(255, 255, 255, 0.48);
    --line: rgba(255, 255, 255, 0.1);
    --header: 72px;
    --wrap: 1080px;
    --font: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--night-2);
    color: var(--white);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--green); text-decoration: none; }
a:hover { color: #8cf0b4; }

button, input { font-family: inherit; }

.wrap {
    width: min(var(--wrap), calc(100% - 40px));
    margin: 0 auto;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    height: var(--header);
    display: flex;
    align-items: center;
    background: rgba(12, 23, 16, 0.94);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px);
}

body.home .site-header {
    position: fixed;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(12, 23, 16, 0.55), rgba(12, 23, 16, 0));
    border-bottom-color: transparent;
}

body.home .site-header.is-stuck {
    background: rgba(12, 23, 16, 0.94);
    border-bottom-color: var(--line);
}

.header-bar {
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.03em;
    color: var(--green);
    margin-right: auto;
}

.brand:hover { color: var(--green); }

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav a {
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--green); }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    margin: 6px 0;
}

/* Buttons — pill from Button/XL */

.btn-pill,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 8px 28px;
    border-radius: 1000px;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.2;
    border: 0;
    cursor: pointer;
    text-decoration: none;
}

.btn-pill {
    background: var(--green);
    color: var(--ink);
}

.btn-pill:hover { background: #3ad67e; color: var(--ink); }

.btn-sm {
    min-height: 40px;
    padding: 6px 16px;
    font-size: 15px;
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(45, 203, 113, 0.7);
    font-size: 16px;
    min-height: 48px;
}

.btn-ghost:hover { background: rgba(45, 203, 113, 0.12); color: var(--white); }

.btn-pill:focus-visible,
.btn-ghost:focus-visible,
.nav a:focus-visible,
.brand:focus-visible,
.faq-item button:focus-visible,
.menu-toggle:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

/* Hero — onboarding screen */

.splash {
    min-height: 100vh;
    padding: calc(var(--header) + 12px) 20px 64px;
    background: linear-gradient(180deg, #0c1710 0%, #0f5835 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.splash-mark {
    width: 365px;
    max-width: calc(100% - 24px);
    height: auto;
    margin-bottom: 8px;
}

.splash h1 {
    max-width: 12em;
    font-size: clamp(2rem, 4.4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.splash-lead {
    max-width: 38rem;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 17px;
    font-weight: 500;
}

.promises {
    list-style: none;
    margin: 36px auto 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
    width: min(360px, 100%);
}

.promises li {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.4px;
}

.promises img {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
}

/* Chapters */

.chapter {
    padding: 88px 0;
}

.chapter h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.lede {
    color: var(--muted);
    font-size: 17px;
    max-width: 40rem;
}

.lede-center { margin-inline: auto; }

.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Phone echo of the search screen */

.phone {
    justify-self: center;
    width: 280px;
    padding: 12px;
    border-radius: 36px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.phone-screen {
    background: #0e0e0e;
    border-radius: 26px;
    padding: 18px 14px 22px;
    min-height: 420px;
}

.phone-time {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.search-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1.5px solid var(--green);
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 500;
}

.search-pill .mark {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--green);
    flex: 0 0 16px;
}

.lookup-label {
    margin: 22px 6px 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--faint);
}

.lookups {
    list-style: none;
}

.lookups li {
    padding: 12px 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
}

/* Route sheet */

.route {
    background:
        radial-gradient(600px 280px at 80% 0%, rgba(45, 203, 113, 0.16), transparent 70%),
        var(--night-2);
}

.sheet {
    background: #1c1c1e;
    border-radius: 28px;
    padding: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.sheet-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 12px;
    align-items: center;
    background: var(--row);
    border-radius: 18px;
    padding: 14px 16px;
}

.sheet-row + .sheet-row { margin-top: 8px; }

.sheet-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #111;
    display: grid;
    place-items: center;
}

.sheet-row strong { display: block; font-size: 16px; font-weight: 600; }
.sheet-row span { color: var(--faint); font-size: 13px; }

.toggle {
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #8e8e93;
    position: relative;
}

.toggle.on { background: var(--green); }

.toggle i {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    font-style: normal;
}

.toggle.on i { left: 22px; }

.route-notes {
    margin-top: 28px;
    display: grid;
    gap: 16px;
}

.route-notes div {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.route-notes h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.route-notes p { color: var(--muted); font-size: 15px; }

/* Library */

.library { background: #0c1710; }

.steps {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.step {
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

.step em {
    display: block;
    font-style: normal;
    color: var(--green);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* FAQ */

.faq-list { margin-top: 28px; display: grid; gap: 10px; }

.faq-item {
    background: #1c1c1e;
    border-radius: 16px;
    overflow: hidden;
}

.faq-item button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    text-align: left;
    background: transparent;
    color: var(--white);
    border: 0;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.faq-item button svg {
    flex: 0 0 18px;
    transition: transform 180ms ease;
}

.faq-item button[aria-expanded="true"] svg { transform: rotate(45deg); }

.faq-panel { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }
.faq-panel[hidden] { display: none; }

/* Close */

.close {
    padding: 72px 0 96px;
    text-align: center;
    background: linear-gradient(180deg, #101010 0%, #0f5835 140%);
}

.close h2 { margin-bottom: 10px; }

.close .btn-pill { margin-top: 22px; }

.close-actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Company + policies */

.page-hero {
    padding: 56px 0 12px;
    background: linear-gradient(180deg, #0c1710, #101010 80%);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-hero p { margin-top: 12px; color: var(--muted); max-width: 38rem; }

.back {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--faint);
    font-size: 14px;
    font-weight: 500;
}

.back:hover { color: var(--white); }

.company {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    padding: 28px 0 88px;
    align-items: start;
}

.company-copy p { color: var(--muted); margin-bottom: 14px; }

.company-mark {
    width: 220px;
    height: auto;
    margin-bottom: 8px;
}

.doc-list {
    background: #1c1c1e;
    border-radius: 20px;
    padding: 8px;
}

.doc-list a {
    display: block;
    padding: 16px 18px;
    color: var(--white);
    border-radius: 14px;
    font-weight: 600;
}

.doc-list a span {
    display: block;
    margin-top: 4px;
    font-weight: 500;
    color: var(--faint);
    font-size: 14px;
}

.doc-list a:hover { background: #2a2a2c; color: var(--white); }

.prose {
    padding: 12px 0 88px;
    max-width: 760px;
}

.prose h2 {
    margin: 32px 0 10px;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
}

.prose p, .prose li { color: var(--muted); }
.prose p { margin-bottom: 12px; }
.prose ul, .prose ol { margin: 0 0 14px 1.2rem; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--white); font-weight: 600; }

/* Footer */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 40px 0 28px;
    background: #0b0b0b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
}

.footer-brand {
    font-weight: 700;
    color: var(--green);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.site-footer p { color: var(--faint); font-size: 14px; }

.footer-label {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.site-footer a {
    display: block;
    color: var(--muted);
    font-size: 14px;
    margin: 6px 0;
}

.site-footer a:hover { color: var(--white); }

.footer-base {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
    .menu-toggle { display: block; }
    .header-cta { display: none; }

    .nav {
        display: none;
        position: absolute;
        top: var(--header);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 8px 20px 16px;
        background: rgba(12, 23, 16, 0.98);
        border-bottom: 1px solid var(--line);
    }

    .nav.is-open { display: flex; }
    .nav a { padding: 12px 0; width: 100%; }

    .split,
    .company,
    .steps,
    .footer-grid { grid-template-columns: 1fr; }

    .chapter { padding: 64px 0; }
    .splash h1 { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .faq-item button svg { transition: none; }
}
