/* =========================================================
   Noscen — Personal Context Intelligence
   A calm, restrained, premium aesthetic.
   Palette anchored on deep navy / black with warm gold accent
   to echo the hero image.
   ========================================================= */

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

:root {
    /* Dark anchors (hero, footer) */
    --ink:          #0A0F1A;
    --ink-2:        #10172A;
    --ink-3:        #1A2238;

    /* Light palette (primary body) */
    --paper:        #F6F1E6;   /* warm cream — main background */
    --paper-2:      #FBF8F1;   /* lighter cream — card / panel */
    --paper-3:      #ECE4D2;   /* deeper cream — subtle alt section */
    --paper-line:   rgba(26, 31, 46, 0.08);
    --paper-line-strong: rgba(26, 31, 46, 0.15);

    /* Text on light */
    --ink-text:     #1A1F2E;   /* primary text */
    --ink-muted:    #545B6C;   /* secondary text */
    --ink-soft:     #7C8294;   /* muted text */

    /* Text on dark (hero, footer) */
    --text:         #E8ECF4;
    --text-muted:   #A7B0C0;
    --text-soft:    #6E7891;

    /* Accent — warm gold, slightly deepened for legibility on cream */
    --accent:       #B8893B;
    --accent-soft:  #D2A562;
    --accent-bright:#E9B97A;   /* used on dark sections */
    --accent-glow:  rgba(184, 137, 59, 0.28);

    /* Cool blue for wellness pairing — deepened for cream */
    --cool:         #3F7AA0;
    --cool-soft:    rgba(63, 122, 160, 0.18);
    --cool-bright:  #7FB6D9;   /* on dark */

    /* Generic line tokens — default to light-mode */
    --line:         var(--paper-line);
    --line-strong:  var(--paper-line-strong);

    /* Type — SF Pro on Apple, Lato as web fallback */
    --font-sans:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Lato", "Segoe UI", system-ui, sans-serif;
    --font-serif:   -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Lato", "Segoe UI", system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--paper);
    color: var(--ink-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

::selection {
    background: var(--accent);
    color: var(--ink);
}

/* =========================================================
   Navigation
   ========================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(10, 15, 26, 0.0);
    backdrop-filter: blur(0px);
    transition: background 0.35s ease, backdrop-filter 0.35s ease,
                border-color 0.35s ease, padding 0.35s ease, color 0.35s ease;
    border-bottom: 1px solid transparent;
}

/* Over the dark hero — light text */
.navbar .logo-text { color: #fff; }
.navbar .nav-link { color: rgba(255,255,255,0.78); }
.navbar .nav-link:hover { color: #fff; }
.navbar .hamburger span { background: #fff; }

.navbar.scrolled {
    background: rgba(246, 241, 230, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--paper-line);
    padding: 0.85rem 0;
}

/* Once scrolled past hero — dark text on cream */
.navbar.scrolled .logo-text { color: var(--ink-text); }
.navbar.scrolled .nav-link { color: var(--ink-muted); }
.navbar.scrolled .nav-link:hover { color: var(--ink-text); }
.navbar.scrolled .nav-link.active { color: var(--accent); }
.navbar.scrolled .hamburger span { background: var(--ink-text); }

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.25s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link.active {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn-primary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: var(--ink);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #f0c587;
    border-color: #f0c587;
    transform: translateY(-1px);
    box-shadow: 0 14px 36px -10px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line-strong);
}

.btn-ghost:hover {
    border-color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.btn-large {
    padding: 1rem 1.75rem;
    font-size: 1rem;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 9rem 0 6rem;
}

.hero.hero-image-only {
    padding: 0;
}

.hero-tagline-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18vh;
    z-index: 5;
    display: flex;
    justify-content: center;
    padding: 0 1.5rem;
    pointer-events: none;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.55rem, 2.8vw, 2.3rem);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.005em;
    text-align: center;
    color: var(--text);
    text-shadow: 0 2px 28px rgba(10, 15, 26, 0.75);
    max-width: 900px;
    opacity: 0.98;
}

.hero-background-image {
    position: absolute;
    inset: 0;
    background-image: url('images/noscen-hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.04);
    animation: hero-breathe 22s ease-in-out infinite;
}

@keyframes hero-breathe {
    0%, 100% { transform: scale(1.04); }
    50% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 26, 0.55) 0%,
        rgba(10, 15, 26, 0.35) 40%,
        rgba(10, 15, 26, 0.78) 100%
    );
    z-index: 1;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(10, 15, 26, 0.55) 0%, rgba(10, 15, 26, 0) 55%),
        linear-gradient(90deg, rgba(10, 15, 26, 0.5) 0%, rgba(10, 15, 26, 0) 60%);
    z-index: 2;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--accent-soft);
    opacity: 0.95;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin-bottom: 2rem;
    color: var(--text);
}

.accent-text {
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    width: 26px;
    height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    text-decoration: none;
}

.hero-scroll-indicator span {
    width: 2px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* =========================================================
   Section base
   ========================================================= */
section {
    padding: 7rem 0;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.section-tag.light {
    color: var(--ink-text);
    opacity: 0.6;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.012em;
    margin-bottom: 1.25rem;
    color: var(--ink-text);
}

.section-description {
    font-size: 1.08rem;
    color: var(--ink-muted);
    line-height: 1.75;
    max-width: 720px;
    font-weight: 300;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4.5rem;
}

.section-header .section-description {
    margin: 0 auto;
}

/* =========================================================
   Belief / Manifesto
   ========================================================= */
.belief-section {
    background: var(--paper);
    border-bottom: 1px solid var(--paper-line);
    padding: 8rem 0;
}

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

.belief-content .section-tag {
    margin-bottom: 1.5rem;
}

.belief-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink-text);
    margin-bottom: 1.75rem;
}

.belief-tagline {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--ink-muted);
    font-weight: 300;
    max-width: 540px;
    margin: 0 auto;
}

.about-tagline {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--ink-muted);
    font-weight: 300;
    max-width: 560px;
    margin: 1.25rem auto 0;
}

.belief-body {
    text-align: left;
    max-width: 660px;
    margin: 0 auto;
}

.belief-body p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

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

.belief-emphasis {
    font-family: var(--font-serif);
    font-size: 1.3rem !important;
    line-height: 1.55 !important;
    color: var(--text) !important;
    font-style: italic;
    font-weight: 400 !important;
    padding: 1.5rem 0 1.5rem 1.5rem;
    border-left: 2px solid var(--accent);
    margin: 0.5rem 0 1.75rem !important;
}

.belief-body strong {
    color: var(--text);
    font-weight: 500;
}

.belief-body em {
    font-style: italic;
    color: var(--accent);
}

/* =========================================================
   Product Section
   ========================================================= */
.product-section {
    background: var(--ink);
    border-top: 1px solid var(--line);
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.product-card {
    padding: 2.5rem 2rem;
    background: var(--ink-3);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: border-color 0.35s ease, transform 0.35s ease;
}

.product-card:hover {
    border-color: var(--accent-soft);
    transform: translateY(-3px);
}

.product-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(233, 185, 122, 0.08);
    border: 1px solid var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.product-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.product-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.7;
    font-weight: 300;
}

/* =========================================================
   Features / Two Pillars
   ========================================================= */
.features-section {
    background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
    border-top: 1px solid var(--line);
}

.pillars-section {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-3) 100%);
}

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

.pillar-card {
    position: relative;
    padding: 0;
    background: var(--paper-2);
    border: 1px solid var(--paper-line);
    border-radius: 20px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(26, 31, 46, 0.04);
}

.pillar-card:hover {
    box-shadow: 0 18px 44px -18px rgba(26, 31, 46, 0.18);
    transform: translateY(-2px);
}

.pillar-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 0;
    background: var(--paper-3);
}

.pillar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.pillar-card:hover .pillar-image img {
    transform: scale(1.03);
}

.pillar-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 31, 46, 0) 60%, rgba(26, 31, 46, 0.18) 100%);
    pointer-events: none;
}

.pillar-content {
    padding: 2.5rem 2.75rem 2.75rem;
}

.pillar-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-3px);
}

.pillar-health::before {
    background: linear-gradient(90deg, transparent, var(--cool), transparent);
}

.pillar-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.pillar-index {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
}

.pillar-health .pillar-index {
    color: var(--cool);
}

.pillar-label {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.pillar-title {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--ink-text);
    margin-bottom: 1.25rem;
}

.pillar-body {
    color: var(--ink-muted);
    line-height: 1.8;
    margin-bottom: 0;
    font-weight: 300;
    font-size: 1.02rem;
}

.pillar-list {
    list-style: none;
    margin-bottom: 1.75rem;
}

.pillar-list li {
    position: relative;
    padding-left: 1.5rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-size: 0.96rem;
    line-height: 1.55;
    font-weight: 300;
}

.pillar-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.pillar-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.4rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.pillar-health .pillar-list li::before {
    background: var(--cool);
}

.pillar-footnote {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.7;
    font-style: italic;
    font-weight: 300;
}

/* =========================================================
   Technology Section
   ========================================================= */
.technology-section {
    background: var(--ink);
    border-top: 1px solid var(--line);
}

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

.technology-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.012em;
    color: var(--text);
    margin: 0.5rem 0 1.5rem;
}

.technology-text > p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
    font-size: 1.05rem;
}

.tech-features {
    list-style: none;
}

.tech-features li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 300;
}

.tech-features li:last-child {
    border-bottom: 1px solid var(--line);
}

.tech-features svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.technology-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.technology-visual svg {
    width: 100%;
    height: 100%;
}

.tech-icon {
    filter: brightness(0) invert(1) opacity(0.85);
}

.trust-icon,
.privacy-icon,
.safety-icon {
    /* color of icon set via CSS filter to gold/cool */
    filter: brightness(0) invert(1) opacity(0.9);
}

/* =========================================================
   About Section
   ========================================================= */
.about-section {
    background: var(--ink-2);
    border-top: 1px solid var(--line);
    padding: 7rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

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

.stat-card {
    padding: 1.75rem 2rem;
    background: var(--ink-3);
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    transition: border-color 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent-soft);
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
    min-width: 80px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.98rem;
    font-weight: 300;
    line-height: 1.4;
}

.about-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.012em;
    color: var(--text);
    margin: 0.5rem 0 1.5rem;
}

/* =========================================================
   Footer extras
   ========================================================= */
.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-text {
    margin-bottom: 0.75rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-soft);
    line-height: 1.7;
    max-width: 320px;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.6rem;
}

.footer-column a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.25s ease;
    font-weight: 300;
}

.footer-column a:hover {
    color: var(--accent);
}

/* =========================================================
   How it works (legacy — kept for compatibility)
   ========================================================= */
.how-section {
    background: var(--ink-2);
    border-top: 1px solid var(--line);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.how-card {
    padding: 2.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.how-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-soft);
    transform: translateY(-2px);
}

.how-index {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
}

.how-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.005em;
}

.how-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

.how-card p em {
    color: var(--accent);
    font-style: italic;
}

.how-quote {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
}

.how-quote p {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    line-height: 1.55;
    color: var(--text);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.005em;
}

/* =========================================================
   About / Vision
   ========================================================= */
.about-section {
    background: var(--paper);
    padding: 8rem 0;
    border-top: 1px solid var(--paper-line);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
    align-items: start;
}

.about-grid-simple {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.about-grid-simple .section-title {
    margin-top: 0.5rem;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    font-weight: 300;
    font-size: 1.05rem;
}

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

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.value-card {
    padding: 1.75rem 1.5rem;
    background: var(--ink-3);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: border-color 0.3s ease;
}

.value-card:hover {
    border-color: var(--accent-soft);
}

.value-symbol {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.value-card h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.005em;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

/* =========================================================
   CTA
   ========================================================= */
.cta-section {
    background: var(--paper-3);
    color: var(--ink);
    padding: 7rem 0;
    border-top: 1px solid var(--paper-line);
}

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

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.012em;
    color: var(--ink);
    margin-bottom: 2.25rem;
}

.cta-content > p {
    font-size: 1.08rem;
    color: rgba(10, 15, 26, 0.7);
    line-height: 1.75;
    margin-bottom: 2.25rem;
    font-weight: 300;
}

.cta-form {
    display: flex;
    gap: 0.75rem;
    max-width: 540px;
    margin: 0 auto 1.25rem;
    background: rgba(10, 15, 26, 0.06);
    padding: 0.4rem;
    border-radius: 999px;
    border: 1px solid rgba(10, 15, 26, 0.1);
}

.email-input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
}

.email-input::placeholder {
    color: rgba(10, 15, 26, 0.45);
}

.email-input:focus {
    outline: none;
}

.cta-form .btn-primary {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.cta-form .btn-primary:hover {
    background: var(--ink-2);
    border-color: var(--ink-2);
    box-shadow: 0 14px 36px -10px rgba(10, 15, 26, 0.4);
}

.cta-note {
    font-size: 0.88rem;
    color: rgba(10, 15, 26, 0.55);
    font-weight: 300;
    line-height: 1.6;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
    background: var(--ink);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--line);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-text {
    margin-bottom: 0.75rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-soft);
    line-height: 1.7;
    max-width: 320px;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.6rem;
}

.footer-column a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.25s ease;
    font-weight: 300;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 0;
    border-top: none;
    text-align: center;
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom .logo-text {
    margin-bottom: 0.25rem;
}

/* =========================================================
   Scroll fade-in
   ========================================================= */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .how-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .product-showcase {
        grid-template-columns: 1fr;
    }
    .technology-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .technology-visual {
        height: 320px;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-cta {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    section {
        padding: 5rem 0;
    }
    .hero {
        min-height: 92vh;
        padding: 7rem 0 5rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-ghost {
        width: 100%;
    }
    .pillar-card {
        padding: 2.25rem 1.75rem;
    }
    .how-grid {
        grid-template-columns: 1fr;
    }
    .about-values {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-links {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }
    .belief-emphasis {
        font-size: 1.15rem !important;
    }
    .cta-form {
        flex-direction: column;
        background: transparent;
        padding: 0;
        border: none;
        border-radius: 0;
        gap: 0.75rem;
    }
    .email-input {
        background: rgba(10, 15, 26, 0.06);
        border: 1px solid rgba(10, 15, 26, 0.12);
        border-radius: 999px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    .hero-eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.18em;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
}
