:root {
    --primary: #111827; /* dark slate */
    --accent: #f97316;  /* orange accent */
    --bg: #f3f4f6;
    --text: #111827;
    --muted: #4b5563; /* slightly darker than before for better contrast */
    --card-bg: #ffffff;
    --radius-xl: 18px;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #e5e7eb 0, #f9fafb 40%, #f3f4f6 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header & Nav */
.site-header {
     min-height: 64px;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(249, 250, 251, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(156, 163, 175, 0.25);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.8rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #f97316, #ea580c 55%, #111827 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.nav-links a {
    color: var(--muted);
    padding: 0.3rem 0;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    border-radius: 999px;
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.9rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #111827;
    color: #f9fafb;
}

.nav-cta span {
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    max-width: 1120px;
    margin: 2.5rem auto 2rem;
    padding: 0 1.25rem;
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .hero {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 1rem;
}

.hero-kicker span.tag {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    color: #b45309; /* darker orange for better contrast */
    font-weight: 700;
}

.hero-title {
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin: 0 0 0.75rem;
}

.hero-title span.highlight {
    background: linear-gradient(120deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--muted);
    max-width: 34rem;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn-primary {
    padding: 0.75rem 1.3rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.35);
}

.btn-outline {
    padding: 0.75rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: rgba(249, 250, 251, 0.9);
    color: var(--primary);
    font-size: 0.9rem;
    cursor: pointer;
}

.hero-meta {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.hero-right {
    position: relative;
}

.hero-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.5rem 1.7rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0;
    display: grid;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.hero-list li::before {
    content: "•";
    color: #f97316;
    margin-right: 0.35rem;
}

.hero-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}

.hero-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    color: var(--muted);
}

/* Sections */
section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2.2rem;
}

.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
    letter-spacing: -0.03em;
}

.section-desc {
    color: var(--muted);
    max-width: 38rem;
    font-size: 0.95rem;
}

/* Grid cards */
.grid {
    display: grid;
    gap: 1.1rem;
    margin-top: 1.3rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.2rem 1.2rem 1.3rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

.pill-small {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #b45309; /* darker orange for strong contrast on white */
    font-weight: 700;
    margin-bottom: 0.3rem;
}

/* Brand strip */
.brand-strip {
    margin-top: 1.8rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: radial-gradient(circle at left, #111827 0, #020617 55%, #0b1120 100%);
    color: #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.brand-strip h3 {
    margin: 0;
    font-size: 1.05rem;
}

.brand-strip p {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: #d1d5db;
}

.brand-strip a {
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: #f97316;
    color: #111827;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.4);
}

/* Contact / CTA */
.cta-block {
    margin-top: 1.5rem;
    padding: 1.4rem 1.3rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a, #020617);
    color: #e5e7eb;
    display: grid;
    gap: 0.8rem;
}

@media (min-width: 768px) {
    .cta-block {
        grid-template-columns: 2fr 1fr;
        align-items: center;
    }
}

.cta-block h3 {
    margin: 0 0 0.4rem;
}

.cta-block p {
    margin: 0;
    font-size: 0.9rem;
    color: #9ca3af;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.cta-primary {
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    background: #f97316;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 600;
}

.cta-secondary {
    font-size: 0.8rem;
    color: #9ca3af;
}

.cta-secondary span {
    color: #fbbf24;
}

/* Footer */
.site-footer {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.8rem 1.25rem 2rem;
    font-size: 0.8rem;
    color: var(--muted);
    border-top: 1px dashed rgba(148, 163, 184, 0.6);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-links a {
    text-decoration: underline;
    text-decoration-style: dotted;
}

/* Mobile tweaks */
@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    .nav-inner {
        padding-inline: 1rem;
    }
    .hero {
        margin-top: 1.4rem;
    }
}

/* ---- CLS tweaks: reserve space for key elements ---- */

/* Make hero height more predictable so it doesn't jump */
.hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Reserve space for the right hero card so it doesn't "pop in" */
.hero-right {
    min-height: 320px; /* adjust if your design is taller/shorter */
}

/* Keep cards visually consistent and avoid height jumps */
.card {
    min-height: 220px; /* tune to your actual card content */
}

/* Pills / labels shouldn't change height when fonts settle */
.section-label,
.pill-small {
    display: inline-block;
    min-height: 1.2em;
    line-height: 1.2;
}