/* ============================================================
   Design Tokens
============================================================ */
:root {
    --navy: #0b1f33;
    --navy-deep: #081a2d;
    --steel: #1f3a5a;
    --accent: #3b82f6;

    --text-dark: #0f172a;
    --text-body: #334155;

    --text-light: #e5e7eb;
    --text-muted: #b6c2cf;

    --input-bg: #ffffff;
    --border: #cbd5e1;
}

/* ============================================================
   Base Reset
============================================================ */
*{box-sizing:border-box;}

html,
body{
    margin:0;
    padding:0;
}

body{
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color:var(--text-dark);
    min-height:100vh;

    background:linear-gradient(
        180deg,
        #ffffff 0%,
        #f8fafc 45%,
        #eef2f7 80%,
        #e5e7eb 100%
    );
}

/* ============================================================
   Decorative Lighting
============================================================ */
body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:-1;

    background:radial-gradient(
        ellipse at top,
        rgba(255,255,255,.9),
        rgba(255,255,255,0) 70%
    );
}

/* ============================================================
   Layout
============================================================ */
.container{
    max-width:1200px;
    margin:0 auto;
    padding:40px 40px 64px;
    text-align:left;
    position:relative;
    z-index:1;
}

.content{
    max-width:1100px;
    margin:0 auto;
}

/* ============================================================
   Editorial Partnership Form
============================================================ */

.dark-section form{
    max-width:700px;
    margin:40px auto 0;
}

.dark-section .form-group{
    margin-bottom:24px;
}

.dark-section label{
    display:block;
    margin:0 0 8px;
    font-weight:600;
    color:#fff;
    text-align:left;
}

.dark-section input,
.dark-section textarea,
.dark-section select{
    width:100%;
    padding:14px 16px;
    font-size:16px;
    font-family:inherit;
    background:#fff;
    color:#111;
    border:1px solid #cbd5e1;
    border-radius:8px;
    transition:border-color .2s, box-shadow .2s;
}

.dark-section input:focus,
.dark-section textarea:focus,
.dark-section select:focus{
    outline:none;
    border-color:#3b82f6;
    box-shadow:0 0 0 3px rgba(59,130,246,.2);
}

.dark-section textarea{
    min-height:220px;
    resize:vertical;
}

.dark-section input::placeholder,
.dark-section textarea::placeholder{
    color:#777;
}

.dark-section select{
    appearance:none;
    cursor:pointer;
}

.checkbox-heading{margin-bottom:14px!important;}

.editorial-options{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.editorial-options label{
    display:flex!important;
    align-items:center;
    gap:12px;
    margin:0!important;
    font-weight:400;
    text-align:left;
    cursor:pointer;
    color:#fff;
}

.editorial-options input[type="checkbox"]{
    width:18px!important;
    height:18px;
    margin:0;
    flex:0 0 18px;
    accent-color:#fff;
}

.editorial-options span{flex:1;}

.dark-section small,
.form-footer{
    display:block;
    margin-top:12px;
    color:rgba(255,255,255,.85);
    line-height:1.6;
}

.dark-section button,
.btn{
    appearance:none;
    -webkit-appearance:none;
    width:100%;
    margin-top:34px;
    padding:16px;
    font-size:18px;
    font-weight:700;
    border:none;
    border-radius:8px;
    cursor:pointer;
    transition:.2s;
}

.dark-section button:hover,
.btn:hover{
    transform:translateY(-1px);
}

/* ============================================================
   Header / Primary Navigation
============================================================ */

.site-header{
    background:#fff;
    border-bottom:1px solid rgba(0,0,0,.08);
    padding:0 32px;
}

.header-inner{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    min-height:118px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:36px;
}

.logo-link{
    display:block;
    flex:0 0 auto;
    text-decoration:none;
}

.logo{
    display:block;
    width:190px;
    max-width:100%;
    height:auto;
}

.primary-nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:24px;
    flex-wrap:nowrap;
}

.primary-nav a{
    position:relative;
    display:inline-flex;
    align-items:center;
    color:var(--navy);
    font-size:.95rem;
    font-weight:600;
    line-height:1.2;
    text-decoration:none;
    white-space:nowrap;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.primary-nav a:not(.nav-cta)::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-7px;
    width:0;
    height:2px;
    background:var(--accent);
    transition:width .2s ease;
}

.primary-nav a:not(.nav-cta):hover{
    color:var(--accent);
}

.primary-nav a:not(.nav-cta):hover::after{
    width:100%;
}

.primary-nav .nav-cta{
    padding:12px 18px;
    background:var(--navy);
    color:#fff;
    border:1px solid var(--navy);
    border-radius:7px;
    font-weight:700;
    text-decoration:none;
}

.primary-nav .nav-cta:hover{
    background:var(--accent);
    border-color:var(--accent);
    color:#fff;
    transform:translateY(-1px);
}

.nav-toggle{
    display:none;
    width:46px;
    height:42px;
    padding:9px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:7px;
    cursor:pointer;
}

.nav-toggle span{
    display:block;
    width:100%;
    height:2px;
    margin:5px 0;
    background:var(--navy);
    border-radius:2px;
}

/* ============================================================
   Hero Elements
============================================================ */
.featured-image{width:100%;height:auto;border-radius:12px;margin:20px 0 40px;display:block;}
.hero-subheadline{max-width:900px;margin:0 auto 30px;text-align:center;font-size:1.4rem;line-height:1.5;color:var(--text-body);}
.entity-definition{font-size:1.25rem;line-height:1.7;font-weight:500;color:var(--text-dark);}

/* Typography */
h1{font-size:3.5rem;line-height:1.1;font-weight:800;margin:0 0 20px;color:var(--text-dark);text-align:center;text-transform:uppercase;}
h2{font-size:2rem;margin:48px 0 18px;color:var(--text-dark);text-align:center;}
h3{margin:32px 0 14px;color:var(--text-dark);text-align:left;font-size:1.3rem;}
p{max-width:1000px;margin:0 0 22px;font-size:1.15rem;line-height:1.8;color:var(--text-body);text-align:left;}

/* Lists */
ul,ol{max-width:1000px;margin:8px 0 24px;padding-left:32px;text-align:left;}
li{margin-bottom:10px;color:var(--text-body);line-height:1.7;}

/* Tables */
table{width:100%;max-width:1100px;margin:32px auto;border-collapse:collapse;}
th,td{padding:14px 16px;border:1px solid rgba(15,23,42,.12);text-align:left;}
th{background:#f8fafc;font-weight:700;color:var(--text-dark);}

/* Links */
a{color:var(--text-dark);text-decoration:underline;text-decoration-color:rgba(15,23,42,.35);text-underline-offset:3px;}
a:hover{color:var(--accent);text-decoration-color:var(--accent);}

/* Divider */
hr{border:none;height:1px;background:rgba(15,23,42,.12);margin:32px 0;max-width:1000px;}

/* Testimonial */
.testimonial{background:#f8fafc;border-left:5px solid var(--steel);padding:30px;margin:40px 0;}
.testimonial blockquote{margin:0;font-size:1.2rem;font-style:italic;line-height:1.7;}

/* Dark CTA */
.dark-section{
    margin-top:56px;
    padding:56px 40px 64px;
    background:var(--navy);
    text-align:center;
}
.dark-section .container{text-align:center;max-width:900px;}
.dark-section h2{color:#fff;margin:0 0 18px;text-align:center;line-height:1.2;}
.dark-section p{max-width:760px;margin:0 auto 18px;color:var(--text-muted);text-align:center;line-height:1.8;}
.dark-section p:last-of-type{margin-bottom:30px;}
.dark-section ul{max-width:700px;margin:0 auto 24px;padding-left:24px;text-align:left;}
.dark-section li{color:var(--text-muted);margin-bottom:10px;}
.form-note{max-width:760px;margin:0 auto 24px;}

/* Utility */
.form-end-spacer{height:48px;}

/* Footer */
.footer{background:#f1f5f9;padding:40px 0 30px;text-align:center;border-top:1px solid rgba(0,0,0,.06);}
.footer-nav a{color:#475569;margin:0 6px;font-size:.9rem;text-decoration:none;}
.footer-nav a:hover{color:var(--accent);text-decoration:underline;}
.footer-copy{margin-top:10px;font-size:.85rem;color:#64748b;}

/* ============================================================
   Responsive Navigation
============================================================ */

@media (max-width:1000px){

    .site-header{
        padding:0 24px;
    }

    .header-inner{
        min-height:100px;
        position:relative;
    }

    .logo{
        width:170px;
    }

    .nav-toggle{
        display:block;
        flex:0 0 auto;
    }

    .primary-nav{
        display:none;
        position:absolute;
        top:100%;
        left:-24px;
        right:-24px;
        z-index:1000;
        background:#fff;
        border-top:1px solid rgba(0,0,0,.06);
        border-bottom:1px solid rgba(0,0,0,.10);
        padding:12px 24px 24px;
        flex-direction:column;
        align-items:stretch;
        gap:0;
        box-shadow:0 12px 24px rgba(15,23,42,.08);
    }

    .primary-nav.open{
        display:flex;
    }

    .primary-nav a{
        display:block;
        width:100%;
        padding:14px 4px;
        border-bottom:1px solid rgba(15,23,42,.08);
        font-size:1rem;
    }

    .primary-nav a:not(.nav-cta)::after{
        display:none;
    }

    .primary-nav .nav-cta{
        margin-top:14px;
        padding:14px 18px;
        text-align:center;
        border-bottom:none;
    }
}

/* ============================================================
   Mobile
============================================================ */

@media (max-width:768px){

    .container{
        padding:36px 20px 56px;
    }

    .content{
        max-width:100%;
    }

    h1{
        font-size:2.4rem;
    }

    h2{
        font-size:1.6rem;
    }

    h3{
        font-size:1.2rem;
    }

    p{
        font-size:1rem;
        max-width:100%;
    }

    ul,
    ol,
    hr{
        max-width:100%;
    }

    .hero-subheadline{
        font-size:1.15rem;
    }

    .dark-section{
        padding:56px 24px 64px;
    }

    .site-header{
        padding:0 20px;
    }

    .header-inner{
        min-height:90px;
    }

    .logo{
        width:150px;
    }

    .primary-nav{
        left:-20px;
        right:-20px;
        padding-left:20px;
        padding-right:20px;
    }
}
