/* 
 * WH Solutions — Brand Stylesheet
 * Design Language: Intentional restraint + imperfect precision
 * Performance-optimized for legacy hardware
 */

:root {
    --wh-brand: #1a3a6e;
    --wh-brand-muted: rgba(26, 58, 110, 0.15);
    --wh-brand-soft: rgba(26, 58, 110, 0.06);
    --wh-muted-text: rgba(26, 58, 110, 0.86);
    --wh-radius: 4px;
}

/* ================================
   CSS RESET & BASE STYLES
   ================================ */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f5f5f5;
    overflow-x: hidden;
}

/* Focus visible — accessibility, matches COLOURS_AND_FONTS */
:focus-visible {
    outline: 3px solid var(--wh-brand);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-120%);
    background: #fff;
    color: var(--wh-brand);
    border: 2px solid var(--wh-brand);
    border-radius: var(--wh-radius);
    font-weight: 500;
    padding: 0.6rem 0.8rem;
    z-index: 2200;
    transition: transform 0.2s ease;
}

.skip-link:focus-visible {
    transform: translateY(0.5rem);
}

/* ================================
   TYPOGRAPHY
   ================================ */

.wh-mark {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.solutions-mark {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.atlas-mark {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #000;
}

.product-link-wrapper {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease;
}

.product-link-wrapper:hover {
    transform: translateX(4px);
}

/* ================================
   LAYOUT CONTAINERS
   ================================ */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* ================================
   HEADER
   ================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    min-height: 72px;
    padding: 0.875rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--wh-brand-muted);
    transition: all 0.3s ease;
}

.logo-container {
    padding: clamp(1rem, 2vw, 1.5rem) 5vw;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo {
    height: clamp(40px, 5vw, 60px);
    width: auto;
    display: block;
    transition: opacity 0.4s ease;
    filter: grayscale(0%);
    border-style: solid;
    border-width: 1px;
    border-color: rgba(0, 0, 0, 1);
    overflow: hidden;
}

.logo:hover {
    opacity: 0.7;
    animation: breathe 2.5s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
    padding: 0 1.5rem;
    flex-wrap: wrap;
    flex: 1 1 auto;
    align-items: center;
}

.main-nav a {
    font-size: clamp(0.875rem, 1.4vw, 0.95rem);
    color: #2d3950;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 400;
    letter-spacing: 0.03em;
    padding: 0.25em 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--wh-brand);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--wh-brand);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--wh-brand);
    font-weight: 500;
}

.language-switcher {
    padding: 0 5vw;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 0 0 auto;
}

.language-switcher__form {
    display: inline-flex;
    gap: 0.25rem;
    background: transparent;
}

.language-switcher__btn {
    border: 0;
    background: transparent;
    color: #43526e;
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
}

.language-switcher__btn:hover {
    color: #22324f;
}

.language-switcher__btn.is-active {
    color: var(--wh-brand);
    font-weight: 500;
}

.language-switcher__btn.is-active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.5rem;
    right: 0.5rem;
    height: 1px;
    background: var(--wh-brand);
}

/* ================================
   HERO SECTION
   ================================ */

.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: clamp(120px, 15vh, 180px);
    padding-bottom: clamp(60px, 10vh, 100px);
    margin-bottom: clamp(80px, 12vh, 140px);
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, var(--wh-brand-soft) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: none;
    pointer-events: none;
    z-index: 0;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1.1;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2em;
}

.hero-title .wh-mark {
    display: block;
}

.hero-title .solutions-mark {
    display: block;
    font-size: 0.32em;
    margin-left: 0;
    margin-top: 0.1em;
    opacity: 0.9;
    letter-spacing: 0.14em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 400;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: -0.01em;
    color: #2a2a2a;
}

.hero-description {
    max-width: 620px;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.75;
    color: #4a4a4a;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    margin-top: -0.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   ATLAS SECTION
   ================================ */

.atlas-section {
    padding: clamp(80px, 12vh, 140px) 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--wh-brand-soft) 50%, #ffffff 100%);
    border-top: 1px solid var(--wh-brand-muted);
    border-bottom: 1px solid var(--wh-brand-muted);
    position: relative;
}

.section-marker {
    font-size: clamp(0.75rem, 1.4vw, 0.85rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--wh-brand);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.atlas-description {
    max-width: 680px;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.atlas-description p {
    margin-bottom: 1.2em;
}

.atlas-description p:last-child {
    margin-bottom: 0;
}

/* ================================
   SIGNUP FORM
   ================================ */

.signup-container {
    max-width: 600px;
    margin-top: clamp(3rem, 6vw, 5rem);
}

.signup-form {
    position: relative;
}

.form-group {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
    position: relative;
}

.form-group input[type="email"] {
    flex: 1;
    padding: clamp(0.9rem, 2vw, 1.1rem) clamp(1.2rem, 2.5vw, 1.5rem);
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--wh-radius);
    background-color: #fafafa;
    color: #1a1a1a;
    transition: all 0.3s ease;
    outline: 2px solid transparent;
}

.form-group input[type="email"]:focus {
    border-color: var(--wh-brand);
    background-color: #ffffff;
    outline: 2px solid transparent;
    box-shadow: 0 0 0 1px var(--wh-brand);
}

.form-group input[type="email"]::placeholder {
    color: #5a6983;
}

.submit-btn {
    padding: clamp(0.9rem, 2vw, 1.1rem) clamp(1.8rem, 3.5vw, 2.5rem);
    background: #ffffff;
    color: var(--wh-brand);
    border: 1px solid var(--wh-brand-muted);
    border-radius: var(--wh-radius);
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6em;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: var(--wh-brand-soft);
    border-color: var(--wh-brand);
    color: var(--wh-brand);
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(26, 58, 110, 0.12);
}

.submit-btn:active {
    transform: translateX(0);
}

.btn-arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
    display: inline-block;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.form-note {
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
    color: var(--wh-muted-text);
    line-height: 1.5;
    margin-top: 0.8rem;
}

.signup-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 0.7rem;
}

.signup-consent input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-top: 0.2rem;
    accent-color: var(--wh-brand);
}

.signup-consent label {
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
    line-height: 1.45;
    color: var(--wh-muted-text);
}

/* Success Message Styling */
.alert {
    padding: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, #f8f8f8 0%, #f5f5f5 50%, #f8f8f8 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
    animation: fadeInUp 0.5s ease-out;
}

.alert p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 400;
    color: #1a1a1a;
}

/* ================================
   CONTENT PAGES
   ================================ */

.content-section {
    padding: clamp(140px, 20vh, 180px) 0 clamp(80px, 12vh, 120px) 0;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: clamp(3rem, 6vw, 5rem);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.content-block {
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.content-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: -0.01em;
}

.content-text {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.8;
    color: #3a3a3a;
    max-width: 720px;
}

/* Values List */
.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.value-item {
    padding: clamp(1.5rem, 3vw, 2rem);
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 50%, #fafafa 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.value-title {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 400;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
}

.value-description {
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    line-height: 1.7;
    color: #4a4a4a;
    font-weight: 300;
}

/* Founders Grid */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(3rem, 6vw, 5rem);
    margin-top: clamp(3rem, 6vw, 4rem);
}

.founder-card {
    padding: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.founder-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.founder-header {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: clamp(1rem, 2vw, 1.5rem);
}

.founder-name {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.founder-link {
    color: #1a1a1a;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.founder-link::after {
    content: '↗';
    font-size: 0.6em;
    margin-left: 0.4em;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0.2em;
}

.founder-link:hover {
    color: var(--wh-brand);
}

.founder-link:hover::after {
    opacity: 1;
}

.founder-title {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    color: #6a6a6a;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.founder-bio {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.8;
    color: #3a3a3a;
}

.founder-bio p {
    margin-bottom: 1em;
}

.founder-bio p:last-child {
    margin-bottom: 0;
}

/* Founder photo (founders page) */
.founder-photo-wrap {
    margin: calc(-1 * clamp(2rem, 4vw, 3rem)) calc(-1 * clamp(2rem, 4vw, 3rem)) clamp(1.5rem, 3vw, 2rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--wh-radius) var(--wh-radius) 0 0;
    overflow: hidden;
    background: var(--wh-brand-soft);
}

.founder-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

/* Founders page section */
.founders-page-section {
    padding-top: clamp(140px, 22vh, 200px);
    padding-bottom: clamp(80px, 12vh, 120px);
}

.founders-page-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.founders-page-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    font-family: 'Libre Baskerville', Georgia, serif;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: #000;
}

.founders-page-subtitle {
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
    color: var(--wh-muted-text);
    margin-bottom: clamp(3rem, 5vw, 80px);
    font-weight: 300;
}

/* ================================
   SPACER SECTION
   ================================ */

.spacer-section {
    height: clamp(80px, 12vh, 140px);
}

/* ================================
   FOOTER
   ================================ */

.site-footer {
    padding: clamp(3rem, 6vw, 4rem) 0;
    border-top: 1px solid var(--wh-brand-muted);
    background: linear-gradient(180deg, #f5f5f5 0%, #fafafa 100%);
}

.footer-nav {
    display: flex;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    color: #4a4a4a;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--wh-brand);
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: var(--wh-brand);
}

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

.copyright {
    font-size: clamp(0.75rem, 1.3vw, 0.85rem);
    color: var(--wh-muted-text);
    letter-spacing: 0.02em;
}

/* ================================
   SOLUTIONS PAGE (match landing)
   ================================ */

.solutions-section {
    padding-top: clamp(140px, 22vh, 200px);
    padding-bottom: 80px;
    min-height: 60vh;
}

.solutions-section .container {
    padding-left: 5vw;
    padding-right: 5vw;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    font-family: 'Libre Baskerville', Georgia, serif;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #000;
}

.page-subtitle {
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
    color: var(--wh-muted-text);
    margin-bottom: clamp(3rem, 5vw, 80px);
    font-weight: 300;
}

.category-section {
    margin-bottom: 100px;
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    font-family: 'Libre Baskerville', Georgia, serif;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: #000;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--wh-brand-muted);
}

.category-description {
    font-size: 1rem;
    color: var(--wh-muted-text);
    margin-bottom: 40px;
    font-weight: 300;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    border: 1px solid var(--wh-brand-muted);
    padding: 40px;
    border-radius: var(--wh-radius);
    transition: all 0.3s ease;
    background: #fff;
}

.product-card:hover {
    border-color: var(--wh-brand);
    box-shadow: 0 4px 20px rgba(26, 58, 110, 0.08);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.product-name {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    font-family: 'Libre Baskerville', Georgia, serif;
    letter-spacing: -0.01em;
    margin: 0;
    color: #000;
}

.product-status {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: var(--wh-radius);
    font-weight: 500;
    color: var(--wh-muted-text);
    background: var(--wh-brand-soft);
}

.status-coming_soon {
    background: var(--wh-brand-soft);
    color: var(--wh-muted-text);
}

.product-tagline {
    font-size: 1rem;
    color: #000;
    margin-bottom: 16px;
    font-weight: 400;
}

.product-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--wh-muted-text);
    margin-bottom: 24px;
}

.product-link {
    color: var(--wh-brand);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: gap 0.3s ease, color 0.3s ease;
}

.product-link:hover {
    color: #0f2a52;
    gap: 14px;
}

.product-link .arrow {
    font-size: 1.2rem;
}

/* ================================
   PRODUCT DETAIL PAGE (match landing)
   ================================ */

.product-hero {
    padding: clamp(100px, 15vh, 140px) 20px 60px;
    background: linear-gradient(180deg, #ffffff 0%, var(--wh-brand-soft) 100%);
    border-bottom: 1px solid var(--wh-brand-muted);
}

.status-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--wh-brand);
    background: transparent;
    padding: 6px 0;
    margin-bottom: 24px;
    font-weight: 500;
}

.product-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    font-family: 'Libre Baskerville', Georgia, serif;
    letter-spacing: -0.02em;
    margin: 0 0 24px 0;
    line-height: 1.1;
}

.product-mark {
    color: #000;
}

.product-hero .product-tagline {
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    color: var(--wh-muted-text);
    font-weight: 300;
    line-height: 1.5;
    max-width: 700px;
}

/* Demo video placeholder (product page) */
.product-demo {
    padding: clamp(48px, 6vh, 64px) 0;
}

.product-demo .container {
    max-width: 900px;
    margin: 0 auto;
    padding-left: 5vw;
    padding-right: 5vw;
}

.demo-video-placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid var(--wh-brand-muted);
    border-radius: var(--wh-radius);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.06),
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.demo-placeholder-icon {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
}

.demo-placeholder-label {
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-content {
    padding: clamp(48px, 6vh, 64px) 20px 80px;
}

.content-wrapper {
    max-width: 700px;
    margin: 0 auto 80px;
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    line-height: 1.8;
    color: #3a3a3a;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
}

/* Pricing section (product page) — hide with .product-pricing.is-hidden or by not rendering */
.product-pricing {
    padding: clamp(64px, 10vh, 96px) 20px;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 50%, var(--wh-brand-soft) 100%);
    border-top: 1px solid var(--wh-brand-muted);
}

.product-pricing.is-hidden {
    display: none;
}

.product-pricing .container {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-heading {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    font-family: 'Libre Baskerville', Georgia, serif;
    text-align: center;
    letter-spacing: -0.02em;
    color: #000;
    margin: 0 0 12px 0;
}

.pricing-subtitle {
    text-align: center;
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    color: var(--wh-muted-text);
    margin: 0 auto 48px;
    max-width: 560px;
    font-weight: 300;
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-tier {
    position: relative;
    background: #fff;
    border: 1px solid var(--wh-brand-muted);
    border-radius: var(--wh-radius);
    padding: clamp(28px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-tier:hover {
    border-color: var(--wh-brand);
    box-shadow: 0 4px 20px rgba(26, 58, 110, 0.08);
}

.pricing-tier-featured {
    border-color: var(--wh-brand);
    box-shadow: 0 4px 24px rgba(26, 58, 110, 0.12);
}

.pricing-tier-featured:hover {
    box-shadow: 0 6px 28px rgba(26, 58, 110, 0.14);
}

.pricing-tier-name {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    font-family: 'Libre Baskerville', Georgia, serif;
    letter-spacing: -0.01em;
    margin: 0 0 12px 0;
    color: #000;
}

.pricing-tier-price {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    margin: 0 0 16px 0;
    color: #000;
}

.pricing-amount {
    font-weight: 700;
}

.pricing-period {
    font-size: 0.85em;
    font-weight: 400;
    color: var(--wh-muted-text);
}

.pricing-tier-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--wh-muted-text);
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.pricing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 1.5vw, 0.9rem) clamp(1.25rem, 2vw, 1.5rem);
    background: #fff;
    color: var(--wh-muted-text);
    border: 1px solid var(--wh-brand-muted);
    border-radius: var(--wh-radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

/* Admin: remove .is-hidden and set href to show CTA and redirect */
.pricing-cta.is-hidden {
    display: none;
}

.pricing-cta:hover {
    border-color: var(--wh-brand);
    color: var(--wh-brand);
    background: var(--wh-brand-soft);
}

.pricing-cta-primary {
    background: var(--wh-brand);
    color: #fff;
    border-color: var(--wh-brand);
}

.pricing-cta-primary:hover {
    background: #0f2a52;
    border-color: #0f2a52;
    color: #fff;
}

@media (max-width: 900px) {
    .pricing-tiers {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

.product-signup {
    padding: clamp(80px, 12vh, 100px) 20px;
    background: linear-gradient(180deg, #ffffff 0%, var(--wh-brand-soft) 50%, #fafafa 100%);
    border-top: 1px solid var(--wh-brand-muted);
}

.signup-heading {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    font-family: 'Libre Baskerville', Georgia, serif;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #000;
}

.signup-description {
    text-align: center;
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    color: var(--wh-muted-text);
    margin-bottom: 40px;
}

.product-signup .signup-form {
    max-width: 500px;
    margin: 0 auto;
}

.product-signup .form-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-signup .form-group input {
    flex: 1;
    min-width: 250px;
    padding: clamp(0.9rem, 2vw, 1.1rem) clamp(1.2rem, 2.5vw, 1.5rem);
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--wh-radius);
    font-family: 'Inter', sans-serif;
    background: #fafafa;
}

.product-signup .form-group input:focus {
    border-color: var(--wh-brand);
    background: #ffffff;
    box-shadow: 0 0 0 1px var(--wh-brand);
}

.product-signup .signup-consent {
    margin-top: 0.8rem;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .page-title {
        font-size: 2.5rem;
    }
    .category-title {
        font-size: 1.5rem;
    }
    .product-title {
        font-size: 3rem;
    }
    .product-signup .form-group {
        flex-direction: column;
    }
    .product-signup .form-group input {
        min-width: 100%;
    }
}

/* ================================
   FOUNDER / MISSION & VISION PAGE
   ================================ */

.founder-hero {
    padding-top: clamp(140px, 22vh, 200px);
    padding-bottom: clamp(48px, 6vh, 64px);
    background: linear-gradient(180deg, #ffffff 0%, var(--wh-brand-soft) 100%);
    border-bottom: 1px solid var(--wh-brand-muted);
}

.founder-page-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    font-family: 'Libre Baskerville', Georgia, serif;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: #000;
}

.founder-page-subtitle {
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
    color: var(--wh-muted-text);
    font-weight: 300;
}

.founder-content {
    padding: clamp(64px, 10vh, 96px) 0;
}

.founder-content .container {
    max-width: 700px;
    margin: 0 auto;
}

.founder-block {
    margin-bottom: clamp(48px, 8vh, 72px);
}

.founder-block:last-child {
    margin-bottom: 0;
}

.founder-block-title {
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
    font-weight: 700;
    font-family: 'Libre Baskerville', Georgia, serif;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    color: #000;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--wh-brand-muted);
}

.founder-block-text {
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    line-height: 1.8;
    color: #3a3a3a;
}

.founder-block-text p {
    margin-bottom: 1.25em;
}

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

.founder-quote-block {
    padding-top: clamp(32px, 5vh, 48px);
    border-top: 1px solid var(--wh-brand-muted);
}

.founder-quote {
    margin: 0 0 1rem 0;
    padding: 0;
    border: none;
}

.founder-quote p {
    font-size: clamp(1.05rem, 1.7vw, 1.15rem);
    line-height: 1.75;
    color: #2a2a2a;
    font-style: italic;
}

.founder-quote-attribution {
    font-size: 0.9rem;
    color: var(--wh-muted-text);
    font-style: normal;
    font-weight: 400;
}

/* ================================
   COOKIE CONSENT BANNER
   ================================ */

.cookie-banner {
    position: fixed;
    left: clamp(12px, 2vw, 20px);
    right: clamp(12px, 2vw, 20px);
    bottom: clamp(12px, 2vw, 20px);
    z-index: 2100;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cookie-banner__content {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(0.9rem, 2vw, 1.2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner__text {
    font-size: clamp(0.85rem, 1.3vw, 0.95rem);
    line-height: 1.55;
    color: #2a2a2a;
    max-width: 760px;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.cookie-banner__policy {
    font-size: clamp(0.82rem, 1.2vw, 0.9rem);
    color: #21385f;
    text-decoration: underline;
}

.cookie-banner__btn {
    border: 1px solid var(--wh-brand);
    background: #ffffff;
    color: var(--wh-brand);
    padding: 0.5rem 0.8rem;
    font-size: clamp(0.82rem, 1.2vw, 0.9rem);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-banner__btn:hover {
    transform: translateY(-1px);
}

.cookie-banner__btn--primary {
    background: var(--wh-brand);
    color: #ffffff;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    .hero-title {
        gap: 0.1em;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .atlas-description {
        font-size: 1rem;
    }
    
    .main-nav {
        gap: 1.2rem;
    }

    .language-switcher {
        justify-content: flex-start;
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
    }
    
    .values-list {
        grid-template-columns: 1fr;
    }

    .cookie-banner__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__btn {
        flex: 1;
        min-width: 170px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 6vw;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ================================
   PERFORMANCE OPTIMIZATIONS
   ================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.logo,
.submit-btn,
.form-group input {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ================================
   PAGE LIST CARDS
   ================================ */

.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.content-card {
    border: 1px solid var(--wh-brand-muted);
    border-radius: var(--wh-radius);
    padding: 28px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.content-card:hover {
    border-color: var(--wh-brand);
    box-shadow: 0 4px 16px rgba(26, 58, 110, 0.08);
}

.page-card-text {
    margin-bottom: 18px;
}

.page-card-meta {
    margin-top: 14px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: var(--wh-muted-text);
    text-transform: uppercase;
}

.empty-state {
    border: 1px solid var(--wh-brand-muted);
    border-radius: var(--wh-radius);
    padding: clamp(28px, 6vw, 44px);
    background: #fff;
    max-width: 640px;
}

/* ================================
   PRODUCT DETAIL EXTRA
   ================================ */

.demo-video-frame {
    aspect-ratio: 16 / 9;
    border: 1px solid var(--wh-brand-muted);
    border-radius: var(--wh-radius);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.06),
        0 4px 20px rgba(0, 0, 0, 0.08);
}

.demo-video-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.pricing-cta-wrap {
    text-align: center;
}

/* ================================
   AUTH FLOWS
   ================================ */

.auth-shell {
    padding-top: clamp(140px, 20vh, 190px);
    padding-bottom: clamp(72px, 10vh, 120px);
}

.auth-card {
    max-width: 560px;
    margin: 0 auto;
    border: 1px solid var(--wh-brand-muted);
    border-radius: var(--wh-radius);
    background: #fff;
    padding: clamp(24px, 4vw, 40px);
}

.auth-card-wide {
    max-width: 760px;
}

.auth-card-centered {
    text-align: center;
}

.auth-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: clamp(1.7rem, 3.2vw, 2.3rem);
    margin: 0 0 12px;
    color: #000;
}

.auth-subtitle {
    color: var(--wh-muted-text);
    line-height: 1.65;
    margin: 0 0 24px;
}

.auth-form {
    display: grid;
    gap: 12px;
}

.auth-label {
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wh-brand);
}

.auth-input,
.auth-form input[type='text'],
.auth-form input[type='email'],
.auth-form input[type='password'],
.auth-form input[type='url'] {
    width: 100%;
    border: 1px solid var(--wh-brand-muted);
    border-radius: var(--wh-radius);
    background: #fff;
    color: #1a1a1a;
    font-size: 1rem;
    padding: 12px 14px;
}

.auth-input:focus,
.auth-form input[type='text']:focus,
.auth-form input[type='email']:focus,
.auth-form input[type='password']:focus,
.auth-form input[type='url']:focus {
    border-color: var(--wh-brand);
    box-shadow: 0 0 0 2px var(--wh-brand-soft);
    outline: 2px solid transparent;
}

.auth-help {
    color: var(--wh-muted-text);
    font-size: 0.86rem;
    margin: 0;
}

.auth-help-error {
    color: #8f2e2e;
}

.auth-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.auth-actions-centered {
    justify-content: center;
}

.auth-actions-wrap {
    flex-wrap: wrap;
}

.auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--wh-radius);
    border: 1px solid var(--wh-brand);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-button-primary {
    background: var(--wh-brand);
    color: #fff;
}

.auth-button-primary:hover {
    background: #0f2a52;
}

.auth-button-secondary {
    background: #fff;
    color: var(--wh-brand);
}

.auth-button-secondary:hover {
    background: var(--wh-brand-soft);
}

.auth-footer-links {
    border-top: 1px solid var(--wh-brand-muted);
    margin-top: 20px;
    padding-top: 14px;
    display: grid;
    gap: 8px;
    color: var(--wh-muted-text);
}

.auth-footer-links a {
    color: var(--wh-brand);
    text-decoration: underline;
}

.auth-alert {
    border-radius: var(--wh-radius);
    border: 1px solid var(--wh-brand-muted);
    background: #f8f9fc;
    color: #273242;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.auth-alert-error {
    border-color: rgba(143, 46, 46, 0.35);
    background: rgba(143, 46, 46, 0.07);
    color: #7d2828;
}

.auth-alert-warn {
    border-color: rgba(176, 116, 23, 0.35);
    background: rgba(176, 116, 23, 0.08);
    color: #6e4a15;
}

.auth-alert-info {
    border-color: var(--wh-brand-muted);
    background: var(--wh-brand-soft);
    color: #203b66;
}

.recovery-codes-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    border: 1px solid var(--wh-brand-muted);
    border-radius: var(--wh-radius);
    overflow: hidden;
}

.recovery-codes-list li {
    padding: 10px 12px;
    border-bottom: 1px solid var(--wh-brand-muted);
    background: #fff;
}

.recovery-codes-list li:last-child {
    border-bottom: 0;
}

.recovery-codes-list code {
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

/* ================================
   ERROR PAGES
   ================================ */

.error-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 48px 20px;
    background: linear-gradient(180deg, #fafafa 0%, #f4f6fb 100%);
}

.error-card {
    width: min(720px, 100%);
    background: #fff;
    border: 1px solid var(--wh-brand-muted);
    padding: clamp(28px, 5vw, 44px);
    border-radius: var(--wh-radius);
    text-align: center;
}

.error-code {
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wh-brand);
    margin-bottom: 16px;
}

.error-title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.1;
    font-family: 'Libre Baskerville', Georgia, serif;
}

.error-text {
    margin: 0 auto 24px;
    max-width: 48ch;
    color: #354255;
    line-height: 1.7;
    font-size: 1rem;
}

.error-home-link {
    display: inline-block;
    padding: 12px 18px;
    border-radius: var(--wh-radius);
    border: 1px solid var(--wh-brand);
    background: var(--wh-brand);
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.02em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.submit-btn:focus-visible,
.auth-button:focus-visible,
.cookie-banner__btn:focus-visible,
.cookie-banner__policy:focus-visible,
.product-link:focus-visible,
.error-home-link:focus-visible {
    outline: 3px solid var(--wh-brand);
    outline-offset: 3px;
}

.error-home-link:hover {
    background: #0f2a52;
}
