/* Site password gate (soft, client-side) */
.site-gate {
    position: fixed;
    inset: 0;
    min-height: 100dvh;
    background-color: #1a332c;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

.gate-passed .site-gate {
    display: none;
}

.gate-passed body,
body:has(.site-gate:not(.hidden)),
html:not(.gate-passed):has(.site-gate) {
    overflow: hidden;
}

.site-gate-inner {
    max-width: 420px;
    width: 100%;
    text-align: center;
    color: #ffffff;
}

.site-gate-eyebrow {
    color: #c9a961;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin: 0 0 1.5rem;
}

.site-gate-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 0.85rem;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.site-gate-note {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 2rem;
}

.site-gate-form {
    display: flex;
    gap: 0.5rem;
}

.site-gate-form input[type="password"] {
    flex: 1;
    padding: 0.75rem 0.95rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffffff;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.97rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-gate-form input[type="password"]::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.site-gate-form input[type="password"]:focus {
    outline: none;
    border-color: #c9a961;
    background-color: rgba(255, 255, 255, 0.12);
}

.site-gate-form button {
    padding: 0.75rem 1.5rem;
    background-color: #2e8b57;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.97rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.site-gate-form button:hover {
    background-color: #246b43;
}

.site-gate-error {
    margin: 1rem 0 0;
    color: #f0a0a0;
    font-size: 0.88rem;
    line-height: 1.4;
    min-height: 1.2em;
}

@media (max-width: 480px) {
    .site-gate-form {
        flex-direction: column;
    }
    .site-gate-form button {
        width: 100%;
    }
}

:root {
    --primary-color: #1a332c;    /* Deep forest green for main backgrounds */
    --secondary-color: #ffffff;  /* Clean white for contrast */
    --accent-color: #2e8b57;    /* Sea green for CTAs and highlights */
    --accent-hover: #246b43;    /* Darker green for hover states */
    --gold: #c9a961;             /* Muted champagne gold for accents */
    --gold-dim: #a68a4f;         /* Darker gold for hover/contrast */
    --text-color: #333333;      /* Dark gray for regular text */
    --light-bg: #f4f7f6;        /* Light sage for secondary backgrounds */
    --muted-green: #85ab9c;     /* Muted green for subtle elements */
    --primary-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

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

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--primary-font);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-rendering: optimizeLegibility;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

/* Header */
body > header {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 2rem 0.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
}

.logo {
    height: 45px;
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-name {
    font-family: var(--primary-font);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.logo-tag {
    font-family: var(--primary-font);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
}

.logo-small {
    display: none;
    height: 32px;
    width: auto;
}

.portal-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.portal-button:hover {
    background-color: var(--accent-hover);
}

.portal-icon {
    display: none;
}

/* Responsive Header */
@media (max-width: 768px) {
    body > header {
        padding: 0.6rem 0.75rem;
    }

    .header-container {
        padding: 0;
    }

    .logo {
        display: none;
    }

    .logo-small {
        display: block;
    }

    .logo-text {
        display: none;
    }

    .portal-text {
        display: none;
    }

    .portal-icon {
        display: block;
        width: 20px;
        height: 20px;
    }

    .portal-button {
        padding: 0.75rem;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /* PNG fallback first; modern browsers override with WebP via the next declaration. */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                      url('/images/clancullen_banner.png');
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                      url('/images/clancullen_banner_optimized.webp');
    color: var(--secondary-color);
    padding: 8rem 2rem;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--gold);
    opacity: 0.95;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    padding-bottom: 1rem;
}

.hero h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 2px;
    background-color: var(--gold);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.button:not(:first-child) {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.button:not(:first-child):hover {
    background-color: rgba(201, 169, 97, 0.12);
    border-color: var(--gold);
    color: var(--gold);
}

/* Features Section */
.features {
    padding: 1rem 2rem 4rem;
    background-color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: transparent;
    padding: 1.25rem 0 0;
    border: none;
    border-top: 1px solid var(--gold);
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    transition: none;
    display: block;
}

.feature-card:hover {
    transform: none;
    box-shadow: none;
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    letter-spacing: 0.01em;
}

.feature-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.services h2 {
    margin-bottom: 2rem;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(133, 171, 156, 0.2);
}

.service-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.1);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 3rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Why Choose Section — handled by .editorial pattern above */

main {
    padding: 2rem 0;
}

/* Approved Securities Section */
.approved-securities {
    padding: 2rem 0;
    background-color: #f5f5f5;
    margin: 0;
}

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

.approved-securities-link {
    display: block;
    text-align: center;
    transition: transform 0.3s ease;
}

.approved-securities-link:hover {
    transform: translateY(-5px);
}

.approved-securities-image {
    max-width: 300px;
    height: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0.9;
    z-index: 1;
}

.cta-banner .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.cta-banner p {
    color: var(--secondary-color);
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-hover);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 2.5rem 0.75rem;
    margin: 0;
}

.footer-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.footer-disclosure {
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
    opacity: 0.75;
    color: var(--secondary-color);
    margin: 0;
    text-align: left;
    max-width: 100%;
    word-wrap: break-word;
}

.footer-disclosure strong {
    font-weight: 500;
    color: var(--gold);
    opacity: 0.9;
}

.footer-bottom {
    margin-top: 0.75rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.02em;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 640px) {
    footer {
        padding: 1.5rem 1.25rem 1rem;
    }

    .footer-disclosure {
        font-size: 0.7rem;
        line-height: 1.5;
        text-align: left;
    }

    .footer-bottom {
        font-size: 0.7rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 6rem 1.25rem 4rem;
        min-height: 70vh;
    }

    .hero-content {
        padding: 0;
    }

    .hero h1 {
        font-size: 0.75rem;
        letter-spacing: 0.28em;
    }

    .hero h2 {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }

    .hero p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .button {
        padding: 0.85rem 1.25rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .features {
        padding: 3rem 1.25rem;
    }

    .features h2 {
        margin-bottom: 2rem;
    }

    .why-choose {
        padding: 3rem 1.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cta-banner {
        padding: 3rem 1.25rem;
    }

    .cta-banner h2 {
        font-size: 1.75rem;
    }

    .cta-banner p {
        font-size: 1.05rem;
    }

    .cta-button {
        padding: 0.9rem 1.75rem;
        min-height: 44px;
    }
}

@media (max-width: 400px) {
    .hero h2 {
        font-size: 1.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        text-align: center;
        width: 100%;
    }
}

/* Value Prop Section */
.value-prop {
    padding: 4rem 2rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.pillars {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 0 2.5rem;
    padding: 0;
}

.pillars li {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    padding: 0 1.75rem;
    position: relative;
}

.pillars li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background-color: var(--gold);
    opacity: 0.4;
}

.lede {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--primary-color);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.tax-note {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.55;
    max-width: 720px;
    margin: 0 auto;
    font-style: italic;
}

/* Update features (no h2 anymore, tighter top spacing) */
.features {
    padding: 2rem 2rem 4rem;
}

/* Editorial two-column sections (mechanism / why-choose / eligibility / pricing) */
.editorial {
    padding: 4.5rem 2rem;
}

.mechanism.editorial,
.eligibility.editorial {
    background-color: var(--light-bg);
}

.editorial .section-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    column-gap: 4rem;
    align-items: start;
}

.editorial .section-heading {
    position: relative;
    padding-top: 1rem;
}

.editorial .section-heading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background-color: var(--gold);
}

.editorial .section-heading h2 {
    text-align: left;
    font-size: 1.6rem;
    line-height: 1.25;
    margin: 0;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.editorial .section-body p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 1.25rem;
    color: var(--text-color);
}

.editorial .section-body p:last-child {
    margin-bottom: 0;
}

.editorial .section-body a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.editorial .section-body a:hover {
    border-bottom-color: var(--accent-color);
}

.editorial .section-link {
    margin-top: 0.5rem;
    font-size: 0.97rem;
}

/* How it Works (account types) */
.how-it-works {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.how-it-works > p {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    font-size: 1.05rem;
}

.how-it-works > p:last-child {
    margin-top: 2rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #666;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.account-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(133, 171, 156, 0.25);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.account-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.08);
}

.account-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.account-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.98rem;
}

/* Eligibility & Pricing Sections — handled by .editorial pattern above */

/* Institutional note under Why Clancullen */
.institutional-note {
    margin-top: 1.5rem !important;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(133, 171, 156, 0.3);
    font-size: 0.9rem !important;
    color: #555;
    letter-spacing: 0.005em;
}

/* Section eyebrow (small line under section heading, e.g. "Free, by email") */
.section-eyebrow {
    margin-top: 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

/* Daily market brief section */
.brief.editorial {
    background-color: var(--secondary-color);
    border-top: 1px solid rgba(133, 171, 156, 0.2);
}

.brief-lede {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.75rem !important;
    color: var(--primary-color) !important;
}

.brief-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
    row-gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    flex-direction: column;
}

.brief-form .form-row:first-child,
.brief-form .form-row:nth-child(2) {
    grid-column: span 1;
}

.brief-form .form-row:nth-child(3),
.brief-form .form-row-check,
.brief-form .brief-submit,
.brief-form .form-status {
    grid-column: 1 / -1;
}

.form-row-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-row label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.form-row .hint {
    font-weight: 400;
    color: #888;
    margin-left: 0.4rem;
}

.form-row input[type="email"],
.form-row input[type="text"] {
    padding: 0.7rem 0.85rem;
    font-family: var(--primary-font);
    font-size: 0.97rem;
    color: var(--text-color);
    background-color: #fff;
    border: 1px solid rgba(133, 171, 156, 0.45);
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input[type="email"]:focus,
.form-row input[type="text"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.12);
}

.form-row-check {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.check-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-color);
    font-weight: 400;
    letter-spacing: 0;
    cursor: pointer;
}

.check-label input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.check-label a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.check-label a:hover {
    border-bottom-color: var(--accent-color);
}

.brief-submit {
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    font-family: var(--primary-font);
    font-size: 0.97rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    justify-self: start;
}

.brief-submit:hover:not(:disabled) {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.brief-submit:disabled {
    background-color: #999;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 !important;
    min-height: 1.5em;
}

.form-status.error {
    color: #b03030;
}

.form-status.success {
    color: var(--accent-hover);
}

.brief-advice {
    margin-top: 1.5rem !important;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(133, 171, 156, 0.3);
    font-size: 0.82rem !important;
    line-height: 1.6 !important;
    color: #666 !important;
    font-style: italic;
}

/* Footer brief link — quiet anchor to the main signup section */
.footer-brief-link {
    margin: 0 0 0.85rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.footer-brief-link a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    opacity: 0.85;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.footer-brief-link a:hover {
    opacity: 1;
    border-bottom-color: var(--gold);
}

.inline-cta {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-color);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.inline-cta:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--accent-hover);
}

/* Risks Section */
.risks {
    padding: 4rem 2rem;
    background-color: var(--secondary-color);
    border-top: 1px solid rgba(133, 171, 156, 0.2);
}

.risks h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.risk-grid {
    display: block;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.risk-card {
    background: transparent;
    padding: 1.5rem 0;
    border: none;
    border-top: 1px solid rgba(133, 171, 156, 0.35);
    border-radius: 0;
}

.risk-card:first-child {
    border-top: none;
    padding-top: 0;
}

.risk-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.risk-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.97rem;
    margin: 0;
}

.general-advice {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Approved securities lookup */
.securities-lookup.editorial {
    background-color: var(--light-bg);
}

.lookup-lede {
    font-size: 1.05rem !important;
    margin-bottom: 1.5rem !important;
}

.lookup-widget {
    max-width: 640px;
}

.lookup-search {
    position: relative;
}

.lookup-input {
    width: 100%;
    padding: 0.95rem 1.1rem;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.05rem;
    color: var(--primary-color);
    background-color: #ffffff;
    border: 1px solid rgba(26, 51, 44, 0.18);
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.lookup-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.12);
}

.lookup-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid rgba(26, 51, 44, 0.12);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(26, 51, 44, 0.12);
    max-height: 320px;
    overflow-y: auto;
}

.lookup-suggestion {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    column-gap: 0.85rem;
    padding: 0.55rem 0.9rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-color);
}

.lookup-suggestion:hover,
.lookup-suggestion.is-active {
    background-color: var(--light-bg);
}

.lookup-suggestion-code {
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.02em;
}

.lookup-suggestion-name {
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lookup-suggestion-lvr {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 0.02em;
}

.lookup-result {
    margin-top: 1.5rem;
}

.lookup-result:empty {
    display: none;
}

.lookup-card {
    background-color: #ffffff;
    border: 1px solid rgba(26, 51, 44, 0.12);
    border-left: 4px solid var(--accent-color);
    border-radius: 6px;
    padding: 1.5rem 1.6rem;
}

.lookup-card.is-prime { border-left-color: var(--gold); }
.lookup-card.is-mid { border-left-color: var(--accent-color); }
.lookup-card.is-spec { border-left-color: #a68a4f; }
.lookup-card.is-notfound { border-left-color: #b85c5c; }

.lookup-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.lookup-card-id {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.lookup-card-code {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.01em;
    line-height: 1.1;
}

.lookup-card-name {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.4;
}

.lookup-card-lvr {
    text-align: right;
    flex-shrink: 0;
}

.lookup-card-lvr-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.lookup-card-lvr-pct {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-left: 0.1rem;
}

.lookup-card-lvr-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #777;
    margin-top: 0.35rem;
}

.lookup-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    margin: 1.25rem 0 0;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(26, 51, 44, 0.08);
}

.lookup-card-stats > div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.lookup-card-stats dt {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #777;
    font-weight: 500;
}

.lookup-card-stats dd {
    margin: 0;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
}

.lookup-card-body {
    margin: 1rem 0 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    color: var(--text-color) !important;
}

.lookup-card-cta {
    margin: 1.1rem 0 0 !important;
    font-size: 0.95rem !important;
}

.inline-cta {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.inline-cta:hover {
    border-bottom-color: var(--accent-color);
}

.lookup-meta {
    margin: 1rem 0 0 !important;
    font-size: 0.78rem !important;
    color: #777 !important;
    letter-spacing: 0.02em;
}

.lookup-meta-sep {
    margin: 0 0.5rem;
    color: rgba(26, 51, 44, 0.3);
}

.lookup-disclaimer {
    margin: 0.6rem 0 0 !important;
    font-size: 0.78rem !important;
    line-height: 1.55 !important;
    color: #888 !important;
    font-style: italic;
}

@media (max-width: 560px) {
    .lookup-card-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .lookup-card-lvr {
        text-align: left;
    }

    .lookup-card-stats {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .lookup-suggestion {
        grid-template-columns: 60px 1fr auto;
        column-gap: 0.6rem;
        font-size: 0.9rem;
    }
}

/* Mobile adjustments for new sections */
@media (max-width: 768px) {
    .value-prop {
        padding: 3rem 1.25rem 1.5rem;
    }

    .pillars {
        gap: 0;
        margin-bottom: 2rem;
    }

    .pillars li {
        font-size: 0.75rem;
        padding: 0 1rem;
        letter-spacing: 0.28em;
    }

    .lede {
        font-size: 1.05rem;
    }

    .features {
        padding: 1.5rem 1.25rem 3rem;
    }

    .editorial,
    .risks {
        padding: 3rem 1.25rem;
    }

    .editorial .section-inner {
        grid-template-columns: 1fr;
        row-gap: 1.5rem;
    }

    .editorial .section-heading {
        padding-top: 0.75rem;
    }

    .editorial .section-heading h2 {
        font-size: 1.4rem;
    }

    .editorial .section-body p {
        font-size: 1rem;
    }

    .brief-form {
        grid-template-columns: 1fr;
        row-gap: 0.9rem;
    }

    .brief-form .form-row:first-child,
    .brief-form .form-row:nth-child(2) {
        grid-column: 1 / -1;
    }

    .brief-lede {
        font-size: 1.02rem !important;
    }

    .footer-signup-form {
        flex-direction: column;
        gap: 0.55rem;
    }

    .footer-signup-form button {
        width: 100%;
    }

    .account-grid {
        gap: 1.25rem;
    }

    .risk-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .pillars {
        gap: 0.5rem 0;
    }

    .pillars li {
        padding: 0 0.75rem;
        font-size: 0.7rem;
    }

    .pillars li + li::before {
        height: 10px;
    }
}

/* Tablet (mid) — keep editorial two-column readable on narrow desktops */
@media (max-width: 1024px) and (min-width: 769px) {
    .editorial .section-inner {
        grid-template-columns: 180px 1fr;
        column-gap: 2.5rem;
    }

    .editorial .section-heading h2 {
        font-size: 1.4rem;
    }

    .hero h2 {
        font-size: 2.75rem;
    }

    .features-grid {
        gap: 2rem;
    }

    .value-prop {
        padding: 3rem 2rem 1.5rem;
    }
}
