/* ============================= Homepage extensions ==================== */

.section-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: "Space Grotesk", var(--sans);
    font-size: 11px; font-weight: 500; letter-spacing: .14em;
    text-transform: uppercase; color: var(--blue);
    padding: 6px 14px; border-radius: 100px;
    background: linear-gradient(180deg, rgba(122,162,247,.14), rgba(122,162,247,.04));
    border: 1px solid rgba(122,162,247,.22);
    box-shadow: inset 0 1px rgba(255,255,255,.08);
    margin-bottom: 16px
}
.section-eyebrow i { font-size: 10px }

.section-head-center { text-align: center; max-width: 620px; margin: 0 auto 44px }
.section-head-center .section-head-title {
    font-family: var(--heading);
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 600; letter-spacing: -.02em; line-height: 1.15;
    color: var(--text-bright); margin-bottom: 12px
}
.section-head-center p { font-size: 15px; line-height: 1.6; color: var(--text) }

.title-accent {
    font-style: italic; font-weight: 500;
    background: linear-gradient(100deg, var(--chrome-1), var(--blue) 55%, var(--chrome-2));
    background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
    color: transparent
}

.echo-divider {
    position: relative; width: 100%; height: 1px; margin: 0 auto;
    max-width: var(--content-max);
    background: linear-gradient(90deg, transparent, rgba(122,162,247,.22) 20%, rgba(122,162,247,.22) 80%, transparent)
}

/* Platform strip */
.platform-strip-section { padding: 64px 0; overflow: hidden }
.plat-row {
    position: relative; width: 100%; overflow: hidden; padding: 8px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%)
}
.plat-track {
    display: flex; gap: 14px; width: max-content;
    animation: platScrollLeft 42s linear infinite
}
@keyframes platScrollLeft { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.plat-chip {
    display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0;
    padding: 12px 20px 12px 14px; border-radius: 100px;
    background: linear-gradient(180deg,#1c2b6814,#1c2b6805 55%,#1c2b6803);
    border: 1px solid rgba(28,43,104,.14);
    box-shadow: inset 0 1px #1c2b681f, inset 0 -1px #0006, 0 8px 22px #00000047
}
.plat-chip-icon {
    width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; color: var(--blue);
    background: linear-gradient(180deg,#ffffff14,#ffffff05);
    border: 1px solid rgba(255,255,255,.08)
}
.plat-chip-name {
    font-family: "Space Grotesk", var(--sans); font-size: 13px;
    font-weight: 500; color: var(--text-bright); white-space: nowrap
}

/* ============================= Orbit carousel =========================== */

.orbit-section { padding: 76px 0 64px }

.hub-orbit {
    position: relative; width: 100%; max-width: 640px;
    margin: 0 auto 28px; height: 190px
}

/* Each item slides between 6 fixed positions.  transform is set by JS. */
.hub-item {
    position: absolute;
    bottom: 40px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .65s cubic-bezier(.22,1,.36,1), opacity .35s
}

/* Icon orb — shared styles */
.hub-item-icon {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.09);
    color: var(--text-mid); font-size: 20px;
    box-shadow: inset 0 1px rgba(255,255,255,.07), 0 6px 16px #00000059;
    transition: opacity .35s, filter .35s, width .65s cubic-bezier(.22,1,.36,1), height .65s cubic-bezier(.22,1,.36,1), font-size .65s cubic-bezier(.22,1,.36,1), background .65s, border-color .65s, box-shadow .65s
}

/* Label */
.hub-item-label {
    overflow: hidden; opacity: 0; height: 0; margin-top: 0;
    text-align: center;
    font-family: "Space Grotesk", var(--sans);
    font-size: 13px; font-weight: 500; color: var(--text-bright);
    line-height: 1.15;
    transition: opacity .35s, height .35s, margin-top .35s
}

/* ---- Centre -- always big ---- */
.hub-item.hub-slot--main .hub-item-icon {
    width: 84px; height: 84px; border-radius: 22px;
    background: linear-gradient(180deg, rgba(122,162,247,.24), rgba(122,162,247,.06));
    box-shadow: inset 0 1px rgba(255,255,255,.10), 0 0 32px rgba(122,162,247,.2), 0 12px 28px #00000066;
    color: var(--blue); font-size: 30px
}

@property --hub-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg }
@keyframes hubSpin { to { --hub-angle: 360deg } }

.hub-item.hub-slot--main .hub-item-icon::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
    background: conic-gradient(from var(--hub-angle),
        rgba(122,162,247,.12) 0deg, var(--blue) 25deg,
        rgba(122,162,247,.12) 70deg, rgba(122,162,247,.12) 360deg);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: hubSpin 5s linear infinite
}

.hub-item.hub-slot--main .hub-item-label {
    height: 34px; opacity: 1; margin-top: 14px; font-size: 14.5px
}

/* ---- Side slot labels ---- */
.hub-item.hub-slot--n1 .hub-item-icon { opacity: .85 }
.hub-item.hub-slot--n2 .hub-item-icon { opacity: .45; filter: blur(.6px) }
.hub-item.hub-slot--n3 .hub-item-icon { opacity: .16; filter: blur(3px) }

.hub-item.hub-slot--n1 .hub-item-label { opacity: 0; height: 0; margin-top: 0 }
.hub-item.hub-slot--n2 .hub-item-label { opacity: 0; height: 0; margin-top: 0 }
.hub-item.hub-slot--n3 .hub-item-label { opacity: 0; height: 0; margin-top: 0 }

/* Adjacent slots (n1 left and right of centre) get visible labels */
.hub-item.is-active .hub-item-label { opacity: 1 !important; height: auto !important; margin-top: 8px !important }
.hub-item.is-active .hub-item-icon { opacity: 1 !important; filter: none !important }

@media (max-width: 640px) {
    .hub-orbit { max-width: 400px; height: 160px }
    .hub-item { bottom: 30px }
    .hub-item-icon { width: 42px; height: 42px; border-radius: 13px; font-size: 16px }
    .hub-item.hub-slot--main .hub-item-icon { width: 66px; height: 66px; border-radius: 18px; font-size: 24px }
    .hub-item-label { width: 72px; font-size: 11.5px }
    .hub-item.hub-slot--main .hub-item-label { height: 30px; font-size: 12.5px }
}

@media (prefers-reduced-motion: reduce) {
    .hub-item.hub-slot--main .hub-item-icon::after { animation: none }
    .plat-track { animation: none }
    .hub-item { transition: none }
}

/* ============================= Feature guide =========================== */

.feature-guide {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px; margin-top: 20px
}

.feature-guide .tm-card {
    padding: 22px 22px 20px; min-width: 0;
    transition: opacity .35s ease, transform .35s ease
}
.feature-guide .tm-card.is-entering { opacity: 0; transform: translateY(10px) }
.feature-guide .tm-card.is-visible  { opacity: 1; transform: translateY(0) }

.feature-guide .tm-icon { width: 36px; height: 36px; font-size: 15px; margin-bottom: 12px }
.feature-guide .tm-card h3 { font-size: 16px; margin-bottom: 6px }
.feature-guide .tm-card p { font-size: 13px; line-height: 1.5 }

@media (max-width: 900px) {
    .feature-guide { gap: 10px }
    .feature-guide .tm-card { padding: 16px 14px 14px }
    .feature-guide .tm-card h3 { font-size: 13px }
    .feature-guide .tm-card p { font-size: 11.5px }
}
@media (max-width: 640px) {
    .feature-guide { grid-template-columns: 1fr; gap: 8px }
    .feature-guide .tm-card { padding: 14px 12px 12px }
    .feature-guide .tm-card h3 { font-size: 14px }
    .feature-guide .tm-card p { font-size: 12px }
}

/* ============================= Reliability ============================== */

.reliability-section { padding: 64px 0 76px }
.reliability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px }
.rel-stat {
    border-radius: 20px; padding: 30px 24px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    background: linear-gradient(180deg,#1c2b6814,#1c2b6805 55%,#1c2b6803);
    border: 1px solid rgba(28,43,104,.12);
    box-shadow: inset 0 1px #1c2b681f, inset 0 -1px #0006, 0 10px 30px #00000073
}
.rel-stat:hover { transform: translateY(-2px); border-color: #1c2b683b }
.rel-icon {
    width: 42px; height: 42px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 17px; color: var(--blue);
    background: linear-gradient(180deg,#ffffff14,#ffffff05);
    border: 1px solid rgba(255,255,255,.08); margin-bottom: 4px
}
.rel-num { font-family: var(--heading); font-size: clamp(30px,4vw,40px); font-weight: 600; letter-spacing: -.02em; color: var(--text-bright); line-height: 1 }
.rel-num-suffix { font-size: .55em; color: var(--text-mid); margin-left: 2px }
.rel-label { font-size: 13.5px; line-height: 1.5; color: var(--text); max-width: 220px }

/* ============================= FAQ ====================================== */

.faq-section { padding: 20px 0 76px }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 0 auto }
.faq-item {
    border-radius: 16px; overflow: hidden;
    background: linear-gradient(180deg,#1c2b6814,#1c2b6805 55%,#1c2b6803);
    border: 1px solid rgba(28,43,104,.12);
    box-shadow: inset 0 1px #1c2b681f, inset 0 -1px #0006, 0 8px 22px #00000047
}
.faq-item.open, .faq-item:hover { border-color: #1c2b683b }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 18px 20px; background: none; border: none; cursor: pointer;
    text-align: left; font-family: "Space Grotesk", var(--sans);
    font-size: 15px; font-weight: 500; color: var(--text-bright)
}
.faq-icon {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 100px; color: var(--text-mid);
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
    transition: transform .3s cubic-bezier(.16,1,.3,1), color .2s
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--blue) }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.16,1,.3,1) }
.faq-a-inner { padding: 0 20px 18px; font-size: 14px; line-height: 1.65; color: var(--text-mid) }

/* ============================= Testimonials ============================= */

.testimonials-section { padding: 20px 0 76px }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px }
.testimonial-card {
    border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 16px;
    background: linear-gradient(180deg,#1c2b6814,#1c2b6805 55%,#1c2b6803);
    border: 1px solid rgba(28,43,104,.12);
    box-shadow: inset 0 1px #1c2b681f, inset 0 -1px #0006, 0 10px 30px #00000073
}
.testimonial-card:hover { transform: translateY(-2px); border-color: #1c2b683b }

/* ============================= Footer — blends with page bg ============ */
body .site-footer {
    padding: 0 24px 24px;
    margin-top: 0
}
body .site-footer-card {
    max-width: var(--content-max); margin: 0 auto;
    padding: 32px 0 20px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-top: 1px solid rgba(122,162,247,.14)
}
body .site-footer-inner {
    display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 28px 24px; margin-bottom: 0
}
body .site-footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px }
body .site-footer-logo-row { display: flex; align-items: center; gap: 10px; text-decoration: none }
body .site-footer-logo { width: 30px; height: 30px; border-radius: 8px; object-fit: contain }
body .site-footer-name { font-family: var(--heading); font-size: 16px; font-weight: 600; color: var(--text-bright) }
body .site-footer-tagline { max-width: 36ch; font-size: 12.5px; line-height: 1.6; color: var(--text-dim); margin: 0 }
body .site-footer-col-title {
    font-family: var(--heading); font-size: 11px; font-weight: 600; letter-spacing: .10em;
    text-transform: uppercase; color: var(--text-dim); margin: 0 0 10px
}
body .site-footer-links { list-style: none; display: flex; flex-direction: column; gap: 1px; padding: 0; margin: 0 }
body .site-footer-links a {
    display: inline-flex; align-items: center; gap: 8px; padding: 4px 0;
    font-size: 13px; color: var(--text-mid); text-decoration: none;
    transition: color .18s
}
body .site-footer-links a:hover { color: var(--text-bright) }
body .site-footer-divider {
    height: 1px; margin: 18px 0 12px;
    background: linear-gradient(90deg, transparent, rgba(122,162,247,.12), transparent)
}
body .site-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap }
body .site-footer-status {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: "Space Grotesk", var(--sans); font-size: 11.5px; color: var(--text-dim);
    text-decoration: none
}
body .site-footer-status:hover { color: var(--text-bright) }
body .site-footer-copy { font-size: 11.5px; color: var(--text-dim) }
body .site-footer-copy a { color: var(--text-mid); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12) }
body .site-footer-copy a:hover { color: var(--text-bright) }
body .site-footer-sep { display: inline; opacity: .35; margin: 0 2px }
@media (max-width: 860px) { body .site-footer-inner { grid-template-columns: 1fr 1fr } body .site-footer-brand { grid-column: 1 / -1 } }
@media (max-width: 560px) { body .site-footer { padding: 0 16px 20px } body .site-footer-inner { grid-template-columns: 1fr; gap: 18px } body .site-footer-bottom { flex-direction: column; align-items: flex-start } }
/* ============================= Hero italic fix ========================= */
/* Prevent italic "Echo" text from being clipped on the right side */
.hero h1 em {
    padding-right: 6px;
    display: inline-block;
    position: relative
}

/* Distinct wordmark for "Echo" in headings */
.hero h1 .word-echo {
    font-family: "Space Grotesk", var(--sans);
    font-style: italic;
    font-weight: 650;
    letter-spacing: -.04em;
    background: linear-gradient(135deg, #7aa2f7 0%, #b9ccf9 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: heroShimmer 4s ease-in-out infinite alternate;
    padding-right: 8px;
    display: inline-block;
    transform: skewX(-4deg) scale(1.03);
    transform-origin: left center
}

/* ============================= Feature guide text ===================== */
.feature-guide .tm-card p {
    font-size: 13px;
    line-height: 1.6
}

/* ============================= Footer tweaks ========================== */
/* Remove animation on hover — just swap color instantly */
body .site-footer-links a {
    transition: none
}
body .site-footer-links a:hover {
    color: var(--text-bright)
}
body .site-footer-copy a {
    border-bottom: none
}
body .site-footer-copy a:hover {
    color: var(--text-bright);
    border-bottom: none
}
body .site-footer-status {
    transition: none
}
body .site-footer-status:hover {
    color: var(--text-bright)
}
