:root {
    --bg: #ffffff;
    --bg-alt: #f6f7f9;
    --text: #111827;
    --muted: #4b5563;
    --border: #e5e7eb;
    --accent: #1d4ed8;
    --accent-soft: #eff6ff;
    --badge: #92400e;
    --badge-bg: #fef3c7;
    --max: 1040px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
}
.brand:hover { text-decoration: none; }

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--text);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
    padding: 96px 0 80px;
    border-bottom: 1px solid var(--border);
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 20px;
    max-width: 760px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 640px;
    margin: 0 0 32px;
}

.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--text);
    color: #fff;
}
.btn:hover { text-decoration: none; opacity: 0.9; }

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    margin-left: 8px;
}

/* Sections */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head h2 {
    font-size: 1.85rem;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.section-head p { color: var(--muted); margin: 0; }

/* Products */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.card h3 { margin: 0; font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0 0 16px; }
.card .pricing { font-size: 0.9rem; color: var(--text); margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.card .pricing strong { font-weight: 600; }
.card .card-link { margin-top: 12px; font-weight: 600; font-size: 0.95rem; }

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    background: var(--badge-bg);
    color: var(--badge);
}
.badge-live { background: #dcfce7; color: #166534; }

/* About / features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.features h3 { font-size: 1.05rem; margin: 0 0 8px; }
.features p { color: var(--muted); margin: 0; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.contact-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    background: var(--bg);
}
.contact-item .label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 8px;
}
.contact-item address, .contact-item div.value { font-style: normal; font-size: 1rem; }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    font-size: 0.9rem;
    color: var(--muted);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-grid h4 {
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.footer-grid address { font-style: normal; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; }

/* Legal pages */
.legal { padding: 64px 0 80px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: 2.25rem; letter-spacing: -0.02em; margin: 0 0 8px; }
.legal .updated { color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 1.25rem; margin: 40px 0 12px; }
.legal p, .legal li { color: #374151; }
.legal ul { padding-left: 20px; }

@media (max-width: 720px) {
    .nav { gap: 18px; }
    .hero { padding: 64px 0 56px; }
    section { padding: 56px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .btn-secondary { margin-left: 0; margin-top: 8px; }
}

@media (max-width: 420px) {
    .container { padding: 0 16px; }
    .nav a.hide-sm { display: none; }
}
