:root {
    --navy: #0f142f;
    --navy-deep: #0a0f26;
    --navy-soft: #131a38;
    --gold: #c9961a;
    --gold-deep: #ae7c00;
    --sand: #f3ecdd;
    --sand-strong: #e6dbc5;
    --sand-light: #fbf8f1;
    --text: #161616;
    --muted: #4a4a4a;
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    --radius-lg: 22px;
}

#codex-homepage { font-family: 'Gelion', sans-serif; }
#codex-homepage * { font-family: inherit; }

@font-face {
  font-family: 'Gelion';
  src: url("/wp-content/themes/salient-child/assets/fonts/gelion/Gelion-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gelion';
  src: url("/wp-content/themes/salient-child/assets/fonts/gelion/Gelion-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gelion';
  src: url("/wp-content/themes/salient-child/assets/fonts/gelion/Gelion-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gelion';
  src: url("/wp-content/themes/salient-child/assets/fonts/gelion/Gelion-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gelion';
  src: url("/wp-content/themes/salient-child/assets/fonts/gelion/Gelion-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Gelion', 'Inter', sans-serif;
    background: var(--sand-light);
    color: var(--text);
    font-size: 17px;
    font-synthesis: none;
}

/* Global type tweaks */
h1, h2, h3, h4, h5, h6,
.hero-copy h1,
.section-heading h3,
.info-card h3,
.activation-card h4 {
    font-weight: 500;
    letter-spacing: -0.01em;
}

h1 { font-size: 60px; }
h2 { font-size: 48px; }
h3 { font-size: 36px; }
h4 { font-size: 24px; }

a {
    color: inherit;
    text-decoration: none;
}

.top-bar {
    position: relative;
    background: #fff;
    color: #0f142f;
}

.logo-row {
    display: flex;
    justify-content: center;
    padding: 16px 24px 10px;
    transition: transform 0.22s ease, max-height 0.22s ease, padding 0.22s ease, opacity 0.22s ease;
    height: 48px;
    overflow: hidden;
    opacity: 1;
}

.logo-row .brand-mark {
    height: 32px;
    width: auto;
}

.nav-row {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-row-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 12px 28px;
}

.nav-brand-mobile {
    display: none;
    align-items: center;
}

.nav-brand-mobile .brand-mark {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 600;
}

.nav-item {
    position: relative;
}

.nav-links a {
    color: #0f142f;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
}

.nav-links a .caret {
    font-size: 11px;
    opacity: 0.8;
}

.dropdown {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
    display: none;
    min-width: 200px;
    z-index: 25;
}

.dropdown a {
    display: block;
    padding: 8px 6px;
    color: #0f142f;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
}

.dropdown a:hover {
    background: rgba(0, 0, 0, 0.04);
}

.nav-item.has-menu:hover .dropdown,
.nav-item.has-menu:focus-within .dropdown,
.nav-item.has-menu .dropdown:hover {
    display: block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 46px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0f142f;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1200;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-inner {
    background: #fff;
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 22px 20px 24px;
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-mark {
    height: 36px;
    width: auto;
}

.menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #0f142f;
}

.mobile-menu-list {
    list-style: none;
    padding: 22px 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.mobile-menu-label {
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: 800;
    color: #0f142f;
    padding: 10px 4px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    gap: 0;
}

.mobile-submenu a {
    display: block;
    padding: 8px 4px;
    font-size: 16px;
    font-weight: 600;
    color: #0f142f;
    text-decoration: none;
}

.mobile-submenu.open {
    display: grid;
    gap: 8px;
    padding-top: 6px;
}

.mobile-menu-label span {
    font-size: 12px;
    color: #3b4054;
}

.mobile-menu-footer {
    display: grid;
    gap: 12px;
}

.mobile-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-weight: 700;
    color: #0f142f;
}

.mobile-links a {
    color: inherit;
    text-decoration: none;
}

.mobile-actions {
    display: grid;
    gap: 10px;
}

.nav-item.has-menu {
    padding-bottom: 10px;
}

.top-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-secondary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-right: 4px;
}

.nav-secondary a {
    color: #2f3350;
    font-weight: 600;
    font-size: 12.5px;
    opacity: 0.9;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.nav-secondary a:hover {
    border-color: rgba(230, 234, 248, 0.9);
}

.pill-btn {
    padding: 11px 18px;
    border-radius: 24px;
    font-weight: 800;
    font-size: 14px;
    border: 2px solid var(--navy);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pill-btn.ghost {
    background: transparent;
    color: var(--navy);
}

.pill-btn.ghost:hover {
    background: var(--navy);
    color: #fff;
}

.pill-btn.solid {
    background: var(--navy);
    color: #fff;
}

.pill-btn.solid:hover {
    background: #0c1230;
    color: #fff;
}

.moving-hex {
    position: fixed;
    width: 110px;
    height: 110px;
    background: linear-gradient(150deg, #d9b45a 0%, #c48615 100%);
    clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
    box-shadow: 0 20px 32px rgba(0, 0, 0, 0.2);
    z-index: 12;
    transform: translate3d(0, 0, 0);
    pointer-events: none;
    opacity: 0;
}

.moving-hex.at-rest {
    animation: bigBounce 2.4s ease-in-out infinite;
}

.moving-hex.is-floating {
    animation: none;
}

.moving-hex.playing.at-rest {
    animation-play-state: running;
}

.moving-hex.active {
    opacity: 1;
}
.page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 26px 90px;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    background: linear-gradient(180deg, #fdfaf4 0%, #efe5d1 100%);
    border-radius: 28px;
    padding: 108px 80px 215px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.hero-copy h1 {
    font-size: 60px;
    line-height: 1.08;
    margin: 8px 0 16px;
    color: #111;
}

.hero-copy {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-copy p {
    margin: 0 0 26px;
    font-size: 18px;
    line-height: 1.62;
    color: var(--muted);
}

.eyebrow {
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 13px;
    color: var(--navy);
    text-transform: uppercase;
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid var(--navy);
}

.button.primary {
    background: var(--navy);
    color: #fff;
}

.button.ghost {
    background: #fff;
    color: var(--navy);
}

.button:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.hero-visual {
    width: 100%;
}

.hero-experiment {
    position: relative;
    overflow: hidden;
}

.hero-experiment .hero-copy {
    position: relative;
    z-index: 2;
}

.hero-hex-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-hex-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hex-static-fallback {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(196, 134, 21, 0.12), transparent 40%), radial-gradient(circle at 72% 62%, rgba(15, 20, 47, 0.1), transparent 48%), linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.8));
    opacity: 0.5;
    display: none;
}


.hero-hex-grid {
    --hex-size: 92px;
    --hex-gap: 0px;
    width: fit-content;
    max-width: none;
    margin: 30px auto 0;
    padding: 14px 12px 28px;
    display: flex;
    flex-direction: column;
    gap: var(--hex-gap);
    align-items: flex-start;
    overflow: hidden;
}

.note-hero {
    text-align: center;
    padding: 90px 24px 26px;
}

.note-hero-inner {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
}

.note-hero h2 {
    margin: 0 0 12px;
    font-size: 36px;
    line-height: 1.25;
    color: #0f142f;
}

.note-hero p {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.7;
    color: #3b4054;
}

.note-accent {
    display: block;
    max-width: 460px;
    width: 90%;
    margin: 14px auto 18px;
    border-radius: 14px;
    box-shadow: none;
    transition: transform 0.45s ease;
    position: relative;
    z-index: 1;
}

.note-accent:hover {
    transform: scale(1.02);
}

.note-hex {
    position: absolute;
    top: 66%;
    width: 380px;
    height: 240px;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='360' height='240' viewBox='0 0 360 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop stop-color='%23b86b1d' offset='0'/%3E%3Cstop stop-color='%23c88d3b' offset='0.5'/%3E%3Cstop stop-color='%23e0b178' offset='1'/%3E%3C/linearGradient%3E%3Cg id='hx' fill='none' stroke='url(%23g)' stroke-width='2.2' stroke-opacity='0.32' stroke-linejoin='round'%3E%3Cpolygon points='40,0 80,23 80,69 40,92 0,69 0,23'/%3E%3C/g%3E%3C/defs%3E%3Cg%3E%3Cuse href='%23hx' x='120' y='8'/%3E%3Cuse href='%23hx' x='200' y='8'/%3E%3Cuse href='%23hx' x='160' y='54'/%3E%3Cuse href='%23hx' x='240' y='54'/%3E%3Cuse href='%23hx' x='200' y='100'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0;
    transform: translateY(-50%);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.28s ease;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.15));
}

.note-hex-left {
    left: 0;
}

.note-hex-right {
    right: 0;
}

.note-hero-inner:hover .note-hex {
    opacity: 0.65;
    transform: translateY(-50%) scale(1.02);
    animation: noteBounce 4s ease-in-out infinite;
}

.hex-row {
    display: flex;
    gap: var(--hex-gap);
    justify-content: flex-start;
}

.hex-row + .hex-row {
    margin-top: calc(var(--hex-size) * -0.16);
}

.hex-row.offset {
    margin-left: calc((var(--hex-size) + var(--hex-gap)) / 2);
}

.grid-hex {
    width: var(--hex-size);
    height: var(--hex-size);
    background: linear-gradient(150deg, #f4dba4 0%, #c48615 100%);
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
    transition: transform 0.16s ease-out, filter 0.16s ease-out, background 0.16s ease-out;
    opacity: 1;
    transform: translateY(0);
    animation: dropHex 0.5s ease-out forwards;
    animation-delay: var(--delay, 0ms);
    animation-fill-mode: both;
    will-change: opacity, transform;
}

.grid-hex.dark {
    background: linear-gradient(150deg, #d3a64b 0%, #9a6a05 100%);
}

.grid-hex:hover {
    transform: scale(1.06);
    background: linear-gradient(150deg, #fdf3d4 0%, #e7c479 100%);
    opacity: 0.6;
    filter: brightness(1.12);
}

.grid-hex.dark:hover {
    transform: scale(1.06);
    background: linear-gradient(150deg, #f7e2ae 0%, #d1a14c 100%);
    opacity: 0.6;
    filter: brightness(1.1);
}

.grid-hex.spacer {
    visibility: hidden;
}

.grid-hex.pulse {
    animation: hexHoverWave 0.35s ease-out;
}

.hero-hex-grid.auto-pulse .grid-hex {
    animation: dropHex 0.5s ease-out forwards;
    animation-fill-mode: both;
}

.grid-hex.flash {
    animation: hexFlash 1.3s ease-out forwards, hexGlow 1.3s ease-out forwards;
    background: linear-gradient(150deg, #f4dba4 0%, #8a6210 100%);
}

@keyframes hexGlow {
    0% { box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
    50% { box-shadow: 0 0 24px rgba(12, 18, 48, 0.24); }
    100% { box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
}

.card-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 14px;
    margin: 50px auto 60px;
    max-width: 1240px;
    padding: 0 14px;
}

.card-grid::before {
    display: none;
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease, filter 0.3s ease, background 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-card h3 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.32;
    color: #0f142f;
}

.info-card p {
    margin: 0;
    color: #44495a;
    line-height: 1.6;
    font-size: 18px;
}

.info-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.card-grid:hover .info-card {
    background: linear-gradient(180deg, #fdfaf4 0%, #efe5d1 100%);
    filter: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.info-card:hover {
    background: #fff;
    filter: none;
    box-shadow: 0 24px 38px rgba(0, 0, 0, 0.16);
    transform: translateY(-4px);
    z-index: 2;
}

.card-grid:hover .info-card:hover {
    background: #fff;
    filter: none;
    box-shadow: 0 24px 38px rgba(0, 0, 0, 0.16);
}

.info-card:nth-child(1) { transition-delay: 0.04s; }
.info-card:nth-child(2) { transition-delay: 0.12s; }
.info-card:nth-child(3) { transition-delay: 0.2s; }
.info-card:nth-child(4) { transition-delay: 0.28s; }

.info-card.tall {
    grid-row: auto;
}

.info-card.wide {
    grid-column: 1 / -1;
}

.card-icon {
    display: none;
}

.dark-panel {
    position: relative;
    margin: 103px auto 85px;
    background: radial-gradient(circle at 36% 50%, rgba(201, 150, 26, 0.18) 0%, transparent 42%), radial-gradient(circle at 90% 30%, rgba(255, 205, 119, 0.18) 0%, transparent 30%), var(--navy-deep);
    border-radius: 36px;
    overflow: hidden;
    padding: 110px 30px 110px;
    color: #f6f8ff;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.3);
}

.dark-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 66% 40%, rgba(255, 210, 120, 0.35) 0%, transparent 60%);
    opacity: 0.85;
    z-index: 1;
}

.globe-graphic {
    position: absolute;
    inset: -10% -10% -16% -10%;
    border-radius: 50%;
    background:
        radial-gradient(120% 90% at 78% 52%, rgba(255, 214, 124, 0.35) 0%, rgba(11, 13, 29, 0.16) 52%, transparent 62%),
        radial-gradient(80% 70% at 82% 40%, rgba(255, 214, 124, 0.18) 0%, transparent 55%),
        repeating-radial-gradient(ellipse at 76% 52%, transparent 0 14%, rgba(255, 214, 124, 0.22) 15%, rgba(255, 214, 124, 0.14) 16.5%, transparent 18% 24%),
        linear-gradient(120deg, transparent 36%, rgba(255, 214, 124, 0.35) 40%, rgba(255, 214, 124, 0.16) 42%, transparent 46%),
        linear-gradient(135deg, transparent 30%, rgba(255, 214, 124, 0.14) 34%, rgba(255, 214, 124, 0.08) 36%, transparent 40%);
    filter: blur(0.3px);
    opacity: 0.9;
    z-index: 1;
    transform: rotate(-6deg);
    animation: swirlFloat 24s ease-in-out infinite alternate;
}

.globe-graphic::after {
    content: "";
    position: absolute;
    inset: 8% 6% 24% 14%;
    border: 2px solid rgba(243, 214, 124, 0.24);
    border-radius: 50%;
    transform: rotate(-12deg);
    box-shadow: 0 0 18px rgba(243, 214, 124, 0.18);
}

.dark-panel.in-view .globe-graphic::after {
    animation: orbitPulse 3.6s ease-in-out infinite;
}

.dark-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 96px;
}

.dark-panel.in-view .dark-hex {
    animation-play-state: running;
}
.dark-copy h2 {
    margin: 0 0 16px;
    font-size: 54px;
    line-height: 1;
    max-width: 820px;
}

.dark-copy p {
    margin: 0 0 36px;
    max-width: 680px;
    color: #d6dcff;
    line-height: 1.25;
    font-size: 21px;
}

.accent {
    color: #d9a020;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    max-width: 1200px;
    align-items: stretch;
    margin: 30px auto 0;
    position: relative;
    z-index: 3;
}

.stat {
    background: rgba(255, 255, 255, 0.08);
    padding: 70px 32px 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    min-height: 290px;
    aspect-ratio: 1 / 1.12;
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    text-align: left;
}

.stat .value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 0;
    color: #ffffff;
}

.stat .label {
    display: block;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
}

.stat .sub-label {
    display: block;
    color: #d6dcff;
    font-size: 16px;
    margin-top: 8px;
}

.dark-hex {
    position: absolute;
    width: 44px;
    height: 44px;
    background: linear-gradient(150deg, #f2d480 0%, #c48615 100%);
    clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.32));
    animation: hexPulse 3.6s ease-in-out infinite;
    z-index: 3;
    animation-play-state: paused;
    transform: rotate(90deg);
}

.dark-hex.top { top: 26px; left: 32px; }
.dark-hex.right { right: 32px; bottom: 26px; }

.hex-divider { display: none; }

.feature-section {
    background: transparent;
    border-radius: 0;
    padding: 70px 0 100px;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.section-heading h3 {
    margin: 0 0 10px;
    font-size: 30px;
    text-align: center;
}

.section-heading p {
    margin: 0 0 30px;
    color: var(--muted);
    max-width: 740px;
    line-height: 1.6;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
}

.value-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 10px 50px;
}

.activation-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
    position: relative;
}

.activation-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.activation-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.activation-card:hover {
    box-shadow: 0 24px 38px rgba(0, 0, 0, 0.16);
    transform: translateY(-4px);
    background: #fff;
    z-index: 2;
}

.activation-card h4 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.32;
    color: #0f142f;
}

.activation-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 18px;
}

.activation-cards::before {
    display: none;
}

.activation-cards:hover .activation-card {
    background: linear-gradient(180deg, #fdfaf4 0%, #efe5d1 100%);
    filter: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.activation-cards:hover .activation-card:hover {
    background: #fff;
    filter: none;
    box-shadow: 0 24px 38px rgba(0, 0, 0, 0.16);
    transform: translateY(-4px);
    z-index: 2;
}

@media (max-width: 1100px) {
    .activation-card:not(:last-child)::after,
    .activation-cards::before {
        display: none;
    }
}

@media (max-width: 1200px) {
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        max-width: 100%;
        justify-items: center;
    }
    .stat {
        width: 100%;
        max-width: 320px;
        min-height: 0;
        aspect-ratio: 1 / 1.12;
        padding: 90px 26px 36px;
    }
    .stats .stat:nth-child(1),
    .stats .stat:nth-child(4) {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (max-width: 900px) {
    .stats {
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .stats {
        grid-template-columns: 1fr;
    }
    .stats .stat:nth-child(1),
    .stats .stat:nth-child(4) {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

.device-wrap {
    display: none;
}

.device {
    display: none;
}

.sticky-device {
    display: none;
}

.device-top {
    display: flex;
    gap: 8px;
    padding: 6px 4px 10px;
}

.device .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f3d67c;
}

.device .dot.dark {
    background: #1b1f36;
}

.device-screen {
    background: linear-gradient(145deg, #151a2f 0%, #0b0f26 100%);
    border-radius: 12px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-screen.has-image {
    background-image: url('assets/intentkeyplatform4-3.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    min-height: 320px;
    padding: 0;
    border: 0;
    mix-blend-mode: multiply;
}

.sticky-device {
    transform: translate(20px, 18px) scale(0.96);
}

.feature-section.dock-device .sticky-device {
    transform: translate(0, 0) scale(1.05);
}

.hex-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.hex-dot {
    width: 14px;
    height: 14px;
    background: #c6cde5;
    clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
}

.hex-dot.gold {
    background: #c48615;
}

.hex-dot.dark {
    background: #1b203a;
}

.hex-dot.large {
    width: 18px;
    height: 18px;
}

.gold-device {
    background: linear-gradient(180deg, #dba72c 0%, #b07900 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.gold-device .device-screen {
    background: linear-gradient(160deg, #f3d67c 0%, #b77900 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.gold-device .hex-dot {
    background: #f7e3a8;
}

.gold-device .hex-dot.dark {
    background: #1b203a;
}

.cta-banner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: center;
    background: linear-gradient(180deg, #f5e2b2 0%, #b88314 100%);
    border-radius: 26px;
    padding: 48px 38px;
    color: #1b1509;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
    margin-top: 120px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-copy h3 {
    margin: 12px 0 22px;
    font-size: 32px;
    line-height: 1.32;
    color: #1b1509;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 18px;
    font-weight: 800;
    font-size: 15px;
    border: 2px solid #0f142f;
    text-decoration: none;
    min-width: 180px;
}

.cta-btn.solid {
    background: #0f142f;
    color: #fff;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.cta-btn.outline {
    background: #fff;
    color: #0f142f;
}

.cta-laptop img {
    width: 100%;
    max-width: 520px;
    display: block;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.25));
    mix-blend-mode: normal;
    background: transparent;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.cta-copy .eyebrow.dark {
    color: #1b1509;
}

.eyebrow.center {
    text-align: center;
    display: block;
}

.cta-laptop {
    align-self: end;
    text-align: right;
    padding-right: 12px;
}

.cta-banner:hover .cta-laptop img {
    transform: scale(1.04);
    filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.28));
}

.newsletter {
    background: linear-gradient(180deg, #f7f5ef 0%, #f2efe8 100%);
    padding: 64px 24px 70px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
Display:none;
}

.newsletter-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

.newsletter-copy h3 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
    color: #0f142f;
}

.newsletter-copy p {
    margin: 0;
    font-size: 17px;
    color: #3f4457;
    line-height: 1.6;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: stretch;
}

.newsletter-field {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    padding: 0 14px 0 42px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.newsletter-field input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    height: 48px;
    font-size: 16px;
    color: #0f142f;
}

.newsletter-field input::placeholder {
    color: #7a8095;
}

.mail-icon {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg width='24' height='18' viewBox='0 0 24 18' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='22' height='16' rx='3' ry='3' fill='none' stroke='%23909ab0' stroke-width='1.5'/%3E%3Cpolyline points='2,3 12,10 22,3' fill='none' stroke='%23909ab0' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center/contain;
}

.newsletter-button {
    height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    border: 2px solid #c48615;
    background: #c48615;
    color: #0f142f;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.newsletter-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(196, 134, 21, 0.25);
    background: #d39a2f;
}

.newsletter-button:active {
    transform: translateY(0);
}

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

.footer {
    background: var(--navy);
    color: #f0f4ff;
    padding: 56px 24px 46px;
}

.footer-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 40px;
}

.footer-brand {
    font-weight: 800;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-mark {
    height: 46px;
    width: auto;
}

.footer-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 24px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    border: 2px solid #fff;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-btn.outline {
    background: transparent;
    color: #fff;
}

.footer-btn.outline:hover {
    background: #fff;
    color: var(--navy);
}

.footer-btn.solid {
    background: #fff;
    color: var(--navy);
}

.footer-btn.solid:hover {
    background: var(--navy-soft);
    color: #fff;
}

.footer-columns {
    display: flex;
    gap: 80px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-left: auto;
    width: 100%;
}

.footer-col h4 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #f4f6ff;
}

.footer-col a {
    display: block;
    color: #f0f4ff;
    margin: 6px 0;
    font-weight: 600;
    text-decoration: none;
}

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

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin-top: 12px;
}

.footer-meta {
    color: #c9d1ff;
    font-size: 13px;
    text-align: center;
    margin-top: 85px;
}

.footer-meta a {
    color: #c9d1ff;
    text-decoration: none;
    font-weight: 600;
}

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

.footer-meta .dot {
    padding: 0 8px;
}

.final-cta {
    align-items: stretch;
}

.feature-row.cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
    margin-top: 34px;
}

.info-note {
    grid-column: 1 / -1;
    text-align: center;
    margin: 0 auto 48px;
    font-size: 16px;
    line-height: 1.6;
    color: #4a4f5f;
    padding: 0 10px;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    max-width: 980px;
}

.info-note-head {
    margin: 0 0 6px;
    font-weight: 800;
    color: #11142d;
    font-size: 22px;
}

.info-note-body {
    margin: 0;
    color: #3b4054;
    font-size: 18px;
    line-height: 1.7;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.info-note.revealed {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.info-note-link {
    display: inline-block;
    margin-top: 12px;
    color: #b86b1d;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-note-link:hover {
    color: #8f4f0d;
}

@keyframes hexGhostFloat {
    0% { background-position: 0 0, 40px 30px; opacity: 0.14; }
    50% { background-position: 12px 10px, 52px 46px; opacity: 0.18; }
    100% { background-position: 24px 18px, 64px 62px; opacity: 0.14; }
}

.cta-device-anchor {
    height: 320px;
    position: relative;
}

.feature-section.dock-device .sticky-device {
    position: absolute;
    right: 36px;
    bottom: 12px;
    top: auto;
    transform: translate(0, 0) scale(1.05);
    box-shadow: 0 24px 36px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.feature-section.dock-device .device-wrap {
    height: 100%;
}

.feature-section.cta-locked .cta-banner {
    border-radius: 26px 26px 0 0;
    transition: border-radius 0.3s ease;
}

@keyframes bigBounce {
    0%, 100% { transform: translate3d(0, -6px, 0) rotate(90deg); }
    50% { transform: translate3d(0, 6px, 0) rotate(90deg); }
}

@keyframes hexPulse {
    0%, 100% { transform: scale(1) rotate(90deg); opacity: 0.94; }
    50% { transform: scale(1.08) rotate(90deg); opacity: 1; }
}

@keyframes fallIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes orbitPulse {
    0%, 100% { box-shadow: 0 0 14px rgba(243, 214, 124, 0.18); opacity: 0.9; }
    50% { box-shadow: 0 0 26px rgba(243, 214, 124, 0.28); opacity: 1; }
}

@keyframes hexHoverWave {
    0% { transform: scale(1); filter: brightness(1); }
    40% { transform: scale(1.1); filter: brightness(0.92); }
    100% { transform: scale(1); filter: brightness(1); }
}

@keyframes swirlFloat {
    0% { transform: rotate(-10deg) scale(1); opacity: 0.85; }
    50% { transform: rotate(6deg) scale(1.03); opacity: 0.9; }
    100% { transform: rotate(-4deg) scale(1.06); opacity: 0.95; }
}

@keyframes hexFlash {
    0% { filter: brightness(1); transform: translateY(0) scale(1); }
    45% { filter: brightness(0.35); transform: translateY(-7px) scale(1.08); }
    100% { filter: brightness(1); transform: translateY(0) scale(1); }
}

@keyframes mobilePulse {
    0%, 100% { filter: brightness(1); transform: translateY(0) scale(1); }
    40% { filter: brightness(0.65); transform: translateY(-6px) scale(1.05); }
    60% { filter: brightness(1.05); transform: translateY(0) scale(1.02); }
}

@keyframes noteBounce {
    0%, 100% { transform: translateY(-50%) scale(1.015); }
    50% { transform: translateY(-52%) scale(1.025); }
}

@keyframes dropHex {
    0% { opacity: 0; transform: translateY(-18px) scale(0.94); }
    60% { opacity: 1; transform: translateY(6px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 1000px) {
    .hero,
    .feature-row {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 110px 46px 150px;
    }

    .hero-experiment {
        overflow: hidden;
    }

    .hero-hex-field {
        inset: 0;
    }

    .hex-cluster {
        width: 360px;
        height: 260px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .info-card.offset {
        max-width: none;
        margin-left: 0;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .value-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .activation-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .note-hero {
        padding: 38px 18px 80px;
    }

    .card-grid {
        gap: 16px;
    }

    .cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 32px 26px;
    }

    .cta-laptop {
        justify-self: center;
        padding-right: 0;
    }

    .cta-copy h3 {
        font-size: 28px;
    }

    .newsletter-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-field {
        max-width: 520px;
        margin: 0 auto;
    }

    .hero-hex-grid {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        padding: 12px 12px 22px;
    }

    .hex-row {
        justify-content: center;
    }

    .hero-hex-grid {
        --hex-size: 78px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand {
        align-items: center;
    }

    .nav-links,
    .top-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .mobile-menu {
        display: block;
    }

    .nav-row {
        padding: 10px 18px;
        justify-content: space-between;
    }

    .logo-row {
        display: none;
    }

    .nav-brand-mobile {
        display: flex;
    }
}

@media (max-width: 640px) {
    .top-bar-inner {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-start;
    }

    .pill-button {
        margin-left: 0;
    }

    .page {
        padding: 48px 18px 70px;
    }

    .hero {
        padding: 96px 28px 160px;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .dark-panel {
        padding: 80px 28px 90px;
        margin: 80px auto 70px;
    }
    .dark-content {
        max-width: 90%;
        margin: 0 auto 28px;
        text-align: left;
    }
    .dark-copy h2 {
        font-size: 38px;
        line-height: 1.05;
        max-width: 100%;
    }
    .dark-copy p {
        font-size: 18px;
        line-height: 1.35;
        max-width: 100%;
    }

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

    .feature-section {
        padding: 32px 12px;
    }

    .value-cards,
    .activation-cards {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-hex-field {
        display: block;
        inset: 0;
        opacity: 0.9;
    }

    .note-hero-inner h2 {
        font-size: 28px;
    }

    .note-hero-inner p {
        font-size: 15px;
    }

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

    .cta-btn {
        min-width: 140px;
        width: 100%;
    }

    .cta-actions {
        justify-content: center;
        width: 100%;
        flex-direction: column;
    }

    .newsletter-button {
        width: 100%;
    }

    .footer-col h4 {
        font-size: 18px;
    }

    .cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 28px 18px 32px;
    }

    .cta-copy {
        width: 100%;
    }

    .cta-laptop {
        order: 2;
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .cta-laptop img {
        max-width: 100%;
        width: 100%;
        height: auto;
        filter: none;
    }

    .newsletter-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 18px;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .newsletter-field {
        width: 100%;
        max-width: none;
    }

    .hero-hex-grid {
        --hex-size: 64px;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        padding: 12px 10px 20px;
        width: fit-content;
        max-width: none;
    }

    .globe-graphic {
        inset: -16% -16% -22% -16%;
    }

    .hex-row {
        justify-content: center;
    }

    .hero {
        overflow: hidden;
        padding-left: 14px;
        padding-right: 14px;
    }

    .dark-panel {
        padding-left: 28px;
        padding-right: 28px;
    }

    .note-accent,
    .note-accent:hover {
        transform: none !important;
        pointer-events: none;
    }
}
.hero:not(.hero-experiment) {
    display: none;
}



/* DARK PANEL — lock typography so theme styles can't change it */
#codex-homepage .dark-panel,
#codex-homepage .dark-panel * {
  font-family: 'Gelion', 'Inter', sans-serif;
}

#codex-homepage .dark-panel {
  color: #f6f8ff;
}

#codex-homepage .dark-panel h1,
#codex-homepage .dark-panel h2,
#codex-homepage .dark-panel h3,
#codex-homepage .dark-panel h4,
#codex-homepage .dark-panel h5,
#codex-homepage .dark-panel h6 {
  color: #f6f8ff;
  line-height: 1.15;
  margin: 0 0 16px;
}

#codex-homepage .dark-panel p {
  color: #d6dcff;
  line-height: 1.6;
  margin: 0;
}

/* CODEx ISOLATION: stop Salient/WPBakery globals from altering our layout */
#codex-homepage,
#codex-homepage * {
  box-sizing: border-box;
}



/* Lock CTA buttons to Codex spec */
#codex-homepage .pill-btn,
#codex-homepage .button,
#codex-homepage .cta-btn {
  line-height: 1 !important;
  padding: 12px 20px !important; /* match what you designed */
  border-width: 2px !important;  /* adjust to 1px if that's your thin version */
  border-style: solid !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

#codex-homepage .pill-btn {
  border-radius: 24px !important;
  padding: 11px 18px !important;
}

html.header-collapsed #codex-homepage .logo-row{
  max-height: 0;
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(-8px);
}

html.header-collapsed #codex-homepage .top-bar{
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}




