/* ============================================================
   Tron Legacy — shared design system
   Dark · cyber-security · signal-green
   ============================================================ */

:root {
    /* Surfaces */
    --bg: #080b10;
    --bg-2: #0a0e14;
    --surface: #0f141c;
    --surface-2: #131a24;
    --surface-3: #18202c;
    --line: rgba(255, 255, 255, 0.07);
    --line-2: rgba(255, 255, 255, 0.12);

    /* Text */
    --text: #e6edf3;
    --text-2: #9aa7b6;
    --text-3: #5d6b7d;
    --text-muted: #5d6b7d;

    /* Accent — signal green */
    --acc: #3b82f6;
    --acc-dim: #2f6fe0;
    --acc-glow: rgba(59, 130, 246, 0.35);
    --acc-soft: rgba(59, 130, 246, 0.10);

    /* Semantic risk */
    --risk-low: #3b82f6;
    --risk-med: #f5b942;
    --risk-high: #ff6a55;
    --risk-sev: #ff3d57;

    /* Type */
    --f-display: "Space Grotesk", system-ui, sans-serif;
    --f-body: "IBM Plex Sans", system-ui, sans-serif;
    --f-mono: "JetBrains Mono", ui-monospace, monospace;

    --maxw: 1200px;
    --radius: 14px;
    --radius-lg: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--f-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

::selection {
    background: var(--acc);
    color: #ffffff;
}

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

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

/* page atmosphere */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(900px 600px at 78% -8%, rgba(59, 130, 246, 0.10), transparent 60%),
        radial-gradient(800px 700px at 8% 110%, rgba(59, 130, 246, 0.05), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* ---------- layout ---------- */
.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

section {
    position: relative;
    z-index: 1;
}

.eyebrow {
    font-family: var(--f-mono);
    font-size: 12.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--acc);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 500;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--acc);
    opacity: 0.6;
}

h1,
h2,
h3 {
    font-family: var(--f-display);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.section-head {
    max-width: 680px;
    margin-bottom: 56px;
}

.section-head h2 {
    font-size: clamp(30px, 4vw, 46px);
    margin: 18px 0 16px;
}

.section-head p {
    color: var(--text-2);
    font-size: 18px;
    max-width: 560px;
}

.mono {
    font-family: var(--f-mono);
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 22px;
    border-radius: 11px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.btn svg {
    width: 17px;
    height: 17px;
}

.btn-primary {
    background: var(--acc);
    color: #ffffff;
    box-shadow: 0 0 0 1px var(--acc-dim), 0 10px 30px -8px var(--acc-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px var(--acc), 0 16px 40px -10px var(--acc-glow);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border-color: var(--line-2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--acc);
    color: #fff;
}

/* ---------- nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(8, 11, 16, 0.72);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, background .3s ease;
}

.nav.scrolled {
    border-bottom-color: var(--line);
    background: rgba(8, 11, 16, 0.86);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 19px;
    letter-spacing: -0.01em;
}

.brand .logo-mark {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--surface-3), var(--surface));
    border: 1px solid var(--line-2);
    position: relative;
}

.brand .logo-mark svg {
    width: 17px;
    height: 17px;
    color: var(--acc);
}

.brand b {
    color: var(--acc);
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a.lk {
    font-size: 14.5px;
    color: var(--text-2);
    transition: color .2s ease;
    position: relative;
}

.nav-links a.lk:hover {
    color: var(--text);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--text);
    cursor: pointer;
}

.nav-toggle svg {
    width: 26px;
    height: 26px;
}

/* ---------- hero ---------- */
.hero {
    padding: 72px 0 90px;
    position: relative;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

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

.hero-copy {
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(38px, 5.4vw, 66px);
    margin: 22px 0 22px;
    letter-spacing: -0.03em;
}

.hero h1 .grad {
    background: linear-gradient(110deg, var(--acc) 0%, #9cc0ff 60%, var(--acc) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 19px;
    color: var(--text-2);
    max-width: 520px;
    margin-bottom: 30px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-mono);
    font-size: 12.5px;
    color: var(--text-2);
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
}

.chip .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--acc);
    box-shadow: 0 0 8px var(--acc);
}

/* ---------- app download badges ---------- */
.dl-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.dl-badge {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 11px 18px 11px 15px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-2);
    transition: border-color .2s, background .2s, transform .15s;
    position: relative;
}

.dl-badge:hover {
    border-color: var(--acc);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.dl-badge svg {
    width: 24px;
    height: 24px;
    color: var(--text);
}

.dl-badge .dl-txt {
    line-height: 1.15;
}

.dl-badge .dl-txt small {
    display: block;
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-3);
}

.dl-badge .dl-txt b {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 17px;
    color: var(--text);
}

.dl-badge .soon {
    position: absolute;
    top: -8px;
    right: -8px;
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    background: var(--acc);
    color: #ffffff;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 700;
}

/* ---------- phone mockup ---------- */
.phone-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-stage::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 70%);
    filter: blur(10px);
    z-index: 0;
}

.phone {
    position: relative;
    z-index: 1;
    width: 320px;
    height: 650px;
    flex: 0 0 320px;
    border-radius: 46px;
    padding: 13px;
    background: linear-gradient(160deg, #1b232e 0%, #0c1015 55%, #14191f 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.4);
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.phone::after {
    content: "";
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    width: 124px;
    height: 30px;
    background: #05070a;
    border-radius: 0 0 18px 18px;
    z-index: 6;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    background: radial-gradient(500px 360px at 70% -5%, rgba(59, 130, 246, 0.10), transparent 60%), var(--bg-2);
    display: flex;
    flex-direction: column;
    position: relative;
}

.app-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px 6px;
    font-family: var(--f-mono);
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
}

.app-status .si {
    display: flex;
    align-items: center;
    gap: 6px;
}

.app-status .si svg {
    width: 16px;
    height: 13px;
    color: var(--text);
}

.app-body {
    flex: 1;
    padding: 8px 18px 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 2px 16px;
}

.app-head .aw {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 17px;
}

.app-head .aw b {
    color: var(--acc);
}

.app-head .alive {
    font-family: var(--f-mono);
    font-size: 10px;
    color: var(--acc);
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-head .alive i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--acc);
    box-shadow: 0 0 8px var(--acc);
    animation: pulse 1.8s infinite;
}

.app-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    padding: 18px 16px;
}

.app-klabel {
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-3);
    text-align: center;
}

.app-ring {
    display: flex;
    justify-content: center;
    margin: 14px 0 8px;
    position: relative;
}

.app-ring .rr {
    position: relative;
    width: 132px;
    height: 132px;
}

.app-ring .rr .ctr {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.app-ring .rr .ctr b {
    font-family: var(--f-display);
    font-size: 38px;
    font-weight: 600;
    color: var(--risk-low);
    line-height: 1;
}

.app-ring .rr .ctr span {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--risk-low);
    font-weight: 700;
}

.app-ring .rr svg {
    transform: rotate(-90deg);
}

.app-ring .rr .arc {
    stroke-dasharray: 364;
    stroke-dashoffset: 66;
    filter: drop-shadow(0 0 7px rgba(59, 130, 246, 0.45));
}

@media (prefers-reduced-motion: no-preference) {
    .app-ring .rr .arc {
        animation: drawArc 1.7s 0.2s cubic-bezier(.2, .8, .2, 1);
    }
}

@keyframes drawArc {
    from {
        stroke-dashoffset: 250;
    }

    to {
        stroke-dashoffset: 66;
    }
}

.app-addr {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--text-2);
    text-align: center;
    margin-top: 6px;
}

.app-sigs {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-sig {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-2);
    padding: 9px 12px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.015);
}

.app-sig .ck {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 17px;
}

.app-sig .ck svg {
    width: 11px;
    height: 11px;
}

.app-sig.ok .ck {
    background: rgba(59, 130, 246, 0.15);
    color: var(--risk-low);
}

.app-sig .av {
    margin-left: auto;
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--text-3);
}

.app-cta {
    margin-top: 14px;
    background: var(--acc);
    color: #ffffff;
    text-align: center;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 13.5px;
    padding: 12px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.app-cta svg {
    width: 15px;
    height: 15px;
}

.app-tabbar {
    margin-top: auto;
    display: flex;
    justify-content: space-around;
    padding: 14px 10px 6px;
    border-top: 1px solid var(--line);
}

.app-tabbar .tb {
    width: 22px;
    height: 22px;
    color: var(--text-3);
}

.app-tabbar .tb.on {
    color: var(--acc);
}

.app-tabbar .tb svg {
    width: 100%;
    height: 100%;
}

.app-scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.08), transparent);
    pointer-events: none;
    z-index: 5;
    animation: scanMove 4.5s ease-in-out infinite;
}

@keyframes scanMove {

    0%,
    100% {
        top: 10%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    50% {
        top: 70%;
        opacity: 1;
    }

    80% {
        opacity: 0;
    }
}

/* phone floating tags */
.float-tag {
    position: absolute;
    z-index: 3;
    font-family: var(--f-mono);
    font-size: 11.5px;
    color: var(--text);
    background: rgba(15, 20, 28, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    padding: 9px 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.7);
    animation: floatPhone 6s ease-in-out infinite;
}

.float-tag .ti {
    width: 16px;
    height: 16px;
    color: var(--acc);
}

.float-tag.ft1 {
    top: 16%;
    left: -34px;
    animation-delay: .6s;
}

.float-tag.ft2 {
    bottom: 18%;
    right: -40px;
    animation-delay: 1.2s;
}

/* ---------- demo / scanner panel ---------- */
.scanner {
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.scanner-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.015);
}

.scanner-top .dots {
    display: flex;
    gap: 7px;
}

.scanner-top .dots i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--surface-3);
    display: block;
}

.scanner-top .ttl {
    font-family: var(--f-mono);
    font-size: 12.5px;
    color: var(--text-3);
    margin-left: 6px;
    letter-spacing: 0.04em;
}

.scanner-top .live {
    margin-left: auto;
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--acc);
    display: flex;
    align-items: center;
    gap: 6px;
}

.scanner-top .live .pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--acc);
    box-shadow: 0 0 0 0 var(--acc-glow);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--acc-glow);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.scanner-body {
    padding: 22px;
    min-height: 420px;
}

.input-row {
    position: relative;
}

.input-label {
    font-family: var(--f-mono);
    font-size: 11.5px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 9px;
    display: block;
}

.addr-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    padding: 4px 4px 4px 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.addr-field:focus-within {
    border-color: var(--acc);
    box-shadow: 0 0 0 3px var(--acc-soft);
}

.addr-field .pfx {
    font-family: var(--f-mono);
    color: var(--acc);
    font-size: 14px;
}

.addr-field input {
    flex: 1;
    background: none;
    border: 0;
    outline: none;
    font-family: var(--f-mono);
    font-size: 14px;
    color: var(--text);
    padding: 12px 0;
    letter-spacing: 0.01em;
}

.addr-field input::placeholder {
    color: var(--text-3);
}

.addr-field .scan-btn {
    border: 0;
    cursor: pointer;
    background: var(--acc);
    color: #ffffff;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 14px;
    padding: 11px 18px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: filter .2s ease, transform .12s ease;
}

.addr-field .scan-btn:hover {
    filter: brightness(1.08);
}

.addr-field .scan-btn:active {
    transform: scale(.97);
}

.addr-field .scan-btn svg {
    width: 15px;
    height: 15px;
}

.sample-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.sample-row span {
    font-size: 12px;
    color: var(--text-3);
}

.sample-chip {
    font-family: var(--f-mono);
    font-size: 11.5px;
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    padding: 4px 9px;
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s ease;
}

.sample-chip:hover {
    border-color: var(--acc);
    color: var(--acc);
}

.field-err {
    color: var(--risk-high);
    font-size: 12.5px;
    font-family: var(--f-mono);
    margin-top: 10px;
    min-height: 16px;
}

/* scanning log */
.scan-log {
    margin-top: 22px;
    display: none;
}

.scan-log.on {
    display: block;
}

.log-line {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--f-mono);
    font-size: 13px;
    padding: 7px 0;
    color: var(--text-3);
    opacity: 0;
    transform: translateX(-6px);
    animation: logIn .35s forwards;
}

@keyframes logIn {
    to {
        opacity: 1;
        transform: none;
    }
}

.log-line .lstat {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    display: grid;
    place-items: center;
}

.log-line.done {
    color: var(--text-2);
}

.log-line.done .lstat {
    color: var(--acc);
}

.log-line .spin {
    width: 13px;
    height: 13px;
    border: 2px solid var(--line-2);
    border-top-color: var(--acc);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.scan-progress {
    height: 3px;
    background: var(--surface-3);
    border-radius: 3px;
    overflow: hidden;
    margin: 18px 0 4px;
}

.scan-progress i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--acc-dim), var(--acc));
    transition: width .3s ease;
    box-shadow: 0 0 12px var(--acc-glow);
}

/* placeholder state */
.scan-idle {
    color: var(--text-3);
}

.scan-idle .ph-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.ph-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.012);
}

.ph-card .k {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-3);
}

.ph-card .v {
    height: 10px;
    width: 60%;
    border-radius: 4px;
    margin-top: 9px;
    background: linear-gradient(90deg, var(--surface-3), var(--surface-2));
}

.ph-card .v.s {
    width: 40%;
}

/* ============ REPORT ============ */
.report {
    display: none;
}

.report.on {
    display: block;
    animation: fadeUp .5s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.rep-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.rep-score-ring {
    position: relative;
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
}

.rep-score-ring svg {
    transform: rotate(-90deg);
}

.rep-score-ring .num {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    flex-direction: column;
    font-family: var(--f-display);
}

.rep-score-ring .num b {
    font-size: 26px;
    line-height: 1;
}

.rep-score-ring .num small {
    font-size: 9.5px;
    font-family: var(--f-mono);
    color: var(--text-3);
    letter-spacing: 0.1em;
    margin-top: 2px;
}

.rep-head .meta {
    flex: 1;
    min-width: 0;
}

.rep-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.rep-addr {
    font-family: var(--f-mono);
    font-size: 13px;
    color: var(--text-2);
    margin-top: 11px;
    word-break: break-all;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rep-addr .copy {
    cursor: pointer;
    color: var(--text-3);
    transition: color .15s;
}

.rep-addr .copy:hover {
    color: var(--acc);
}

.rep-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.rep-tag {
    font-family: var(--f-mono);
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 5px;
    border: 1px solid var(--line-2);
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.02);
}

.rep-tag.warn {
    border-color: rgba(255, 106, 85, 0.4);
    color: var(--risk-high);
    background: rgba(255, 106, 85, 0.08);
}

.rep-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.stat-cell {
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.012);
}

.stat-cell .k {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
}

.stat-cell .v {
    font-family: var(--f-display);
    font-size: 21px;
    font-weight: 600;
    margin-top: 6px;
}

.stat-cell .v small {
    font-size: 13px;
    color: var(--text-3);
    font-family: var(--f-mono);
    font-weight: 400;
}

.rep-block {
    margin-top: 20px;
}

.rep-block>h4 {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rep-block>h4::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* exposure bars */
.expo {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.expo-row {
    display: grid;
    grid-template-columns: 130px 1fr 48px;
    align-items: center;
    gap: 12px;
}

.expo-row .el {
    font-size: 13px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.expo-row .el i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.expo-bar {
    height: 7px;
    background: var(--surface-3);
    border-radius: 4px;
    overflow: hidden;
}

.expo-bar>span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 4px;
    transition: width 1s cubic-bezier(.2, .8, .2, 1);
}

.expo-row .ev {
    font-family: var(--f-mono);
    font-size: 12.5px;
    color: var(--text-2);
    text-align: right;
}

/* signal list */
.signals {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.signal {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 11px 13px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.012);
    font-size: 13.5px;
}

.signal .ic {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
}

.signal.ok .ic {
    color: var(--risk-low);
}

.signal.med .ic {
    color: var(--risk-med);
}

.signal.high .ic {
    color: var(--risk-high);
}

.signal .st {
    font-weight: 600;
}

.signal .sd {
    color: var(--text-3);
    font-size: 12.5px;
    margin-top: 2px;
}

.signal .score {
    margin-left: auto;
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--text-3);
    white-space: nowrap;
}

.rep-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.rep-foot .ts {
    font-family: var(--f-mono);
    font-size: 11.5px;
    color: var(--text-3);
}

.rep-foot .acts {
    display: flex;
    gap: 9px;
}

.mini-btn {
    font-family: var(--f-body);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-2);
    cursor: pointer;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.mini-btn:hover {
    border-color: var(--acc);
    color: var(--acc);
}

.mini-btn svg {
    width: 14px;
    height: 14px;
}

/* ---------- generic section spacing ---------- */
.sec {
    padding: 96px 0;
}

.sec-tight {
    padding: 72px 0;
}

/* trust bar */
.trust {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.012);
    padding: 30px 0;
}

.trust-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-inner .tlabel {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 34px;
    flex-wrap: wrap;
}

.trust-logos .tl {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 17px;
    color: var(--text-2);
    opacity: 0.75;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-logos .tl svg {
    width: 18px;
    height: 18px;
    color: var(--text-3);
}

/* steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step {
    position: relative;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    overflow: hidden;
}

.step .step-n {
    font-family: var(--f-mono);
    font-size: 13px;
    color: var(--acc);
    letter-spacing: 0.1em;
}

.step .step-ic {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--acc-soft);
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin: 18px 0 18px;
}

.step .step-ic svg {
    width: 22px;
    height: 22px;
    color: var(--acc);
}

.step h3 {
    font-size: 21px;
    margin-bottom: 9px;
}

.step p {
    color: var(--text-2);
    font-size: 14.5px;
}

.step .num-ghost {
    position: absolute;
    top: -20px;
    right: -6px;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
}

.step-connector {
    position: absolute;
    top: 50%;
    right: -13px;
    z-index: 2;
    color: var(--line-2);
}

/* features */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feat {
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.012);
    transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.feat:hover {
    border-color: var(--line-2);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.025);
}

.feat .fic {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-2);
    background: var(--surface);
    margin-bottom: 18px;
}

.feat .fic svg {
    width: 21px;
    height: 21px;
    color: var(--acc);
}

.feat h3 {
    font-size: 18px;
    margin-bottom: 9px;
}

.feat p {
    color: var(--text-2);
    font-size: 14px;
}

.feat.wide {
    grid-column: span 1;
}

/* stats band */
.statband {
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(600px 300px at 80% 0%, rgba(59, 130, 246, 0.07), transparent 60%),
        linear-gradient(180deg, var(--surface), var(--bg-2));
    padding: 46px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.statband .stat {
    text-align: left;
}

.statband .stat .big {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(34px, 4vw, 50px);
    letter-spacing: -0.02em;
    line-height: 1;
}

.statband .stat .big .u {
    color: var(--acc);
}

.statband .stat .lbl {
    color: var(--text-2);
    font-size: 14px;
    margin-top: 12px;
}

.statband .stat+.stat {
    border-left: 1px solid var(--line);
    padding-left: 26px;
}

/* FAQ */
.faq {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    color: var(--text);
    cursor: pointer;
    padding: 24px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 19px;
    letter-spacing: -0.01em;
}

.faq-q .ico {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    position: relative;
    transition: transform .3s ease;
    color: var(--acc);
}

.faq-item.open .faq-q .ico {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-a>div {
    padding: 0 4px 24px;
    color: var(--text-2);
    font-size: 15.5px;
    max-width: 680px;
}

/* CTA / contact */
.cta {
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(700px 360px at 50% -30%, rgba(59, 130, 246, 0.14), transparent 60%),
        linear-gradient(180deg, var(--surface), var(--bg-2));
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    font-size: clamp(30px, 4vw, 46px);
    margin-bottom: 16px;
}

.cta p {
    color: var(--text-2);
    font-size: 18px;
    max-width: 540px;
    margin: 0 auto 30px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* contact form */
.contact-card {
    max-width: 560px;
    margin: 36px auto 0;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    background: rgba(255, 255, 255, 0.015);
}

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

.field {
    margin-bottom: 14px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 7px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: 9px;
    padding: 12px 13px;
    color: var(--text);
    font-family: var(--f-body);
    font-size: 14.5px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--acc);
    box-shadow: 0 0 0 3px var(--acc-soft);
}

/* ---------- footer ---------- */
.company-info {
    list-style: none;
    margin: 18px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.company-info li {
    font-size: 13px;
    color: var(--text-2);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.company-info li span {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    flex: 0 0 74px;
    padding-top: 2px;
}

.company-info li b {
    font-weight: 500;
    color: var(--text-2);
}

.company-info li a {
    color: var(--text-2);
    transition: color .15s;
}

.company-info li a:hover {
    color: var(--acc);
}

/* contact methods */
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 0 auto 30px;
    max-width: 600px;
}

.cmethod {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    transition: border-color .2s, transform .15s, background .2s;
    text-align: left;
}

.cmethod:hover {
    border-color: var(--acc);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.04);
}

.cmethod svg {
    width: 18px;
    height: 18px;
    color: var(--acc);
    flex: 0 0 18px;
}

.cmethod small {
    display: block;
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
}

.cmethod b {
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--text);
}

.footer {
    border-top: 1px solid var(--line);
    padding: 64px 0 40px;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.01);
}

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

.footer .fcol h5 {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 16px;
}

.footer .fcol a {
    display: block;
    color: var(--text-2);
    font-size: 14px;
    padding: 5px 0;
    transition: color .15s;
}

.footer .fcol a:hover {
    color: var(--acc);
}

.footer .fbrand p {
    color: var(--text-2);
    font-size: 14px;
    margin-top: 14px;
    max-width: 280px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.footer-bottom .cp {
    font-size: 13px;
    color: var(--text-3);
}

.footer-bottom .cp .mono {
    color: var(--text-2);
}

.disclaimer {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.6;
    max-width: 720px;
    margin-top: 14px;
}

/* reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

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

.reveal.d1 {
    transition-delay: .08s;
}

.reveal.d2 {
    transition-delay: .16s;
}

.reveal.d3 {
    transition-delay: .24s;
}

.reveal.d4 {
    transition-delay: .32s;
}

/* ---------- legal / content pages ---------- */
.page-hero {
    padding: 70px 0 40px;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 54px);
    margin: 16px 0 14px;
}

.page-hero p {
    color: var(--text-2);
    font-size: 18px;
    max-width: 640px;
}

.doc {
    max-width: 820px;
    margin: 0 auto;
    padding: 56px 0 40px;
}

.doc h2 {
    font-size: 26px;
    margin: 40px 0 14px;
}

.doc h3 {
    font-size: 18px;
    margin: 26px 0 10px;
    font-family: var(--f-display);
}

.doc p {
    color: var(--text-2);
    font-size: 15.5px;
    margin-bottom: 14px;
}

.doc ul {
    color: var(--text-2);
    font-size: 15.5px;
    margin: 0 0 16px 20px;
}

.doc li {
    margin-bottom: 8px;
}

.doc a.inl {
    color: var(--acc);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.doc .updated {
    font-family: var(--f-mono);
    font-size: 12.5px;
    color: var(--text-3);
}

.toc {
    position: sticky;
    top: 96px;
}

.doc-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 50px;
    align-items: start;
    max-width: 980px;
    margin: 0 auto;
    padding: 56px 0;
}

.toc a {
    display: block;
    font-size: 13.5px;
    color: var(--text-3);
    padding: 6px 0;
    border-left: 2px solid var(--line);
    padding-left: 14px;
    transition: all .15s;
}

.toc a:hover,
.toc a.active {
    color: var(--acc);
    border-color: var(--acc);
}

/* about specifics */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.about-lead {
    font-size: clamp(22px, 2.6vw, 30px);
    font-family: var(--f-display);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.01em;
    max-width: 820px;
}

.about-lead em {
    color: var(--acc);
    font-style: normal;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .hero .wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding: 48px 0 70px;
    }

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

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

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links.open {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: var(--bg-2);
        border-bottom: 1px solid var(--line);
        padding: 16px 18px;
    }

    .nav-links.open a.lk {
        padding: 10px 0;
        width: 100%;
    }

    .nav-cta .btn-ghost {
        display: none;
    }

    .statband {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .statband .stat+.stat {
        border-left: 0;
        padding-left: 0;
    }

    .statband .stat:nth-child(n+3) {
        border-top: 1px solid var(--line);
        padding-top: 26px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .doc-layout {
        grid-template-columns: 1fr;
    }

    .toc {
        position: static;
        display: none;
    }

    .step-connector {
        display: none;
    }

    .float-tag {
        display: none;
    }
}

@media (max-width: 640px) {
    .wrap {
        padding: 0 18px;
    }

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

    .statband {
        grid-template-columns: 1fr 1fr;
        padding: 32px 22px;
    }

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

    .expo-row {
        grid-template-columns: 100px 1fr 40px;
    }

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

    .sec {
        padding: 64px 0;
    }

    .cta {
        padding: 44px 22px;
    }

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

    .hero-badges {
        gap: 8px;
    }

    .float-tag {
        display: none;
    }

    .phone {
        width: 280px;
        height: 580px;
        flex-basis: 280px;
    }

    .app-ring .rr .ctr b {
        font-size: 36px;
    }
}