/* ═══════════════════════════════════════════════════════════
   SafeBeacon Product Page — Stylesheet
   Includes: design tokens, base, shared components,
             page-specific layout components.
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────── */
:root {
    --brand-navy:   #0A1628;
    --brand-blue:   #0D4A8A;
    --brand-sky:    #1A7FCC;
    --brand-ice:    #60C8F5;
    --brand-red:    #C4271A;
    --brand-coral:  #E84030;
    --brand-amber:  #D89010;
    --brand-gold:   #C88A00;
    --brand-green:  #157A3E;
    --brand-mint:   #18B055;

    --bg:               #09090F;
    --bg-subtle:        #0F0F18;
    --bg-raised:        #13131E;
    --bg-overlay:       rgba(9, 9, 15, 0.90);
    --bg-muted:         #111118;
    --bg-muted-hover:   #18181F;

    --surface:          #141420;
    --surface-hover:    #1A1A28;
    --surface-strong:   #1E1E2E;

    --border:           #2A2A3A;
    --border-subtle:    #222230;
    --border-strong:    #3A3A50;

    --text-primary:     #FFFFFF;
    --text-secondary:   #B8B8CC;
    --text-tertiary:    #888899;
    --text-muted:       #666677;
    --text-faint:       #2A2A3A;

    --accent-primary:   var(--brand-coral);
    --accent-secondary: var(--brand-ice);
    --accent-positive:  var(--brand-mint);
    --accent-accessible: #60C8F5;
    --accent-coral-aa:   #B8301F;
    --mint-aa:           #18B055;

    --ink:   var(--bg);
    --navy:  var(--brand-navy);
}

[data-theme="light"] {
    --bg:               #FAF8F3;
    --bg-subtle:        #F2EFE8;
    --bg-raised:        #E8E4DB;
    --bg-overlay:       rgba(250, 248, 243, 0.92);
    --bg-muted:         #F0EDE6;
    --bg-muted-hover:   #E8E4DC;

    --surface:          #EDEAE2;
    --surface-hover:    #E5E1D8;
    --surface-strong:   #DDD9CF;

    --border:           #C8C4BA;
    --border-subtle:    #D8D4CA;
    --border-strong:    #A8A49A;

    --text-primary:     #0A0A10;
    --text-secondary:   #3D3D4A;
    --text-tertiary:    #5C5C6A;
    --text-muted:       #767682;
    --text-faint:       #C8C4BA;

    --accent-secondary:  var(--brand-blue);
    --accent-accessible: #0E5C96;
    --mint-aa:           #157A3E;
    --accent-coral-aa:   #B8301F;
    --ink:  #FAF8F3;
    --navy: #E8E4DB;
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        --bg:               #FAF8F3;
        --bg-subtle:        #F2EFE8;
        --bg-raised:        #E8E4DB;
        --bg-overlay:       rgba(250, 248, 243, 0.92);
        --bg-muted:         #F0EDE6;
        --bg-muted-hover:   #E8E4DC;
        --surface:          #EDEAE2;
        --surface-hover:    #E5E1D8;
        --surface-strong:   #DDD9CF;
        --border:           #C8C4BA;
        --border-subtle:    #D8D4CA;
        --border-strong:    #A8A49A;
        --text-primary:     #0A0A10;
        --text-secondary:   #3D3D4A;
        --text-tertiary:    #5C5C6A;
        --text-muted:       #767682;
        --text-faint:       #C8C4BA;
        --accent-secondary:  var(--brand-blue);
        --accent-accessible: #0E5C96;
        --mint-aa:           #157A3E;
        --accent-coral-aa:   #B8301F;
    }
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: clamp(15px, 1.1vw, 18px); }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: default;
    transition: background 0.3s, color 0.3s;
}
:focus-visible { outline: 2px solid var(--brand-ice); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--brand-coral); color: #fff;
    padding: 10px 20px; font-size: 14px; font-weight: 600;
    text-decoration: none; z-index: 9999; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─────────────────────────────────────────────
   SCROLL PROGRESS
───────────────────────────────────────────── */
#progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--brand-coral), var(--brand-ice));
    z-index: 1000; transition: width .1s linear;
}

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 60px;
    background: var(--bg-overlay);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, border-color 0.3s;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 48px; width: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
    font-family: 'DM Mono', monospace; font-size: 12px;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--text-tertiary); text-decoration: none;
    transition: color .2s;
}
.nav-links a:hover { color: var(--accent-secondary); }
.nav-cta {
    background: #B8301F; color: #fff; border: none;
    padding: 10px 24px; font-family: 'DM Sans', sans-serif;
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: all .2s;
}
.nav-cta:hover { background: #962618; transform: translateY(-1px); }
.theme-toggle {
    background: none; border: 1px solid var(--border);
    color: var(--text-tertiary);
    width: 36px; height: 36px; border-radius: 50%;
    cursor: pointer; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .2s, color .2s, transform .2s;
    flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent-secondary); color: var(--text-primary); transform: rotate(20deg); }

/* Language switcher */
.lang-switcher { display: flex; align-items: center; gap: 2px; }
.lang-btn {
    background: none; border: none;
    font-family: 'DM Mono', monospace; font-size: 12px;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--text-tertiary); cursor: pointer;
    padding: 6px 8px; transition: color .2s;
    border-radius: 3px; text-decoration: none;
}
.lang-btn.active { color: var(--text-primary); background: var(--surface); }
.lang-btn:hover  { color: var(--text-primary); }
.lang-divider { color: var(--border-strong); font-size: 11px; font-family: 'DM Mono', monospace; }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
#hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; overflow: hidden; }
.hero-left { position: relative; overflow: hidden; }
.hero-image {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    display: block; filter: brightness(.75) contrast(1.05);
}
.hero-image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, transparent 60%, var(--bg) 100%),
                linear-gradient(to top, var(--bg) 0%, transparent 30%);
}
.hero-tag {
    position: absolute; bottom: 40px; left: 40px;
    background: rgba(196,39,26,0.9); backdrop-filter: blur(8px);
    padding: 10px 18px; font-family: 'DM Mono', monospace;
    font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #fff;
}
.hero-right {
    display: flex; flex-direction: column; justify-content: center;
    padding: 120px 80px 80px 60px; position: relative;
}
.hero-right::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 80% 20%, rgba(14,74,138,.3) 0%, transparent 60%),
                radial-gradient(ellipse 40% 40% at 20% 80%, rgba(196,39,26,.15) 0%, transparent 60%);
    pointer-events: none;
}
.hero-eyebrow {
    font-family: 'DM Mono', monospace; font-size: 12px;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--accent-accessible); margin-bottom: 20px;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp .6s .3s forwards;
}
.hero-stat {
    font-family: 'Playfair Display', serif; font-weight: 900;
    font-size: clamp(80px, 12vw, 140px); line-height: .88;
    color: var(--brand-coral); letter-spacing: -3px;
    opacity: 0; transform: translateY(30px);
    animation: fadeUp .7s .5s forwards;
    position: relative; z-index: 1;
}
.hero-stat-label {
    font-family: 'Playfair Display', serif; font-style: italic;
    font-size: 20px; color: var(--text-secondary);
    margin: 12px 0 32px; line-height: 1.4;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp .6s .7s forwards;
}
.hero-body {
    font-size: 15px; color: var(--text-secondary);
    line-height: 1.75; max-width: 460px; margin-bottom: 40px;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp .6s .9s forwards;
}
.hero-body .accent { color: var(--accent-coral-aa); font-weight: 600; }
.hero-body strong  { color: var(--text-primary); }
.hero-cta-row {
    display: flex; gap: 16px; align-items: center;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp .6s 1.1s forwards;
}
.btn-primary {
    background: #B8301F; color: #fff; border: none;
    padding: 16px 36px; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all .25s; font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: #962618; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,48,31,.4); }
.btn-ghost {
    color: var(--text-tertiary); font-size: 14px;
    text-decoration: none; display: flex; align-items: center; gap: 8px;
    transition: color .2s;
}
.btn-ghost:hover { color: var(--text-primary); }
.btn-ghost svg { transition: transform .2s; }
.btn-ghost:hover svg { transform: translateX(4px); }
.scroll-hint {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    opacity: 0; animation: fadeUp .6s 1.5s forwards;
}
.scroll-hint span { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-tertiary); }
.scroll-arrow { width: 20px; height: 32px; border: 1.5px solid var(--border-strong); border-radius: 12px; position: relative; }
.scroll-arrow::after {
    content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 4px; border-radius: 50%; background: var(--brand-ice);
    animation: scrollBounce 1.5s infinite;
}

/* ─────────────────────────────────────────────
   SECTION SHARED
───────────────────────────────────────────── */
.section-label {
    font-family: 'DM Mono', monospace; font-size: 12px;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--text-tertiary); text-align: center; margin-bottom: 20px;
}
.section-title {
    font-family: 'Playfair Display', serif; font-weight: 900;
    font-size: clamp(36px, 5vw, 64px); line-height: 1.0;
    color: var(--text-primary); text-align: center; margin-bottom: 16px;
}
.section-sub {
    font-size: 17px; color: var(--text-tertiary);
    text-align: center; max-width: 540px; margin: 0 auto 80px; line-height: 1.65;
}

/* ─────────────────────────────────────────────
   CALLOUT BAND (Problem section)
───────────────────────────────────────────── */
.callout-band { display: grid; grid-template-columns: 1fr 1fr; }
.callout-old {
    background: var(--bg-raised); color: var(--text-primary);
    padding: 64px 72px; position: relative;
}
.callout-new {
    background: var(--brand-navy); padding: 64px 72px;
    position: relative; overflow: hidden;
}
.callout-new::before {
    content: '< 1 SEK'; position: absolute; bottom: 20px; right: 20px;
    font-family: 'Playfair Display', serif; font-weight: 900;
    font-size: 72px; color: rgba(255,255,255,.04);
    line-height: 1; letter-spacing: -2px; pointer-events: none;
}
.callout-kicker {
    font-family: 'DM Mono', monospace; font-size: 12px;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.old-kicker { color: #B8301F; }
.new-kicker { color: var(--brand-ice); }
.callout-h {
    font-family: 'Playfair Display', serif; font-weight: 900;
    font-size: 36px; line-height: 1.05; margin-bottom: 16px;
}
.callout-old .callout-h { color: var(--text-primary); }
.callout-new .callout-h { color: #fff; }
.callout-p { font-size: 14px; line-height: 1.75; }
.callout-old .callout-p { color: var(--text-secondary); }
.callout-new .callout-p { color: rgba(255,255,255,.65); }

/* Response-time row */
.rt-compare { display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--surface); border-top: 1px solid var(--border); }
.rt-cell { padding: 32px 40px; border-right: 1px solid var(--border); text-align: center; }
.rt-cell:last-child { border-right: none; }
.rt-val { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 40px; line-height: 1; margin-bottom: 6px; }
.rt-label { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-tertiary); }
.rt-val--coral { color: #B8301F; }
.rt-val--mint  { color: #157A3E; }

/* Trend strip */
.trend-strip { max-width: 1100px; margin: 40px auto 0; padding: 0 40px; }
.trend-inner {
    background: rgba(196,39,26,.10); border: 1px solid rgba(196,39,26,.25);
    padding: 28px 40px; display: flex; gap: 24px; align-items: center;
}
.trend-icon { font-size: 32px; flex-shrink: 0; }
.trend-text { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.trend-text strong { color: #B8301F; }

/* ─────────────────────────────────────────────
   FEATURE GRID
───────────────────────────────────────────── */
.feature-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    max-width: 1100px; margin: 60px auto 0; padding: 0 40px;
    gap: 2px; background: var(--border);
}
.feature-block { background: var(--bg); padding: 40px 36px; position: relative; overflow: hidden; }
.feature-block::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--c, var(--brand-coral));
}
.feature-icon  { font-size: 28px; margin-bottom: 16px; display: block; }
.feature-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; color: var(--text-primary); margin-bottom: 10px; line-height: 1.2; }
.feature-body  { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ─────────────────────────────────────────────
   THREE-STEP FLOW
───────────────────────────────────────────── */
.steps-flow {
    display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr;
    max-width: 1100px; margin: 60px auto 0; padding: 0 40px; align-items: start;
}
.flow-step { background: var(--surface); border: 1px solid var(--border); padding: 40px 32px; }
.flow-arrow { display: flex; align-items: center; justify-content: center; padding-top: 60px; color: var(--text-muted); font-size: 20px; }
.flow-num  { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 64px; line-height: 1; color: var(--text-faint); margin-bottom: 16px; }
.flow-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; color: var(--text-primary); margin-bottom: 12px; line-height: 1.2; }
.flow-body  { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ─────────────────────────────────────────────
   PRIVACY PRINCIPLES
───────────────────────────────────────────── */
.principle-row {
    display: grid; grid-template-columns: repeat(2, 1fr);
    max-width: 1100px; margin: 60px auto 0; padding: 0 40px;
    gap: 2px; background: var(--border);
}
.principle-card { background: var(--bg-raised); padding: 40px; }
.principle-label { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 12px; }
.principle-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; color: var(--text-primary); margin-bottom: 10px; }
.principle-body { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.principle-body strong { color: var(--text-primary); }

/* ─────────────────────────────────────────────
   SECTORS
───────────────────────────────────────────── */
.sector-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    max-width: 1100px; margin: 60px auto 0; padding: 0 40px;
    gap: 2px; background: var(--border);
}
.sector-card  { background: var(--bg); padding: 36px 32px; }
.sector-icon  { font-size: 32px; margin-bottom: 14px; display: block; }
.sector-name  { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; color: var(--text-primary); margin-bottom: 8px; }
.sector-roles { font-size: 12px; color: var(--text-tertiary); line-height: 1.7; }

/* ─────────────────────────────────────────────
   DEPLOYMENT
───────────────────────────────────────────── */
.deploy-block  { max-width: 1100px; margin: 60px auto 0; padding: 0 40px; }
.deploy-inner  {
    background: var(--brand-navy); padding: 60px 72px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center; position: relative; overflow: hidden;
}
.deploy-inner::before {
    content: 'MDM'; position: absolute; bottom: -20px; right: 20px;
    font-family: 'Playfair Display', serif; font-weight: 900; font-size: 160px;
    color: rgba(255,255,255,.03); line-height: 1; letter-spacing: -4px; pointer-events: none;
}
.deploy-kicker { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-ice); margin-bottom: 16px; }
.deploy-title  { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 36px; line-height: 1.05; color: #fff; margin-bottom: 16px; }
.deploy-body   { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.75; }
.deploy-pills  { display: flex; flex-direction: column; gap: 12px; }
.deploy-pill   { display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(255,255,255,.75); }
.deploy-pill-icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(96,200,245,.15); border: 1.5px solid var(--brand-ice);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; flex-shrink: 0; color: var(--brand-ice);
}

/* ─────────────────────────────────────────────
   STATUS
───────────────────────────────────────────── */
#status { background: var(--bg-subtle); padding: 100px 0; }
.status-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 40px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.status-milestones { display: flex; flex-direction: column; gap: 0; }
.milestone { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border-subtle); }
.milestone:last-child { border-bottom: none; }
.milestone-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.milestone-dot--done    { background: var(--brand-mint); }
.milestone-dot--pending { background: var(--border-strong); }
.milestone-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.milestone-text strong { color: var(--text-primary); }

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
#contact { padding: 100px 0 0; background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--brand-coral) 6%, var(--bg)) 100%); }
.contact-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 40px 80px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.contact-label { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 16px; }
.contact-email {
    display: block; font-family: 'Playfair Display', serif; font-weight: 700;
    font-size: 32px; color: var(--text-primary); text-decoration: none;
    margin-bottom: 8px; transition: color .2s;
}
.contact-email:hover { color: #B8301F; }
.contact-meta { font-size: 14px; color: var(--text-tertiary); margin-bottom: 4px; }
.contact-note { font-size: 13px; color: var(--text-secondary); margin-top: 24px; line-height: 1.75; }
.contact-cta {
    display: inline-block; margin-top: 28px;
    background: linear-gradient(135deg, #157A3E, #0E5A2C);
    color: #fff; border: none; padding: 16px 40px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    font-family: 'DM Sans', sans-serif; text-decoration: none;
    transition: all .25s;
}
.contact-cta:hover { background: linear-gradient(135deg, #1A9A4E, #127038); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(21,122,62,.4); }
.contact-panel { background: var(--surface); border: 1px solid var(--border-strong); padding: 40px; }
.contact-panel-label { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 20px; }

/* Pills */
.pill { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-secondary); }
.pill-icon {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(21,122,62,.3); border: 1.5px solid var(--mint-aa);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; flex-shrink: 0; color: var(--mint-aa);
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer { background: var(--bg-subtle); border-top: 1px solid var(--border); }
.footer-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    padding: 64px 60px 48px; max-width: 1200px; margin: 0 auto; align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-logo-img { height: 44px; width: auto; opacity: .85; }
.footer-tagline { font-size: 14px; color: var(--text-secondary); line-height: 1.7; max-width: 280px; }
.footer-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'DM Mono', monospace; font-size: 11px;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: #157A3E; padding: 6px 12px;
    border: 1px solid rgba(21,122,62,.3); background: rgba(21,122,62,.08); width: fit-content;
}
.footer-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #18B055; animation: pulse 2s infinite; flex-shrink: 0; }
.footer-right { display: flex; flex-direction: column; gap: 28px; padding-top: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-label { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 4px; }
.footer-email { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--text-primary); text-decoration: none; transition: color .2s; }
.footer-email:hover { color: #B8301F; }
.footer-web { font-size: 13px; color: var(--text-tertiary); text-decoration: none; transition: color .2s; }
.footer-web:hover { color: var(--text-primary); }
.footer-divider { height: 1px; background: var(--border); }
.footer-legal { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .5px; color: var(--text-tertiary); line-height: 1.9; font-style: normal; }
.footer-legal-label { display: block; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 6px; font-size: 10px; }
.footer-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 60px; border-top: 1px solid var(--border);
    font-family: 'DM Mono', monospace; font-size: 11px;
    letter-spacing: .5px; color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */
@keyframes fadeUp      { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes scrollBounce { 0%,100% { transform:translateX(-50%) translateY(0); opacity:1; } 50% { transform:translateX(-50%) translateY(10px); opacity:.3; } }
@keyframes pulse       { 0% { box-shadow:0 0 0 0 rgba(196,39,26,.5); } 70% { box-shadow:0 0 0 18px rgba(196,39,26,0); } 100% { box-shadow:0 0 0 0 rgba(196,39,26,0); } }

/* Scroll-reveal */
.reveal { opacity:0; transform:translateY(30px); transition: all .8s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ─────────────────────────────────────────────
   REDUCED MOTION
───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
    .hero-eyebrow, .hero-stat, .hero-stat-label, .hero-body, .hero-cta-row, .scroll-hint, .reveal { opacity:1 !important; transform:none !important; animation:none !important; }
    .scroll-hint { display:none; }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — TABLET (≤ 900px)
───────────────────────────────────────────── */
@media (max-width: 900px) {
    nav { padding: 14px 24px; flex-wrap: wrap; gap: 12px; }
    .nav-links { display: none; }
    #hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-left { height: 45vh; min-height: 260px; }
    .hero-image-overlay { background: linear-gradient(to top, var(--bg) 0%, transparent 50%), linear-gradient(to bottom, transparent 60%, var(--bg) 100%); }
    .hero-right { padding: 48px 24px 80px; }
    .callout-band { grid-template-columns: 1fr; }
    .callout-old, .callout-new { padding: 40px 24px; }
    .rt-compare { grid-template-columns: 1fr; }
    .rt-cell { border-right: none; border-bottom: 1px solid var(--border); }
    .rt-cell:last-child { border-bottom: none; }
    .feature-grid   { grid-template-columns: 1fr 1fr; padding: 0 24px; }
    .steps-flow     { grid-template-columns: 1fr; padding: 0 24px; }
    .flow-arrow     { display: none; }
    .principle-row  { grid-template-columns: 1fr; padding: 0 24px; }
    .sector-grid    { grid-template-columns: 1fr 1fr; padding: 0 24px; }
    .deploy-inner   { grid-template-columns: 1fr; gap: 40px; padding: 40px 24px; }
    .status-inner   { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
    .contact-inner  { grid-template-columns: 1fr; gap: 40px; padding: 0 24px 60px; }
    .footer-inner   { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 32px; }
    .footer-bar     { flex-direction: column; gap: 6px; padding: 16px 24px; text-align: center; }
    .section-label, .section-title, .section-sub, .trend-strip { padding: 0 24px; }
    .deploy-block   { padding: 0 24px; }
}

@media (max-width: 480px) {
    nav { padding: 12px 16px; gap: 10px; }
    .nav-logo-img { height: 36px; }
    .nav-cta { padding: 8px 16px; font-size: 12px; }
    .hero-left { height: 40vh; min-height: 220px; }
    .hero-right { padding: 32px 16px 64px; }
    .hero-stat { font-size: clamp(56px, 20vw, 80px); }
    .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .btn-primary { width: 100%; text-align: center; padding: 14px 24px; }
    .feature-grid { grid-template-columns: 1fr; padding: 0 16px; }
    .sector-grid  { grid-template-columns: 1fr; padding: 0 16px; }
    .deploy-block { padding: 0 16px; }
    .status-inner { padding: 0 16px; }
    .contact-inner { padding: 0 16px 40px; }
    .footer-inner  { padding: 40px 16px 28px; }
    .footer-bar    { padding: 16px; }
    .section-label, .section-title, .section-sub, .trend-strip { padding: 0 16px; }
}
