/*
==========================================
   NETLIFE SITE — "light in the fibre"
   One idea everywhere: the logo's hexagon and circuit traces, and light
   that travels through glass. Dark ink, one accent: the logo blue.
   Shared by every public page (index, tariffs, tv, ai-assistants, hosting, contacts).
   Old pages (ai-*, cabinet, about) still use styles.css.
==========================================
*/

:root {
    --ink: #04070f;
    --ink-2: #070c18;
    --ink-3: #0b1324;
    --surface: rgba(255, 255, 255, 0.025);
    --surface-2: rgba(255, 255, 255, 0.045);
    --line: rgba(160, 196, 255, 0.11);
    --line-strong: rgba(160, 196, 255, 0.22);

    --text: #eef4ff;
    --muted: #93a4c3;
    --faint: #5f6f8c;

    --blue: #2f8bff;          /* logo blue */
    --blue-deep: #1259c7;
    --light: #9fdcff;         /* the light in the fibre */
    --glow: rgba(47, 139, 255, 0.45);

    --font-display: 'Unbounded', 'Onest', system-ui, sans-serif;
    --font-text: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --wrap: 1280px;
    --gutter: clamp(16px, 4vw, 40px);
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 32px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* Names other files read (main.js inline styles, chat.css, accessibility.css) */
    --primary: var(--blue);
    --success: #34d399;
    --error: #f87171;
    --radius-sm: var(--r-sm);
    --z-header: 1000;
    --z-modal: 1100;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-text);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* film grain over everything, very faint */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2000;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.no-scroll { overflow: hidden; }

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

a.skip-nav { top: -80px; }
a.skip-nav:focus { top: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--blue); color: #fff; }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

em { font-style: normal; }

/* ---------- Buttons ---------- */
.btn {
    --h: 48px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    height: var(--h);
    padding: 0 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.975rem;
    letter-spacing: 0.005em;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.5s var(--ease), background-color 0.3s, border-color 0.3s, box-shadow 0.4s var(--ease), color 0.3s;
}
.btn i { font-size: 0.85em; transition: transform 0.5s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn--sm { --h: 40px; padding: 0 1.1rem; font-size: 0.9rem; }
.btn--lg { --h: 58px; padding: 0 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--primary {
    background: linear-gradient(180deg, #3b95ff 0%, var(--blue-deep) 100%);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px -10px var(--glow);
}
/* a streak of light crosses the button on hover */
.btn--primary::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.9s var(--ease);
}
.btn--primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 16px 40px -10px var(--glow); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--line-strong);
    color: var(--text);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: rgba(159, 220, 255, 0.55); background: rgba(47, 139, 255, 0.1); }

.btn--light { background: var(--text); color: var(--ink); }

.btn:disabled { opacity: 0.7; cursor: progress; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--light);
    border-bottom: 1px solid rgba(159, 220, 255, 0.3);
    padding-bottom: 4px;
    transition: gap 0.4s var(--ease), border-color 0.3s;
}
.link-arrow:hover { gap: 0.95rem; border-color: var(--light); }

/* ---------- Header ---------- */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: var(--z-header);
    padding-top: 14px;
    transition: padding 0.4s var(--ease);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 64px;
    border-radius: 999px;
    padding-inline: 10px 10px;
    padding-left: 22px;
    max-width: calc(var(--wrap) - 2 * var(--gutter));
    border: 1px solid transparent;
    transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.header.scrolled { padding-top: 10px; }
.header.scrolled .header__inner {
    background: rgba(6, 11, 22, 0.72);
    border-color: var(--line);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}

.logo { display: inline-flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.logo img { width: 40px; height: auto; filter: drop-shadow(0 0 12px rgba(47, 139, 255, 0.45)); }
.logo span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.nav { display: flex; align-items: center; }
.nav__list { display: flex; gap: 0.25rem; }
.nav__link {
    position: relative;
    display: block;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.3s, background-color 0.3s;
}
.nav__link:hover { color: var(--text); background: var(--surface-2); }
.nav__link.active { color: var(--text); }
.nav__link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--light);
    box-shadow: 0 0 10px var(--light);
    transform: translateX(-50%);
}
.nav__cabinet { display: none; }

.header__actions { display: flex; align-items: center; gap: 0.5rem; }

.burger-menu {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    position: relative;
}
.burger-menu span {
    position: absolute;
    left: 13px;
    width: 18px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.45s var(--ease), opacity 0.3s, top 0.45s var(--ease);
}
.burger-menu span:nth-child(1) { top: 16px; }
.burger-menu span:nth-child(2) { top: 21px; }
.burger-menu span:nth-child(3) { top: 26px; }
.burger-menu.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Shared type ---------- */
.eyebrow, .kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--light);
}
.eyebrow {
    padding: 0.45rem 0.9rem 0.45rem 0.75rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(47, 139, 255, 0.07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: ping 2.4s infinite;
}
@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
    70%, 100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
}

.section { position: relative; padding-block: clamp(80px, 12vw, 160px); }

.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: end;
    column-gap: clamp(24px, 5vw, 80px);
}
.section__head--split .kicker { grid-column: 1 / -1; }
.section__head--split .section__sub { margin-top: 0; justify-self: end; max-width: 420px; padding-bottom: 0.5rem; }
.section__head .kicker { margin-bottom: 1.25rem; }

.section__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.3rem, 5.4vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
}
.section__title em, .hero__title em {
    background: linear-gradient(100deg, var(--light) 0%, var(--blue) 55%, #6f7bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section__sub {
    margin-top: 1.25rem;
    max-width: 560px;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}
.section__head--center .section__sub { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding: 140px 0 clamp(88px, 13vh, 132px);
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(80% 60% at 78% 38%, rgba(47, 139, 255, 0.16), transparent 60%),
        radial-gradient(60% 50% at 10% 100%, rgba(18, 89, 199, 0.18), transparent 60%),
        var(--ink);
}
.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.hero__glow {
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    z-index: -1;
    background: linear-gradient(180deg, transparent, var(--ink));
    pointer-events: none;
}
.hero__inner { position: relative; }

.hero__title {
    margin: 1.75rem 0 2.25rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3.2rem, 9.6vw, 9.4rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
}
.hero__title .line { display: block; }
.hero__title em { padding-right: 0.06em; }

.hero__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: end;
}
.hero__claim {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.15rem, 1.9vw, 1.6rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}
.hero__lead { color: var(--muted); max-width: 520px; font-size: clamp(1rem, 1.25vw, 1.12rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.checker {
    justify-self: end;
    width: 100%;
    max-width: 440px;
    padding: 1.4rem;
    border-radius: var(--r-md);
    border: 1px solid var(--line-strong);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.checker__title { font-weight: 600; margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.55rem; }
.checker__title i { color: var(--light); }
.checker__row {
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(4, 7, 15, 0.6);
    border: 1px solid var(--line);
}
.checker__select {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 2.4rem 0 1.1rem;
    border: 0;
    border-radius: 999px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2393a4c3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
}
.checker__select option { background: var(--ink-3); color: var(--text); }
.checker__btn {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #3b95ff, var(--blue-deep));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 24px -8px var(--glow);
    transition: transform 0.4s var(--ease);
}
.checker__btn:hover { transform: rotate(-45deg) scale(1.05); }

.address-checker__result {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 0.95rem;
    transition: max-height 0.5s var(--ease), opacity 0.4s, margin 0.4s;
}
.address-checker__result.visible { max-height: 120px; opacity: 1; margin-top: 0.9rem; }
.address-checker__result.success { color: var(--success); }
.address-checker__result.error { color: var(--error); }
.address-checker__result small { color: var(--muted); font-size: 0.85rem; }

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
}
.hero__scroll span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    border-radius: 3px;
    background: var(--light);
    animation: scrollcue 2s var(--ease) infinite;
}
@keyframes scrollcue {
    0% { transform: translateY(0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(16px); opacity: 0; }
}

/* ---------- Ticker ---------- */
.ticker {
    position: relative;
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--ink-2);
    padding: 1.15rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    width: max-content;
    animation: marquee 38s linear infinite;
}
.ticker__track span {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.ticker__track i {
    width: 10px;
    height: 11px;
    flex-shrink: 0;
    background: var(--blue);
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
@keyframes marquee { to { transform: translateX(calc(-50% - 1.1rem)); } }

/* ---------- Stats ---------- */
.stats { padding-block: clamp(56px, 8vw, 96px); }
.stats + .section { padding-top: clamp(40px, 6vw, 72px); }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.stat {
    position: relative;
    padding: 0.5rem clamp(12px, 2vw, 28px);
    display: flex;
    flex-direction: column;
}
.stat__val { display: flex; align-items: baseline; gap: 0.3rem; white-space: nowrap; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 3.5vw, 3.2rem);
    letter-spacing: -0.045em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.stat__unit { font-family: var(--font-display); font-weight: 500; color: var(--light); font-size: clamp(0.95rem, 1.5vw, 1.3rem); }
.stat__label {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

/* ---------- Bento ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(240px, auto);
    gap: 16px;
}
.tile {
    --mx: 50%;
    --my: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    padding: clamp(22px, 2.6vw, 34px);
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background:
        radial-gradient(420px circle at var(--mx) var(--my), rgba(47, 139, 255, 0.13), transparent 45%),
        linear-gradient(170deg, var(--ink-3), var(--ink-2));
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.4s, transform 0.6s var(--ease);
}
.tile::before { /* hairline that lights up on hover */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(300px circle at var(--mx) var(--my), rgba(159, 220, 255, 0.7), transparent 50%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.tile:hover { border-color: var(--line-strong); }
.tile:hover::before { opacity: 1; }

.tile__body { position: relative; z-index: 1; max-width: 420px; }
.tile__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--light);
    margin-bottom: 0.9rem;
}
.tile__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 0.6rem;
}
.tile p { color: var(--muted); }
.tile__more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
}
.tile__more i { transition: transform 0.5s var(--ease); }
.tile:hover .tile__more i { transform: translateX(6px); }

.tile--fiber { grid-column: span 7; grid-row: span 2; min-height: 560px; }
.tile--tv { grid-column: span 5; }
.tile--ai { grid-column: span 5; }
.tile--host { grid-column: span 12; flex-direction: row; align-items: center; justify-content: space-between; min-height: 220px; }
.tile--host .tile__body { max-width: 560px; }

.tile__big {
    position: absolute;
    top: clamp(18px, 2.5vw, 30px);
    right: clamp(20px, 2.6vw, 34px);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(6rem, 14vw, 13rem);
    line-height: 0.85;
    letter-spacing: -0.06em;
    background: linear-gradient(180deg, #eaf6ff 0%, var(--light) 35%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 10px 40px rgba(47, 139, 255, 0.35));
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.tile__big small {
    margin-top: 0.6em;
    font-size: 0.17em;
    font-weight: 600;
    letter-spacing: 0;
    -webkit-text-fill-color: var(--light);
}

/* light running through strands of fibre */
.fiber-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 65%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 65%, transparent 100%);
}
.fiber-lines span {
    position: absolute;
    left: -10%;
    width: 120%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(159, 220, 255, 0.32) 30%, rgba(159, 220, 255, 0.32) 70%, transparent);
    transform: rotate(-14deg);
    overflow: hidden;
}
.fiber-lines span::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 220px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, rgba(47, 139, 255, 0.9) 60%, var(--light) 90%, #fff);
    box-shadow: 0 0 18px 3px rgba(47, 139, 255, 0.7);
    animation: photon var(--d, 3s) linear infinite;
    animation-delay: var(--delay, 0s);
}
.fiber-lines span:nth-child(1) { top: 34%; --d: 2.4s; }
.fiber-lines span:nth-child(2) { top: 39%; --d: 3.2s; --delay: -1.2s; }
.fiber-lines span:nth-child(3) { top: 44%; --d: 1.9s; --delay: -0.4s; }
.fiber-lines span:nth-child(4) { top: 49%; --d: 2.8s; --delay: -2.1s; }
.fiber-lines span:nth-child(5) { top: 54%; --d: 2.2s; --delay: -1.6s; }
.fiber-lines span:nth-child(6) { top: 59%; --d: 3.5s; --delay: -0.9s; }
.fiber-lines span:nth-child(7) { top: 64%; --d: 2.6s; --delay: -1.9s; }
.fiber-lines span:nth-child(8) { top: 69%; --d: 2s; --delay: -0.2s; }
@keyframes photon {
    from { transform: translateX(-160px); }
    to { transform: translateX(1100px); }
}

/* channel tiles fan out on hover */
.channels {
    display: flex;
    margin-top: 1.6rem;
    padding-left: 10px;
}
.channels img {
    width: 64px;
    height: 64px;
    margin-left: -10px;
    border-radius: 16px;
    border: 2px solid var(--ink-2);
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.8);
    transition: transform 0.6s var(--ease), margin 0.6s var(--ease);
}
.tile--tv { justify-content: space-between; }
.tile--tv:hover .channels img { margin-left: 4px; }
.tile--tv:hover .channels img:nth-child(odd) { transform: translateY(-6px) rotate(-4deg); }
.tile--tv:hover .channels img:nth-child(even) { transform: translateY(4px) rotate(3deg); }

/* AI: a short conversation */
.tile--ai { justify-content: space-between; }
.chat-demo { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.5rem; }
.bubble {
    display: block;
    max-width: 80%;
    padding: 0.55rem 0.95rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.35;
}
.bubble--in { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble--out {
    align-self: flex-end;
    color: #fff;
    background: linear-gradient(180deg, #3b95ff, var(--blue-deep));
    border-bottom-right-radius: 4px;
}
.bubble--typing {
    width: 64px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-bottom-left-radius: 4px;
}
.bubble--typing i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--light);
    animation: typing 1.2s infinite;
}
.bubble--typing i:nth-child(2) { animation-delay: 0.15s; }
.bubble--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
    0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

/* Hosting: a rack with live LEDs */
.rack { order: 2; display: flex; flex-direction: column; gap: 10px; width: min(360px, 40%); }
.rack span {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}
.rack span::after {
    content: "";
    flex: 1;
    height: 6px;
    margin-left: 12px;
    border-radius: 3px;
    background: repeating-linear-gradient(90deg, rgba(160, 196, 255, 0.18) 0 3px, transparent 3px 7px);
}
.rack i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: blink 1.7s infinite; }
.rack i:nth-child(2) { background: var(--light); box-shadow: 0 0 8px var(--light); animation-duration: 0.9s; }
.rack i:nth-child(3) { background: var(--blue); box-shadow: 0 0 8px var(--blue); animation-duration: 2.3s; }
.rack span:nth-child(2) i { animation-delay: -0.6s; }
.rack span:nth-child(3) i { animation-delay: -1.1s; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ---------- Tariffs ---------- */
.section--tariffs::before { /* hexagon lattice from the logo, fading out */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../img/hexagon-pattern.svg") center / 200px;
    opacity: 0.18;
    -webkit-mask-image: radial-gradient(60% 50% at 50% 45%, #000, transparent 75%);
    mask-image: radial-gradient(60% 50% at 50% 45%, #000, transparent 75%);
}
.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 2.6vw, 36px);
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: linear-gradient(170deg, var(--ink-3), var(--ink-2));
    transition: transform 0.6s var(--ease), border-color 0.4s, box-shadow 0.6s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.plan--top {
    border-color: rgba(47, 139, 255, 0.55);
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(47, 139, 255, 0.22), transparent 60%),
        linear-gradient(170deg, #0c1a33, var(--ink-2));
    box-shadow: 0 40px 90px -40px var(--glow);
}
.plan__badge {
    position: absolute;
    top: 22px;
    right: 22px;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    background: var(--text);
    color: var(--ink);
}
.plan__speed { display: flex; align-items: baseline; gap: 0.5rem; }
.plan__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3.6rem, 6vw, 5.2rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
}
.plan__unit { font-family: var(--font-display); font-weight: 500; color: var(--light); font-size: 1.05rem; }

/* the speed is shown as light: faster plan, faster photons */
.plan__flow {
    position: relative;
    height: 2px;
    margin: 1.6rem 0 1.5rem;
    border-radius: 2px;
    background: var(--line);
    overflow: hidden;
}
.plan__flow span {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0 20%, var(--light) 28%, transparent 36%, transparent 60%, var(--blue) 68%, transparent 76%);
    background-size: 200% 100%;
    animation: flow var(--flow, 2s) linear infinite;
}
@keyframes flow { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.plan__name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; }
.plan__price {
    margin: 0.4rem 0 1.4rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: -0.04em;
}
.plan__price span { font-family: var(--font-text); font-weight: 500; font-size: 0.95rem; letter-spacing: 0; color: var(--muted); }

.ticks { display: grid; gap: 0.65rem; }
.ticks li { position: relative; padding-left: 1.75rem; color: #c9d5ea; }
.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.32em;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: rgba(47, 139, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none'%3E%3Cpath d='M1 4l2.6 2.6L9 1.2' stroke='%239fdcff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}
.ticks--lg li { font-size: 1.08rem; color: var(--text); }

.plan > .ticks { flex: 1; align-content: start; }
.tariff-features-hidden {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ease), margin 0.5s var(--ease);
}
.tariff-features-hidden > .ticks { overflow: hidden; }
.tariff-features-hidden.expanded { grid-template-rows: 1fr; margin-top: 0.65rem; }

.tariff-features-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    margin: 1.1rem 0 1.4rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--light);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}
.tariff-features-toggle i { font-size: 0.75rem; }

.plans__all { text-align: center; margin-top: 2.75rem; }

/* ---------- Why ---------- */
.why {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}
.why__head { position: sticky; top: 120px; }
.why__list { counter-reset: none; border-top: 1px solid var(--line); }
.why__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(18px, 3vw, 40px);
    padding: clamp(28px, 4vw, 48px) 0;
    border-bottom: 1px solid var(--line);
}
.why__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(159, 220, 255, 0.45);
    transition: color 0.6s var(--ease);
}
.why__item:hover .why__num { color: var(--blue); -webkit-text-stroke-color: transparent; }
.why__item h3 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    letter-spacing: -0.025em;
    margin-bottom: 0.7rem;
}
.why__item h3 i { font-size: 0.8em; color: var(--light); }
.why__item p { color: var(--muted); max-width: 560px; }

/* ---------- Connect ---------- */
.section--connect {
    background:
        radial-gradient(60% 60% at 85% 60%, rgba(47, 139, 255, 0.14), transparent 70%),
        var(--ink);
    border-top: 1px solid var(--line);
}
.connect {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(36px, 6vw, 96px);
    align-items: center;
}
.connect__copy .section__title { margin-top: 1.25rem; font-size: clamp(2.1rem, 3.7vw, 3.5rem); overflow-wrap: break-word; }
.connect__copy .ticks { margin-top: 2rem; }
.connect__call {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
}
.connect__call a { font-family: var(--font-display); font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.connect__call a:hover { color: var(--light); }

.form {
    position: relative;
    padding: clamp(24px, 3vw, 40px);
    border-radius: var(--r-lg);
    border: 1px solid var(--line-strong);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group--wide { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.form-control {
    width: 100%;
    height: 54px;
    padding: 0 1.1rem;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: rgba(4, 7, 15, 0.55);
    color: var(--text);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.form-control::placeholder { color: var(--faint); }
.form-control:hover { border-color: rgba(159, 220, 255, 0.35); }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 139, 255, 0.18); background: rgba(4, 7, 15, 0.8); }
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2393a4c3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
}
select.form-control option { background: var(--ink-3); color: var(--text); }

.form-field--error, .form-field--error:hover { border-color: var(--error); }
.form-error { font-size: 0.8rem; color: var(--error); }
.form-message { font-size: 0.95rem; }
.form__note { margin-top: 1rem; font-size: 0.85rem; color: var(--faint); text-align: center; }

/* ---------- Footer ---------- */
.footer {
    position: relative;
    padding-top: clamp(64px, 8vw, 110px);
    border-top: 1px solid var(--line);
    background: var(--ink-2);
    overflow: hidden;
}
.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 56px);
}
.footer__brand p { margin-top: 1.25rem; max-width: 340px; color: var(--muted); font-size: 0.95rem; }
.footer h4 {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 1.1rem;
}
.footer__links { display: grid; gap: 0.7rem; }
.footer__links a { color: #c9d5ea; transition: color 0.3s; display: inline-flex; align-items: center; gap: 0.55rem; overflow-wrap: anywhere; }
.footer__links a:hover { color: var(--light); }
.footer__links i { color: var(--blue); font-size: 0.85em; }

.footer__word {
    margin-top: clamp(48px, 7vw, 96px);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: min(15.5vw, 15rem);
    line-height: 0.78;
    letter-spacing: -0.07em;
    text-align: center;
    background: linear-gradient(180deg, rgba(159, 220, 255, 0.55) 0%, rgba(47, 139, 255, 0.12) 70%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    user-select: none;
    transform: translateY(0.08em);
}
.footer__bottom {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding: 1.4rem 0 1.6rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--faint);
    background: var(--ink-2);
}

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(6, 11, 22, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.4s, transform 0.5s var(--ease), visibility 0.4s, border-color 0.3s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { border-color: var(--light); }

/* chat widget: same font and accent as the page */
.chat-widget { font-family: var(--font-text); }
.chat-widget__button {
    background: linear-gradient(180deg, #3b95ff, var(--blue-deep)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 14px 34px -12px var(--glow) !important;
}

/* ---------- Reveal (only when JS runs) ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease), transform 1.1s var(--ease);
    transition-delay: var(--rd, 0s);
}
.js .hero__title .reveal { transform: translateY(0.35em); }
.js .reveal.in { opacity: 1; transform: none; }
.d1 { --rd: 0.08s; }
.d2 { --rd: 0.16s; }
.d3 { --rd: 0.24s; }
.d4 { --rd: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .nav__list { gap: 0; }
    .nav__link { padding: 0.55rem 0.7rem; }
}

@media (max-width: 980px) {
    .burger-menu { display: block; }
    .header__cabinet { display: none; }
    .nav {
        position: fixed;
        inset: 0;
        z-index: -1;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 2rem;
        padding: 100px var(--gutter) 40px;
        background: rgba(4, 7, 15, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s, visibility 0.4s;
    }
    .nav.nav--active { opacity: 1; visibility: visible; }
    /* backdrop-filter on the pill would trap the fixed menu inside it */
    body.no-scroll .header .header__inner {
        background: transparent;
        border-color: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav__list { flex-direction: column; gap: 0.25rem; }
    .nav__link {
        padding: 0.2rem 0;
        font-family: var(--font-display);
        font-weight: 600;
        font-size: clamp(1.8rem, 7vw, 2.6rem);
        letter-spacing: -0.03em;
        color: var(--text);
        background: none !important;
    }
    .nav__link.active { color: var(--light); }
    .nav__link.active::after { display: none; }
    .nav__cabinet { display: inline-flex; }

    .hero__bottom { grid-template-columns: 1fr; }
    .checker { justify-self: start; }

    .stats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
    .stat:nth-child(4) { border-left: 0; }

    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile--fiber { grid-column: span 2; grid-row: auto; min-height: 460px; }
    .tile--tv, .tile--ai { grid-column: span 1; }
    .tile--host { grid-column: span 2; }

    .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }

    .why { grid-template-columns: 1fr; }
    .why__head { position: static; }
    .section__head--split { grid-template-columns: 1fr; }
    .section__head--split .section__sub { justify-self: start; margin-top: 1.25rem; }

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

    .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    body { font-size: 1rem; }
    .header { padding-top: 10px; }
    .header__inner { height: 58px; padding-left: 16px; }
    .hero { padding-top: 290px; }   /* room for the hexagon above the text */
    .eyebrow { font-size: 0.7rem; letter-spacing: 0.1em; white-space: nowrap; }
    .hero__actions .btn { flex: 1 1 auto; }

    .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(odd) { border-left: 0; }
    .stat:nth-child(4) { border-left: 1px solid var(--line); }
    .stat:nth-child(5) { grid-column: span 2; }

    .bento { grid-template-columns: 1fr; }
    .tile--fiber, .tile--tv, .tile--ai, .tile--host { grid-column: auto; }
    .tile--fiber { min-height: 420px; }
    .tile--host { flex-direction: column; align-items: stretch; }
    .rack { order: 0; width: 100%; margin-bottom: 1.5rem; }
    .channels img { width: 52px; height: 52px; border-radius: 13px; }

    .form__grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__grid > div:last-child { grid-column: 1 / -1; }
    .footer__bottom { flex-direction: column; }
    .back-to-top { left: 14px; bottom: 14px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .js .reveal { opacity: 1; transform: none; }
    .ticker__track { animation: none; }
}

/* ==========================================
   INNER PAGES (tariffs, tv, ai-assistants, hosting, contacts)
   ========================================== */

/* compact hero: same canvas and hexagon, less height */
.hero--page { min-height: 74svh; padding-bottom: clamp(48px, 7vh, 72px); }
.hero--page + .section { padding-top: clamp(56px, 7vw, 100px); }
.hero--page .hero__title { font-size: clamp(2.6rem, 6.6vw, 6.4rem); margin: 1.5rem 0 1.75rem; }
.cards3 .tile__title { font-size: clamp(1.3rem, 1.9vw, 1.7rem); }
.hero--page .hero__lead { max-width: 600px; }

/* three equal cards with the bento look */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards3 .tile { min-height: 280px; justify-content: flex-start; }
.tile__icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 1.6rem;
    border-radius: 16px;
    color: var(--light);
    font-size: 1.3rem;
    background: rgba(47, 139, 255, 0.12);
    border: 1px solid rgba(47, 139, 255, 0.3);
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    border-radius: 0;
}
.tile__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.6rem, 4.4vw, 3.8rem);
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #eaf6ff, var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* speed comparison: the bar length is the real ratio 50 : 100 : 1000 */
.speedbars { display: grid; gap: 1.4rem; margin-top: clamp(40px, 6vw, 72px); }
.speedbar { display: grid; grid-template-columns: 170px minmax(0, 1fr) 120px; align-items: center; gap: 1.25rem; }
.speedbar__name { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.speedbar__val { font-family: var(--font-display); font-weight: 700; text-align: right; color: var(--light); }
.speedbar__track { position: relative; height: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.speedbar__fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue-deep), var(--blue) 60%, var(--light));
    box-shadow: 0 0 18px rgba(47, 139, 255, 0.6);
    overflow: hidden;
    transform-origin: left;
    transition: transform 1.6s var(--ease) 0.2s;
}
.speedbar__fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0 40%, rgba(255, 255, 255, 0.7) 50%, transparent 60%);
    background-size: 220px 100%;
    animation: flow var(--flow, 1.5s) linear infinite;
}
.js .speedbars:not(.in) .speedbar__fill { transform: scaleX(0); }
.note { margin-top: 1.5rem; color: var(--faint); font-size: 0.9rem; }

/* spec sheet (hosting) */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.spec > div { padding: 1.4rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 1rem; }
.spec > div:nth-child(odd) { padding-right: 2rem; }
.spec > div:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
.spec dt { color: var(--faint); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 0.2rem; }
.spec dd { color: var(--text); }
.spec dd small { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 0.25rem; }

/* flow diagram (hosting): steps joined by a lit fibre */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.flow__step { position: relative; padding: 1.6rem; border-radius: var(--r-md); border: 1px solid var(--line); background: linear-gradient(170deg, var(--ink-3), var(--ink-2)); }
.flow__step b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; margin: 0.9rem 0 0.4rem; }
.flow__step p { color: var(--muted); font-size: 0.95rem; }
.flow__step span { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--light); letter-spacing: 0.1em; }
.flow__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -17px;
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--light));
    box-shadow: 0 0 10px var(--light);
}

/* contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-cards .tile { min-height: 0; justify-content: flex-start; }
.contact-cards .tile a { color: var(--text); transition: color 0.3s; }
.contact-cards .tile a:hover { color: var(--light); }
.contact-big {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    letter-spacing: -0.03em;
    line-height: 1.35;
}
.contact-cards p { margin-top: 0.4rem; }
.contact-big--sm { font-size: clamp(1.02rem, 1.45vw, 1.25rem); overflow-wrap: anywhere; }

textarea.form-control { height: auto; min-height: 130px; padding: 0.9rem 1.1rem; resize: vertical; line-height: 1.5; }

@media (max-width: 980px) {
    .cards3, .contact-cards { grid-template-columns: 1fr; }
    .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flow__step:nth-child(2)::after { display: none; }
    .spec { grid-template-columns: 1fr; }
    .spec > div:nth-child(odd) { padding-right: 0; }
    .spec > div:nth-child(even) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
    .hero--page { min-height: 0; }
    .speedbar { grid-template-columns: 1fr auto; gap: 0.5rem 1rem; }
    .speedbar__track { grid-column: 1 / -1; grid-row: 2; }
    .spec > div { grid-template-columns: 1fr; gap: 0.3rem; }
    .flow { grid-template-columns: 1fr; }
    .flow__step::after { display: none; }
}

.plan__desc { color: var(--muted); font-size: 0.95rem; margin-top: 0.35rem; }
.plan .plan__cta { margin-top: 1.6rem; }
.channels--center { justify-content: center; margin-top: clamp(36px, 5vw, 56px); padding-left: 10px; }
.chat-demo--card { margin: 1.4rem 0 0; }
