/* ============================================
   Son Media — Design System
   ============================================ */
:root {
    --ink: #12151c;
    --ink-soft: #4a4f5c;
    --paper: #fbfaf7;
    --paper-raised: #ffffff;
    --line: #e6e3db;
    --brand: #d94f2b;       /* burnt coral accent */
    --brand-dark: #b53d1f;
    --gold: #c9a24b;        /* muted gold accent */
    --success: #2f7d5a;
    --radius: 14px;
    --shadow: 0 2px 24px rgba(18,21,28,0.06);
    --font-head: 'Georgia', 'Iowan Old Style', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

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

img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
    background: var(--paper-raised);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.logo {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: bold;
}
.logo span { color: var(--brand); }
.main-nav { display: flex; gap: 32px; }
.main-nav a { font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); }
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
    padding: 90px 0 70px;
    text-align: center;
}
.hero .eyebrow {
    display: inline-block;
    background: rgba(217,79,43,0.1);
    color: var(--brand-dark);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 52px;
    max-width: 780px;
    margin: 0 auto 20px;
}
.hero p.lead {
    font-size: 19px;
    color: var(--ink-soft);
    max-width: 620px;
    margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; }

.stats-strip {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 60px;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-size: 34px; color: var(--brand); }
.stat .label { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-size: 36px; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card .icon-badge {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(201,162,75,0.15);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    font-weight: bold;
}

.alt-bg { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Pricing ---------- */
.pricing-card {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 30px;
    text-align: center;
    position: relative;
}
.pricing-card.featured {
    border-color: var(--brand);
    box-shadow: 0 8px 30px rgba(217,79,43,0.15);
    transform: translateY(-8px);
}
.pricing-card .badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
    padding: 5px 14px; border-radius: 999px;
}
.pricing-card .price { font-family: var(--font-head); font-size: 44px; margin: 14px 0; }
.pricing-card .price span { font-size: 15px; font-family: var(--font-body); color: var(--ink-soft); }
.pricing-card ul { list-style: none; text-align: left; margin: 24px 0; }
.pricing-card ul li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.pricing-card ul li:first-child { border-top: none; }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: var(--ink);
    color: #fff;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    margin: 0 24px;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: #c8c9cf; margin-bottom: 30px; }

/* ---------- Forms ---------- */
.form-shell {
    max-width: 460px;
    margin: 60px auto;
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.form-shell.wide { max-width: 700px; }
.form-shell h1 { font-size: 28px; margin-bottom: 8px; }
.form-shell .sub { color: var(--ink-soft); margin-bottom: 28px; font-size: 15px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-body);
    background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--brand);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 14px; text-align: center; margin-top: 18px; color: var(--ink-soft); }
.form-note a { color: var(--brand); font-weight: 600; }

.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.alert-error { background: #fdeceb; color: #a12b16; border: 1px solid #f5c6bf; }
.alert-success { background: #e9f6ef; color: #1e5e42; border: 1px solid #b9e3cb; }

/* ---------- Dashboard ---------- */
.dash-shell { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 50px 0; }
.dash-nav { display: flex; flex-direction: column; gap: 4px; }
.dash-nav a { padding: 10px 14px; border-radius: 8px; font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.dash-nav a.active, .dash-nav a:hover { background: var(--paper-raised); color: var(--ink); }
.dash-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 32px; }
.dash-summary .card .num { font-family: var(--font-head); font-size: 30px; color: var(--brand); }
.table-wrap { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 18px; font-size: 14px; border-bottom: 1px solid var(--line); }
th { color: var(--ink-soft); font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 0.03em; }
tr:last-child td { border-bottom: none; }
.status-pill { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.status-pending_review { background: #fdf3e0; color: #93650f; }
.status-approved { background: #e5f0fb; color: #205a94; }
.status-distributed { background: #e9f6ef; color: #1e5e42; }
.status-rejected { background: #fdeceb; color: #a12b16; }

/* ---------- Blog ---------- */
.blog-card { border-bottom: 1px solid var(--line); padding: 30px 0; }
.blog-card h3 { font-size: 22px; margin-bottom: 8px; }
.blog-card .meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-post-body { max-width: 720px; margin: 40px auto; font-size: 17px; }
.blog-post-body h1 { font-size: 38px; margin-bottom: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d6d7dc; padding: 60px 0 0; margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-col .logo { color: #fff; margin-bottom: 12px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: #a7a8b0; font-size: 14px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #2a2d38; padding: 20px 24px; font-size: 13px; color: #7d7e88; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .main-nav { display: none; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 20px 24px; border-bottom: 1px solid var(--line); }
    .main-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 34px; }
    .dash-shell { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .pricing-card.featured { transform: none; }
    .cta-banner { padding: 40px 24px; margin: 0; border-radius: 0; }
}
