@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/source-sans-pro-v24/latin-300.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-sans-pro-v24/latin-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-sans-pro-v24/latin-600.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/source-sans-pro-v24/latin-700.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/source-sans-pro-v24/latin-900.woff2") format("woff2"); }

:root {
    --white: #ffffff;
    --black: #1a1a1a;
    /* Brand Colors - Creative Burgundy Palette */
    --burgundy-primary: #7A1F35;
    --burgundy-secondary: #5a1728;
    /* Legacy purple aliases for gradual migration */
    --purple-primary: #7A1F35;
    --purple-secondary: #5a1728;
    /* Base and neutral tones */
    --base-offwhite: #FAF7F5;
    --gray-light: #FAF7F5;
    --gray-medium: #e0e0e0;
    --gray-dark: #333333;
    /* Accent colors */
    --accent-gold: #C48F65;
    --highlight-blush: #F7E4E8;
}

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Institutional readiness notices */
.institutional-notice {
    background: #f6f0ec;
    border: 1px solid rgba(122, 31, 53, 0.22);
    border-left: 4px solid var(--burgundy-primary);
    border-radius: 12px;
    color: var(--gray-dark);
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
}

.institutional-notice strong {
    color: var(--burgundy-primary);
}

.institutional-notice a,
.footer-institutional a,
.status-card a {
    color: var(--burgundy-primary);
    font-weight: 700;
}

.footer-institutional {
    border-top: 1px solid var(--gray-medium);
    color: var(--gray-dark);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
}

.footer-institutional a {
    color: var(--purple-primary);
}

.status-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 2rem 0;
}

.status-card {
    background: white;
    border: 1px solid var(--gray-medium);
    border-radius: 16px;
    padding: 1.5rem;
}

.status-card h3 {
    color: var(--burgundy-primary);
    margin-bottom: 0.75rem;
}

.status-card ul {
    padding-left: 1.2rem;
}

.status-label {
    display: inline-block;
    background: var(--highlight-blush);
    border-radius: 999px;
    color: var(--burgundy-secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.7rem;
    text-transform: uppercase;
}

@media (max-width: 820px) {
    .status-grid {
        grid-template-columns: 1fr;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    line-height: 1.1;
}

.logo .symbol {
    display: inline-flex;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    color: white;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.logo .symboltransparent {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    color: white;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.logo .symboltransparent img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.nav-links a:not(.cta-button) {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

.cta-button {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    display: inline-block;
    /* Mobile touch improvements */
    min-height: 44px; /* Apple's recommended minimum touch target */
    min-width: 44px;
    -webkit-tap-highlight-color: rgba(147, 39, 143, 0.3);
    touch-action: manipulation; /* Prevents double-tap zoom on mobile */
    cursor: pointer;
    /* Ensure proper alignment with min-height */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Fix z-index to ensure button stays above visual elements */
    position: relative;
    z-index: 10;
    /* Ensure text stays white on hover */
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(147, 39, 143, 0.4);
    background: linear-gradient(135deg, #a73399, #7a3ba3);
    color: #ffffff;
}

.cta-button:visited {
    color: #ffffff;
}

/* Mobile-specific touch states */
.cta-button:active {
    transform: translateY(0px);
    box-shadow: 0 5px 15px rgba(147, 39, 143, 0.4);
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .cta-button {
        -webkit-appearance: none;
        -webkit-user-select: none;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 2rem 0;  /* Increased from 80px to account for fixed nav height */
    background: linear-gradient(135deg, rgba(147, 39, 143, 0.05), rgba(102, 45, 145, 0.05));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.hero-text h1 .gradient-text {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-dark);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1; /* Lower than CTA button */
}

.floating-symbol {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    font-weight: 900;
    box-shadow: 0 20px 60px rgba(147, 39, 143, 0.3);
    position: relative;
    z-index: 1; /* Lower than CTA button */
}

.floating-symbol img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.orbit {
    position: absolute;
    border: 2px dashed rgba(147, 39, 143, 0.2);
    border-radius: 50%;
    z-index: 1; /* Lower than CTA button */
}

.orbit-1 {
    width: 400px;
    height: 400px;
}

.orbit-2 {
    width: 500px;
    height: 500px;
}

.orbit-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--purple-primary);
    border-radius: 50%;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Value Props */
.value-props {
    padding: 3rem 0 5rem 0;
    background: var(--gray-light);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.value-card p {
    color: var(--gray-dark);
    line-height: 1.8;
}

/* What is Copyright */
.what-is-copyright {
    padding: 5rem 0;
    background: white;
}

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

.copyright-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.copyright-intro p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    line-height: 1.8;
}

.copyright-principles h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    margin-bottom: 3rem;
}

.principle-card {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--purple-primary);
}

.principle-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple-primary);
    margin-bottom: 1rem;
}

.principle-card p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.principle-card p:last-child {
    margin-bottom: 0;
}

.copyright-source {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-medium);
}

.copyright-source p {
    color: var(--gray-dark);
    font-size: 1rem;
}

.copyright-source a {
    color: var(--purple-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.copyright-source a:hover {
    color: var(--purple-secondary);
    text-decoration: underline;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background: var(--gray-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--black);
}

.section-header p {
    font-size: 1.3rem;
    color: var(--gray-dark);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    margin: 0 auto 2rem;
}

.step h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.step p {
    color: var(--gray-dark);
    line-height: 1.8;
}

/* The Symbol Section */
.symbol-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(147, 39, 143, 0.05), rgba(102, 45, 145, 0.05));
}

.symbol-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.symbol-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.traditional-symbol, .modern-symbol {
    text-align: center;
}

.symbol-display {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.traditional-symbol .symbol-display {
    background: var(--gray-light);
    color: var(--gray-dark);
}

.modern-symbol .symbol-display {
    /*!*background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));*!*/
    /*color: white;*/
    /*!*box-shadow: 0 10px 30px rgba(147, 39, 143, 0.3);*!*/
    background: var(--gray-light);
    color: var(--gray-dark);
}

.symbol-label {
    font-weight: 600;
    color: var(--gray-dark);
}

.symbol-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.symbol-text p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* UCE inline symbol styling */
.inline-symbol {
    vertical-align: middle;
    margin: 0;
    padding: 0;
    height: 1.5em;
    width: auto;
    display: inline-block;
    filter: contrast(1.1) brightness(0.9);
    line-height: 1;
}

/* Tighter spacing for footer copyright line */
.copyright .inline-symbol {
    margin: 0 0.2em 0 0;
}

/* UCE symbol in symbol-display containers */
.symbol-display img {
    height: 4rem;
    width: auto;
    filter: contrast(1.2) brightness(0.8);
    opacity: 0.95;
}

/* Hero Section Updates */
.hero-tagline {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--purple-primary);
    margin-bottom: 1rem;
}

.uce-definition {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(122, 31, 53, 0.06);
    border-left: 4px solid var(--purple-primary);
    border-radius: 0 8px 8px 0;
}

.uce-definition p {
    font-size: 1.1rem;
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 0;
}

.uce-definition a {
    color: var(--purple-primary);
    text-decoration: none;
    font-weight: 600;
}

.uce-definition a:hover {
    text-decoration: underline;
}

.uce-relationship {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(122, 31, 53, 0.05);
    border-left: 3px solid var(--purple-primary);
    border-radius: 0 8px 8px 0;
}

.uce-relationship a {
    color: var(--purple-primary);
    text-decoration: none;
    font-weight: 600;
}

.uce-relationship a:hover {
    text-decoration: underline;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-secondary {
    background: transparent;
    border: 2px solid var(--purple-primary);
    color: var(--purple-primary);
}

.cta-secondary:visited {
    color: var(--purple-primary);
}

.cta-secondary:hover,
.cta-secondary:visited:hover {
    background: var(--purple-primary);
    color: white;
}

/* Evidence Bridge Section */
.evidence-bridge {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(122, 31, 53, 0.03), rgba(90, 23, 40, 0.06));
}

.bridge-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.bridge-text p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.bridge-text p:last-child {
    margin-bottom: 0;
}

/* UCE Mark Section */
.uce-mark-section {
    padding: 5rem 0;
    background: white;
}

.uce-mark-content {
    display: grid;
    grid-template-columns: 0.9fr 1.5fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.uce-mark-showcase {
    text-align: center;
}

.uce-mark-display {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px auto 12px;
    background: none;
    box-shadow: none;
    border-radius: 0;
    width: auto;
    height: auto;
    padding: 0;
}

.uce-mark-display img {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    filter: none;
}

.mark-caption {
    font-size: 0.95rem;
    color: var(--gray-dark);
    font-style: italic;
    max-width: 320px;
    margin: 8px auto 0;
}

.uce-mark-explanation p {
    font-size: 1.15rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Mark Usage Section */
.mark-usage-section {
    padding: 5rem 0;
    background: var(--gray-light);
}

.usage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.usage-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.usage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.usage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.usage-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.75rem;
}

.usage-card p {
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.7;
}

.open-use-statement {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    border: 2px solid var(--purple-primary);
    max-width: 700px;
    margin: 0 auto;
}

.open-use-statement h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple-primary);
    margin-bottom: 1rem;
}

.open-use-statement p {
    font-size: 1.1rem;
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.open-use-statement p:last-child {
    margin-bottom: 0;
}

.enforcement-note {
    font-size: 0.95rem;
    color: var(--gray-dark);
    opacity: 0.85;
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-medium);
}

/* Section Label */
.section-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--purple-primary);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Mark Examples Section */
.mark-examples-section {
    padding: 5rem 0;
    background: white;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.example-card {
    text-align: center;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: 16px;
    transition: transform 0.3s;
}

.example-card:hover {
    transform: translateY(-3px);
}

.example-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.example-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.75rem;
}

.example-card p {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

.examples-cta {
    text-align: center;
}

/* Steps CTA */
.steps-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Opt-Out Section */
.opt-out-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(122, 31, 53, 0.05), rgba(90, 23, 40, 0.08));
}

.opt-out-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.opt-out-content p {
    font-size: 1.15rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.opt-out-content p:last-child {
    margin-bottom: 0;
    font-weight: 600;
}

/* Get Started Section */
.get-started {
    padding: 5rem 0;
    background: var(--black);
    color: white;
    text-align: center;
}

.get-started h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.get-started > .container > p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.get-started-ctas {
    margin-bottom: 0;
}

/* Footer Relationship */
.footer-relationship {
    text-align: center;
    padding: 1.5rem 0;
    margin-bottom: 1rem;
}

.footer-relationship p {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

.footer-relationship a {
    color: var(--purple-primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-relationship a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 3rem 0;
    background: var(--gray-light);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-content > .logo {
    align-self: center;
    flex: 0 0 auto;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    gap: 0.75rem;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.25;
    text-align: left;
}

.footer-content > .logo .symboltransparent {
    flex: 0 0 2.625rem;
    width: 2.625rem;
    height: 2.625rem;
}

.footer-brand-name {
    min-width: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    min-width: 0;
    gap: 0.75rem 1.5rem;
}

.footer-links a {
    flex: 0 0 auto;
    max-width: 100%;
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--purple-primary);
}

.copyright {
    color: var(--gray-dark);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-medium);
}

/* Tablet and small-laptop responsive */
@media (max-width: 1200px) {
    .logo {
        font-size: 1.35rem;
        gap: 0.4rem;
    }

    .logo .symboltransparent {
        width: 42px;
        height: 42px;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a:not(.cta-button) {
        font-size: 0.95rem;
    }

    .nav-links .cta-button {
        padding: 0.75rem 1.5rem;
    }

    .hero-content {
        gap: 2.5rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text h2 {
        font-size: 1.6rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .floating-symbol {
        width: 220px;
        height: 220px;
        font-size: 5.25rem;
    }

    .orbit-1 {
        width: 300px;
        height: 300px;
    }

    .orbit-2 {
        width: 380px;
        height: 380px;
    }
}

/* Tablet portrait and narrower */
@media (max-width: 1024px) {
    .nav-container {
        flex-direction: column;
        gap: 0.85rem;
        padding: 1rem 0;
    }

    .logo {
        justify-content: center;
        text-align: center;
        font-size: 1.2rem;
    }

    .logo .symboltransparent {
        width: 38px;
        height: 38px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
    }

    .hero {
        min-height: auto;
        padding: 150px 0 2rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 1rem;
    }

    .floating-symbol {
        width: 170px;
        height: 170px;
        font-size: 4rem;
    }

    .orbit-1 {
        width: 240px;
        height: 240px;
    }

    .orbit-2 {
        width: 300px;
        height: 300px;
    }

    .uce-definition {
        text-align: left;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.25rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .logo {
        font-size: 1.05rem;
        gap: 0.3rem;
        max-width: 100%;
    }

    .logo .symboltransparent {
        width: 34px;
        height: 34px;
    }

    .hero {
        padding: 100px 0 1rem 0;  /* Increased from 80px to account for fixed nav height */
    }

    .value-props {
        padding: 2rem 0 4rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        position: relative;
        z-index: 10; /* Ensure hero-text stays above hero-visual */
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-visual {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        z-index: 1; /* Lower than hero-text */
    }

    .floating-symbol {
        width: 180px;
        height: 180px;
        font-size: 4rem;
        /* Preserve all original properties for smooth rendering */
        border-radius: 50%;
        background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 900;
        box-shadow: 0 15px 45px rgba(147, 39, 143, 0.3);
        position: relative;
        /* Ensure smooth rendering on mobile */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .orbit-1 {
        width: 280px;
        height: 280px;
        /* Preserve original border properties */
        border: 2px dashed rgba(147, 39, 143, 0.2);
        border-radius: 50%;
        position: absolute;
    }

    .orbit-2 {
        width: 360px;
        height: 360px;
        /* Preserve original border properties */
        border: 2px dashed rgba(147, 39, 143, 0.2);
        border-radius: 50%;
        position: absolute;
    }

    .orbit-dot {
        width: 14px;
        height: 14px;
        top: -7px;
        /* Preserve all original properties */
        background: var(--purple-primary);
        border-radius: 50%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

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

    .copyright-content {
        padding: 0 1rem;
        max-width: 100%;
    }

    .copyright-intro {
        margin-bottom: 2rem;
    }

    .copyright-intro p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .copyright-principles h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .principle-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
        /* Improve mobile touch and visual feedback */
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        border-left: 3px solid var(--purple-primary);
    }

    .principle-card:active {
        transform: translateY(1px);
    }

    .principle-card h4 {
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .principle-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .copyright-source {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .copyright-source p {
        font-size: 0.9rem;
    }

    .symbol-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    /* Mobile-specific CTA button improvements */
    .cta-button {
        padding: 1rem 2.5rem; /* Larger padding for easier tapping */
        font-size: 1.1rem; /* Slightly larger text */
        margin: 1rem 0; /* Add some margin for spacing */
    }

    /* Ensure all interactive elements have proper touch targets */
    .nav-links a,
    .footer-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(147, 39, 143, 0.2);
        touch-action: manipulation;
    }

    /* Hero CTAs Mobile */
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .uce-relationship {
        text-align: left;
        font-size: 1rem;
    }

    .uce-definition {
        text-align: left;
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .uce-definition p {
        font-size: 1rem;
    }

    .section-label {
        font-size: 0.75rem;
    }

    /* UCE Mark Section Mobile */
    .uce-mark-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .uce-mark-display img {
        max-width: 200px;
    }

    /* Usage Cards Mobile */
    .usage-cards {
        grid-template-columns: 1fr;
    }

    /* Examples Grid Mobile */
    .examples-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Get Started Mobile */
    .get-started h2 {
        font-size: 2rem;
    }

    /* Bridge Section Mobile */
    .bridge-text p {
        font-size: 1.1rem;
    }

    /* Footer Links Mobile */
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* Additional mobile optimization for very small screens */
@media (max-width: 480px) {
    .hero-visual {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .floating-symbol {
        width: 140px;
        height: 140px;
        font-size: 3rem;
        /* Maintain all quality properties */
        border-radius: 50%;
        background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 900;
        box-shadow: 0 12px 35px rgba(147, 39, 143, 0.25);
        position: relative;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .orbit-1 {
        width: 220px;
        height: 220px;
        border: 2px dashed rgba(147, 39, 143, 0.2);
        border-radius: 50%;
        position: absolute;
    }

    .orbit-2 {
        width: 280px;
        height: 280px;
        border: 2px dashed rgba(147, 39, 143, 0.2);
        border-radius: 50%;
        position: absolute;
    }

    .orbit-dot {
        width: 12px;
        height: 12px;
        top: -6px;
        background: var(--purple-primary);
        border-radius: 50%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Copyright section optimizations for small screens */
    .copyright-intro h2 {
        font-size: 2rem;
    }

    .copyright-intro h3 {
        font-size: 1.1rem;
    }

    .copyright-principles h3 {
        font-size: 1.6rem;
    }

    .principle-card {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
        border-radius: 10px;
    }

    .principle-card h4 {
        font-size: 1.2rem;
    }

    .principle-card p {
        font-size: 0.9rem;
    }

    /* Examples Grid Very Small */
    .examples-grid {
        grid-template-columns: 1fr;
    }

    /* Section Headers Very Small */
    .section-header h2 {
        font-size: 2rem;
    }

    /* UCE Mark Display Very Small */
    .uce-mark-display img {
        max-width: 170px;
    }
}

/* Tablet optimization */
@media (min-width: 481px) and (max-width: 768px) {
    .floating-symbol {
        width: 200px;
        height: 200px;
        font-size: 5rem;
        /* Ensure all quality properties are maintained */
        border-radius: 50%;
        background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 900;
        box-shadow: 0 18px 50px rgba(147, 39, 143, 0.3);
        position: relative;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .orbit-1 {
        width: 320px;
        height: 320px;
        border: 2px dashed rgba(147, 39, 143, 0.2);
        border-radius: 50%;
        position: absolute;
    }

    .orbit-2 {
        width: 400px;
        height: 400px;
        border: 2px dashed rgba(147, 39, 143, 0.2);
        border-radius: 50%;
        position: absolute;
    }

    .orbit-dot {
        width: 16px;
        height: 16px;
        top: -8px;
        background: var(--purple-primary);
        border-radius: 50%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-symbol {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--burgundy-primary), var(--burgundy-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-symbol img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   UCE Download Section
   ============================================ */

.uce-download-section {
    padding: 5rem 0;
    background: white;
    margin-bottom: 80px;
}

.uce-download-body {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Primary CTA block */
.uce-download-cta {
    margin-bottom: 1.75rem;
}

/* Primary CTA button modifier */
.uce-primary-cta {
    font-size: 1.1rem;
    padding: 14px 32px;
}

/* Secondary pill link row */
.uce-secondary-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin: 0 0 1.25rem;
    list-style: none;
    padding: 0;
}

.uce-secondary-links li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Individual pill links */
.uce-pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(122, 31, 53, 0.48);
    border-radius: 50px;
    color: var(--purple-primary);
    background: rgba(122, 31, 53, 0.06);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    opacity: 0.92;
    transition: opacity 0.2s, background 0.2s, border-color 0.2s;
    min-height: 36px;
    white-space: nowrap;
}

.uce-pill-link:hover {
    opacity: 1;
    background: rgba(122, 31, 53, 0.1);
    border-color: rgba(122, 31, 53, 0.62);
}

/* Helper note */
.uce-helper-note {
    font-size: 0.875rem;
    color: var(--gray-dark);
    opacity: 0.7;
    font-style: italic;
}

/* Resolution expectation line in UCE Mark section */
.mark-resolve-note {
    font-size: 1rem;
    color: var(--gray-dark);
    font-style: italic;
    opacity: 0.8;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-medium);
}

/* UCE Download Section - Responsive */
@media (max-width: 768px) {
    .uce-secondary-links {
        gap: 0.6rem;
    }

    .uce-download-section {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .uce-download-section {
        padding: 3rem 0;
        margin-bottom: 30px;
    }
}

/* ==========================================================================
   Framework pages - /framework and /framework/v1
   Standards-style components: hero, comparison table, document cards,
   reference architecture list, verification steps, research grid,
   spec page sticky TOC, version banner, spec body typography.
   ========================================================================== */

/* Framework hero */
.framework-hero {
    padding: 140px 0 4rem 0;
    background: linear-gradient(135deg, rgba(122, 31, 53, 0.05), rgba(90, 23, 40, 0.06));
}

.framework-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--purple-primary);
    margin-bottom: 1rem;
}

.framework-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--black);
    max-width: 880px;
}

.framework-subhead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gray-dark);
    max-width: 820px;
    margin-bottom: 2rem;
}

.framework-positioning {
    background: white;
    border-left: 4px solid var(--purple-primary);
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    max-width: 880px;
    margin: 0 0 2rem 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.framework-positioning p {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.framework-positioning p:last-child { margin-bottom: 0; }

.framework-positioning-callout {
    font-weight: 700;
    color: var(--black) !important;
    font-size: 1.05rem;
    border-top: 1px solid var(--gray-medium);
    padding-top: 0.75rem;
    margin-top: 0.25rem;
}

.framework-hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Generic framework section */
.framework-section {
    padding: 5rem 0;
    background: white;
}
.framework-bg-alt { background: var(--gray-light); }

.framework-note {
    margin-top: 2rem;
    text-align: center;
    font-style: italic;
    color: var(--gray-dark);
    font-size: 1.05rem;
}

/* Provides / Does Not Provide comparison */
.framework-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.framework-compare-col {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--gray-medium);
}

.framework-compare-provides { border-top-color: var(--purple-primary); }
.framework-compare-not { border-top-color: var(--gray-dark); }

.framework-compare-col h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--black);
}

.framework-compare-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.framework-compare-col li {
    padding: 0.65rem 0 0.65rem 1.75rem;
    border-bottom: 1px solid var(--gray-medium);
    color: var(--gray-dark);
    line-height: 1.5;
    position: relative;
}

.framework-compare-col li:last-child { border-bottom: none; }

.framework-compare-provides li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--purple-primary);
    font-weight: 700;
}

.framework-compare-not li::before {
    content: " - ";
    position: absolute;
    left: 0;
    color: var(--gray-dark);
    font-weight: 700;
}

/* Document cards (framework documents grid) */
.doc-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.doc-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--gray-medium);
    border-radius: 14px;
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--purple-primary);
}

.doc-card-primary {
    border-left: 4px solid var(--purple-primary);
}

.doc-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.doc-card-type,
.doc-card-status {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: var(--gray-light);
    color: var(--gray-dark);
}

.doc-card-status {
    background: rgba(122, 31, 53, 0.08);
    color: var(--purple-primary);
}

.doc-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.doc-card-desc {
    color: var(--gray-dark);
    line-height: 1.55;
    font-size: 0.97rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.doc-card-date {
    color: var(--gray-dark);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.doc-card-cta {
    color: var(--purple-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.doc-download-row {
    text-align: center;
    margin-top: 2rem;
}

.doc-download-link {
    color: var(--purple-primary);
    font-weight: 600;
    text-decoration: underline;
}

/* Reference architecture list */
.ref-arch-grid {
    max-width: 880px;
    margin: 0 auto;
}

.ref-arch-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ref-arch-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-medium);
}

.ref-arch-list li:last-child { border-bottom: none; }

.ref-arch-label {
    font-weight: 700;
    color: var(--black);
}

.ref-arch-value {
    color: var(--gray-dark);
    font-family: 'Source Sans Pro', monospace;
    text-align: right;
}

/* Verification steps */
.verify-steps {
    list-style: none;
    counter-reset: none;
    padding: 0;
    max-width: 880px;
    margin: 0 auto 2rem auto;
}

.verify-steps li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-medium);
}

.verify-steps li:last-child { border-bottom: none; }

.verify-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.verify-step-text {
    color: var(--gray-dark);
    line-height: 1.55;
    padding-top: 0.4rem;
}

.verify-cta-row,
.framework-cta-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Research grid */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.research-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-medium);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.research-card:hover {
    transform: translateY(-3px);
    border-color: var(--purple-primary);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.research-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.research-card p {
    color: var(--gray-dark);
    line-height: 1.55;
    font-size: 0.95rem;
}

.framework-cta-section { background: var(--gray-light); }

/* Navigation: keep CbyUCE link visually subordinate */
.nav-links .nav-cbyuce {
    padding: 0.55rem 1.1rem;
    font-size: 0.92rem;
}

/* ==========================================================================
   /framework/v1 - Spec page
   ========================================================================== */

.spec-version-banner {
    background: linear-gradient(135deg, rgba(122, 31, 53, 0.08), rgba(90, 23, 40, 0.10));
    border-bottom: 1px solid var(--gray-medium);
    padding: 1rem 0;
    margin-top: 90px;
}

.spec-version-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.spec-version-pill {
    display: inline-block;
    background: var(--purple-primary);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.spec-version-meta {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.spec-version-meta a {
    color: var(--purple-primary);
    font-weight: 600;
    text-decoration: underline;
}

.spec-page {
    background: white;
    padding-bottom: 5rem;
}

.main-content.spec-page {
    padding-top: 140px;
}

.spec-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    padding-top: 2.5rem;
}

.spec-toc,
.spec-content {
    min-width: 0;
}

/* Sidebar TOC */
.spec-toc {
    position: sticky;
    top: 110px;
    align-self: start;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding-right: 0.5rem;
    border-right: 1px solid var(--gray-medium);
}

.spec-toc-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--purple-primary);
    margin-bottom: 0.75rem;
}

.spec-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: none;
}

.spec-toc-list li {
    margin-bottom: 0.4rem;
}

.spec-toc-list a {
    display: block;
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.4;
    padding: 0.25rem 0.5rem 0.25rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.6rem;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.spec-toc-list a:hover {
    color: var(--purple-primary);
    border-left-color: var(--purple-primary);
    background: rgba(122, 31, 53, 0.04);
}

/* Spec content typography */
.spec-content {
    max-width: 820px;
    color: var(--black);
}

.spec-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-medium);
}

.spec-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--purple-primary);
    margin-bottom: 0.5rem;
}

.spec-content h1 {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.spec-subtitle {
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

.spec-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem 1.5rem;
    font-size: 0.92rem;
    color: var(--gray-dark);
}

.spec-meta div { display: flex; gap: 0.4rem; }
.spec-meta dt { font-weight: 700; color: var(--black); }
.spec-meta dd { margin: 0; }

.spec-disclaimer {
    background: rgba(122, 31, 53, 0.05);
    border: 1px solid rgba(122, 31, 53, 0.18);
    border-left: 4px solid var(--purple-primary);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.spec-disclaimer p {
    color: var(--gray-dark);
    line-height: 1.65;
    margin-bottom: 0.75rem;
    font-size: 0.97rem;
}

.spec-disclaimer p:last-child { margin-bottom: 0; }

.spec-content section {
    margin-bottom: 3rem;
    scroll-margin-top: 110px;
}

.spec-content h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-medium);
}

.spec-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--purple-primary);
    margin: 1.5rem 0 0.6rem 0;
}

.spec-content p {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.spec-content ul,
.spec-content ol {
    margin: 0 0 1.25rem 0;
    padding-left: 1.5rem;
    color: var(--gray-dark);
    line-height: 1.65;
}

.spec-content li {
    margin-bottom: 0.35rem;
}

.spec-content code {
    background: var(--gray-light);
    padding: 0.1em 0.4em;
    border-radius: 4px;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.92em;
    color: var(--burgundy-secondary);
}

.spec-code {
    background: #1f1a1c;
    color: #f5e9ec;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 1rem 0 1.5rem 0;
}

.spec-code code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

.spec-quote {
    background: var(--gray-light);
    border-left: 4px solid var(--purple-primary);
    padding: 1rem 1.25rem;
    color: var(--gray-dark);
    font-style: italic;
    margin: 1rem 0 1.5rem 0;
    border-radius: 0 8px 8px 0;
    line-height: 1.65;
}

.spec-informative {
    color: var(--gray-dark);
    font-style: italic;
    font-size: 0.95rem;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem 0;
    font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
    text-align: left;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--gray-medium);
    vertical-align: top;
    color: var(--gray-dark);
    line-height: 1.5;
}

.spec-table th {
    background: var(--gray-light);
    color: var(--black);
    font-weight: 700;
}

.spec-table-record code,
.spec-table-record a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.spec-pill-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spec-pill-list li {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0;
}

.spec-pill-list-good li {
    background: rgba(122, 31, 53, 0.08);
    color: var(--purple-primary);
    border: 1px solid rgba(122, 31, 53, 0.2);
}

.spec-pill-list-bad li {
    background: var(--gray-light);
    color: var(--gray-dark);
    border: 1px solid var(--gray-medium);
    text-decoration: line-through;
}

.spec-end {
    text-align: center;
    color: var(--gray-dark);
    font-style: italic;
    margin-top: 2rem;
}

/* ==========================================================================
   Homepage: Framework & Verification section
   ========================================================================== */

.framework-promo {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(122, 31, 53, 0.04), rgba(196, 143, 101, 0.06));
}

.framework-promo-content {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.framework-promo-content p {
    font-size: 1.1rem;
    color: var(--gray-dark);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.framework-promo-ctas {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.framework-promo-ctas .cta-button {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* ==========================================================================
   Framework pages - responsive
   ========================================================================== */

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

    .spec-toc {
        position: static;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--gray-medium);
        padding-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .spec-toc-list {
        columns: 2;
        column-gap: 1.5rem;
    }

    .spec-toc-list li {
        break-inside: avoid;
    }

    .framework-hero h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    .framework-hero { padding: 120px 0 3rem 0; }
    .main-content.spec-page { padding-top: 100px; }
    .framework-hero h1 { font-size: 2rem; }
    .framework-subhead { font-size: 1.1rem; }

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

    .framework-section { padding: 3.5rem 0; }

    .ref-arch-list li {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }

    .ref-arch-value { text-align: left; }

    .spec-version-banner { margin-top: 80px; }

    .spec-version-banner .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .spec-content h1 { font-size: 1.8rem; }
    .spec-content h2 { font-size: 1.4rem; }
    .spec-content h3 { font-size: 1.05rem; }

    .spec-toc-list { columns: 1; }

    .spec-meta { grid-template-columns: 1fr; }

    .spec-table { font-size: 0.85rem; }
    .spec-table th, .spec-table td { padding: 0.5rem 0.6rem; }

}

@media screen and (max-width: 768px) {
    .spec-content p code,
    .spec-content li code,
    .spec-content td code,
    .spec-content a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}


/* Framework metadata block (standards-document feel) */
.framework-meta {
    margin-top: 2.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.025);
    border: 1px solid var(--gray-medium);
    border-left: 3px solid var(--purple-primary);
    border-radius: 6px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.55rem 1.75rem;
    font-size: 0.9rem;
    color: var(--gray-dark);
    max-width: 880px;
}

.framework-meta div {
    display: flex;
    gap: 0.45rem;
    align-items: baseline;
}

.framework-meta dt {
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.framework-meta dd {
    margin: 0;
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .framework-meta { grid-template-columns: 1fr; padding: 1rem 1.1rem; }
    .framework-meta div { flex-direction: column; gap: 0.1rem; }
}

/* Verification scope note */
.verify-scope-note {
    max-width: 880px;
    margin: 1.5rem auto 1.75rem auto;
    padding: 1rem 1.25rem;
    background: rgba(122, 31, 53, 0.04);
    border-left: 3px solid var(--purple-primary);
    border-radius: 4px;
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Print styles for /framework/v1 specification */
@media print {
    nav, .spec-version-banner, footer, .verify-cta-row, .doc-download-row { display: none !important; }
    .spec-toc { display: none !important; }
    .spec-layout { grid-template-columns: 1fr !important; display: block !important; }
    .spec-content { max-width: 100% !important; }
    .spec-page { padding: 0 !important; margin: 0 !important; }
    body { font-size: 11pt; color: #000; background: #fff; }
    .spec-content h1 { font-size: 18pt; page-break-after: avoid; }
    .spec-content h2 { font-size: 14pt; page-break-after: avoid; margin-top: 1.5em; }
    .spec-content h3 { font-size: 12pt; page-break-after: avoid; }
    .spec-content section { page-break-inside: auto; }
    .spec-content p, .spec-content li { orphans: 3; widows: 3; }
    .spec-table { page-break-inside: avoid; }
    a { color: #000; text-decoration: none; }
    a[href^="http"]::after, a[href^="/"]::after {
        content: " (" attr(href) ")";
        font-size: 0.85em;
        color: #555;
    }
}

/* UCE identity and introductory guide */
.logo .brand-wordmark { display: flex; flex-direction: column; gap: 0.18rem; }
.brand-wordmark strong { font-size: 1.55rem; letter-spacing: 0.04em; }
.brand-wordmark > span { font-size: 0.76rem; font-weight: 600; line-height: 1.25; }
.hero-text h1 .hero-brand-expansion { display: block; font-size: 0.58em; margin-top: 0.45rem; }
.hero-text h1 > .gradient-text { font-size: 1.35em; }
.hero-text .uce-guide-link { font-size: 1rem; }
.uce-guide-link a, .uce-introduction a, .uce-maintainer a { color: var(--purple-primary); text-decoration: underline; font-weight: 600; }
.uce-maintainer { margin-top: 1.75rem; color: var(--gray-dark); }
.uce-guide .spec-content { max-width: 900px; }
.uce-guide .guide-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin: 1.5rem 0 2rem; }
.uce-guide .guide-facts { display: grid; grid-template-columns: minmax(120px, 1fr) 3fr; gap: 0.65rem 1.5rem; padding: 1.5rem; background: var(--gray-light); border-radius: 12px; }
.uce-guide .guide-facts dt { font-weight: 700; }
.uce-guide .guide-facts dd { margin: 0; }
.uce-guide section { scroll-margin-top: 170px; }
@media (max-width: 600px) {
    .uce-guide.main-content.spec-page { padding-top: 190px; }
    .uce-guide .guide-facts { grid-template-columns: 1fr; gap: 0.35rem; }
    .uce-guide .guide-facts dd { margin-bottom: 0.75rem; }
}
