/* Lockette - 1930s Railroad Advertisement Aesthetic CSS */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@700&family=Federo&family=Jost:wght@400;700;900&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&family=Mrs+Saint+Delafield&display=swap');

/* CSS Variables */
:root {
    /* 1930s Railroad Palette - Updated */
    --ink-black: #1a1a1a;
    --paper-cream: #f4f1ea;
    --railroad-red: #a64b2a; /* Keep the current red */
    --navy-blue: #1e3a5f; /* Classic railroad navy */
    --brass-gold: #c9a961; /* Locomotive brass fittings */
    --forest-green: #2d5016; /* Pullman car green */
    --steel-gray: #5e6b75;
    
    /* Legacy color mappings for compatibility */
    --sunburst-amber: var(--brass-gold);
    --sunburst-brown: var(--railroad-red);
    --telecaster-blonde: #f4e8d0;
    --gibson-cherry: var(--railroad-red);
    --olympic-white: #faf8f3;
    --seafoam-green: var(--forest-green);
    
    /* Renamed from Santa Fe references */
    --santa-fe-turquoise: var(--navy-blue);
    --santa-fe-clay: var(--railroad-red);
    --union-pacific-yellow: var(--brass-gold);
    
    --newsprint: var(--paper-cream);
    --charcoal: var(--ink-black);
    --warm-gray: var(--steel-gray);
    --paper-white: #fffdf8;
    
    /* CRT terminal colors */
    --crt-green: #41FF00;
    --crt-amber: #FFB000;
    --crt-background: #0A0E0A;
    
    /* Typography - 1930s Railroad Fonts */
    --font-display: 'Jost', sans-serif;
    --font-script: 'Mrs Saint Delafield', cursive;
    --font-body: 'Old Standard TT', serif;
    --font-sans: 'Jost', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --font-slab: 'Bitter', serif;
    --font-deco: 'Federo', sans-serif;
    
    /* Textile texture overlay */
    --textile-overlay: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIi8+CjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiNjY2MiLz4KPC9zdmc+');

    /* Blueprint grid pattern */
    --blueprint-grid: 
        linear-gradient(to right, rgba(30, 58, 95, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(30, 58, 95, 0.1) 1px, transparent 1px);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--ink-black);
    background: var(--paper-cream);
    background-image: var(--textile-overlay);
    background-blend-mode: multiply;
    min-height: 100vh;
    font-size: 1.15rem;
    /* Reduce texture intensity */
    opacity: 1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--textile-overlay);
    background-blend-mode: multiply;
    opacity: 0.15; /* Reduced from default to improve readability */
    pointer-events: none;
    z-index: 0;
}

/* Magazine texture overlay - now using SVG pattern */
.page-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.02; /* Reduced from 0.05 */
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        var(--ink-black) 2px,
        var(--ink-black) 4px
    );
    mix-blend-mode: multiply;
}

.scan-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.5; /* Added opacity control */
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(26, 22, 17, 0.01) 3px, /* Reduced from 0.02 */
        rgba(26, 22, 17, 0.01) 6px
    );
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--paper-white);
    border-bottom: 3px double var(--ink-black);
    z-index: 100;
    box-shadow: 8px 8px 0 rgba(26, 22, 17, 0.1);
}

.navigation-bar {
    padding: 1.5rem 0;
}

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

.brand-mark {
    text-decoration: none;
    display: flex;
    align-items: baseline;
}

.brand-script {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--railroad-red);
    text-shadow: 1px 1px 0 var(--brass-gold);
}

.brand-tag {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--steel-gray);
    margin-left: 0.2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-black);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--navy-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--railroad-red);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-advertisement, .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 4rem;
    /* Updated background with blueprint grid */
    background: 
        var(--blueprint-grid),
        linear-gradient(to bottom, var(--paper-white) 0%, var(--paper-cream) 100%);
    background-size: 40px 40px, 100% 100%;
    background-position: 0 0, 0 0;
    position: relative;
    z-index: 1;
}

/* Add subtle crosshair marks at grid intersections */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 0 0, rgba(30, 58, 95, 0.15) 2px, transparent 2px);
    background-size: 40px 40px;
    background-position: 0 0;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1.5rem;
    background: var(--ink-black);
    color: var(--paper-white);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    border: 2px solid var(--brass-gold);
}

.main-headline {
    margin: 2rem 0;
}

.headline-prefix, .headline-suffix {
    display: block;
    font-family: var(--font-sans);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--steel-gray);
}

.headline-prefix { font-size: 1.2rem; margin-bottom: 1rem; }
.headline-suffix { 
    font-size: 1.5rem; 
    margin-top: 1rem;
    font-weight: 700;
}

.brand-display {
    display: block;
    font-family: var(--font-deco); /* Changed back from var(--font-script) to Art Deco font */
    font-size: clamp(4rem, 10vw, 8rem);
    color: #7eb3c4; /* Changed from var(--railroad-red) to light blue */
    text-shadow: 2px 2px 0 #4a7c8a, 4px 4px 0 var(--navy-blue); /* Changed brass-gold to darker teal/steel blue */
    margin: 1.5rem 0;
    letter-spacing: 0.05em;
    line-height: 0.9;
    position: relative;
    display: inline-block;
}

/* Trademark symbol without shadow effect */
.brand-display::after {
    content: attr(data-trademark);
    position: absolute;
    top: 0;
    right: -0.3em; /* Adjust positioning as needed */
    font-size: 0.3em;
    color: var(--ink-black);
    text-shadow: none; /* Remove the double shadow effect */
    font-family: var(--font-sans);
    font-weight: 400;
    vertical-align: super;
}

.hero-tagline {
    margin: 3rem 0;
}

.tagline-main {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-black);
    margin-bottom: 1rem;
}

.tagline-sub {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--steel-gray);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto;
    justify-content: center; /* Center the entire grid */
}

.feature-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--paper-white);
    border: 3px double var(--ink-black);
    box-shadow: 8px 8px 0 var(--navy-blue);
    /* Removed width: 100% and max-width to allow natural sizing */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-number {
    display: block;
    font-family: var(--font-deco);
    font-size: 3rem;
    color: var(--railroad-red);
    line-height: 1;
}

.stat-label {
    display: block;
    font-family: var(--font-slab);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-black);
    margin: 0.5rem 0;
}

.stat-detail {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--steel-gray);
}

.hero-cta {
    margin: 3rem 0;
}

/* Buttons - "Ticket Stub" Style */
.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--paper-white);
    background: var(--railroad-red);
    border: none;
    border-left: 2px dashed rgba(255, 255, 255, 0.5);
    border-right: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 6px 6px 0 rgba(26, 22, 17, 0.2);
    text-decoration: none; /* Added for anchor tags */
}

.primary-button:hover {
    background: var(--ink-black);
    color: var(--brass-gold);
    transform: translateY(-2px);
    box-shadow: 8px 8px 0 rgba(26, 22, 17, 0.3);
}

.primary-button.outline {
    background: transparent;
    color: var(--railroad-red);
    border: 3px solid var(--railroad-red);
    border-left: 3px dashed var(--railroad-red);
    border-right: 3px dashed var(--railroad-red);
}

.primary-button.outline:hover {
    background: var(--railroad-red);
    color: var(--paper-white);
}

/* Email Links - High Contrast Styling */
.email-link {
    color: var(--ink-black);
    text-decoration: none;
    background: var(--brass-gold);
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
    border: 1px solid var(--railroad-red);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.email-link:hover {
    background: var(--railroad-red);
    color: var(--paper-white);
    border-color: var(--ink-black);
}

.email-link-footer {
    color: var(--brass-gold);
    text-decoration: none;
    background: var(--ink-black);
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
    border: 1px solid var(--brass-gold);
    font-family: var(--font-mono);
    transition: all 0.3s ease;
}

.email-link-footer:hover {
    background: var(--brass-gold);
    color: var(--ink-black);
    border-color: var(--railroad-red);
}

/* Sections */
section {
    padding: 4rem 0;
    position: relative;
}

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

.section-title {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 3px double var(--ink-black);
}

.title-number {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--railroad-red);
}

.title-text {
    font-family: var(--font-deco);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-black);
}

/* Process Grid - Railroad Card Style */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.process-step {
    padding: 2rem;
    background: var(--paper-white);
    border: 3px double var(--ink-black);
    box-shadow: 8px 8px 0 var(--navy-blue);
    transition: transform 0.2s ease;
}

.process-step:hover {
    transform: translate(-2px, -2px);
    box-shadow: 10px 10px 0 var(--forest-green);
}

.step-number {
    font-family: var(--font-deco);
    font-size: 4rem;
    color: var(--brass-gold);
    text-shadow: -2px -2px 0 var(--ink-black), 2px -2px 0 var(--ink-black),
                 -2px 2px 0 var(--ink-black), 2px 2px 0 var(--ink-black);
    margin-bottom: 1rem;
    line-height: 1;
}

.step-title {
    font-family: var(--font-slab);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-black);
    margin-bottom: 1rem;
}

.step-description {
    font-family: var(--font-body);
    color: var(--ink-black);
    margin-bottom: 1rem;
    text-align: left; /* Changed from justify to left for better readability */
    line-height: 1.7;
}

.step-time {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--railroad-red);
    font-weight: 500;
}

/* Technical Note */
.technical-note {
    background: var(--crt-background);
    padding: 2rem;
    border: 3px solid var(--navy-blue);
    margin: 3rem 0;
    position: relative;
    box-shadow: 8px 8px 0 rgba(30, 58, 95, 0.3);
}

.note-label {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: var(--paper-cream);
    padding: 0 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--railroad-red);
    border: 2px solid var(--navy-blue);
}

.note-content {
    color: var(--crt-green);
}

/* Citation Links in Technical Note */
.citation-link {
    color: var(--crt-amber);
    text-decoration: none;
    font-weight: 700;
    padding: 0 0.2rem;
}

.citation-link:hover {
    text-shadow: 0 0 10px rgba(255, 176, 0, 0.8);
}

/* Technical Specification Sections */
.tech-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(65, 255, 0, 0.2);
}

.tech-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tech-heading {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--crt-amber);
    text-shadow: 0 0 5px rgba(255, 176, 0, 0.4);
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.tech-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--crt-green);
    text-shadow: 0 0 3px rgba(65, 255, 0, 0.3);
    margin-bottom: 0.75rem;
}

.tech-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.tech-list li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--crt-green);
    text-shadow: 0 0 3px rgba(65, 255, 0, 0.3);
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.tech-list li::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: var(--crt-amber);
    font-weight: bold;
}

.tech-code {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--crt-amber);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
    border: 1px solid rgba(255, 176, 0, 0.2);
    text-shadow: 0 0 5px rgba(255, 176, 0, 0.4);
}

.tech-detail {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.5;
    color: rgba(65, 255, 0, 0.8);
    text-shadow: 0 0 2px rgba(65, 255, 0, 0.2);
    margin-top: 0.5rem;
    padding-left: 2rem;
}

.tech-highlight {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--crt-amber);
    text-shadow: 0 0 8px rgba(255, 176, 0, 0.6);
    padding: 0.1rem 0.3rem;
    background: rgba(255, 176, 0, 0.1);
    border-radius: 2px;
}

/* Features Grid - Railroad Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    padding: 2rem;
    background: var(--paper-white);
    border: 3px double var(--ink-black);
    box-shadow: 8px 8px 0 var(--navy-blue);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 10px 10px 0 var(--forest-green);
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-family: var(--font-deco);
    font-size: 2rem;
    color: var(--paper-white);
    background: var(--railroad-red);
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 3px var(--brass-gold);
}

.feature-title {
    font-family: var(--font-slab);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-black);
    margin: 1rem 0;
}

.feature-description {
    font-family: var(--font-body);
    color: var(--ink-black);
    margin-bottom: 1.5rem;
    text-align: left; /* Changed from justify to left for better readability */
    line-height: 1.7;
    position: relative;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.5rem;
    margin: -0.5rem;
    border-radius: 2px;
}

.feature-spec {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 1rem;
    border-top: 2px solid var(--steel-gray);
}

.spec-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--steel-gray);
}

.spec-value {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink-black);
}

/* Security Display */
.security-display {
    background: var(--paper-cream);
    padding: 3rem;
    border: 3px double var(--ink-black);
    margin: 3rem 0;
    box-shadow: 8px 8px 0 rgba(26, 22, 17, 0.1);
}

.security-diagram {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.diagram-element {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 1.5rem;
    background: var(--paper-white);
    border: 2px solid var(--ink-black);
    box-shadow: 4px 4px 0 var(--navy-blue);
}

.element-label {
    display: block;
    font-family: var(--font-slab);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.element-detail {
    font-family: var(--font-body); /* Changed from font-mono for better readability */
    font-size: 0.9rem;
    color: var(--ink-black); /* Changed from railroad-red for better contrast */
    line-height: 1.5;
    margin-top: 0.5rem;
}

/* Security flow diagram - improved alignment and styling */
.diagram-flow {
    font-size: 2rem;
    color: var(--brass-gold);
    text-shadow: -1px -1px 0 var(--ink-black), 1px -1px 0 var(--ink-black),
                 -1px 1px 0 var(--ink-black), 1px 1px 0 var(--ink-black);
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.item-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--steel-gray);
    border: 2px solid var(--ink-black);
}

.item-indicator.active {
    background: var(--forest-green);
    box-shadow: 0 0 8px rgba(45, 80, 22, 0.5);
}

.item-text {
    font-family: var(--font-body);
    color: var(--ink-black);
}

/* Market Stats */
.market-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--paper-white);
    border: 3px double var(--ink-black);
    box-shadow: 8px 8px 0 var(--brass-gold);
}

.stat-value {
    font-family: var(--font-deco);
    font-size: 3rem;
    color: var(--railroad-red);
    line-height: 1;
}

.stat-value.crt {
    font-family: var(--font-mono);
    color: var(--crt-green);
    text-shadow: 0 0 5px rgba(65, 255, 0, 0.4);
}

.stat-growth {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--navy-blue);
    margin-top: 0.5rem;
}

/* Materials Grid */
.materials-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    font-weight: 900;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.material-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--paper-white);
    border: 2px solid var(--ink-black);
    text-decoration: none;
    color: var(--ink-black);
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 rgba(26, 22, 17, 0.1);
}

.material-link:hover {
    background: var(--brass-gold);
    border-color: var(--railroad-red);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--railroad-red);
}

/* Coming Soon styling */
.material-coming-soon {
    cursor: default;
    opacity: 0.7;
    background: var(--paper-cream);
}

.material-coming-soon:hover {
    background: var(--paper-cream);
    border-color: var(--ink-black);
    transform: none;
    box-shadow: 4px 4px 0 rgba(26, 22, 17, 0.1);
}

.material-coming-soon .material-format {
    color: var(--steel-gray);
    font-style: italic;
}

.material-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--steel-gray);
}

.material-name {
    flex: 1;
    font-family: var(--font-sans);
    font-weight: 700;
}

.material-format {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--railroad-red);
    font-weight: 700;
}

.investor-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Footer */
.main-footer {
    background: var(--ink-black);
    color: var(--paper-cream);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 6px solid var(--brass-gold);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand .brand-script {
    color: var(--brass-gold);
    text-shadow: 2px 2px 0 var(--railroad-red);
}

.footer-brand .brand-tag {
    color: var(--paper-cream);
}

.footer-tagline {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7eb3c4; /* Changed from var(--navy-blue) to a light blue for better contrast */
    margin-bottom: 2rem;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.info-item {
    text-align: center;
}

.info-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--steel-gray);
    margin-bottom: 0.25rem;
}

.info-value {
    display: block;
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brass-gold);
}

.info-value a {
    color: var(--brass-gold);
    text-decoration: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
    border: 1px solid var(--brass-gold);
}

.info-value a:hover {
    background: var(--brass-gold);
    color: var(--ink-black);
}

/* Legal Links - Consistent Styling */
.legal-link {
    color: var(--brass-gold);
    text-decoration: none;
    border-bottom: 1px solid var(--brass-gold);
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: var(--ink-black);
    background: var(--brass-gold);
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
}

/* References Section */
.references-section {
    background: var(--paper-white);
    padding: 4rem 0;
    border-top: 6px solid var(--navy-blue);
}

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

.references-intro {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--steel-gray);
    margin-bottom: 3rem;
    text-align: left; /* Changed from center for better readability */
    padding: 0 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reference-list {
    background: var(--paper-cream);
    padding: 2rem;
    border: 3px double var(--ink-black);
    box-shadow: 8px 8px 0 rgba(26, 22, 17, 0.1);
}

.reference-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--steel-gray);
    scroll-margin-top: 120px; /* Offset for fixed header when jumping to anchor */
}

.reference-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ref-number {
    font-family: var(--font-deco);
    font-size: 1.5rem;
    color: var(--railroad-red);
    font-weight: 700;
    min-width: 2rem;
}

.ref-content {
    flex: 1;
}

.ref-citation {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-black);
    margin-bottom: 0.5rem;
}

.ref-citation em {
    font-style: italic;
}

.ref-link {
    color: var(--navy-blue);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--navy-blue);
    word-break: break-all;
}

.ref-link:hover {
    color: var(--railroad-red);
    border-bottom-color: var(--railroad-red);
    background: rgba(166, 75, 42, 0.1);
}

.ref-description {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--steel-gray);
    font-style: italic;
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--brass-gold);
}

.references-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--ink-black);
    border: 2px solid var(--brass-gold);
}

.footer-heading {
    font-family: var(--font-slab);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brass-gold);
    margin-bottom: 1rem;
}

.resource-links {
    list-style: none;
    padding: 0;
}

.resource-links li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.resource-links li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--brass-gold);
    font-weight: bold;
}

.resource-link {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--paper-cream);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.resource-link:hover {
    color: var(--brass-gold);
    border-bottom-color: var(--brass-gold);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-features { 
        grid-template-columns: 1fr;
        max-width: 400px; /* Constrain width on mobile */
    }
    .market-stats { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-info { flex-direction: column; gap: 1.5rem; }
    .nav-links { flex-direction: column; gap: 1rem; }
    .security-diagram { flex-direction: column; }
    
    .reference-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .ref-number {
        min-width: auto;
    }
}
