:root {
    --ink: #0a0f1e;
    --ink-soft: #121a30;
    --ink-line: rgba(255, 255, 255, 0.1);
    --paper: #f6f7fb;
    --paper-alt: #eceef6;
    --text: #0f1729;
    --text-muted: #5b6478;
    --text-on-ink: #e7eaf3;
    --text-on-ink-muted: #9aa3b8;
    --signal: #569cff;
    --signal-deep: #569cff;
    --violet: #6c5ce7;
    --amber: #f0a93b;
    --line: rgba(15, 23, 41, 0.09);
    --radius: 14px;
    --shadow-card: 0 20px 40px -20px rgba(15, 23, 41, 0.18);
    --shadow-card-ink: 0 20px 40px -18px rgba(0, 0, 0, 0.55);
    --maxw: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: "Sora", system-ui, sans-serif;
    margin: 0;
    letter-spacing: -0.01em;
}

p {
    margin: 0;
    line-height: 1.6;
}

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

img,
svg {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.mono {
    font-family: "IBM Plex Mono", monospace;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 88px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }
}

.eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--signal-deep);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.eyebrow.on-ink {
    color: var(--signal);
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0c5fd5;
    box-shadow: 0 0 0 3px rgba(22, 199, 184, 0.18);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 3px;
}

.btn-primary {
    background: linear-gradient(135deg, #5888cb 0%, #0c5fd4 100%);
    color: #fff;
    box-shadow: 0 10px 22px -10px rgba(10, 15, 30, 0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -10px rgba(10, 15, 30, 0.55);
    background: linear-gradient(135deg, #71cbf7 0%, #0c93d4 100%);
}

.your-button:hover {
    background: linear-gradient(135deg, #0c5fd4 0%, #003fa8 100%);
    box-shadow: 0 0 15px rgba(12, 95, 212, 0.5);
    transform: translateY(-2px);
}

.btn-ghost-ink {
    background: transparent;
    border-color: var(--ink-line);
    color: var(--text-on-ink);
}

.btn-ghost-ink:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--text);
}

.btn-ghost:hover {
    background: #fff;
    border-color: #cfd5e2;
}

.btn-sm {
    padding: 10px 16px;
    font-size: 13.5px;
    border-radius: 8px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 3px;
}

/* ---------- Header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ink-line);
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 18.5px;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink-line);
}

.logo span.dim {
    color: var(--text-on-ink-muted);
    font-weight: 600;
}

.logo img {
    width: 230px;
    background-color: #fff;
    border-radius: 5px;
}

nav.primary {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav.primary > a,
nav.primary .has-dd > a {
    font-size: 14.5px;
    font-weight: 600;
    color: #000000;
    transition: color 0.15s ease;
    padding: 8px 0;
    position: relative;
}

nav.primary > a::after,
nav.primary .has-dd > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--signal), var(--violet));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    border-radius: 2px;
}

nav.primary > a:hover,
nav.primary .has-dd > a:hover,
nav.primary > a:focus-visible,
nav.primary .has-dd > a:focus-visible {
    color: var(--signal);
}

nav.primary > a:hover::after,
nav.primary .has-dd > a:hover::after,
nav.primary > a:focus-visible::after,
nav.primary .has-dd > a:focus-visible::after {
    transform: scaleX(1);
}

.has-dd {
    position: relative;
}

.dd-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dd-trigger svg {
    width: 13px;
    height: 13px;
    transition: transform 0.2s ease;
    opacity: 0.8;
}

.has-dd:hover .dd-trigger svg,
.has-dd:focus-within .dd-trigger svg {
    transform: rotate(180deg);
}

.dd-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--ink-soft);
    border: 1px solid var(--ink-line);
    border-radius: 12px;
    min-width: 240px;
    padding: 8px;
    box-shadow: var(--shadow-card-ink);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.has-dd:hover .dd-menu,
.has-dd:focus-within .dd-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dd-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-on-ink-muted);
}

.dd-menu a:hover,
.dd-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.dd-menu a .code {
    font-family: "IBM Plex Mono", monospace;
    font-size: 10.5px;
    color: var(--signal);
    border: 1px solid rgba(22, 199, 184, 0.35);
    border-radius: 5px;
    padding: 2px 5px;
}

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

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    font-family: "IBM Plex Mono", monospace;
    font-size: 14.5px;
    font-weight: 600;
}

.nav-phone svg {
    width: 16px;
    height: 16px;
    color: #0c5fd5;
}

.burger {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--ink-line);
    background: transparent;
    align-items: center;
    justify-content: center;
}

.burger svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

.mobile-panel {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px 24px 22px;
    border-top: 1px solid var(--ink-line);
    background: var(--ink);
}

.mobile-panel a {
    padding: 12px 4px;
    color: var(--text-on-ink-muted);
    font-size: 15px;
    border-bottom: 1px solid var(--ink-line);
}

.mobile-panel.open {
    display: flex;
}

.m-services {
    padding-left: 14px;
    display: flex;
    flex-direction: column;
}

.m-services a {
    border-bottom: none;
    color: var(--text-on-ink-muted);
    font-size: 14px;
    padding: 9px 4px;
}

@media (max-width: 920px) {
    nav.primary,
    .nav-phone {
        display: none;
    }

    .burger {
        display: flex;
    }
}

/* ---------- Hero ---------- */
.hero {
    background: var(--ink);
    color: var(--text-on-ink);
    position: relative;
    overflow: hidden;
    padding: 96px 0 60px;
}

.hero-fiber {
    position: absolute;
    inset: 0;
    opacity: 0.55;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.06;
    margin: 18px 0 20px;
}

.hero h1 .accent {
    background: linear-gradient(135deg, #82ace7 0%, #67d5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lead {
    font-size: 17.5px;
    color: var(--text-on-ink-muted);
    max-width: 540px;
    margin-bottom: 30px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.trust-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.trust-list li {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14.5px;
    color: var(--text-on-ink-muted);
}

.trust-list svg {
    width: 17px;
    height: 17px;
    color: var(--signal);
    flex-shrink: 0;
    margin-top: 2px;
}

/* gauge */
.gauge-fill {
    fill: none;
    stroke: url(#gaugeGrad);
    stroke-width: 14;
    stroke-linecap: round;
    stroke-dasharray: 409;
    stroke-dashoffset: 409;
    transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gauge-card {
    background: var(--ink-soft);
    border: 1px solid var(--ink-line);
    border-radius: 20px;
    padding: 32px 28px 26px;
    box-shadow: var(--shadow-card-ink);
    position: relative;
}

.gauge-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.live-dot {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11.5px;
    color: var(--text-on-ink-muted);
}

.gauge-wrap {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 6px auto 0;
}

.gauge {
    width: 100%;
    display: block;
}

.gauge-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 14;
    stroke-linecap: round;
}

/* arc length ≈ 408; offset 25 fills ≈ 94% (940 of 1000 Mbps) */
.gauge-fill {
    fill: none;
    stroke: url(#gaugeGrad);
    stroke-width: 14;
    stroke-linecap: round;
    stroke-dasharray: 409;
    stroke-dashoffset: 409;
    transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gauge-fill {
    fill: none;
    stroke: url(#gaugeGrad);
    stroke-width: 14;
    stroke-linecap: round;
    stroke-dasharray: 409;
    stroke-dashoffset: 409;
    transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gauge-fill.fill-in {
    stroke-dashoffset: 25;
}

.gauge-readout {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    text-align: center;
}

.gauge-number {
    font-family: "IBM Plex Mono", monospace;
    font-size: 42px;
    font-weight: 600;
    color: #fff;
}

.gauge-unit {
    font-family: "IBM Plex Mono", monospace;
    font-size: 15px;
    color: var(--text-on-ink-muted);
    margin-left: 4px;
}

.gauge-label {
    font-size: 12.5px;
    color: var(--text-on-ink-muted);
    margin-top: 2px;
}

.gauge-foot {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 14px;
}

.chip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--text-on-ink-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ink-line);
    padding: 6px 11px;
    border-radius: 20px;
}

.chip svg {
    width: 13px;
    height: 13px;
    color: var(--signal);
}

/* ---------- Ticker ---------- */
.ticker {
    background: linear-gradient(135deg, #5888cb 0%, #0c5fd4 100%);
    overflow: hidden;
    padding: 13px 0;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: scrollTicker 26s linear infinite;
}

.ticker-track span {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgb(254, 254, 255);
    padding: 0 26px;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes scrollTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ---------- Services ---------- */
.svc-head {
    max-width: 560px;
    margin-bottom: 46px;
}

.svc-head h2 {
    font-size: clamp(28px, 3.4vw, 38px);
    margin-top: 14px;
}

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

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

.svc-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 46px -18px rgba(15, 23, 41, 0.22);
}

.svc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.svc-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: var(--paper-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-icon svg {
    width: 22px;
    height: 22px;
    color: var(--signal-deep);
}

.svc-code {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 3px 7px;
}

.svc-card h3 {
    font-size: 19.5px;
}

.svc-card p {
    color: var(--text-muted);
    font-size: 14.8px;
}

.svc-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--signal-deep);
    margin-top: auto;
}

.svc-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.15s ease;
}

.svc-card:hover .svc-link svg {
    transform: translateX(3px);
}

/* ---------- Stats ---------- */
.stats-band {
    background: var(--ink);
    color: var(--text-on-ink);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 20px;
    }
}

.stat-num {
    font-family: "IBM Plex Mono", monospace;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 600;
    background: linear-gradient(135deg, #eaf3ff 0%, #87b9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 13px;
    color: var(--text-on-ink-muted);
    margin-top: 8px;
    letter-spacing: 0.02em;
}

/* ---------- How it works ---------- */
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 44px;
    position: relative;
}

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

.how-step {
    position: relative;
    padding-top: 6px;
}

.how-num {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--signal-deep);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.how-num::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.how-step h4 {
    font-size: 18.5px;
    margin-bottom: 8px;
}

.how-step p {
    color: var(--text-muted);
    font-size: 14.8px;
}

/* ---------- Plans ---------- */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}

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

.plan-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #fff;
    position: relative;
}

.plan-card.featured {
    border-color: var(--signal);
    box-shadow: 0 24px 48px -22px rgba(10, 15, 30, 0.4);
}

.plan-tag {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #5888cb 0%, #0c5fd4 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 5px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.plan-name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.plan-price .amount {
    font-family: "IBM Plex Mono", monospace;
    font-size: 40px;
    font-weight: 600;
}

.plan-price .per {
    color: var(--text-muted);
    font-size: 14px;
}

.plan-feats {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 0;
    margin: 0;
}

.plan-feats li {
    list-style: none;
    display: flex;
    gap: 9px;
    font-size: 14.3px;
    color: var(--text);
    align-items: flex-start;
}

.plan-feats svg {
    width: 16px;
    height: 16px;
    color: var(--signal-deep);
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 24px;
}

/* ---------- CTA / Form ---------- */
.cta-section {
    background: var(--ink);
    color: var(--text-on-ink);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

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

.cta-grid h2 {
    font-size: clamp(28px, 3.6vw, 36px);
    margin: 14px 0 16px;
}

.cta-grid p.lead {
    color: var(--text-on-ink-muted);
    max-width: 460px;
    margin-bottom: 26px;
}

.cta-points {
    padding: 0;
    margin: 0;
}

.cta-points li {
    list-style: none;
    display: flex;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text-on-ink-muted);
    margin-bottom: 12px;
    align-items: flex-start;
}

.cta-points svg {
    width: 17px;
    height: 17px;
    color: var(--signal);
    flex-shrink: 0;
    margin-top: 2px;
}

form.lead-form {
    background: var(--ink-soft);
    border: 1px solid var(--ink-line);
    border-radius: 18px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.field label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-on-ink-muted);
    letter-spacing: 0.02em;
}

.field input,
.field select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ink-line);
    border-radius: 9px;
    padding: 12px 13px;
    color: #fff;
    font-size: 14.5px;
    font-family: "Inter", sans-serif;
}

.field select option {
    color: #0f1729;
    background: #fff;
}

.field input::placeholder {
    color: #6c7690;
}

.field input:focus,
.field select:focus {
    outline: 2px solid var(--signal);
    outline-offset: 1px;
    border-color: transparent;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 480px) {
    .field-row {
        grid-template-columns: 1fr;
    }
}

.consent {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-on-ink-muted);
    cursor: pointer;
}

.consent input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 1px 0 0;
    accent-color: var(--signal);
}

.consent a {
    color: var(--signal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lead-form .btn {
    width: 100%;
    margin-top: 6px;
}

.success-msg {
    display: none;
    background: rgba(22, 199, 184, 0.1);
    border: 1px solid rgba(22, 199, 184, 0.35);
    color: #bdf2ec;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    align-items: center;
    gap: 10px;
}

.success-msg.show {
    display: flex;
}

.success-msg svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ---------- Footer ---------- */
footer {
    background: #070a14;
    color: var(--text-on-ink-muted);
    padding: 60px 0 28px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
}

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

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

.foot-grid h5 {
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    margin: 0 0 16px;
    letter-spacing: 0.03em;
}

.foot-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.foot-links a {
    font-size: 14px;
    transition: color 0.15s ease;
}

.foot-links a:hover {
    color: #fff;
}

.foot-about p {
    font-size: 14px;
    margin: 16px 0 0;
    max-width: 300px;
}

.foot-bottom {
    border-top: 1px solid var(--ink-line);
    margin-top: 46px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12.5px;
}

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--signal), var(--violet));
    padding: 2px;
    border: none;
    display: flex;
    cursor: pointer;
    box-shadow: 0 14px 28px -10px rgba(15, 23, 41, 0.35);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease,
        box-shadow 0.2s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 18px 36px -10px rgba(22, 199, 184, 0.5);
}

.back-to-top-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-inner svg {
    width: 20px;
    height: 20px;
    color: var(--ink);
}

@media (max-width: 560px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }
}

/* Reveal animation: only hide content when JS is running (the .js class is set in <head>) */
.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.js .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }

    .gauge-fill {
        stroke-dashoffset: 25;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ---------- Inner pages ---------- */
.page-hero {
    padding: 64px 0 64px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-on-ink-muted);
    margin-bottom: 22px;
}

.breadcrumb a {
    transition: color 0.15s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
    color: var(--signal);
}

.breadcrumb [aria-current="page"] {
    color: #fff;
    font-weight: 600;
}

.speed-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.speed-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-on-ink);
    margin-bottom: 9px;
}

.speed-val {
    font-family: "IBM Plex Mono", monospace;
    font-size: 15px;
    color: #fff;
}

.speed-bar {
    height: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.speed-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, #206ad1, #8bc1f9);
    transition: width 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.speed-list.fill-in .speed-bar span {
    width: var(--w);
}

.speed-note {
    font-size: 12.5px;
    color: var(--text-on-ink-muted);
    margin-top: 22px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 920px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.faq-grid .svc-head {
    margin-bottom: 0;
}

.faq-aside {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 14.8px;
}

.faq-aside a {
    color: var(--signal-deep);
    font-weight: 600;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-list details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 22px;
    box-shadow: var(--shadow-card);
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 19px 0;
    font-family: "Sora", system-ui, sans-serif;
    font-weight: 600;
    font-size: 16px;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "";
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--signal-deep);
    border-bottom: 2px solid var(--signal-deep);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -3px;
}

.faq-list details[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.faq-list summary:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 2px;
    border-radius: 6px;
}

.faq-list details p {
    color: var(--text-muted);
    font-size: 14.8px;
    padding: 0 0 20px;
    max-width: 620px;
}

/* ---------- About page ---------- */
.glance-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.glance-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--ink-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

/* 
.glance-list li:hover {
  border-color: rgba(22, 199, 184, 0.4);
  background: rgba(255, 255, 255, 0.05);
} */

.glance-list li:hover {
    border-color: rgb(89 185 241 / 40%);
    background: rgba(255, 255, 255, 0.05);
}

.glance-list .svc-code {
    color: var(--signal);
    border-color: rgba(22, 199, 184, 0.35);
    min-width: 44px;
    text-align: center;
}

.glance-list strong {
    display: block;
    font-family: "Sora", system-ui, sans-serif;
    font-size: 15px;
    color: #fff;
    font-weight: 600;
}

.glance-list div span {
    display: block;
    font-size: 13px;
    color: var(--text-on-ink-muted);
    margin-top: 2px;
}

.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

@media (max-width: 920px) {
    .split {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.split-title {
    font-size: clamp(28px, 3.4vw, 38px);
    margin: 14px 0 20px;
}

.story-p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 560px;
    margin-bottom: 16px;
}

.trust-list.dark-text {
    margin-top: 24px;
}

.trust-list.dark-text li {
    color: var(--text);
}

.trust-list.dark-text svg {
    color: var(--signal-deep);
}

.story-visual {
    background: var(--ink);
    border: 1px solid var(--ink-line);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.story-visual svg {
    width: 100%;
    height: auto;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.mv-card {
    padding: 36px 32px;
}

.mv-card h3 {
    font-size: 24px;
}

.mv-card p {
    font-size: 16.5px;
}

.mv-card .svc-icon {
    width: 54px;
    height: 54px;
    border-radius: 13px;
}

.mv-card .svc-icon svg {
    width: 26px;
    height: 26px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 920px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.value-item {
    padding: 26px 22px;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    background: var(--ink-soft);
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.value-item:hover {
    border-color: rgba(22, 199, 184, 0.45);
    transform: translateY(-3px);
}

.value-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(22, 199, 184, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.value-icon svg {
    width: 20px;
    height: 20px;
    color: var(--signal);
}

.value-item h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
}

.value-item p {
    font-size: 14.5px;
    color: var(--text-on-ink-muted);
}

.stats-band .svc-head h2 {
    color: #fff;
}

.cta-center {
    text-align: center;
}

.cta-center .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-center h2 {
    max-width: 640px;
}

.cta-center p.lead {
    margin-left: auto;
    margin-right: auto;
}

.cta-center .hero-ctas {
    justify-content: center;
    margin: 6px 0 0;
}

/* ---------- Plans / comparison / two-up ---------- */
.plans-grid.two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 920px) {
    .plans-grid.two {
        grid-template-columns: 1fr;
    }
}

.split-card .plan-card {
    max-width: 420px;
    margin-left: auto;
}

@media (max-width: 920px) {
    .split-card .plan-card {
        margin-left: 0;
        max-width: none;
    }
}

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

.compare-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow-x: auto;
}

.compare-wrap:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 3px;
}

.compare {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 14.8px;
}

.compare th,
.compare td {
    padding: 18px 22px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.compare thead th {
    font-family: "Sora", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    background: var(--paper-alt);
}

.compare tbody th {
    font-weight: 600;
    color: var(--text);
    width: 26%;
}

.compare td {
    color: var(--text-muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 13.5px;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
    border-bottom: none;
}

.compare tbody tr {
    transition: background 0.15s ease;
}

.compare tbody tr:hover {
    background: rgba(22, 199, 184, 0.05);
}

.compare .col-featured {
    background: rgba(22, 199, 184, 0.07);
    color: var(--text);
}

.compare thead .col-featured {
    background: linear-gradient(135deg, var(--signal), var(--violet));
    color: #fff;
}

/* ---------- Legal pages ---------- */
.page-hero.compact .hero-grid {
    grid-template-columns: 1fr;
}

.page-hero.compact .lead {
    margin-bottom: 18px;
}

.legal-updated {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12.5px;
    color: var(--text-on-ink-muted);
}

.legal-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 56px;
    align-items: start;
}

@media (max-width: 920px) {
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.toc {
    position: sticky;
    top: 98px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 22px 18px;
    box-shadow: var(--shadow-card);
}

@media (max-width: 920px) {
    .toc {
        position: static;
    }
}

.toc h5 {
    font-family: "Sora", system-ui, sans-serif;
    font-size: 13.5px;
    margin: 0 0 14px;
    letter-spacing: 0.03em;
}

.toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    counter-reset: toc;
}

.toc li {
    counter-increment: toc;
}

.toc a {
    font-size: 13.8px;
    color: var(--text-muted);
    display: flex;
    gap: 9px;
    transition: color 0.15s ease;
}

.toc a::before {
    content: counter(toc);
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--signal-deep);
    min-width: 18px;
}

.toc a:hover,
.toc a:focus-visible {
    color: var(--text);
}

.legal-content {
    max-width: 760px;
}

.legal-content section {
    margin-bottom: 42px;
    scroll-margin-top: 96px;
}

.legal-content h2 {
    font-size: clamp(21px, 2.4vw, 26px);
    margin-bottom: 14px;
}

.legal-content h3 {
    font-size: 17px;
    margin: 20px 0 8px;
}

.legal-content p {
    color: var(--text-muted);
    font-size: 15.5px;
    margin-bottom: 14px;
}

.legal-content ul {
    margin: 0 0 16px;
    padding-left: 22px;
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.6;
}

.legal-content li {
    margin-bottom: 7px;
}

.legal-content li::marker {
    color: var(--signal-deep);
}

.legal-content a {
    color: var(--signal-deep);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content strong {
    color: var(--text);
}
.form-errors {
    padding: 1rem;
    border: 1px solid #d44343;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.success-msg.show {
    display: block !important;
}
[aria-invalid="true"] {
    outline: 2px solid #d44343;
}
