/* IthacaRe Landing — pre-seed single page */
:root {
    --bg: #070A12;
    --bg2: #0B1020;
    --text: #EAF0FF;
    --muted: #B6C2E8;
    --muted2: #93A6DA;
    --line: rgba(255,255,255,.08);
    --shadow: 0 18px 60px rgba(0,0,0,.55);
    --radius: 18px;
    --radius2: 26px;
    --max: 1120px;

    /* ===== Brand system accents + textures ===== */
    --accent-teal: rgba(80,255,210,.95);
    --accent-indigo: rgba(88,108,255,.95);
    --accent-silver: #C7D2FE;
    --accent-coral: #FF5A66;
    --tex-white: rgba(255,255,255,.045);
    --tex-teal: rgba(80,255,210,.06);

    /* Anchor offset for sticky header (prevents “cut off” on jump) */
    scroll-padding-top: 96px;

    /* bump slightly to be safe */
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background: radial-gradient(1200px 800px at 10% 0%, rgba(88,108,255,.12), transparent 60%),
    radial-gradient(900px 700px at 90% 15%, rgba(80,255,210,.10), transparent 55%),
    linear-gradient(180deg,var(--bg),var(--bg2));
    color: var(--text);
    line-height: 1.45;
    overflow-x: hidden;
}

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

a:hover {
    opacity: .92;
}

.container {
    width: min(100% - 40px, var(--max));
    margin-inline: auto;
}

.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;
}

.bg-orb {
    position: fixed;
    width: 520px;
    height: 520px;
    filter: blur(80px);
    opacity: .22;
    pointer-events: none;
    z-index: -1;
}

.orb-1 {
    left: -220px;
    top: 120px;
    background: radial-gradient(circle, rgba(88,108,255,.9), transparent 55%);
}

.orb-2 {
    right: -240px;
    top: -120px;
    background: radial-gradient(circle, rgba(80,255,210,.85), transparent 60%);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7,10,18,.62);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 18px;
}

/* Brand container */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: .2px;
}

/* Brand media group (two images side-by-side) */
.brand__media {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Primary logo (header) */
.brand__logo {
    height: 44px;

    /* increase if still too small */
    width: auto;
    max-height: 44px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
}

/* Secondary image next to main logo */
.brand__logo--secondary {
    height: 34px;
    max-height: 34px;
    opacity: .98;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
}

/* Footer: text-only lockup */
.brand__logo--footer {
    height: 28px;
    max-height: 28px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: none;

    /* footer usually looks cleaner without glow */
}

/* Optional: footer text lockup slightly brighter */
.brand__logo--textonly {
    opacity: 1;
}

.nav {
    display: flex;
    align-items: center;
}

.nav__toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 14px;
    height: 42px;
    width: 46px;
    color: var(--text);
    cursor: pointer;
}

.burger {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    position: relative;
    margin: 0 auto;
}

.burger:before,
.burger:after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--text);
}

.burger:before {
    top: -6px;
}

.burger:after {
    top: 6px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav__menu a {
    color: var(--muted);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 12px;
}

.nav__menu a:hover {
    background: rgba(255,255,255,.05);
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    font-weight: 600;
    letter-spacing: .1px;
    box-shadow: 0 12px 34px rgba(0,0,0,.30);
}

.btn--primary {
    border-color: rgba(88,108,255,.55);
    background: linear-gradient(135deg, rgba(88,108,255,.95), rgba(80,255,210,.55));
    color: #071018;
}

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

.btn--sm {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    box-shadow: none;
}

.hero {
    padding: 64px 0 24px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 34px;
    align-items: start;
}

.badge {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 14px;
}

h1 {
    font-size: clamp(32px,4vw,50px);
    line-height: 1.05;
    margin: 0 0 12px;
    letter-spacing: -0.8px;
}

.hero__tagline {
    margin: 0 0 14px;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.2px;
    max-width: 62ch;
    font-size: 15px;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(135deg, rgba(88,108,255,.10), rgba(80,255,210,.06));
}

.lead {
    color: var(--muted);
    font-size: 16px;
    margin: 0 0 22px;
    max-width: 60ch;
}

.cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    align-items: flex-start;
}

.cta__meta {
    width: 100%;
    margin-top: 6px;
    color: var(--muted2);
    font-size: 12px;
    line-height: 1.35;
    border-left: 2px solid rgba(80,255,210,.55);
    padding-left: 10px;
}

.callout__meta {
    margin-top: 10px;
    color: var(--muted2);
    font-size: 12px;
    line-height: 1.35;
    border-left: 2px solid rgba(80,255,210,.55);
    padding-left: 10px;
}

.hero__stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stat {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.02);
}

.stat__kpi {
    font-weight: 700;
    letter-spacing: .2px;
}

.stat__lbl {
    color: var(--muted2);
    font-size: 13px;
    margin-top: 2px;
}

.hero__panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.panel {
    border-radius: var(--radius2);
    border: 1px solid rgba(255,255,255,.12);
    background: linear-gradient(180deg, rgba(14,22,48,.9), rgba(11,19,43,.85));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.panel__hdr {
    padding: 18px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.panel__title {
    font-weight: 800;
    font-size: 28px;

    /* match section h2 */
    letter-spacing: -0.4px;
    line-height: 1.08;
}

.panel__pill {
    font-size: 12px;
    color: var(--muted2);
    border: 1px solid rgba(255,255,255,.10);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.03);
}

.panel__body {
    padding: 14px 16px 16px;
    position: relative;
}

/* Optional: micro visualization band — disabled */
.panel__body::after {
    display: none !important;
}

/* ===== Platform Coverage KV list ===== */
.kvs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Clean, consistent rows — WRAP ENABLED (no truncation) */
.kv {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
    align-items: start;

    /* allow multi-line values without clipping */
}

/* Label/value typography */
.kv__k {
    color: var(--muted2);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
}

.kv__v {
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
    overflow: visible;

    /* IMPORTANT: stop clipping */
    text-overflow: unset;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Safety net if kv blocks contain <p> tags */
.kv__k p,
.kv__v p {
    margin: 0;
}

/* ===== Logos placeholder (hide if empty/no items) ===== */
.logos {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
}

.logos:empty {
    display: none;
}

@supports selector(.logos:has(.logos__item)) {
    .logos:not(:has(.logos__item)) {
        display: none;
    }
}

.logos__item {
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.02);
    color: var(--muted2);
    text-align: center;
    font-size: 12px;
}

.section {
    padding: 58px 0;
}

.section--alt {
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Section heading + right-hand subtitle alignment */
.section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    /* FIX: prevents “baseline drift” */
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.section__head h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.4px;
    line-height: 1.08;
    flex: 0 0 auto;
    font-weight: 800;
}

/* Right-hand “subtitle” */
.section__head p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    max-width: 72ch;
    text-align: right;
    margin-left: auto;
    flex: 1 1 420px;
    margin-top: 4px;

    /* tiny optical alignment */
}

/* Keep bold from changing color/size */
.section__head p b {
    color: inherit;
    font-weight: inherit;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.card {
    padding: 18px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.02);
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    letter-spacing: -0.2px;
}

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

/* === Micro-cards: match top card typography + sizing === */
.cards--micro .card {
    padding: 18px 16px;
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.10);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.cards--micro .card h3 {
    font-size: 16px;
    letter-spacing: -0.2px;
    margin: 0 0 8px;
}

.cards--micro .card p {
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
    color: var(--muted);
}

.cards--micro .card:hover {
    transform: translateY(-2px);
    border-color: rgba(80,255,210,.25);
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.012));
}

/* Micro-cards responsiveness */
@media (max-width:980px){
    .cards--micro {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:760px){
    .cards--micro {
        grid-template-columns: 1fr;
    }
}

/* Intelligence section — remove background “circles” */
#intelligence.section {
    padding: 42px 0;
    position: relative;
    overflow: hidden;
}

#intelligence.section::before {
    content: none !important;
}

#intelligence.section::after {
    content: none !important;
}

.tabs {
    border-radius: var(--radius2);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.02);
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(0,0,0,.25);
}

.tabs__nav {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.18);
}

.tabs__btn {
    flex: 1;
    padding: 14px 12px;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.tabs__btn:hover {
    color: var(--text);
    background: rgba(255,255,255,.03);
}

.tabs__btn.is-active {
    color: var(--text);
    background: linear-gradient(135deg, rgba(88,108,255,.18), rgba(80,255,210,.10));
}

.tabs__panes {
    padding: 18px;
}

.tabs__pane {
    display: none;
}

.tabs__pane.is-active {
    display: block;
}

.grid2 {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    align-items: start;
}

.muted {
    color: var(--muted);
}

.bullets {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.bullets li {
    margin: 8px 0;
}

.callout {
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(180deg, rgba(14,22,48,.7), rgba(11,19,43,.6));
    padding: 14px;
}

.callout__title {
    font-weight: 800;
    margin-bottom: 6px;
}

.link {
    color: rgba(80,255,210,.95);
    font-weight: 700;
    display: inline-block;
    margin-top: 8px;
}

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 14px;
}

.step {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.02);
}

.step__n {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #071018;
    background: linear-gradient(135deg, rgba(88,108,255,.95), rgba(80,255,210,.55));
}

.step h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.faq {
    margin-top: 22px;
    padding: 16px;
    border-radius: var(--radius2);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.02);
}

.faq__title {
    margin: 0 0 10px;
    font-size: 16px;
}

.qa {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 10px 0;
}

.qa:first-of-type {
    border-top: 0;
}

.qa summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
}

.qa p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 14px;
}

.trust__item {
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.02);
}

.trust__kicker {
    color: rgba(80,255,210,.95);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.trust__title {
    font-weight: 800;
    margin: 6px 0 6px;
}

.trust__note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(88,108,255,.08);
    color: var(--muted);
    font-size: 13px;
}

#trust.section--alt {
    position: relative;
    overflow: hidden;
}

#trust.section--alt::before {
    content: "";
    position: absolute;
    inset: -60px;
    pointer-events: none;
    background: repeating-linear-gradient(
      135deg,
      rgba(255,255,255,.03) 0px,
      rgba(255,255,255,.03) 1px,
      transparent 1px,
      transparent 14px
    );
    opacity: .22;
}

.trust__kicker--mini {
    color: rgba(80,255,210,.95);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.about {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}

.about__card {
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.02);
}

.about__card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.about__card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.contact {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 14px;
}

.contact__card {
    padding: 16px;
    border-radius: var(--radius2);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.02);
}

.contact__card--fineprint {
    background: rgba(0,0,0,.14);
}

.contact__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.mini {
    margin-top: 10px;
    color: var(--muted2);
    font-size: 12px;
}

code {
    background: rgba(255,255,255,.06);
    padding: 2px 6px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
}

.footer {
    padding: 26px 0 34px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.20);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.footer__tag {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.footer__right {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted2);
    font-size: 13px;
}

.footer__right a {
    padding: 8px 10px;
    border-radius: 12px;
}

.footer__right a:hover {
    background: rgba(255,255,255,.05);
    color: var(--text);
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width:980px){
    .hero__grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

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

    .cards--micro {
        grid-template-columns: 1fr;
    }
}

@media (max-width:760px){
    .nav__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav__menu {
        position: absolute;
        right: 20px;
        top: 62px;
        width: min(360px, calc(100vw - 40px));
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 10px;
        border-radius: 20px;
        border: 1px solid rgba(255,255,255,.12);
        background: rgba(7,10,18,.94);
        box-shadow: var(--shadow);
        display: none;
    }

    .nav__menu.is-open {
        display: flex;
    }

    .nav__menu a {
        padding: 12px;
    }

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

    .hero__tagline {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .cta__meta {
        font-size: 12px;
    }

    /* Mobile scaling for brand */
    .brand__logo {
        height: 38px;
        max-height: 38px;
    }

    .brand__logo--secondary {
        height: 30px;
        max-height: 30px;
    }

    .brand__logo--footer {
        height: 28px;
        max-height: 28px;
    }

    /* On mobile, stack section header + subtitle cleanly */
    .section__head p {
        text-align: left;
        max-width: 100%;
        flex: 1 1 100%;
    }

    /* On mobile, let kv labels stack */
    .kv {
        grid-template-columns: 1fr;
    }
}