/* Netivo Training — site styles. No external fonts or assets: everything is served from this domain. */
:root {
  --silver: #B8BEC7;
  --blue: #2563EB;
  --purple: #7B2CBF;
  --pink: #E83E8C;
  --ink: #111111;
  --paper: #FFFFFF;

  --bg: #FBFAFD;
  --surface: #FFFFFF;
  --surface-2: #F3F0F8;
  --text: #16131C;
  --muted: #5B5566;
  --line: #E4DFEC;
  --accent: var(--purple);
  --accent-ink: #FFFFFF;
  --link: #5B1F96;
  --ring: #111111;
  --ok: #0F7B4B;
  --warn: #9A5B00;
  --shadow: 0 1px 2px rgba(20, 10, 40, .06), 0 8px 24px rgba(20, 10, 40, .06);
  --radius: 14px;
  --max: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0C14;
    --surface: #17131F;
    --surface-2: #1F1A2A;
    --text: #F1EEF6;
    --muted: #B2AABF;
    --line: #2E2740;
    --accent: #9B5BDB;
    --link: #C9A4F2;
    --ring: #FFFFFF;
    --ok: #4ACB8C;
    --warn: #F0B45A;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin: .25em 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* Four-core stripe, the brand signature */
.stripe { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; }
.stripe span:nth-child(1) { background: var(--silver); }
.stripe span:nth-child(2) { background: var(--blue); }
.stripe span:nth-child(3) { background: var(--purple); }
.stripe span:nth-child(4) { background: var(--pink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand svg { width: 36px; height: 36px; }
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: -2px; }
.logo-ring { stroke: var(--ring); }
.nav-links { display: none; list-style: none; margin: 0 0 0 auto; padding: 0; gap: .15rem; align-items: center; }
.nav-links a { display: block; padding: .45rem .7rem; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--surface-2); color: var(--link); }
.nav-cta { margin-left: auto; }
.menu-btn { margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: .45rem .7rem; font: inherit; font-weight: 600; cursor: pointer; }
.nav .nav-cta { display: none; }
@media (min-width: 1040px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
  .nav .nav-cta { display: inline-flex; margin-left: .5rem; }
}
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: .5rem 0 1rem; }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a { display: block; padding: .7rem .2rem; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
@media (min-width: 1040px) { .mobile-menu, .mobile-menu.open { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .75rem 1.15rem; border-radius: 999px; font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .12s ease, background .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: #6A22A8; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: .5rem .9rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }

/* Sections */
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 88px 0; } }
.section-alt { background: var(--surface-2); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin-bottom: .7rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 2.2rem; max-width: 760px; }
.center.section-head { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding: 48px 0 64px; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 72px 0 96px; } }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 .hl { background: linear-gradient(90deg, var(--blue), var(--purple) 55%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.4rem; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; font-weight: 600; }
.trust-row li::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.page-hero { padding: 56px 0 40px; }
@media (min-width: 900px) { .page-hero { padding: 80px 0 48px; } }

/* Cards and grids */
.grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); position: relative; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .muted { color: var(--muted); }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform .15s ease, border-color .15s ease; }
.card-link:hover { transform: translateY(-2px); border-color: var(--accent); }
.card-link .more { display: inline-block; margin-top: .7rem; color: var(--link); font-weight: 700; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: .9rem; color: #fff; }
.ic-silver { background: #8C939E; } .ic-blue { background: var(--blue); } .ic-purple { background: var(--purple); } .ic-pink { background: var(--pink); }
.core-top { border-top: 5px solid var(--purple); }
.core-top.c-silver { border-top-color: var(--silver); } .core-top.c-blue { border-top-color: var(--blue); } .core-top.c-pink { border-top-color: var(--pink); }
.ticks { list-style: none; padding: 0; margin: .6rem 0 0; }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .9rem; height: .5rem; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }

/* Status badges: keep these honest */
.badge { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.badge-live { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.badge-soon { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.badge-pilot { background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--link); }
.card .badge { position: absolute; top: 1rem; right: 1rem; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .9rem; color: var(--muted); margin-top: 1rem; }

/* Split feature */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } .split.flip > :first-child { order: 2; } }

/* Phish demo */
.phish { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.phish-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); font-weight: 600; }
.phish-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.phish-body { padding: 1.2rem 1.2rem 1.4rem; font-size: .95rem; }
.phish-meta { display: grid; gap: .3rem; padding-bottom: .9rem; margin-bottom: .9rem; border-bottom: 1px dashed var(--line); }
.phish-meta b { color: var(--muted); font-weight: 600; display: inline-block; min-width: 4.2em; }
.phish-body { cursor: pointer; }
.flag { all: unset; display: inline; cursor: inherit; border-radius: 3px; transition: background .2s ease, box-shadow .2s ease; }
.flag.hint { box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--pink) 45%, transparent); }
.flag:focus-visible { outline: 3px solid var(--blue); }
.flag.found { background: color-mix(in srgb, var(--pink) 20%, transparent); box-shadow: inset 0 -2px 0 var(--pink); }
.phish-miss { animation: missflash .5s ease; }
@keyframes missflash { 0%, 100% { background: transparent; } 40% { background: color-mix(in srgb, var(--muted) 12%, transparent); } }
.fake-btn { display: inline-block; margin-top: .4rem; background: var(--blue); color: #fff; padding: .5rem 1rem; border-radius: 8px; font-weight: 700; }
.phish-foot { padding: .9rem 1.2rem; background: var(--surface-2); border-top: 1px solid var(--line); font-size: .92rem; }
.phish-foot strong { color: var(--link); }
.phish-explain { min-height: 3.2em; margin: .35rem 0 0; color: var(--muted); }
.progress-dots { display: inline-flex; gap: .3rem; vertical-align: middle; margin-left: .4rem; }
.progress-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.progress-dots i.on { background: var(--pink); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps.three { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: .8rem; }
@media (prefers-color-scheme: dark) { .step::before { background: #fff; color: var(--ink); } }

/* Studio demo */
.studio { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem; box-shadow: var(--shadow); }
.studio label { font-weight: 700; display: block; margin-bottom: .4rem; }
textarea, input[type=text], input[type=email], input[type=number], select {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .8rem;
}
textarea:focus, input:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
textarea { min-height: 96px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 0; }
.chip { font: inherit; font-size: .85rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.studio-out { margin-top: 1rem; border-top: 1px dashed var(--line); padding-top: 1rem; }
.studio-out h4 { margin: .2rem 0 .4rem; font-size: 1.05rem; }
.studio-out .tag { font-size: .78rem; font-weight: 800; color: var(--warn); text-transform: uppercase; letter-spacing: .06em; }
.studio-out ol, .studio-out ul { margin: .2rem 0 .8rem; }
.note { font-size: .88rem; color: var(--muted); margin-top: .8rem; }

/* Drill */
.drill { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; box-shadow: var(--shadow); }
.drill-msg { background: var(--surface-2); border-radius: 12px; padding: 1rem; margin: .8rem 0; font-size: .98rem; }
.drill-msg .who { font-weight: 800; display: block; margin-bottom: .2rem; }
.drill-choices { display: grid; gap: .5rem; }
.drill-choices button { text-align: left; font: inherit; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.drill-choices button:hover { border-color: var(--accent); }
.drill-choices button.right { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.drill-choices button.wrong { border-color: var(--pink); background: color-mix(in srgb, var(--pink) 8%, transparent); }
.drill-feedback { margin-top: .8rem; min-height: 1.5em; }
.drill-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; color: var(--muted); font-weight: 600; }

/* Topic tables */
.topic-group h3 { display: flex; align-items: center; gap: .6rem; }
.topic-group h3::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--purple); }
.topic-group.c-silver h3::before { background: var(--silver); }
.topic-group.c-blue h3::before { background: var(--blue); }
.topic-group.c-pink h3::before { background: var(--pink); }

/* Pricing */
.plans { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; margin: .3rem 0 0; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.plan ul { flex: 1; }
.plan .btn { margin-top: 1rem; }
.plan.featured { border: 2px solid var(--purple); }
.plan.featured::before { content: "Most popular with employers"; position: absolute; top: -12px; left: 1.2rem; background: var(--purple); color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .2rem .6rem; border-radius: 999px; }
.calc { display: grid; gap: 1rem; }
@media (min-width: 760px) { .calc { grid-template-columns: 1fr 1fr 1.2fr; align-items: end; } }
.calc-out { background: var(--surface-2); border-radius: 12px; padding: 1rem 1.2rem; }
.calc-out .big { font-size: 1.8rem; font-weight: 800; }

/* Partner tiers */
.tier h3 { display: flex; align-items: center; gap: .5rem; }
.tier .swatch { width: 18px; height: 18px; border-radius: 5px; display: inline-block; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.1rem; margin-bottom: .6rem; }
summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--link); }
details[open] summary::after { content: "–"; }
details > div { padding: 0 0 1rem; color: var(--muted); }

/* Promise band */
.promise { background: var(--ink); color: #fff; border-radius: 22px; padding: 2rem 1.4rem; position: relative; overflow: hidden; }
@media (min-width: 760px) { .promise { padding: 3rem; } }
.promise h2 { color: #fff; }
.promise p, .promise li { color: #D9D3E4; }
.promise .grid { margin-top: 1.5rem; }
.promise .pcard { border: 1px solid #2E2740; border-radius: 14px; padding: 1.1rem; background: #17131F; }
.promise .pcard h3 { color: #fff; font-size: 1.05rem; }
.promise a { color: #E3C7FF; }
@media (prefers-color-scheme: dark) { .promise { background: #1A1424; border: 1px solid var(--line); } }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .card { padding: 2.4rem 1.4rem; background: linear-gradient(135deg, color-mix(in srgb, var(--purple) 10%, var(--surface)), color-mix(in srgb, var(--blue) 8%, var(--surface))); }

/* Forms */
.form { display: grid; gap: 1rem; }
@media (min-width: 720px) { .form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } }
.form label { font-weight: 700; display: block; margin-bottom: .35rem; }
.form .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400 !important; }
.checkbox input { margin-top: .35rem; width: 18px; height: 18px; }

/* Video placeholder tiles */
.video-tile { aspect-ratio: 16 / 9; border-radius: 12px; background: linear-gradient(135deg, var(--purple), var(--blue)); display: grid; place-items: center; color: #fff; font-weight: 800; margin-bottom: .9rem; position: relative; overflow: hidden; }
.video-tile.pink { background: linear-gradient(135deg, var(--pink), var(--purple)); }
.video-tile.silver { background: linear-gradient(135deg, #6B7280, var(--blue)); }
.video-tile span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.25); padding: .3rem .7rem; border-radius: 999px; }

/* Footer */
.site-footer { background: var(--ink); color: #CFC8DA; padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .45rem 0; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #B2AABF; }
.site-footer .logo-ring { stroke: #fff; }
.footer-bottom { border-top: 1px solid #2E2740; margin-top: 2.5rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .85rem; color: #9C94AA; }
.tagline { font-style: italic; color: #F3A6CB; margin-top: .6rem; }

.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.kbd { font-family: var(--mono); font-size: .85em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: .05em .35em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }

/* Late additions */
.cta-band .btn-row, .center .btn-row { justify-content: center; }
.swatch[data-c="silver"] { background: var(--silver); }
.swatch[data-c="blue"] { background: var(--blue); }
.swatch[data-c="purple"] { background: var(--purple); }
.swatch[data-c="pink"] { background: var(--pink); }
.page-hero + section.mt-0 { padding-top: 0; }
.split > *, .hero-grid > *, .grid > * { min-width: 0; }
.phish-meta div { overflow-wrap: anywhere; }
ol.steps { list-style: none; padding: 0; margin-left: 0; }
.split .steps.three { grid-template-columns: 1fr; }
.split .step { display: grid; grid-template-columns: 34px 1fr; column-gap: .9rem; align-items: start; }
.split .step::before { margin-bottom: 0; grid-row: span 2; }
.split .step h3, .split .step p { margin-bottom: .2rem; }
@media (min-width: 900px) { table { min-width: 0; } }

/* ================= Practice Lab ================= */
.lab-hero { padding-bottom: 24px; }
.lab-section { padding-top: 8px; }
.lab-back { display: inline-block; margin-bottom: 1rem; font-weight: 700; text-decoration: none; }
.lab-privacy { display: inline-block; background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); font-weight: 700; font-size: .9rem; padding: .45rem .8rem; border-radius: 10px; margin-top: .4rem; }
.h3 { font-size: 1.2rem; }
.lab-card .badge { position: absolute; top: 1rem; right: 1rem; }
.lab-thumb { height: 120px; border-radius: 12px; margin-bottom: 1rem; display: grid; place-items: center; color: #fff; font-size: 2.6rem; font-weight: 800; background: linear-gradient(135deg, var(--purple), var(--blue)); overflow: hidden; }
.lab-inbox { background: linear-gradient(135deg, #2563EB, #7B2CBF); display: flex; flex-direction: column; gap: 8px; padding: 18px; place-items: stretch; }
.lab-inbox i { display: block; height: 14px; border-radius: 6px; background: rgba(255,255,255,.85); }
.lab-inbox i:nth-child(2) { background: #E83E8C; width: 80%; }
.lab-inbox i:nth-child(3) { width: 90%; } .lab-inbox i:nth-child(4) { width: 60%; }
.lab-df { background: linear-gradient(90deg, #0F7B4B 50%, #E83E8C 50%); grid-template-columns: 1fr 1fr; font-size: 1.3rem; letter-spacing: .1em; }
.lab-phone { background: linear-gradient(135deg, #111, #7B2CBF); }
.lab-flag { background: linear-gradient(135deg, #E83E8C, #7B2CBF); }
.lab-verify { background: linear-gradient(135deg, #6B7280, #2563EB); }
.lab-ai { background: linear-gradient(135deg, #7B2CBF, #E83E8C); }
.lab-summary h3 { margin-top: .3rem; }

/* Sample report */
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.bars { display: grid; gap: .55rem; }
.bar-row { display: grid; grid-template-columns: 7.5rem 1fr 3rem; gap: .7rem; align-items: center; font-size: .92rem; }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }
.bar { display: block; height: 12px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--purple); border-radius: 6px; }
.w78 { width: 78%; } .w64 { width: 64%; } .w52 { width: 52%; } .w41 { width: 41%; }

/* Mail app */
.mail-app { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.mail-top { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.1rem; background: var(--ink); color: #fff; font-size: .92rem; }
.mail-top span { color: #CFC8DA; }
.mail-cols { display: grid; min-height: 520px; }
@media (min-width: 860px) { .mail-cols { grid-template-columns: 340px 1fr; } }
.mail-list { border-right: 1px solid var(--line); overflow-y: auto; max-height: 640px; }
.inbox-item { all: unset; box-sizing: border-box; display: block; width: 100%; padding: .85rem 1rem; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.inbox-item:hover { background: var(--surface-2); }
.inbox-item:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.inbox-item.active { background: color-mix(in srgb, var(--purple) 10%, transparent); box-shadow: inset 4px 0 0 var(--purple); }
.inbox-item:not(.done) b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-right: .45rem; vertical-align: middle; }
.inbox-top { display: flex; justify-content: space-between; gap: .5rem; font-size: .95rem; }
.inbox-time { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.inbox-subj { display: block; color: var(--muted); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .15rem; }
.inbox-tag { display: inline-block; margin-top: .35rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .1rem .5rem; border-radius: 999px; }
.inbox-tag.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.inbox-tag.miss { background: color-mix(in srgb, var(--pink) 15%, transparent); color: var(--pink); }
.mail-pane { padding: 1.3rem; min-width: 0; }
.mail-back { display: none; }
@media (max-width: 859px) {
  .mail-pane { display: none; }
  .mail-app.reading .mail-list { display: none; }
  .mail-app.reading .mail-pane { display: block; }
  .mail-back { display: inline-block; all: unset; cursor: pointer; font-weight: 700; color: var(--link); margin-bottom: .8rem; }
}
.mail-subject { font-size: 1.3rem; }
.mail-meta { display: flex; gap: .8rem; align-items: flex-start; }
.mail-avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font-weight: 800; }
.mail-from { all: unset; cursor: pointer; font-weight: 700; }
.mail-from:focus-visible { outline: 3px solid var(--blue); }
.mail-addr { font-family: var(--mono); font-size: .85rem; color: var(--pink); overflow-wrap: anywhere; }
.mail-to { color: var(--muted); font-size: .85rem; }
.mail-tip { font-size: .8rem; color: var(--muted); margin: .4rem 0 0; }
.mail-body { border-top: 1px solid var(--line); margin-top: .9rem; padding-top: 1rem; }
.mail-linkrow { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: .4rem 0; }
.mail-link { font: inherit; font-weight: 700; color: #fff; background: var(--blue); border: 0; border-radius: 8px; padding: .55rem 1rem; cursor: pointer; }
.mail-peek { font: inherit; font-size: .85rem; font-weight: 600; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: .4rem .7rem; cursor: pointer; }
.mail-url { display: block; font-family: var(--mono); font-size: .85rem; background: var(--surface-2); border-radius: 8px; padding: .5rem .7rem; overflow-wrap: anywhere; margin-top: .3rem; }
.mail-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.mail-feedback { margin-top: 1.2rem; border-radius: 12px; padding: 1rem 1.1rem; }
.mail-feedback.good { background: color-mix(in srgb, var(--ok) 12%, transparent); }
.mail-feedback.bad { background: color-mix(in srgb, var(--pink) 12%, transparent); }
.mail-feedback ul { margin: .5rem 0 .8rem; }
.mail-status { min-height: 1.9rem; padding: .3rem 1rem; font-family: var(--mono); font-size: .8rem; color: var(--muted); background: var(--surface-2); border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.mail-overlay { position: absolute; inset: 0; background: rgba(10, 6, 18, .72); display: grid; place-items: start center; padding: 1rem; overflow-y: auto; z-index: 5; }
.landing { width: 100%; max-width: 620px; background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.landing-bar { display: flex; gap: .5rem; align-items: center; padding: .55rem .9rem; background: var(--surface-2); font-family: var(--mono); font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.landing-fake { padding: 1.2rem; display: grid; gap: .55rem; max-width: 320px; margin: 0 auto; filter: grayscale(.3); opacity: .55; }
.lf-logo { font-weight: 800; font-size: 1.2rem; text-align: center; }
.lf-title { text-align: center; color: var(--muted); font-size: .9rem; }
.lf-field { border: 1.5px solid var(--line); border-radius: 8px; padding: .55rem .7rem; color: var(--muted); font-size: .9rem; }
.lf-btn { background: var(--blue); color: #fff; text-align: center; border-radius: 8px; padding: .55rem; font-weight: 700; }
.landing-teach { padding: 1.2rem 1.3rem 1.4rem; border-top: 4px solid var(--pink); }

/* Deepfake game */
.df-game { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; box-shadow: var(--shadow); }
.df-grid { display: grid; gap: 1.2rem; margin-top: .8rem; }
@media (min-width: 900px) { .df-grid { grid-template-columns: 1.1fr .9fr; } }
.df-stage { background: #141019; color: #fff; border-radius: 14px; overflow: hidden; position: relative; }
.df-head { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; font-size: .88rem; font-weight: 700; background: rgba(255,255,255,.06); }
.df-dot { width: 9px; height: 9px; border-radius: 50%; background: #E83E8C; }
.df-media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #3a2f52, #141019 70%); }
.df-voice .df-media, .df-social .df-media { background: radial-gradient(circle at 50% 40%, #233256, #141019 70%); }
.df-post .df-media { background: radial-gradient(circle at 50% 40%, #2a4a7a, #141019 70%); }
.df-avatar { width: 46%; max-width: 220px; height: auto; }
.df-voice .df-avatar { width: 28%; opacity: .9; }
.df-live { position: absolute; top: .7rem; left: .7rem; background: #E83E8C; font-size: .7rem; font-weight: 800; padding: .15rem .45rem; border-radius: 4px; letter-spacing: .08em; }
.df-ctrls { position: absolute; bottom: .7rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; }
.df-ctrls span { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; font-size: 1rem; }
.df-ctrls span.end { background: #D9304A; }
.df-play { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,.55); display: grid; place-items: center; font-size: 1.6rem; }
.df-badge-intranet { position: absolute; top: .7rem; left: .7rem; background: #2563EB; font-size: .72rem; font-weight: 800; padding: .2rem .55rem; border-radius: 4px; }
.df-wave { position: absolute; bottom: 12%; left: 10%; right: 10%; height: 48px; display: flex; align-items: center; gap: 3px; }
.df-wave i { flex: 1; background: #E83E8C; border-radius: 2px; animation: dfwave 1.1s ease-in-out infinite alternate; }
@keyframes dfwave { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.df-glitch .df-avatar { animation: dfglitch 3.2s steps(1) infinite; }
@keyframes dfglitch { 0%, 86%, 100% { transform: none; filter: none; } 88% { transform: translateX(3px) skewX(4deg); filter: hue-rotate(40deg) contrast(1.4); } 91% { transform: translateX(-2px); filter: blur(1px); } }
.df-caption { padding: .9rem 1rem 1.1rem; margin: 0; font-size: .98rem; line-height: 1.5; background: rgba(255,255,255,.04); }
.df-done { padding: 2rem 1.4rem; background: linear-gradient(135deg, #2a1745, #141019); }
.df-done h3 { color: #fff; font-size: 2rem; }
.df-hint { font-weight: 700; margin-bottom: .5rem; }
.df-clues { display: grid; gap: .5rem; }
.df-clue { text-align: left; font: inherit; padding: .7rem .9rem; border-radius: 12px; border: 1.5px dashed var(--line); background: var(--surface); color: var(--text); cursor: pointer; display: grid; gap: .3rem; }
.df-clue:hover { border-color: var(--accent); }
.df-clue.open { border-style: solid; background: var(--surface-2); cursor: default; }
.df-clue-text { color: var(--muted); font-size: .93rem; }
.df-choices { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1rem 0 .4rem; }
.df-choices .btn { width: 100%; font-size: 1.05rem; padding: .85rem; }
.df-right { outline: 3px solid var(--ok); outline-offset: 2px; }
.df-wrong { outline: 3px solid var(--pink); outline-offset: 2px; }
.df-feedback { border-radius: 12px; margin: .6rem 0; }
.df-feedback.good, .df-feedback.bad { padding: .9rem 1rem; }
.df-feedback.good { background: color-mix(in srgb, var(--ok) 12%, transparent); }
.df-feedback.bad { background: color-mix(in srgb, var(--pink) 12%, transparent); }

/* Vishing */
.vish-pick { text-align: left; font: inherit; color: var(--text); cursor: pointer; display: grid; gap: .4rem; }
.vish-pick:hover { border-color: var(--accent); }
.vish-layout { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .vish-layout { grid-template-columns: 400px 1fr; } }
.vish-phone { width: 100%; max-width: 400px; margin: 0 auto; background: #0b0910; border-radius: 40px; padding: 14px; box-shadow: 0 20px 50px rgba(20,10,40,.35); }
.vish-screen { background: linear-gradient(180deg, #1d1530, #0f0c16); border-radius: 30px; color: #fff; padding: 1.4rem 1rem 1rem; min-height: 600px; display: flex; flex-direction: column; }
.vish-id { display: grid; justify-items: center; gap: .15rem; text-align: center; }
.vish-id b { font-size: 1.3rem; }
.vish-id span { color: #B2AABF; font-size: .9rem; }
.vish-avatar { width: 64px; height: 64px; border-radius: 50%; background: #7B2CBF; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: .4rem; }
.ringing .vish-avatar { animation: ring 1s ease-in-out infinite; }
@keyframes ring { 0%,100% { box-shadow: 0 0 0 0 rgba(232,62,140,.6); } 50% { box-shadow: 0 0 0 16px rgba(232,62,140,0); } }
.vish-timer { font-variant-numeric: tabular-nums; }
.vish-context { font-size: .82rem; color: #CFC8DA; background: rgba(255,255,255,.06); border-radius: 10px; padding: .5rem .7rem; margin: .8rem 0 .6rem; }
.vish-log { flex: 1; overflow-y: auto; max-height: 300px; display: flex; flex-direction: column; gap: .5rem; padding: .2rem; }
.vish-bubble { max-width: 88%; padding: .6rem .8rem; border-radius: 16px; font-size: .93rem; line-height: 1.45; }
.vish-bubble.them { background: rgba(255,255,255,.12); align-self: flex-start; border-bottom-left-radius: 4px; }
.vish-bubble.me { background: #2563EB; align-self: flex-end; border-bottom-right-radius: 4px; }
.vish-typing { letter-spacing: .2em; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.vish-choices { display: grid; gap: .45rem; margin-top: .7rem; }
.vish-prompt { margin: 0; font-size: .8rem; color: #B2AABF; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.vish-choice { font: inherit; font-size: .92rem; text-align: left; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: .6rem .8rem; cursor: pointer; }
.vish-choice:hover { background: rgba(255,255,255,.16); }
.vish-answer { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: auto; padding-top: 2rem; }
.vish-btn { font: inherit; font-weight: 800; color: #fff; border: 0; border-radius: 999px; padding: .9rem; cursor: pointer; }
.vish-btn.accept { background: #12A150; }
.vish-btn.decline { background: #D9304A; }
.vish-btn.small { padding: .55rem; font-size: .9rem; }
.vish-debrief.good { border-top: 5px solid var(--ok); }
.vish-debrief.partial { border-top: 5px solid var(--warn); }
.vish-debrief.bad { border-top: 5px solid var(--pink); }
.vish-debrief ul { margin: .3rem 0 .8rem; }
@media (min-width: 1040px) and (max-width: 1240px) { .nav-links a { padding: .45rem .5rem; font-size: .9rem; } }
.vish-layout:has(> .vish-debrief.hidden) { grid-template-columns: 1fr; }
