:root {
    --color-primary: #1d4ed8;
    /* blue */
    --color-accent: #f97316;
    /* orange */
    --color-dark: #0f172a;
    --color-light: #f3f4f6;
    --radius-pill: 999px;
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #e5e7eb;
    color: #111827;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top bar + nav */
/* .top-bar {
    background: #020617;
    color: #e5e7eb;
    font-size: 0.85rem;
    padding: 0.35rem 0;
}

.top-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 2px solid #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.nav-menu a {
    position: relative;
}

.nav-menu a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 999px;
}

.nav-cta {
    display: flex;
    gap: 0.75rem;
}

.pill {
    border-radius: var(--radius-pill);
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
}

.pill-primary {
    background: var(--color-accent);
    color: #111827;
    border-color: var(--color-accent);
}

.pill-outline {
    background: transparent;
    color: #111827;
    border-color: #cbd5f5;
} */

ul.sidebar-links a {
    color: #4b5563;
}

/* Hero */
.hero {
    background: white;
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.hero-inner {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hero-left,
.hero-right {
    flex: 1;
}

.kicker {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.hero-title {
    margin: 0 0 0.5rem;
    font-size: 2rem;
}

.hero-sub {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 1.25rem;
}

.hero-list {
    font-size: 0.9rem;
    color: #4b5563;
    padding-left: 1.1rem;
    margin-bottom: 1.25rem;
}

.hero-card {
    background: #0f172a;
    color: #e5e7eb;
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
}

.hero-card p {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    color: #cbd5f5;
}

/* Section wrapper */
.section {
    padding: 2.5rem 0;
}

.section-title {
    margin: 0 0 0.25rem;
    font-size: 1.5rem;
}

.section-sub {
    margin: 0 0 1.5rem;
    font-size: 0.9rem;
    color: #4b5563;
}

/* Lookup layout */
.lookup-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.lookup-main {
    background: white;
    border-radius: 1.25rem;
    padding: 1.3rem 1.4rem 1.6rem;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-soft);
    font-size: 0.92rem;
}

.lookup-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-end;
}

.lookup-field {
    flex: 1 1 160px;
    min-width: 0;
}

.lookup-field label {
    display: block;
    font-size: 0.8rem;
    color: #4b5563;
    margin-bottom: 0.15rem;
}

.lookup-field input,
.lookup-field select {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border-radius: 0.6rem;
    border: 1px solid #d1d5db;
    font-size: 0.86rem;
    font-family: inherit;
}

.lookup-note {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.result-card {
    margin-top: 1rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 0.9rem 1rem;
    font-size: 0.88rem;
}

.result-header {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
    align-items: center;
}

.result-code {
    font-weight: 700;
    font-size: 1rem;
}

.result-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.result-card h3 {
    margin: 0.4rem 0 0.25rem;
    font-size: 0.96rem;
}

.result-card p {
    margin: 0 0 0.4rem;
    color: #4b5563;
}

.result-card ul {
    margin: 0.25rem 0 0.4rem;
    padding-left: 1.05rem;
    color: #4b5563;
    font-size: 0.86rem;
}

.code-list-title {
    margin-top: 1.4rem;
    font-size: 0.98rem;
}

.code-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.75rem;
    font-size: 0.86rem;
    margin-top: 0.4rem;
}

.code-chip {
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
}

.code-chip span {
    font-weight: 600;
}

.code-chip small {
    color: #6b7280;
    font-weight: 400;
    font-size: 0.75rem;
}

.disclaimer-block {
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: 0.9rem;
    border-top: 1px dashed #e5e7eb;
    padding-top: 0.6rem;
}

/* Sidebar */
.sidebar-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.1rem 1.2rem 1.3rem;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-soft);
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.sidebar-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
}

.sidebar-card p {
    margin: 0 0 0.4rem;
    color: #4b5563;
}

.sidebar-links {
    margin: 0.4rem 0 0;
    padding-left: 1.05rem;
    font-size: 0.84rem;
    color: #4b5563;
}

.sidebar-links li {
    margin-bottom: 0.2rem;
}

.badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-pill);
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.75rem;
    border: 1px solid #bfdbfe;
    margin-bottom: 0.35rem;
}

/* CTA */
.cta-section {
    padding: 2.5rem 0 3rem;
}

.cta-box {
    background: #0f172a;
    color: #e5e7eb;
    border-radius: 1.5rem;
    padding: 1.8rem 1.9rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.cta-box h2 {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
}

.cta-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5f5;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Footer */
footer {
    background: #020617;
    color: #9ca3af;
    font-size: 0.8rem;
    padding: 1.1rem 0;
    margin-top: 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

@media (max-width: 900px) {

    .hero-inner,
    .lookup-layout,
    .footer-inner,
    .cta-box {
        flex-direction: column;
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .code-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}