/* ═══════════════════════════════════════════════════════
   DISTRIBU — Design System
   Theme: Minimalist white + orange (#FA641E)
   Font: Inter (Google Fonts)
═══════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────── */
:root {
    --orange:        #FA641E;
    --orange-dim:    rgba(250, 100, 30, 0.10);
    --orange-faint:  rgba(250, 100, 30, 0.05);

    --white:         #FFFFFF;
    --off-white:     #F8F6F2;
    --near-black:    #0A0A0A;
    --gray-mid:      #6B7280;
    --gray-light:    #E8E5DF;
    --border:        #EEEBE4;

    --font:          'Inter', system-ui, -apple-system, sans-serif;
    --nav-h:         68px;
    --ease:          cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out:      cubic-bezier(0.0, 0, 0.2, 1);
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--white);
    color: var(--near-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }


/* ═══════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px) saturate(1.6);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.navbar.scrolled {
    border-color: var(--border);
    box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: var(--nav-h);
    padding: 0 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: var(--near-black);
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-mid);
    padding: 7px 12px;
    border-radius: 8px;
    letter-spacing: -0.1px;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link:hover {
    color: var(--near-black);
    background: var(--off-white);
}

.nav-link.is-active {
    color: var(--orange);
    background: var(--orange-dim);
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--near-black);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    display: none;
    overflow: hidden;
    max-height: 0;
    border-top: 1px solid transparent;
    transition: max-height 0.35s var(--ease), border-color 0.35s;
}

.mobile-menu.open {
    max-height: 320px;
    border-color: var(--border);
}

.mobile-menu ul {
    padding: 10px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-menu .nav-link {
    display: block;
    font-size: 15px;
    padding: 12px 16px;
}


/* ═══════════════════════════════════════════════════════
   HERO — "What is Distribu?"
═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: calc(var(--nav-h) + 32px) 32px 80px;
    text-align: center;
    background: transparent;
    overflow-x: hidden;
    overflow-y: visible;
    gap: 20px;
}

/* Liquid canvas background */
#liquid-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-stack {
    font-size: clamp(30px, 4.5vw, 60px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--near-black);
    margin-bottom: 16px;
    opacity: 0; /* animated in */
}

.hero-line-1,
.hero-line-2 {
    display: inline;
}

.hero-tagline {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 400;
    color: var(--gray-mid);
    letter-spacing: -0.2px;
    opacity: 0; /* animated in */
}

.text-orange {
    color: var(--orange);
    transition: color 0.25s var(--ease);
}

/* ── CURSOR SPOTLIGHT — orange → white under cursor orb ─
   JS adds .cursor-lit to elements whose centre falls within
   ~300 px of the mouse (matching the blob radius).
────────────────────────────────────────────────────────── */
.text-orange.cursor-lit,
.cat-label.cursor-lit,
.hiw-num.cursor-lit,
.dna-num.cursor-lit,
.cat-icon.cursor-lit,
.hiw-icon.cursor-lit {
    color: #FFFFFF !important;
}

/* Benefit / DNA icons — also flip background so white is readable */
.benefit-icon.cursor-lit,
.dna-icon.cursor-lit {
    color: #FFFFFF !important;
    background: var(--orange) !important;
    border-color: var(--orange) !important;
}



/* ── CONNECTION HUB (arena) ──────────────────────────── */
.arena {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 8px auto 0;
    aspect-ratio: 1000 / 470;
    flex-shrink: 0;
    overflow: visible;
}

/* Scalable SVG geometry — fills arena exactly (viewBox matches aspect-ratio) */
.arena-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

/* ── HUB RIPPLE PULSE ────────────────────────────────── */
@keyframes hub-ripple {
    0%   { transform: scale(1);   opacity: 0.5; }
    60%  { opacity: 0.18; }
    100% { transform: scale(2.8); opacity: 0; }
}

.hub-ripple,
.hub-ripple-m {
    transform-box: fill-box;
    transform-origin: center;
    fill: none;
    stroke: #FF6A1A;
    stroke-width: 0.75;
    animation: hub-ripple 4s ease-out infinite;
}

.hub-ripple:nth-child(1), .hub-ripple-m:nth-child(1) { animation-delay: 0s; }
.hub-ripple:nth-child(2), .hub-ripple-m:nth-child(2) { animation-delay: 1.33s; }
.hub-ripple:nth-child(3), .hub-ripple-m:nth-child(3) { animation-delay: 2.67s; }

/* ── HUB — centred brain of the ecosystem ────────────── */
.hub {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 10;
    pointer-events: none;
    opacity: 0; /* animated in */
}

.hub-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    margin-bottom: 2px;
}

.hub-name {
    font-size: clamp(13px, 1.7vw, 19px);
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--near-black);
    padding-left: 4px; /* optical balance for letter-spacing */
}

.hub-sub {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-mid);
}

/* ── CATEGORY ICON GLYPHS (overlay white SVG rings) ──── */
.cat-icon {
    position: absolute;
    width: 72px;
    height: 72px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    z-index: 8;
    opacity: 0; /* animated in */
    transition: color 0.25s var(--ease);
}

.cat-icon svg { width: 30px; height: 30px; }

.icon-ring {
    stroke: #C5C5C5;
    stroke-width: 5;
}

.cat-icon--tech     { left: 9.5%;   top: 31.277%; }
.cat-icon--data     { left: 88%;   top: 19.6%; }
.cat-icon--physical { left: 77.2%; top: 76.6%; }

/* ── CATEGORY TEXT BLOCKS ────────────────────────────── */
.cat {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    max-width: 210px;
    transform: translateX(-50%);
    z-index: 8;
    opacity: 0; /* animated in */
}

.cat--tech     { left: 9.5%;  top: 42%; }
.cat--data     { left: min(88%, calc(100% - 105px)); top: 30.5%; width: 210px; }
.cat--physical { left: 77.2%; top: 86%; }

.cat-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    transition: color 0.25s var(--ease);
}

.cat-desc {
    width: 100%;
    min-width: 180px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.2px;
    color: #3F3F46;
}


/* Mobile-only elements — hidden on desktop */
.arena-svg-mobile { display: none; }

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS?
═══════════════════════════════════════════════════════ */
.how-it-works {
    position: relative;
    padding: 100px 32px 80px;
    text-align: center;
    background: transparent;
}

.hiw-header {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.hiw-title {
    font-size: clamp(30px, 4.5vw, 60px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--near-black);
    margin-bottom: 24px;
    white-space: nowrap;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════
   WHY IT WORKS?
═══════════════════════════════════════════════════════ */
.why-it-works {
    position: relative;
    padding: 100px 32px 80px;
    text-align: center;
    background: transparent;
}

.why-header {
    max-width: 820px;
    margin: 0 auto;
}

/* Matches Home hero headline styles */
.why-stack {
    font-size: clamp(30px, 4.5vw, 58px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2.5px;
    color: var(--near-black);
    margin-bottom: 22px;
}

.why-visual {
    width: 100%;
    margin: 56px auto 0;
    padding: 0;
}

.why-visual-figure {
    position: relative;
    width: 100%;
    margin: 0;
}

.why-visual-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.35s var(--ease);
}

.why-bulb-hotspot {
    position: absolute;
    top: 9%;
    left: 1%;
    width: 60%;
    height: 56%;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

.why-bulb-hotspot:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}


/* ═══════════════════════════════════════════════════════
   BENEFITS?
═══════════════════════════════════════════════════════ */
.benefits {
    position: relative;
    padding: 100px 32px 80px;
    text-align: center;
    background: transparent;
}

.benefits-header {
    max-width: 820px;
    margin: 0 auto;
}

.benefits-title {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--near-black);
}

.benefits-visual {
    max-width: 1180px;
    margin: 48px auto 0;
    padding: 0 clamp(16px, 3vw, 32px);
}

.benefits-canvas {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 460px) minmax(0, 1fr);
    gap: clamp(12px, 2vw, 28px);
    align-items: stretch;
    width: 100%;
}

.benefits-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(28px, 4vw, 48px);
    margin: 0;
    padding: clamp(8px, 1.5vw, 20px) 0;
    list-style: none;
    overflow: visible;
}

.benefits-side--left {
    grid-column: 1;
    align-items: flex-end;
}

.benefits-side--right {
    grid-column: 3;
    align-items: flex-start;
}

.benefit-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: max-content;
    max-width: 100%;
    gap: 0;
    overflow: visible;
}

.benefits-side--left .benefit-item {
    justify-content: flex-end;
    margin-left: auto;
}

.benefits-side--right .benefit-item {
    justify-content: flex-start;
    margin-right: auto;
}

.benefits-side .benefit-item:nth-child(1) { --benefit-dash: 10px; }
.benefits-side .benefit-item:nth-child(2) { --benefit-dash: 72px; }
.benefits-side .benefit-item:nth-child(3) { --benefit-dash: 130px; }

.benefits-side--left .benefit-copy {
    text-align: right;
}

.benefits-side--right .benefit-copy {
    text-align: left;
}

.benefit-icon {
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 12px;
    background: var(--white);
    border: 2px solid var(--near-black);
    border-radius: 50%;
    color: var(--orange);
    transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.benefit-icon-svg {
    width: 100%;
    height: 100%;
}

.benefit-connector {
    flex: 0 0 var(--benefit-dash);
    width: var(--benefit-dash);
    height: 0;
    border: none;
    border-top: 2px dashed var(--orange);
    opacity: 0.9;
    align-self: center;
    flex-shrink: 0;
}

.benefits-side--left .benefit-connector {
    margin-right: 12px;
}

.benefits-side--right .benefit-connector {
    margin-left: 12px;
}

.benefit-copy {
    flex: 0 0 var(--benefit-copy-w, 210px);
    width: var(--benefit-copy-w, 210px);
    max-width: var(--benefit-copy-w, 210px);
    flex-shrink: 0;
    min-width: 0;
    padding: 0 8px;
    box-sizing: border-box;
}

.benefit-title {
    font-size: clamp(14px, 1.4vw, 17px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: var(--near-black);
    margin-bottom: 4px;
}

.benefit-desc {
    font-size: clamp(12px, 1.15vw, 14px);
    font-weight: 400;
    line-height: 1.45;
    color: var(--gray-mid);
}

.benefit-item--placeholder {
    visibility: hidden;
    pointer-events: none;
    min-height: 52px;
}

.benefits-figure {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    width: 100%;
    justify-self: center;
    align-self: center;
    border-radius: 20px;
    overflow: hidden;
}

.benefits-visual-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 1017px;
    aspect-ratio: 1017 / 892;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
}

.benefits-trust {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 28px;
    width: fit-content;
    max-width: 100%;
    margin: clamp(40px, 5vw, 56px) auto 0;
    padding: 16px 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.benefits-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefits-trust-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--orange);
}

.benefits-trust-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--near-black);
    letter-spacing: -0.2px;
}

.benefits-trust-text strong {
    font-weight: 700;
}

.benefits-trust-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
}

/* ── DNA MOBILE BLOCK (hidden on desktop) ──────────────── */
.benefits-dna { display: none; }

.benefits-dna-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}

.dna-item {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    column-gap: 22px;
    align-items: center;
    min-height: 112px;
    position: relative;
    z-index: 1;
}

.dna-item--odd  .dna-text {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    text-align: left;
    padding-left: 0;
    padding-right: 8px;
}

.dna-item--odd  .dna-icon { grid-column: 2; grid-row: 1; justify-self: center; }

.dna-item--even .dna-icon { grid-column: 2; grid-row: 1; justify-self: center; }

.dna-item--even .dna-text {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    text-align: right;
    padding-right: 0;
    padding-left: 8px;
}

.dna-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--white);
    border: 2px solid var(--near-black);
    border-radius: 50%;
    box-sizing: border-box;
    color: var(--orange);
    transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.dna-icon .benefit-icon-svg {
    width: 100%;
    height: 100%;
}

.dna-num {
    display: block;
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    transition: color 0.25s var(--ease);
}

.dna-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: var(--near-black);
    margin: 0 0 4px;
}

.dna-desc {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--gray-mid);
    margin: 0;
}


/* ═══════════════════════════════════════════════════════
   BACKED BY
═══════════════════════════════════════════════════════ */
.backed-by {
    position: relative;
    padding: 80px 32px 60px;
    text-align: center;
    background: transparent;
}

.backed-by-header {
    max-width: 820px;
    margin: 0 auto;
}

.backed-by-title {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--near-black);
}

.backed-by-logos {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 48px);
    width: 100%;
    max-width: 1000px;
    margin: clamp(36px, 5vw, 48px) auto 0;
    padding: 0;
    list-style: none;
}

.backed-by-logos > li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    height: clamp(45px, 8vw, 90px);
}

.backed-by-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.35s var(--ease);
}

.backed-by-img:hover {
    transform: scale(1.06);
}


/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
.contact {
    position: relative;
    padding: 100px 32px 80px;
    text-align: center;
    background: transparent;
}

.contact-header {
    max-width: 820px;
    margin: 0 auto;
}

.contact-stack {
    font-size: clamp(38px, 6.5vw, 80px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2.5px;
    color: var(--near-black);
    margin-bottom: 22px;
}

.contact-tagline {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 400;
    color: var(--gray-mid);
    letter-spacing: -0.2px;
}

.contact-card {
    max-width: 720px;
    margin: 56px auto 0;
    padding: 32px 28px 36px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    text-align: left;
    overflow: visible;
    transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.contact-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
    border-color: rgba(250, 100, 30, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form.is-hidden {
    display: none;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--near-black);
    letter-spacing: -0.1px;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 400;
    color: var(--near-black);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-field textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: var(--gray-mid);
    opacity: 0.75;
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus,
.country-code-trigger:focus {
    border-color: rgba(250, 100, 30, 0.5);
    box-shadow: 0 0 0 3px var(--orange-dim);
}

.contact-phone {
    display: flex;
    align-items: stretch;
    gap: 8px;
    overflow: visible;
}

.country-code-picker {
    position: relative;
    flex: 0 0 128px;
    z-index: 2;
}

.country-code-trigger,
.contact-phone-input {
    min-height: 44px;
    padding: 12px 14px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 400;
    color: var(--near-black);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.country-code-trigger {
    width: 100%;
    padding-right: 32px;
    cursor: pointer;
    text-align: left;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.country-code-trigger[aria-expanded="true"] {
    border-color: rgba(250, 100, 30, 0.5);
    box-shadow: 0 0 0 3px var(--orange-dim);
}

.country-code-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 240px;
    overflow-y: auto;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.country-code-menu[hidden] {
    display: none;
}

.country-code-menu li {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--near-black);
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.country-code-menu li:hover,
.country-code-menu li.is-selected {
    background: var(--orange-dim);
    color: var(--orange);
}

.contact-phone-input {
    flex: 1;
    min-width: 0;
    width: auto;
}

.contact-phone-input::-webkit-outer-spin-button,
.contact-phone-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.contact-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 4px;
    padding: 14px 24px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: var(--white);
    background: var(--orange);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition:
        background 0.25s var(--ease),
        transform 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}

.contact-submit:hover {
    background: #e85a15;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(250, 100, 30, 0.35);
}

.contact-submit:active {
    transform: translateY(0);
}

.contact-success {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--near-black);
    text-align: center;
    padding: 24px 12px;
}

.contact-error {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #c0392b;
    background: #fff0ee;
    border: 1px solid #f5c6c0;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
}

.contact-success::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--orange-dim);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FA641E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
}


/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer {
    position: relative;
    padding: 56px 32px 32px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 40px 48px;
    align-items: start;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--near-black);
}

.footer-tagline {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-mid);
    letter-spacing: -0.1px;
}

.footer-contact {
    justify-self: end;
    text-align: right;
}

.footer-contact-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
    transition: color 0.25s var(--ease);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--near-black);
    letter-spacing: -0.1px;
}

.footer-contact-list a {
    color: var(--near-black);
    transition: color 0.2s var(--ease);
}

.footer-contact-list a:hover {
    color: var(--orange);
}

.footer-contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--orange);
    transition: color 0.25s var(--ease);
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--near-black);
    transition:
        color 0.2s var(--ease),
        border-color 0.2s var(--ease),
        background 0.2s var(--ease),
        transform 0.2s var(--ease);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
}

.footer-social-link:hover {
    color: var(--orange);
    border-color: rgba(250, 100, 30, 0.35);
    background: var(--orange-dim);
    transform: translateY(-2px);
}

.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.footer-copy {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-mid);
    letter-spacing: 0.1px;
}

/* Process flow — left col · gap · middle col · gap · Step 3 far right */
/* ── HOW IT WORKS — process loop ─────────────────────── */
.hiw-flow {
    position: relative;
    max-width: 1080px;
    margin: 64px auto 0;
    padding: 0 12px;
}

/* Connector SVG overlay sits behind the icon circles */
.hiw-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
}

.hiw-path {
    stroke: var(--orange);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.85;
}

.hiw-node {
    fill: #FFFFFF;
    stroke: var(--orange);
    stroke-width: 1.5;
}

.hiw-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    column-gap: 40px;
    row-gap: 96px;
    align-items: start;
}

/* Two-row continuous loop: top 01→02→03, bottom 06←05←04 */
.hiw-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 260px;
    justify-self: center;
}

/* Desktop: title + desc become direct flex children of .hiw-step */
.hiw-step-body {
    display: contents;
}

.hiw-step[data-step="1"] { grid-column: 1; grid-row: 1; }
.hiw-step[data-step="2"] { grid-column: 2; grid-row: 1; }
.hiw-step[data-step="3"] { grid-column: 3; grid-row: 1; }
.hiw-step[data-step="4"] { grid-column: 3; grid-row: 2; }
.hiw-step[data-step="5"] { grid-column: 2; grid-row: 2; }
.hiw-step[data-step="6"] { grid-column: 1; grid-row: 2; }

.hiw-num {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--orange);
    margin-bottom: 14px;
    transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hiw-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    margin-top: 9px;
    margin-bottom: 22px;
    transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.hiw-icon svg {
    width: 30px;
    height: 30px;
}

.hiw-step:hover .hiw-icon,
.hiw-step:active .hiw-icon,
.hiw-step:focus-within .hiw-icon {
    color: #FFFFFF;
    background: transparent;
}

.hiw-step:hover .hiw-num,
.hiw-step:active .hiw-num,
.hiw-step:focus-within .hiw-num {
    color: #FFFFFF;
    background: transparent;
    border-color: rgba(250, 100, 30, 0.35);
}

.hiw-step-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.2px;
    color: #111111;
    margin-bottom: 8px;
    line-height: 1.25;
}

.hiw-step-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #666666;
    max-width: 220px;
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */

/* Tablet — keep the diagram layout, tighten spacing & type */
@media (min-width: 861px) and (max-width: 1024px) {
    .cat { max-width: 170px; }
    .cat-desc { font-size: 14px; }
    .cat-label { font-size: 11px; letter-spacing: 1.6px; }
    .cat-icon { width: 64px; height: 64px; }
    .cat-icon svg { width: 26px; height: 26px; }
    .hub-name { letter-spacing: 3px; }

    /* How It Works — reduce spacing, keep two rows */
    .hiw-flow { max-width: 780px; }
    .hiw-grid { column-gap: 20px; row-gap: 76px; }
    .hiw-step { max-width: 210px; }
    .hiw-step-title { font-size: 16px; }
    .hiw-step-desc { font-size: 13px; }
}

@media (max-width: 860px) {
    /* Hide desktop nav, show hamburger */
    .nav-links    { display: none; }
    .hamburger    { display: flex; }
    .mobile-menu  { display: block; }

    .hero {
        gap: 32px;
        padding: calc(var(--nav-h) + 28px) 32px 60px;
    }

    .hero-line-1,
    .hero-line-2 {
        display: block;
    }

    .hero-line-1 {
        white-space: nowrap;
    }

    .hero-stack {
        font-size: clamp(19px, 6vw, 34px);
        letter-spacing: -1.2px;
    }

    .hiw-title {
        white-space: normal;
        font-size: clamp(26px, 6.5vw, 40px);
        letter-spacing: -0.8px;
    }

    /* ── Connection Hub — mobile SVG diagram ──────────────
       SVG viewBox = 0 0 320 580.
       All HTML overlays are positioned as % of arena (same coordinate space).
       Tech  icon centre  →  (46/320, 300/580) = (14.375%, 51.72%)
       Data  icon centre  →  (160/320, 480/580) = (50%, 82.76%)
       Phys  icon centre  →  (274/320, 380/580) = (85.625%, 65.52%)
       Hub   centre       →  (160/320, 95/580)  = (50%, 16.38%)
    ────────────────────────────────────────────────────── */

    .arena {
        aspect-ratio: 320 / 580;
        height: auto;
        display: block;
        padding: 0;
        margin-top: 8px;
        overflow: visible;
    }

    /* Remove the old CSS spine */
    .arena::before { display: none; }

    /* Show mobile SVG, hide desktop SVG */
    .arena-svg        { display: none; }
    .arena-svg-mobile {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        overflow: visible;
    }

    /* Hub: centred on SVG hub disc (50%, 16.38%) */
    .hub {
        position: absolute;
        left: 50%;
        top: 16.38%;
        transform: translate(-50%, -50%);
        /* diameter = 130/320 = 40.625% of arena width */
        width: 40.625%;
        aspect-ratio: 1;
        border-radius: 50%;
        background: var(--white);
        border: 1px solid #EFEFEF;
        box-shadow: 0 10px 30px rgba(10, 10, 10, 0.06);
        z-index: 2;
        /* override desktop margin/order */
        margin: 0;
        order: unset;
    }

    .hub-logo {
        width: 20px;
        height: 20px;
    }

    .hub-name {
        font-size: clamp(10px, 3vw, 14px);
        letter-spacing: 2.5px;
    }

    /* Icon glyphs: absolutely placed over SVG icon rings */
    .cat-icon {
        position: absolute;
        /* diameter = 56/320 = 17.5% of arena width */
        width: 17.5%;
        aspect-ratio: 1;
        border-radius: 50%;
        background: transparent; /* SVG circle is the background */
        border: none;
        box-shadow: none;
        margin: 0;
        transform: translate(-50%, -50%);
        z-index: 2;
        opacity: 0; /* GSAP animates in */
    }

    .cat-icon svg { width: 55%; height: 55%; }

    .cat-icon--tech     { left: 14.375%; top: 51.72%; }
    .cat-icon--data     { left: 50%;     top: 82.76%; }
    .cat-icon--physical { left: 85.625%; top: 65.52%; }

    /* Category labels: absolutely placed below each icon ring */
    .cat {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2px;
        transform: translateX(-50%);
        max-width: 96px;
        z-index: 2;
        opacity: 0; /* GSAP animates in */
    }

    /* Tech icon bottom = (300+28)/580 = 56.55%; add gap → 58% */
    .cat--tech     { left: 14.375%; top: 58%; }
    /* Data icon bottom = (480+28)/580 = 87.59%; add gap → 89% */
    .cat--data     { left: 50%;     top: 89%; }
    /* Phys icon bottom = (380+28)/580 = 70.34%; add gap → 72% */
    .cat--physical { left: 85.625%; top: 72%; }

    .cat-label {
        font-size: clamp(8px, 2.4vw, 11px);
        letter-spacing: 1.2px;
        line-height: 1.3;
        color: var(--orange);
    }

    /* Hide description on mobile — no room */
    .cat-desc { display: none; }

    /* Mobile — left-rail timeline */

    .hiw-flow {
        max-width: 100%;
        margin-top: 44px;
        padding: 0 24px;
    }

    /* Hide the JS-drawn SVG connector on mobile — replaced by CSS pseudo-line */
    .hiw-svg { display: none; }

    /* Single column, left-aligned */
    .hiw-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: relative;
        padding-left: 0;
    }

    /* Thin vertical orange rail — centred on the 32px number column */
    .hiw-grid::before {
        content: '';
        position: absolute;
        left: 16px;
        top: 0;
        bottom: 0;
        width: 1.5px;
        background: rgba(250, 100, 30, 0.22);
        z-index: 0;
    }

    /* Each step: [number | content-block] */
    .hiw-step,
    .hiw-step[data-step="1"],
    .hiw-step[data-step="2"],
    .hiw-step[data-step="3"],
    .hiw-step[data-step="4"],
    .hiw-step[data-step="5"],
    .hiw-step[data-step="6"] {
        grid-column: unset;
        grid-row: unset;
        max-width: 100%;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        padding: 18px 0;
        position: relative;
    }

    .hiw-step::before { display: none; }

    /* Number sits on the rail — white circle so rail doesn't show through */
    .hiw-step .hiw-num {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #FFFFFF;
        border: 1.5px solid rgba(250, 100, 30, 0.35);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
        color: var(--orange);
        margin-bottom: 0;
        position: relative;
        z-index: 1;
        letter-spacing: 0.5px;
    }

    /* Step layout on mobile: num (on rail) | icon (small) | text block */
    .hiw-step .hiw-icon {
        flex-shrink: 0;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: #F5F5F5;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--orange);
        margin-bottom: 0;
        margin-top: 0;
        position: relative;
        z-index: 1;
        transition: color 0.3s var(--ease), background 0.3s var(--ease);
    }

    .hiw-step:hover .hiw-icon,
    .hiw-step:active .hiw-icon,
    .hiw-step:focus-within .hiw-icon {
        color: #FFFFFF;
        background: transparent;
    }

    .hiw-step:hover .hiw-num,
    .hiw-step:active .hiw-num,
    .hiw-step:focus-within .hiw-num {
        color: #FFFFFF;
        background: transparent;
        border-color: rgba(250, 100, 30, 0.35);
    }

    .hiw-step .hiw-icon svg {
        width: 18px;
        height: 18px;
    }

    /* Text block: title + description stacked */
    .hiw-step .hiw-step-body {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0;
        gap: 4px;
        padding-top: 0;
    }

    .hiw-step .hiw-step-title {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 0;
    }

    .hiw-step-desc {
        font-size: 13px;
        max-width: 100%;
        margin-bottom: 0;
    }

    .hiw-step .hiw-num,
    .hiw-step .hiw-step-title,
    .hiw-step .hiw-step-desc {
        text-align: left;
    }

    .benefits-canvas {
        display: block;
    }

    /* Hide two-column desktop layout — replaced by DNA block on mobile */
    .benefits-side--left,
    .benefits-side--right {
        display: none;
    }

    /* Space between image and DNA benefits list */
    .benefits-visual {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 44px;
    }

    /* Keep image visible on mobile, centered above DNA block */
    .benefits-canvas {
        width: 100%;
    }

    .benefits-figure {
        max-width: min(100%, 440px);
        width: 100%;
        margin-inline: auto;
        border-radius: 16px;
        overflow: hidden;
    }

    /* Show DNA block */
    .benefits-dna {
        display: flex;
        flex-direction: column;
        gap: 16px;
        position: relative;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .benefits-trust {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .benefits-trust-divider {
        width: 100%;
        height: 1px;
    }

    /* Backed By — stack logos into one column */
    .backed-by-logos {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 28px;
    }

    .backed-by-logos > li {
        width: 100%;
        max-width: 220px;
        height: clamp(56px, 14vw, 78px);
    }
}

@media (max-width: 480px) {
    .nav-container { padding: 0 20px; }
    .hero { padding: calc(var(--nav-h) + 28px) 20px 60px; }

    .hero-stack {
        font-size: clamp(18px, 5.8vw, 30px);
        letter-spacing: -0.8px;
    }
    .how-it-works { padding: 72px 20px 60px; }
    .hiw-title {
        font-size: clamp(24px, 7vw, 36px);
        letter-spacing: -0.6px;
    }
    .why-it-works  { padding: 72px 20px 60px; }
    .benefits      { padding: 72px 20px 60px; }
    .backed-by     { padding: 60px 20px 48px; }

    .backed-by-logos > li {
        max-width: 240px;
        height: clamp(60px, 16vw, 84px);
    }

    .contact       { padding: 72px 20px 60px; }

    .contact-card {
        margin-top: 40px;
        padding: 24px 20px 28px;
    }

    .contact-row {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 48px 20px 28px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-contact {
        justify-self: start;
        text-align: left;
    }

    .footer-contact-list li {
        justify-content: flex-start;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .why-visual {
        margin-top: 40px;
        padding: 0;
    }

    .benefits-visual {
        margin-top: 40px;
        padding: 0;
    }

    .benefits-figure,
    .benefits-visual-img {
        border-radius: 16px;
    }
}

@media (max-width: 360px) {
    .hero-stack {
        font-size: 16px;
        letter-spacing: -0.4px;
    }

    .hiw-title {
        font-size: 22px;
        letter-spacing: -0.4px;
    }
}
