:root {
    --bg: #ffffff;
    --text: #0a0a0a;
    --muted: #6b6b6b;
    --faint: #989898;
    --button-bg: #0a0a0a;
    --button-text: #ffffff;
    --border-soft: rgba(0, 0, 0, 0.08);
    --surface: rgb(251, 251, 251);
    --green: #1dcc5d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg); color: var(--text);
    letter-spacing: -0.02em; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.serif { font-family: 'Source Serif 4', Georgia, serif; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 36px; }

/* ── Navbar ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; padding: 19px 36px;
}
.logo {
    font-family: 'Source Serif 4', Georgia, serif; font-size: 30px; font-weight: 600;
    font-style: italic; letter-spacing: -0.06em; line-height: 1;
}
.logo sup {
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
    font-style: normal; letter-spacing: 0; vertical-align: super;
}
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-signin {
    font-size: 14px; font-weight: 500; padding: 9px 14px; border-radius: 999px;
    transition: background 0.15s;
}
.nav-signin:hover { background: var(--surface); }
.menu-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--button-bg); color: var(--button-text);
    border: none; border-radius: 999px; padding: 9px 16px;
    font-family: inherit; font-size: 14px; font-weight: 500;
    letter-spacing: -0.02em; cursor: pointer;
}
.menu-btn svg { transition: transform 0.3s; transform: rotate(180deg); }
.menu-btn.open svg { transform: rotate(0deg); }

.drawer {
    position: fixed; inset: 0; z-index: 99; background: var(--bg);
    display: flex; flex-direction: column; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.drawer.open { opacity: 1; visibility: visible; }
.drawer-links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.drawer-links a {
    font-size: 48px; font-weight: 500; letter-spacing: -0.04em;
    padding: 6px 0; transition: opacity 0.2s;
}
.drawer-links a:hover { opacity: 0.45; }
.drawer-foot {
    position: absolute; bottom: 36px; left: 0; right: 0; text-align: center;
    font-size: 13px; color: var(--muted); letter-spacing: -0.01em;
}

/* ── Hero ── */
.hero {
    position: relative; min-height: 850px; padding: 160px 36px 0;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(120% 80% at 50% 0%, #f4f4f5 0%, #ffffff 55%),
        radial-gradient(60% 50% at 15% 20%, rgba(10,10,10,0.05) 0%, transparent 70%),
        radial-gradient(50% 45% at 85% 15%, rgba(10,10,10,0.04) 0%, transparent 70%);
}
.lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.line {
    position: absolute; top: 50%; transform: translateY(-50%);
    height: 700px; border: 2.5px solid #0a0a0a; opacity: 0;
    animation: line-pulse 5s ease-in-out infinite;
}
.line.l { left: 0; border-left: none; border-radius: 0 80% 80% 0 / 0 50% 50% 0; }
.line.r { right: 0; border-right: none; border-radius: 80% 0 0 80% / 50% 0 0 50%; }
.line.t { display: none; }
@keyframes line-pulse {
    0%   { opacity: 0;    transform: translateY(-50%) scale(1); }
    15%  { opacity: 0.09; }
    70%  { opacity: 0.04; }
    100% { opacity: 0;    transform: translateY(-50%) scale(0.85); }
}

/* ── Marquee ── */
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
.marquee-track { display: flex; width: max-content; animation: marquee-left 30s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 8px; padding-right: 8px; }
@keyframes marquee-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker { max-width: 500px; width: 100%; height: 36px; margin-bottom: 34px; }
.ticker .chip {
    font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: -0.02em;
    padding: 6px 14px; border-radius: 999px; background: var(--surface); white-space: nowrap;
}

.hero h1 {
    max-width: 640px; font-size: 82px; line-height: 1.03;
    letter-spacing: -0.07em; font-weight: 600; margin-bottom: 22px;
}
.hero h1 .serif { font-style: italic; font-weight: 600; letter-spacing: -0.06em; }
.hero p.sub {
    max-width: 476px; font-size: 17px; line-height: 1.45;
    color: var(--muted); margin-bottom: 34px;
}

.cta-row { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex; align-items: center; height: 56px; padding: 18px 30px;
    border: none; border-radius: 999px; background: var(--button-bg); color: var(--button-text);
    font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

.btn-book {
    display: inline-flex; align-items: center; gap: 12px;
    background: #fff; border: 4px solid rgb(248, 248, 248);
    border-radius: 999px; padding: 8px 24px 8px 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-book:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.btn-book .mark {
    width: 40px; height: 40px; border-radius: 999px; flex-shrink: 0;
    background: var(--button-bg); color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.btn-book .stack { text-align: left; line-height: 1.25; }
.btn-book .primary { font-size: 14px; font-weight: 600; }
.btn-book .secondary {
    font-size: 12px; font-weight: 500; color: var(--faint);
    display: flex; align-items: center; gap: 5px;
}
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--green); flex-shrink: 0; }

.blur-foot {
    position: absolute; left: 0; right: 0; bottom: 0; height: 178px; pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.4) 40%, #fff 100%);
}

/* ── Reach strip ── */
.reach { padding: 36px; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 48px; }
.reach .label {
    max-width: 163px; font-size: 14px; font-weight: 500; color: var(--muted);
    line-height: 1.35; flex-shrink: 0;
}
.reach .marquee { flex: 1; min-width: 0; }
.reach .name {
    font-size: 16px; font-weight: 600; white-space: nowrap; padding-right: 40px;
    letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 8px;
}
.reach .name i { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }

/* ── Sections ── */
section.block { padding: 96px 0; }
section.soft {
    background: var(--surface); border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.head h2 { font-size: 48px; line-height: 1.06; letter-spacing: -0.055em; font-weight: 600; margin-bottom: 14px; }
.head h2 .serif { font-style: italic; letter-spacing: -0.05em; }
.head p { font-size: 17px; line-height: 1.45; color: var(--muted); }
.head.left { text-align: left; margin: 0 0 32px; }
.head.left h2 { font-size: 38px; }

.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g-split { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.card { border: 1px solid var(--border-soft); border-radius: 20px; padding: 28px; background: #fff; }
.card .ico { display: block; margin-bottom: 16px; }
.card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 8px; }
.card p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ── Bundles ── */
.bundle-toggle {
    display: flex; width: max-content; margin: 0 auto 32px; padding: 4px;
    border: 1px solid var(--border-soft); border-radius: 999px; background: #fff;
}
.bundle-toggle button {
    border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500;
    padding: 8px 18px; border-radius: 999px; cursor: pointer; color: var(--muted);
}
.bundle-toggle button.active { background: var(--text); color: #fff; }

.bundles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.bundle {
    border: 1px solid var(--border-soft); border-radius: 20px; padding: 26px 20px;
    text-align: center; background: #fff; position: relative; transition: border-color 0.2s;
}
.bundle:hover { border-color: rgba(0,0,0,0.25); }
.bundle.featured { border-color: var(--text); }
.bundle .tag {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--text); color: #fff; font-size: 11px; font-weight: 600;
    padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.bundle .count { font-size: 30px; font-weight: 600; letter-spacing: -0.05em; }
.bundle .unit { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.bundle .price { font-size: 17px; font-weight: 600; letter-spacing: -0.03em; }
.bundle .rate { font-size: 12px; color: var(--muted); margin-top: 3px; }
.bundle.recommended { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.bundle.custom-tier { border-style: dashed; }
.bundle.custom-tier .count { font-size: 22px; }

.vol-slider-wrap { max-width: 520px; margin: 0 auto 32px; text-align: center; }
.vol-value { font-size: 15px; margin-bottom: 14px; }
.vol-value strong { font-size: 17px; }
.vol-slider {
    -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
    border-radius: 999px; background: var(--border-soft); outline: none; cursor: pointer;
}
.vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 20px; height: 20px;
    border-radius: 999px; background: var(--text); cursor: grab;
    border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.vol-slider::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 999px; background: var(--text);
    cursor: grab; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.vol-slider-ticks {
    display: flex; justify-content: space-between; font-size: 11px;
    color: var(--faint); margin-top: 8px;
}

.rate-table { border: 1px solid var(--border-soft); border-radius: 20px; overflow: hidden; background: #fff; }
.rate-row {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 26px; border-bottom: 1px solid var(--border-soft);
}
.rate-row:last-child { border-bottom: none; }
.rate-row .what { font-weight: 500; letter-spacing: -0.03em; }
.rate-row .desc { font-size: 13px; color: var(--muted); font-weight: 400; }
.rate-row .amount { font-size: 19px; font-weight: 600; letter-spacing: -0.04em; white-space: nowrap; }
.note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; line-height: 1.5; }

/* ── Code ── */
.code-card { background: var(--text); border-radius: 20px; overflow: hidden; }
.code-tabs { display: flex; gap: 4px; padding: 14px 16px 0; }
.code-tabs button {
    background: none; border: 0; color: #71717a; font: inherit; font-size: 12px; font-weight: 500;
    padding: 5px 11px; border-radius: 999px; cursor: pointer;
}
.code-tabs button.active { background: rgba(255,255,255,0.1); color: #fff; }
pre {
    color: #f4f4f5; padding: 22px 28px 28px;
    overflow-x: auto; font-size: 13px; line-height: 1.65; letter-spacing: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
pre .k { color: #a5b4fc; } pre .s { color: #86efac; } pre .c { color: #71717a; }

.steps { display: grid; gap: 28px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-n {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 999px;
    border: 1px solid var(--border-soft); background: #fff; display: flex; align-items: center;
    justify-content: center; font-size: 13px; font-weight: 600;
}
.step h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.035em; margin-bottom: 4px; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.45; }

/* ── Dark band ── */
.band { background: var(--text); color: #fff; border-radius: 28px; padding: 64px 40px; text-align: center; }
.band h2 { font-size: 44px; line-height: 1.06; letter-spacing: -0.055em; font-weight: 600; margin-bottom: 14px; }
.band h2 .serif { font-style: italic; }
.band p { max-width: 560px; margin: 0 auto 30px; color: rgba(255,255,255,0.66); font-size: 16px; line-height: 1.5; }
.band .btn-primary { background: #fff; color: var(--text); }
.band select {
    height: 56px; padding: 0 22px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 500;
    background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.28); cursor: pointer;
}
.band select option { color: var(--text); }

/* ── Support ── */
.ask-box { max-width: 560px; margin: 0 auto 48px; }
.ask-box input, .support-form input, .support-form textarea {
    width: 100%; border: 1px solid var(--border-soft); border-radius: 12px;
    padding: 13px 16px; font: inherit; font-size: 15px; color: var(--text);
    background: #fff; transition: border-color 0.15s;
}
.ask-box input { flex: 1; width: auto; height: 56px; }
.ask-box input:focus, .support-form input:focus, .support-form textarea:focus { outline: none; border-color: var(--text); }
.support-form { display: flex; flex-direction: column; gap: 20px; max-width: 560px; margin: 0 auto; }
.support-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.support-form textarea { resize: vertical; min-height: 110px; }
.support-form .btn-primary { align-self: flex-start; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { font-size: 14px; padding: 12px 16px; border-radius: 10px; line-height: 1.4; margin-top: 14px; }
.notice.ok { background: rgba(16,140,80,0.08); color: rgb(10,110,62); }
.notice.error { background: rgba(200,40,40,0.07); color: rgb(170,30,30); }
.support-alt { text-align: center; font-size: 14px; color: var(--muted); margin-top: 24px; }
.support-alt a { color: var(--text); font-weight: 600; }

footer { border-top: 1px solid var(--border-soft); padding: 44px 0; font-size: 14px; color: var(--muted); }
.foot-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 1200px) {
    .wrap { padding: 0 32px; }
    .nav { padding: 19px 32px; }
    .hero { padding: 140px 32px 0; }
    .hero h1 { font-size: clamp(60px, 8vw, 72px); }
    .drawer-links a { font-size: 40px; }
}
@media (max-width: 810px) {
    .wrap { padding: 0 24px; }
    .nav { padding: 20px 24px; }
    .nav-signin { display: none; }
    .hero { min-height: 760px; padding: 120px 24px 96px; }
    .hero h1 { font-size: clamp(44px, 13vw, 52px); }
    .hero p.sub { font-size: 16px; }
    .line.l, .line.r { display: none; }
    .line.t {
        display: block; left: 0; right: 0; top: 0; width: 100%; height: auto;
        transform: none; border: 2.5px solid #0a0a0a; border-top: none;
        border-radius: 0 0 80% 80% / 0 0 50% 50%;
    }
    @keyframes line-pulse {
        0%   { opacity: 0;    transform: scale(1); }
        15%  { opacity: 0.09; }
        70%  { opacity: 0.04; }
        100% { opacity: 0;    transform: scale(0.85); }
    }
    .cta-row { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
    .cta-row > * { width: 100%; justify-content: center; }
    .btn-book { justify-content: flex-start; }
    .ask-box .cta-row { max-width: none; }
    .reach { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 24px; }
    .reach .label { max-width: none; }
    .reach .marquee { width: 100%; }
    section.block { padding: 64px 0; }
    .head { margin-bottom: 40px; }
    .head h2 { font-size: 34px; letter-spacing: -0.045em; }
    .head.left h2 { font-size: 32px; }
    .band { padding: 44px 24px; border-radius: 22px; }
    .band h2 { font-size: 30px; }
    .drawer-links a { font-size: 32px; }
    .rate-row { padding: 16px 18px; }
    .foot-inner { flex-direction: column; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .line { animation: none; opacity: 0.05; }
    .marquee-track { animation: none; }
    html { scroll-behavior: auto; }
}

/* ══════════════════════════════════════════════════════════════════════
   v2 — product visuals, network logos, calculator, footer
   ══════════════════════════════════════════════════════════════════════ */

/* Full-width bar so the backdrop spans the screen; content stays in the 1200px column */
.nav {
    max-width: none; padding-left: max(36px, calc((100vw - 1200px) / 2 + 36px));
    padding-right: max(36px, calc((100vw - 1200px) / 2 + 36px));
    transition: background 0.25s, box-shadow 0.25s, padding 0.25s;
}
.nav.scrolled {
    background: rgba(255,255,255,0.78); backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 var(--border-soft); padding-top: 12px; padding-bottom: 12px;
}
@media (max-width: 810px) { .nav { padding-left: 24px; padding-right: 24px; } }

.hero { min-height: 760px; padding-bottom: 120px; }

/* Second hero action: the price itself, set as text rather than a button */
.price-link {
    display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.25;
    padding: 6px 4px 6px 18px; border-left: 2px solid var(--green);
}
.price-link .pl-top { font-size: 16px; font-weight: 600; letter-spacing: -0.03em; }
.price-link .pl-sub { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.price-link svg { transition: transform 0.2s; }
.price-link:hover svg { transform: translateX(3px); }
.price-link:hover .pl-sub { color: var(--text); }

/* ── Price tables: same card + table pattern as the dashboard ── */
.ptable { border: 1px solid var(--border-soft); border-radius: 16px; background: #fff; overflow: hidden; margin-bottom: 16px; }
.ptable-head {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 24px; border-bottom: 1px solid var(--border-soft);
}
.ptable-head h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.03em; }
.ptable-head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.tag-soft {
    font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
    background: rgba(29,204,93,0.1); color: rgb(10,120,60);
}
.ptable-scroll { overflow-x: auto; }
.pt { width: 100%; border-collapse: collapse; font-size: 14px; }
.pt th {
    text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); background: var(--surface);
    padding: 11px 24px; border-bottom: 1px solid var(--border-soft); white-space: nowrap;
}
.pt td { padding: 14px 24px; border-bottom: 1px solid var(--border-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pt tbody tr:last-child td { border-bottom: 0; }
.pt tbody tr:hover td { background: #fcfcfc; }
.pt .strong { font-weight: 600; }
.pt .good { color: rgb(10,120,60); font-weight: 500; }
.pt .dim { color: var(--faint); }
.pt .per { color: var(--muted); font-weight: 400; font-size: 12px; }
.pt .act { text-align: right; width: 1%; }
.btn-row {
    display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--border-soft); font-size: 13px; font-weight: 600; transition: background 0.15s, border-color 0.15s;
}
.btn-row:hover { background: var(--text); color: #fff; border-color: var(--text); }
.ptable-foot {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 14px 24px; border-top: 1px solid var(--border-soft); background: var(--surface); font-size: 13px;
}
.ptable-foot label { font-weight: 600; }
.ptable-foot input {
    width: 110px; height: 34px; border: 1px solid var(--border-soft); border-radius: 8px; padding: 0 10px;
    font: inherit; font-size: 14px; background: #fff; font-variant-numeric: tabular-nums;
}
.ptable-foot input:focus { outline: none; border-color: var(--text); }
.muted-s { color: var(--muted); }
.est-out { margin-left: auto; color: var(--muted); }
.est-out b { color: var(--text); font-size: 15px; }

.extras {
    display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border-soft);
    border-radius: 16px; background: #fff; overflow: hidden;
}
.extras div { padding: 18px 22px; display: flex; flex-direction: column; gap: 2px; }
.extras div + div { border-left: 1px solid var(--border-soft); }
.extras .x-k { font-size: 12px; color: var(--muted); }
.extras .x-v { font-size: 15px; font-weight: 600; letter-spacing: -0.03em; }

@media (max-width: 960px) {
    .extras { grid-template-columns: 1fr 1fr; }
    .extras div:nth-child(3) { border-left: 0; }
    .extras div:nth-child(n+3) { border-top: 1px solid var(--border-soft); }
}
@media (max-width: 810px) {
    .hero { min-height: 0; padding-bottom: 96px; }
    .ptable-head { flex-wrap: wrap; padding: 16px; }
    .pt th, .pt td { padding-left: 16px; padding-right: 16px; }
    .ptable-foot { padding: 12px 16px; }
    .est-out { margin-left: 0; width: 100%; }
    .price-link { align-items: center; border-left: 0; padding: 4px 0; }
}

/* ── Network logos ── */
.networks-strip {
    max-width: 1200px; margin: 0 auto; padding: 56px 36px 40px;
    display: flex; align-items: center; gap: 48px;
}
.networks-strip .label { max-width: 190px; font-size: 14px; font-weight: 500; color: var(--muted); line-height: 1.35; flex-shrink: 0; }
.net-logos { flex: 1; display: flex; align-items: center; justify-content: space-around; gap: 32px; flex-wrap: wrap; }
.net-logo {
    display: flex; align-items: center; justify-content: center; height: 44px; color: var(--text);
    opacity: 0.85; transition: opacity 0.2s;
}
.net-logo:hover { opacity: 1; }
.net-logo img { height: 30px; width: auto; filter: grayscale(1) brightness(0); transition: filter 0.25s; }
.net-logo img.at { height: 36px; }
.net-logo:hover img { filter: none; }
.net-logo svg { height: 40px; width: auto; }
/* The MTN symbol reads --mtn-fill for its oval (CSS can't reach inside <use>) */
.net-logo:hover svg { --mtn-fill: #ffcb05; }

/* ── Product cards with a working preview on top ── */
.card.product { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card.product .body { padding: 24px 28px 28px; }
.preview {
    height: 168px; background: var(--surface); border-bottom: 1px solid var(--border-soft);
    display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden;
}
.pv-bulk { width: 100%; max-width: 250px; background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 14px 16px; }
.pv-bulk .row { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 10px; }
.pv-bulk .row span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.pv-bar { height: 6px; border-radius: 999px; background: #efefef; overflow: hidden; }
.pv-bar i { display: block; height: 100%; width: 0; background: var(--text); border-radius: 999px; transition: width 0.4s linear; }
.pv-bulk .split { display: flex; gap: 12px; margin-top: 12px; font-size: 11px; color: var(--muted); }
.pv-bulk .split b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.pv-otp { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pv-otp .boxes { display: flex; gap: 6px; }
.pv-otp .boxes span {
    width: 34px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid var(--border-soft);
    display: grid; place-items: center; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums;
    transition: border-color 0.2s;
}
.pv-otp .boxes span.on { border-color: var(--text); }
.pv-otp .ok { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; opacity: 0; transition: opacity 0.3s; }
.pv-otp .ok.show { opacity: 1; }
.pv-voice { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.wave { display: flex; align-items: center; gap: 3px; height: 48px; }
.wave i { width: 3px; border-radius: 999px; background: var(--text); animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.pv-voice .call { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ── Copy button on code ── */
.code-card { position: relative; }
.copy-btn {
    position: absolute; top: 12px; right: 14px; background: rgba(255,255,255,0.08); color: #d4d4d8;
    border: 0; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 12px; cursor: pointer;
}
.copy-btn:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ── Footer ── */
footer { padding: 64px 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 56px; }
.foot-grid h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid a:hover { color: var(--text); }
.foot-grid .blurb { max-width: 280px; line-height: 1.5; }
.foot-mark {
    font-family: 'Source Serif 4', Georgia, serif; font-style: italic; font-weight: 600;
    font-size: clamp(120px, 24vw, 340px); line-height: 0.78; letter-spacing: -0.07em;
    color: var(--text); text-align: center; user-select: none;
}
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--border-soft); font-size: 13px; }

@media (max-width: 960px) {
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 810px) {
    .networks-strip { flex-direction: column; align-items: flex-start; gap: 24px; padding: 40px 24px 24px; }
    .net-logos { width: 100%; justify-content: space-between; gap: 16px; }
    .net-logo img { height: 24px; } .net-logo img.at { height: 30px; } .net-logo svg { height: 32px; }
    .foot-grid { gap: 28px; }
    .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    .wave i { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   Top navigation (shared by homepage, docs, legal pages)
   ══════════════════════════════════════════════════════════════════════ */
.topnav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.25s, box-shadow 0.25s; }
.topnav.scrolled, .topnav.mobile-open, .topnav.solid {
    background: rgba(255,255,255,0.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 var(--border-soft);
}
.tn-inner { max-width: 1200px; margin: 0 auto; height: 68px; padding: 0 36px; display: flex; align-items: center; gap: 28px; }
.tn-inner .logo { margin-right: 8px; }
.tn-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.tn-link {
    display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border-radius: 999px;
    font: inherit; font-size: 14px; font-weight: 500; color: var(--muted); background: none; border: 0; cursor: pointer;
    transition: color 0.15s, background 0.15s;
}
.tn-link:hover, .tn-dd.open > .tn-link { color: var(--text); background: rgba(0,0,0,0.04); }
.tn-link svg { transition: transform 0.2s; }
.tn-dd.open > .tn-link svg { transform: rotate(180deg); }
.tn-right { display: flex; align-items: center; gap: 6px; }
.tn-cta {
    display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px;
    background: var(--text); color: #fff; font-size: 14px; font-weight: 600; transition: opacity 0.15s;
}
.tn-cta:hover { opacity: 0.86; }

/* Products dropdown */
.tn-dd { position: relative; }
.tn-panel {
    position: absolute; top: calc(100% + 10px); left: -8px; width: 360px; padding: 8px;
    background: #fff; border: 1px solid var(--border-soft); border-radius: 18px;
    box-shadow: 0 24px 60px -18px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.04);
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
}
.tn-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.tn-dd.open .tn-panel { opacity: 1; visibility: visible; transform: none; }
.tn-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background 0.15s; }
.tn-item:hover { background: var(--surface); }
.tn-ico {
    width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; border: 1px solid var(--border-soft); background: #fff;
    display: grid; place-items: center;
}
.tn-ico svg { width: 18px; height: 18px; }
.tn-item b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.tn-item small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.tn-item em, .tn-mobile em {
    font-style: normal; font-size: 10px; font-weight: 600; color: var(--muted); background: var(--surface);
    border: 1px solid var(--border-soft); border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px;
}
.tn-panel-foot {
    display: flex; align-items: center; gap: 16px; margin: 6px -8px -8px; padding: 12px 20px;
    border-top: 1px solid var(--border-soft); background: var(--surface); border-radius: 0 0 18px 18px;
    font-size: 12px; color: var(--muted);
}
.tn-net { height: 14px; width: auto; filter: grayscale(1) brightness(0); opacity: 0.7; }
svg.tn-net { height: 17px; filter: none; color: var(--text); }
.tn-net.at { height: 17px; }

/* Mobile */
.tn-burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; border-radius: 10px; }
.tn-burger span { position: absolute; left: 11px; right: 11px; height: 1.8px; background: var(--text); border-radius: 2px; transition: transform 0.22s, top 0.22s; }
.tn-burger span:first-child { top: 15px; }
.tn-burger span:last-child { top: 23px; }
.mobile-open .tn-burger span:first-child { top: 19px; transform: rotate(45deg); }
.mobile-open .tn-burger span:last-child { top: 19px; transform: rotate(-45deg); }
.tn-mobile { display: none; }

@media (max-width: 900px) {
    .tn-inner { padding: 0 20px; height: 62px; gap: 12px; }
    .tn-links, .tn-signin, .tn-right > .tn-cta { display: none; }
    .tn-right { margin-left: auto; }
    .tn-burger { display: block; }
    .tn-mobile {
        display: block; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 20px;
    }
    .mobile-open .tn-mobile { max-height: calc(100vh - 62px); overflow-y: auto; padding-bottom: 20px; border-top: 1px solid var(--border-soft); }
    .tn-m-group { font-size: 12px; font-weight: 600; color: var(--faint); margin: 18px 0 4px; }
    .tn-mobile > a { display: block; padding: 11px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--border-soft); }
    .tn-m-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
    .tn-m-actions a { justify-content: center; height: 46px; display: flex; align-items: center; border-radius: 999px; font-size: 15px; font-weight: 600; }
    .tn-m-ghost { border: 1px solid var(--border-soft); }
}

.topnav.mobile-open { background: #fff; }
