:root {
    --bg: #101014;
    --surface: #18181f;
    --surface-alt: #1e1e27;
    --border: #2a2a34;
    --text: #f4f0e6;
    --text-muted: #a3a1ad;
    --yellow: #ffd60a;
    --orange: #e8553c;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.6rem; }

p {
    margin: 0 0 1em;
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
}

.shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent {
    color: var(--yellow);
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-lg {
    padding: 15px 28px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--yellow);
    color: #101014;
}

.btn-primary:hover {
    background: #ffe14d;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--yellow);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
    width: 100%;
    justify-content: center;
}

.btn-outline:hover {
    border-color: var(--yellow);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(16, 16, 20, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}

/* The header is sticky (~82px tall) and sits on top of the page, so a plain #id anchor jump lands the
   target flush under it with no clearance. scroll-margin-top pulls the stop point down by the header's
   height plus a little breathing room. */
#customers,
#business,
#pricing,
#onboarding {
    scroll-margin-top: 96px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.brand img {
    display: block;
    border-radius: 8px;
}

.main-nav {
    display: flex;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.main-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--text);
}

/* Hero */
.hero {
    padding: 72px 0 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.hero-copy p {
    max-width: 46ch;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 32px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-trust p {
    margin: 0;
    font-size: 0.9rem;
}

.avatar-stack {
    display: flex;
}

.avatar-stack span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-alt);
    border: 2px solid var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: -10px;
}

.avatar-stack span:first-child {
    margin-left: 0;
}

.avatar-more {
    background: var(--yellow) !important;
    color: #101014;
}

/* Phone mockup */
.hero-phone {
    display: flex;
    justify-content: center;
}

.phone-card {
    width: 100%;
    max-width: 340px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.phone-greeting {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.phone-card h3 {
    margin-bottom: 16px;
}

.phone-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-alt);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.phone-pin {
    margin-left: auto;
    color: var(--yellow);
}

.phone-chips {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.chip {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface-alt);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.chip-active {
    background: var(--yellow);
    color: #101014;
    font-weight: 600;
}

.phone-listing {
    background: var(--surface-alt);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
}

.listing-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.listing-name {
    font-weight: 600;
    margin: 0;
}

.listing-meta {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin: 2px 0 0;
}

.listing-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.listing-rating .material-symbols-outlined {
    font-size: 16px;
    color: var(--yellow);
}

.listing-tags {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.tag-open {
    background: rgba(46, 196, 113, 0.15);
    color: #4ade80;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
}

.tag {
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.phone-tabbar {
    display: flex;
    justify-content: space-around;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Category strip */
.category-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

.strip-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.strip-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 500;
}

.strip-item .material-symbols-outlined {
    color: var(--yellow);
}

/* Section intro */
.section-intro {
    text-align: center;
    padding: 88px 0 56px;
}

.section-intro p {
    max-width: 56ch;
    margin: 0 auto;
}

/* Feature blocks */
.feature-block {
    padding: 40px 0;
}

.feature-block-alt {
    background: var(--surface);
}

.feature-grid {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 48px;
    align-items: center;
}

.feature-grid-reverse {
    grid-template-columns: 1fr 160px;
}

.feature-grid-reverse .feature-icon {
    order: 2;
}

.feature-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    background: var(--surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon .material-symbols-outlined {
    font-size: 52px;
    color: var(--yellow);
}

.feature-copy p {
    max-width: 60ch;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 10px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: 0.95rem;
}

.check-list .material-symbols-outlined {
    color: var(--yellow);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.link-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--yellow);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    padding-top: 48px;
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: var(--yellow);
}

.stat span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Testimonial */
.testimonial {
    padding: 88px 0;
    text-align: center;
}

.quote-mark {
    font-size: 40px !important;
    color: var(--yellow);
}

.quote {
    max-width: 68ch;
    margin: 0 auto 28px;
    font-size: 1.35rem;
    color: var(--text);
    font-weight: 500;
}

.quote-attribution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.quote-name {
    margin: 0;
    font-weight: 700;
}

.quote-role {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Pricing */
.pricing {
    padding: 88px 0;
    text-align: center;
    background: var(--surface);
}

.pricing-sub {
    max-width: 50ch;
    margin: 0 auto 8px;
}

.pricing-toggle-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.pricing-toggle-note em {
    color: var(--yellow);
    font-style: normal;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: left;
}

.plan-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
}

.plan-card-featured {
    border-color: var(--yellow);
    box-shadow: 0 0 0 1px var(--yellow);
}

.plan-badge {
    position: absolute;
    top: -13px;
    right: 24px;
    background: var(--yellow);
    color: #101014;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

.plan-name {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 8px;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-tag {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.plan-card .btn {
    margin-bottom: 24px;
}

.plan-card .check-list li {
    font-size: 0.88rem;
}

.pricing-footnote {
    margin-top: 32px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-footnote a {
    color: var(--yellow);
    font-weight: 600;
}

/* Onboarding form */
.onboarding {
    padding: 88px 0;
}

.onboarding-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
}

.onboarding-copy p {
    max-width: 40ch;
}

.onboarding-form-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.form-success {
    display: flex;
    gap: 12px;
    background: rgba(46, 196, 113, 0.12);
    border: 1px solid rgba(46, 196, 113, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.form-success .material-symbols-outlined {
    color: #4ade80;
}

.form-success p {
    margin: 0;
    color: var(--text);
}

.form-errors ul {
    color: var(--orange);
    margin: 0 0 16px;
    padding-left: 20px;
    font-size: 0.85rem;
}

.form-row {
    margin-bottom: 18px;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.onboarding-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.onboarding-form input,
.onboarding-form select,
.onboarding-form textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
}

.onboarding-form input:focus,
.onboarding-form select:focus,
.onboarding-form textarea:focus {
    outline: none;
    border-color: var(--yellow);
}

.field-error {
    display: block;
    color: var(--orange);
    font-size: 0.78rem;
    margin-top: 4px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 24px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.85rem;
    max-width: 32ch;
}

.footer-col h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.legal-page {
    padding: 64px 0 96px;
}

.legal-page h1 {
    margin-bottom: 8px;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 32px;
}

.legal-page h2 {
    font-size: 1.25rem;
    margin-top: 40px;
}

.legal-page p,
.legal-page ul {
    max-width: 70ch;
}

.legal-page ul {
    color: var(--text-muted);
    padding-left: 20px;
    margin: 0 0 1em;
}

.legal-page ul li {
    margin-bottom: 8px;
}

.legal-page ul strong {
    color: var(--text);
}

.legal-page a {
    color: var(--yellow);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1150px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .feature-grid,
    .feature-grid-reverse,
    .onboarding-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid-reverse .feature-icon {
        order: 0;
    }

    .main-nav {
        display: none;
    }

    .stats-row,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .form-row-split {
        grid-template-columns: 1fr;
    }
}
