:root {
    --navy: #0B1220;
    --navy-2: #111A2B;
    --mint: #34D399;
    --mint-dark: #059669;
    --ink: #0F172A;
    --muted: #64748B;
    --paper: #FFFFFF;
    --paper-2: #F8FAFC;
    --border: #E2E8F0;
    --radius: 14px;
    --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }

a { color: var(--mint-dark); text-decoration: none; }

a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

.narrow { max-width: 800px; }

.muted { color: var(--muted); }

.accent { color: var(--mint); }

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mint-dark);
    margin-bottom: 0.75rem;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.6rem 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 150ms ease-out, background 150ms ease-out, border-color 150ms ease-out;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-lg { padding: 0.85rem 1.5rem; font-size: 1.05rem; }

.btn-primary { background: var(--mint); color: #06281D; }

.btn-primary:hover { background: #2bbe89; }

.btn-ghost { background: transparent; border-color: var(--border); color: var(--ink); }

.btn-ghost:hover { border-color: var(--mint); }

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; color: var(--ink); font-size: 1.05rem; }

.brand:hover { text-decoration: none; }

.brand-mark { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--mint), #22D3EE); display: inline-block; }

.site-nav { display: flex; gap: 1.25rem; margin-left: 1rem; }

.site-nav a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }

.header-actions { margin-left: auto; display: flex; gap: 0.6rem; align-items: center; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 500px at 50% -10%, #16233c 0%, var(--navy) 60%); color: #E5E7EB; padding: 5.5rem 0 4.5rem; text-align: center; }

.hero-inner { max-width: 860px; margin: 0 auto; }

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; color: #F8FAFC; }

.lede { font-size: 1.2rem; color: #B6C2D4; max-width: 680px; margin: 1rem auto 0; }

.hero .lede { color: #AeB9CC; }

.hero-cta { display: flex; gap: 0.8rem; justify-content: center; margin: 2rem 0 0; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 2.5rem; justify-content: center; margin: 3rem 0 0; padding: 0; flex-wrap: wrap; }

.hero-stats div { text-align: center; }

.hero-stats dt { font-weight: 700; font-size: 1.25rem; color: var(--mint); }

.hero-stats dd { margin: 0.2rem 0 0; color: #94A3B8; font-size: 0.9rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--paper-2); border-bottom: 1px solid var(--border); padding: 3.5rem 0; }

.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }

.page-hero .lede { color: var(--muted); margin-left: 0; }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }

.section-alt { background: var(--paper-2); }

.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-align: center; }

.section-sub { color: var(--muted); text-align: center; max-width: 640px; margin: 0.5rem auto 2.5rem; }

/* ---------- grids + cards ---------- */
.grid { display: grid; gap: 1.25rem; }

.grid-2 { grid-template-columns: repeat(2, 1fr); }

.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color 150ms ease-out, transform 150ms ease-out, box-shadow 150ms ease-out; }

.card:hover { border-color: var(--mint); transform: translateY(-3px); box-shadow: 0 12px 30px -18px rgba(15, 23, 42, 0.25); }

.card h3 { font-size: 1.15rem; }

.card p { color: var(--muted); margin: 0; }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.steps li { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }

.step-n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: var(--mint); font-weight: 700; margin-bottom: 0.75rem; }

.steps h3 { font-size: 1.1rem; }

.steps p { color: var(--muted); margin: 0; }

/* ---------- pricing ---------- */
.pricing .price-card { display: flex; flex-direction: column; position: relative; }

.price-card .price { font-size: 1.2rem; font-weight: 700; margin: 0.25rem 0 0.5rem; }

.price-card.featured { border-color: var(--mint); box-shadow: 0 16px 40px -24px rgba(5, 150, 105, 0.5); }

.badge { position: absolute; top: -12px; right: 16px; background: var(--mint); color: #06281D; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px; }

.ticks { list-style: none; padding: 0; margin: 1rem 0 1.5rem; flex-grow: 1; }

.ticks li { padding-left: 1.6rem; position: relative; margin-bottom: 0.6rem; color: var(--ink); }

.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--mint-dark); font-weight: 700; }

/* ---------- cta band ---------- */
.cta-band { background: var(--navy); color: #E5E7EB; padding: 4rem 0; text-align: center; }

.cta-band h2 { color: #F8FAFC; font-size: clamp(1.6rem, 3vw, 2.2rem); }

.cta-inner p { color: #94A3B8; margin-bottom: 1.5rem; }

/* ---------- forms ---------- */
.contact-form { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }

.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }

.field label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }

.input { padding: 0.7rem 0.85rem; border: 1px solid var(--border); border-radius: 10px; font: inherit; color: var(--ink); background: var(--paper); }

.input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); }

.field-error { color: #DC2626; font-size: 0.85rem; margin-top: 0.3rem; }

.alert { padding: 1rem 1.25rem; border-radius: 10px; margin-bottom: 1.25rem; }

.alert:empty { display: none; }

.alert-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }

.alert-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-section { font-size: 1rem; font-weight: 700; margin: 1.5rem 0 0.75rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--border); }

.opt { font-weight: 400; color: var(--muted); font-size: 0.85rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Honeypot — visually and from assistive tech, but present in the DOM for bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #94A3B8; padding: 3rem 0 1.5rem; }

.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #1F2937; }

.site-footer .brand { color: #F8FAFC; }

.site-footer h4 { color: #E5E7EB; font-size: 0.95rem; margin-bottom: 0.75rem; }

.site-footer nav { display: flex; flex-direction: column; gap: 0.4rem; }

.site-footer nav a { color: #94A3B8; font-size: 0.92rem; }

.site-footer nav a:hover { color: var(--mint); }

.footer-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; font-size: 0.82rem; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .site-nav { display: none; }
    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .steps { grid-template-columns: 1fr; }
    .header-actions .btn-ghost { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto; }
}

/* ---------- blog listing ---------- */
.blog-list { display: flex; flex-direction: column; gap: 1.25rem; }

.blog-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-decoration: none;
    color: var(--ink);
    transition: border-color 150ms ease-out, transform 150ms ease-out, box-shadow 150ms ease-out;
}

.blog-card:hover {
    border-color: var(--mint);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -16px rgba(15, 23, 42, 0.2);
    text-decoration: none;
}

.blog-card-inner { flex: 1 1 auto; }

.blog-card-top { margin-bottom: 0.6rem; }

.blog-card-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 0.5rem; line-height: 1.3; }

.blog-card-desc { color: var(--muted); margin: 0 0 0.75rem; font-size: 0.95rem; }

.blog-card-arrow { color: var(--mint-dark); font-size: 1.2rem; flex-shrink: 0; margin-top: 0.2rem; }

.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: var(--mint-dark);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0;
    font-size: 0.82rem;
    color: var(--muted);
    align-items: center;
}

.meta-dot { margin: 0 0.4rem; color: var(--border); }

.mt-1 { margin-top: 0.4rem; }

.blog-cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--navy);
    color: #E5E7EB;
    border-radius: var(--radius);
    padding: 2rem 2.25rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.blog-cta-strip h3 { color: #F8FAFC; font-size: 1.15rem; margin: 0 0 0.25rem; }

.blog-cta-strip p { color: #94A3B8; margin: 0; font-size: 0.95rem; }

/* ---------- blog post ---------- */
.post-page-hero { padding-bottom: 2.5rem; }

.post-breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }

.post-breadcrumb a { color: var(--muted); }

.post-breadcrumb a:hover { color: var(--mint-dark); }

.prose { font-size: 1.05rem; line-height: 1.75; }

.prose h2 { font-size: 1.45rem; font-weight: 700; margin: 2.25rem 0 0.6rem; padding-top: 0.5rem; }

.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 1.5rem 0 0.4rem; color: var(--ink); }

.prose p { margin: 0 0 1.1rem; }

.prose ul, .prose ol { margin: 0 0 1.1rem 1.4rem; }

.prose li { margin-bottom: 0.45rem; }

.prose li > ul, .prose li > ol { margin: 0.35rem 0 0 1.2rem; }

.prose strong { font-weight: 600; }

.prose a { color: var(--mint-dark); text-decoration: underline; text-decoration-color: rgba(5,150,105,0.35); }

.prose a:hover { text-decoration-color: var(--mint-dark); }

.prose em { font-style: italic; color: var(--muted); }

.post-cta-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--paper-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 2.25rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.post-cta-text h3 { font-size: 1.1rem; margin: 0 0 0.3rem; }

.post-cta-text p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.post-nav { margin-top: 2rem; }

/* ---------- legal pages ---------- */
.legal-prose h2 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--border); }

.legal-prose h2:first-of-type { border-top: none; padding-top: 0; }

.legal-prose h3 { font-size: 1rem; font-weight: 600; margin: 1.2rem 0 0.35rem; }

.legal-prose address { font-style: normal; background: var(--paper-2); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; margin-top: 0.5rem; }

/* ---------- footer: 4-column on wide, stack on mobile ---------- */
.footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; }

@media (max-width: 860px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .blog-card { flex-direction: column; gap: 0.75rem; }
    .blog-card-arrow { display: none; }
    .post-cta-block, .blog-cta-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
    .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- dual-audience homepage ---------- */
.accent-2 { color: #22D3EE; }

.hero-dual { padding-bottom: 5.5rem; }

.audience-chooser { padding: 3rem 0; background: var(--paper); border-bottom: 1px solid var(--border); }

.audience-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.audience-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 2.25rem;
    text-decoration: none;
    color: var(--ink);
    transition: border-color 150ms ease-out, transform 150ms ease-out, box-shadow 150ms ease-out;
}

.audience-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 36px -20px rgba(15,23,42,0.22); }

.audience-card.for-carriers { border-left: 4px solid var(--mint); }
.audience-card.for-carriers:hover { border-color: var(--mint); }
.audience-card.for-agencies { border-left: 4px solid #22D3EE; }
.audience-card.for-agencies:hover { border-color: #22D3EE; }

.audience-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.audience-icon-carriers { background: rgba(52,211,153,0.1); }
.audience-icon-agencies { background: rgba(34,211,238,0.1); }

.audience-body { flex: 1 1 auto; }

.audience-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.3rem; }

.audience-title { font-size: 1.35rem; font-weight: 700; margin: 0 0 0.6rem; line-height: 1.25; }

.audience-desc { font-size: 0.95rem; color: var(--muted); margin: 0 0 1rem; }

.audience-cta { font-size: 0.92rem; font-weight: 600; color: var(--mint-dark); }
.audience-cta-2 { color: #0891B2; }

/* ---------- section alignment helpers ---------- */
.section-title-left { text-align: left; }
.section-sub-left { text-align: left; margin-left: 0; }

/* ---------- section CTA row ---------- */
.section-cta-row { margin-top: 2rem; display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; }

/* ---------- btn-primary-2 (cyan / platform) ---------- */
.btn-primary-2 { background: #22D3EE; color: #0A2233; }
.btn-primary-2:hover { background: #06B6D4; }

/* ---------- dual CTA band ---------- */
.dual-cta-band { background: var(--navy); color: #E5E7EB; padding: 4rem 0; }

.dual-cta-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 3rem; align-items: center; }

.dual-cta-block h3 { color: #F8FAFC; font-size: 1.4rem; margin: 0.5rem 0 0.6rem; }

.dual-cta-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #64748B; margin: 0 0 0.2rem; }

.dual-cta-block p { color: #94A3B8; margin-bottom: 1.5rem; }

.dual-cta-divider { width: 1px; background: #1E293B; align-self: stretch; }

/* ---------- about dual layout ---------- */
.about-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.about-entity { border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 2.25rem; }

.about-entity-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }

.about-entity-header h2 { font-size: 1.4rem; margin: 0; }

.about-entity-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.about-entity-dot-mint { background: var(--mint); }
.about-entity-dot-cyan { background: #22D3EE; }

.about-entity p { color: var(--muted); }

.about-entity a { margin-top: 0.5rem; }

/* ---------- pricing tabs ---------- */
.pricing-audience-tabs { display: flex; gap: 1.25rem; }

.pricing-tab {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--ink);
    transition: border-color 150ms ease-out;
    min-width: 200px;
}

.pricing-tab:hover { border-color: var(--mint); text-decoration: none; }

.pricing-tab-active { border-color: var(--mint); }

.pricing-tab-platform:hover { border-color: #22D3EE; }

.pricing-tab-label { font-weight: 700; font-size: 1rem; }

.pricing-tab-sub { font-size: 0.85rem; color: var(--muted); margin-top: 0.2rem; }

/* featured-2: platform featured card (cyan) */
.price-card.featured-2 { border-color: #22D3EE; box-shadow: 0 16px 40px -24px rgba(34,211,238,0.35); }

.badge-2 { position: absolute; top: -12px; right: 16px; background: #22D3EE; color: #0A2233; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px; }

/* ---------- contingency table ---------- */
.contingency-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 1.5rem; }

.contingency-row { display: grid; grid-template-columns: 1.5fr 1fr 2fr; gap: 1rem; padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--border); align-items: center; }

.contingency-row:last-child { border-bottom: none; }

.contingency-header { background: var(--paper-2); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.03em; color: var(--muted); text-transform: uppercase; }

.contingency-rate { font-weight: 700; font-size: 1.05rem; color: var(--mint-dark); }

/* ---------- for-carriers page hero ---------- */
.page-hero-carriers { background: linear-gradient(135deg, #0B1220 0%, #0F1E38 100%); color: #E5E7EB; padding: 4rem 0; }

.page-hero-carriers h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; color: #F8FAFC; }

.page-hero-carriers .lede { color: #AeB9CC; margin-left: 0; max-width: 720px; }

.page-hero-carriers .eyebrow { color: var(--mint); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.1rem; margin-top: 1.5rem; }

.faq-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 0.75rem; }

.faq-item h3 { font-size: 1.05rem; margin: 0 0 0.6rem; }

.faq-item p { color: var(--muted); margin: 0; }

/* ---------- responsive: dual-audience ---------- */
@media (max-width: 860px) {
    .audience-cards { grid-template-columns: 1fr; }
    .audience-card { flex-direction: column; }
    .about-dual { grid-template-columns: 1fr; }
    .dual-cta-inner { grid-template-columns: 1fr; gap: 2rem; }
    .dual-cta-divider { width: auto; height: 1px; background: #1E293B; }
    .pricing-audience-tabs { flex-direction: column; }
    .contingency-row { grid-template-columns: 1fr 1fr; }
    .contingency-row span:last-child { display: none; }
    .steps { grid-template-columns: 1fr 1fr; }
}
