
/* Navbar link reset */
nav a,
nav a:hover,
nav a:focus,
nav a:active,
.nav-mobile a,
.nav-mobile a:hover,
.nav-mobile a:focus,
.nav-mobile a:active {
  text-decoration: none !important;
}

:root {
  --brand: #5B359D;
  --brand-2: #47297D;
  --brand-light: #efe7ff;
  --accent: #0ec97f;
  --accent-bg: rgba(14, 201, 127, .12);
  --text-primary: #0f172a;
  --text-secondary: #536174;
  --text-muted: #7a8799;
  --border: rgba(91,53,157,.16);
  --border-light: rgba(91,53,157,.10);
  --radius: 24px;
  --radius-sm: 14px;
}

/* Navbar actions — navbar.css relies on generic button classes. */
nav .nav-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-family: 'Bricolage Grotesque', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

nav .nav-actions .btn-ghost {
  color: var(--text-primary);
  background: transparent;
  border-color: var(--border);
  box-shadow: none;
}

nav .nav-actions .btn-ghost:hover {
  color: var(--brand);
  background: var(--brand-light);
  border-color: var(--brand);
  transform: none;
}

nav .nav-actions .btn-primary {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: none;
}

nav .nav-actions .btn-primary:hover {
  color: #fff;
  background: var(--brand-2);
  border-color: var(--brand-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(91,53,157,.18);
}

nav .nav-actions .btn-outline-danger {
  color: #dc3545;
  background: transparent;
  border-color: rgba(220,53,69,.42);
}

nav .nav-actions .btn-outline-danger:hover {
  color: #fff;
  background: #dc3545;
  border-color: #dc3545;
}

nav .nav-actions .btn-sm {
  min-height: 36px;
  padding: 0 13px;
  font-size: .82rem;
}

body {
  margin: 0;
  background: #fff;
  color: #0f172a;
  font-family: 'Bricolage Grotesque', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.pdf-main {
  --brand: #5B359D;
  --brand-strong: #47297D;
  --brand-mid: #7c3aed;
  --brand-light: #efe7ff;
  --accent: #0ec97f;
  --danger: #ff6675;
  --warning: #ffbd5a;
  --text: #0f172a;
  --text-2: #536174;
  --muted: #7a8799;
  --border: rgba(91,53,157,.16);
  --border-light: rgba(91,53,157,.10);
  --dark: #090413;
  --dark-2: #130822;
  --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow-sm: 0 16px 40px rgba(13,17,23,.08);
  --shadow-lg: 0 34px 90px rgba(13,17,23,.15);

  overflow: hidden;
  background:
    radial-gradient(circle at 7% 2%, rgba(124,58,237,.055), transparent 24%),
    linear-gradient(180deg,#fff 0%,#fcfbff 48%,#fff 100%);
}

.pdf-main *,
.pdf-main *::before,
.pdf-main *::after { box-sizing: border-box; }

.pdf-main a { color: inherit; text-decoration: none; }
.pdf-main img { display: block; max-width: 100%; }

.pdf-main .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: .96rem;
  font-weight: 750;
  line-height: 1;
  transition: transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.pdf-main .btn-xl { min-height: 56px; padding: 0 28px; }
.pdf-main .btn-primary {
  color: #fff;
  background: linear-gradient(135deg,var(--brand),var(--brand-mid));
  box-shadow: 0 18px 38px rgba(91,53,157,.24);
}
.pdf-main .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 23px 46px rgba(91,53,157,.30); }
.pdf-main .btn-ghost { color: var(--brand); background: #fff; border-color: var(--border); }
.pdf-main .btn-ghost:hover { background: var(--brand-light); transform: translateY(-2px); }

.pdf-main .eyebrow {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.pdf-main .eyebrow-light { color: #cbb8ff; }

.pdf-main .step-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: .82rem;
  font-weight: 800;
}
.pdf-main .step-label > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-light);
  font-family: var(--font-mono);
  font-size: .7rem;
}
.pdf-main .step-light { color: #d9c8ff; }
.pdf-main .step-light > span { background: rgba(124,58,237,.23); color: #eadfff; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.pdf-main .fade-up { opacity: 0; animation: fadeUp .62s ease forwards; }
.pdf-main .d1 { animation-delay: .05s; }
.pdf-main .d2 { animation-delay: .16s; }

/* HERO */
.pdf-hero {
  position: relative;
  width: min(1460px,calc(100% - 48px));
  min-height: 780px;
  margin: 64px auto 0;
  padding: 104px 22px 76px;
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(520px,1.12fr);
  gap: 72px;
  align-items: center;
}
.hero-copy,.hero-visual { position: relative; z-index: 2; }
.hero-copy { max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(91,53,157,.12);
  border-radius: 999px;
  background: rgba(91,53,157,.07);
  color: var(--brand);
  font-size: .86rem;
  font-weight: 750;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(14,201,127,.10);
}

.hero-copy h1 {
  max-width: 11.8ch;
  margin: 0;
  font-size: clamp(3rem,4.55vw,4.75rem);
  line-height: .96;
  letter-spacing: -.035em;
  font-weight: 800;
}
.hero-copy h1 em { color: var(--brand); font-style: normal; }

.hero-sub {
  max-width: 700px;
  margin: 27px 0 0;
  color: var(--text-2);
  font-size: clamp(1.08rem,1.28vw,1.22rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  color: var(--brand);
  font-size: .97rem;
  font-weight: 750;
}
.text-link svg { transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(4px); }

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  margin-top: 45px;
  padding-top: 27px;
  border-top: 1px solid var(--border-light);
}
.hero-proof strong { display: block; margin-bottom: 6px; font-size: .95rem; }
.hero-proof span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.5; }

.hero-visual { min-width: 0; transform: translateX(18px); }

.hero-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  border: 1px solid rgba(124,58,237,.13);
  border-radius: 50%;
}
.orbit-a { width: 700px; height: 700px; transform: translate(-48%,-50%); }
.orbit-b { width: 535px; height: 535px; transform: translate(-48%,-50%); border-color: rgba(124,58,237,.07); }

.analysis-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 26px;
  background: #090513;
  color: #fff;
  box-shadow: 0 40px 90px rgba(9,4,18,.25);
  transform: rotate(.7deg);
}

.window-bar,.text-top {
  min-height: 48px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  color: rgba(255,255,255,.5);
  font-family: var(--font-mono);
  font-size: .68rem;
}
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.window-state { color: #74e7b0; font-weight: 700; letter-spacing: .05em; }

.analysis-body { padding: 28px; }
.verdict-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ui-kicker {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.4);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.verdict-head > div:first-child > strong { display: block; margin-bottom: 5px; color: #ff9b70; font-size: 1.45rem; }
.verdict-head p { max-width: 360px; margin: 0; color: rgba(255,255,255,.52); font-size: .78rem; line-height: 1.5; }

.risk-score {
  min-width: 88px;
  min-height: 88px;
  padding-top: 26px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: baseline;
  background:
    radial-gradient(circle at center,#120a1a 57%,transparent 58%),
    conic-gradient(#ff9b70 0 84%,rgba(255,255,255,.08) 84% 100%);
}
.risk-score b { font-size: 1.4rem; }
.risk-score small { color: rgba(255,255,255,.42); font-size: .65rem; }

.signal-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin: 18px 0;
}
.signal-row > div {
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}
.signal-row span { display: block; margin-bottom: 4px; color: rgba(255,255,255,.38); font-size: .66rem; }
.signal-row strong { font-size: .79rem; }

.evidence-list {
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
}
.evidence-list > div {
  display: grid;
  grid-template-columns: 66px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.evidence-list > div:first-child { border-top: 0; }
.evidence-list span { color: #aa91ea; font-family: var(--font-mono); font-size: .62rem; }
.evidence-list strong { color: rgba(255,255,255,.73); font-size: .75rem; font-weight: 600; }
.evidence-list em { color: #ff9b70; font-size: .68rem; font-style: normal; }

.action-box {
  padding: 14px 16px;
  border: 1px solid rgba(14,201,127,.16);
  border-radius: 13px;
  background: rgba(14,201,127,.07);
}
.action-box span {
  display: block;
  margin-bottom: 5px;
  color: #79e4b0;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.action-box strong { display: block; color: rgba(255,255,255,.82); font-size: .76rem; line-height: 1.5; }

.floating-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}
.floating-chip > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: var(--brand-light);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 800;
}
.floating-chip small,.floating-chip strong { display: block; }
.floating-chip small { margin-bottom: 2px; color: var(--muted); font-size: .66rem; }
.floating-chip strong { font-size: .82rem; }
.chip-top { top: -30px; right: 28px; }
.chip-bottom { bottom: -34px; left: -36px; }

/* RAIL */
.decision-rail {
  width: min(1260px,calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: .8fr repeat(3,1fr);
  align-items: center;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.rail-label { color: var(--brand); font-size: .92rem; font-weight: 800; }
.decision-rail > div:not(.rail-label) { position: relative; padding: 4px 26px; }
.decision-rail > div:not(.rail-label)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--border-light);
}
.decision-rail span { display: block; margin-bottom: 3px; color: var(--brand); font-family: var(--font-mono); font-size: .66rem; }
.decision-rail strong { display: block; font-size: .96rem; }
.decision-rail small { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; }

/* TITLES */
.story-intro,
.preview-section,
.feature-flow,
.qr-section,
.text-section,
.result-section,
.faq-section {
  width: min(1260px,calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.story-intro { width: min(980px,calc(100% - 48px)); padding: 118px 0 104px; text-align: center; }

.story-intro h2,
.preview-copy h2,
.risk-heading h2,
.feature-copy h2,
.stream-heading h2,
.embedded-copy h2,
.qr-copy h2,
.text-copy h2,
.result-copy h2,
.privacy-panel h2,
.cta-panel h2,
.faq-copy h2 {
  margin: 0;
  font-size: clamp(2.05rem,3.1vw,3.25rem);
  line-height: 1.06;
  letter-spacing: -.028em;
  font-weight: 800;
}

.story-intro h2 span { color: var(--brand); }
.story-intro p {
  max-width: 800px;
  margin: 25px auto 0;
  color: var(--text-2);
  font-size: 1.12rem;
  line-height: 1.76;
}

/* SAFE PREVIEW */
.preview-section {
  padding: 72px 0 122px;
  display: grid;
  grid-template-columns: minmax(350px,.76fr) minmax(0,1.24fr);
  gap: 90px;
  align-items: center;
}
.preview-copy p,.feature-copy p,.qr-copy p,.text-copy p {
  max-width: 650px;
  margin: 23px 0 0;
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.72;
}
.clean-points { display: grid; gap: 12px; margin-top: 28px; }
.clean-points span {
  position: relative;
  padding-left: 29px;
  color: var(--text-2);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.55;
}
.clean-points span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  font-size: .7rem;
  font-weight: 900;
}

.preview-visual { position: relative; min-width: 0; }
.safe-preview-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(91,53,157,.15);
  border-radius: 28px;
  background: #100b18;
  box-shadow: var(--shadow-lg);
}
.preview-top {
  min-height: 48px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.48);
  font-family: var(--font-mono);
  font-size: .68rem;
}
.preview-top span { color: #77e8b0; font-weight: 700; }

.blur-stage {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%,rgba(124,58,237,.17),transparent 30%),
    #1a1422;
}
.blur-document {
  width: min(360px,70%);
  aspect-ratio: .707/1;
  padding: 34px 30px;
  background: #fff;
  box-shadow: 0 30px 65px rgba(0,0,0,.34);
  filter: blur(4px);
  transform: scale(1.02);
}
.blur-logo { width: 86px; height: 20px; margin-bottom: 35px; border-radius: 999px; background: linear-gradient(90deg,var(--brand),var(--brand-mid)); }
.blur-title { width: 82%; height: 13px; margin-bottom: 10px; border-radius: 999px; background: #aaa2b8; }
.blur-subtitle,.blur-line { height: 7px; margin-bottom: 10px; border-radius: 999px; background: #ded9e8; }
.blur-subtitle { width: 58%; }
.blur-space { height: 28px; }
.blur-line { width: 100%; }
.blur-line.short { width: 46%; }
.blur-line.medium { width: 70%; }
.blur-box { height: 95px; margin: 30px 0; border: 1px solid #ded7ea; border-radius: 8px; background: linear-gradient(145deg,#f3eff8,#fff); }

.blur-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(16,11,24,.04),rgba(16,11,24,.24));
  backdrop-filter: blur(1px);
}
.safe-overlay {
  position: absolute;
  z-index: 4;
  left: 28px;
  bottom: 28px;
  max-width: 315px;
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 17px;
  background: rgba(11,7,18,.84);
  color: #fff;
  backdrop-filter: blur(16px);
}
.safe-overlay span {
  display: block;
  margin-bottom: 5px;
  color: #bda9f2;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .08em;
}
.safe-overlay strong { display: block; font-size: .9rem; margin-bottom: 4px; }
.safe-overlay small { color: rgba(255,255,255,.55); font-size: .72rem; line-height: 1.45; }

.preview-note {
  position: absolute;
  z-index: 5;
  right: -24px;
  top: 58px;
  max-width: 220px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-sm);
}
.preview-note strong,.preview-note span { display: block; }
.preview-note strong { margin-bottom: 3px; color: var(--brand); font-size: .84rem; }
.preview-note span { color: var(--muted); font-size: .75rem; line-height: 1.4; }

/* RISK BAND */
.risk-band {
  padding: 108px 48px 116px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 5%,rgba(124,58,237,.26),transparent 30%),
    linear-gradient(145deg,#090313 0%,#150925 58%,#080312 100%);
}
.risk-inner { width: min(1260px,100%); margin: 0 auto; }
.risk-heading {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(360px,.68fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 55px;
}
.risk-heading h2 { max-width: 740px; }
.risk-heading > p { margin: 0; color: rgba(255,255,255,.65); font-size: 1.03rem; line-height: 1.7; }

.risk-layout {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 54px;
  align-items: center;
}
.risk-orb {
  display: grid;
  place-items: center;
}
.risk-orb-inner {
  width: 260px;
  height: 260px;
  padding-top: 74px;
  border-radius: 50%;
  text-align: center;
  background:
    radial-gradient(circle at center,#100819 56%,transparent 57%),
    conic-gradient(#ff9b70 0 84%,rgba(255,255,255,.08) 84% 100%);
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
}
.risk-orb-inner strong { font-size: 3.7rem; letter-spacing: -.028em; }
.risk-orb-inner > span { color: rgba(255,255,255,.42); font-size: 1rem; }
.risk-orb-inner small { display: block; margin-top: 4px; color: #ffb08d; font-size: .82rem; font-weight: 700; }

.risk-evidence { display: grid; }
.risk-evidence > div {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.09);
}
.risk-evidence > div:last-child { border-bottom: 1px solid rgba(255,255,255,.09); }
.risk-evidence span { color: #bca8f4; font-family: var(--font-mono); font-size: .65rem; }
.risk-evidence strong { color: rgba(255,255,255,.78); font-size: .92rem; }
.risk-evidence b { color: #ffb08d; font-size: .8rem; }

/* PYPDF */
.feature-flow {
  width: min(1260px,calc(100% - 48px));
  margin: 0 auto;
  padding: 126px 0;
  display: grid;
  grid-template-columns: minmax(350px,.78fr) minmax(0,1.22fr);
  gap: 86px;
  align-items: center;
}
.inline-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.inline-chips span {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
}

.safety-visual { position: relative; }
.safety-console {
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 28px;
  background: linear-gradient(145deg,#fff,#fbfaff);
  box-shadow: var(--shadow-lg);
}
.mini-topbar {
  min-height: 54px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border-light);
}
.mini-topbar small { color: var(--muted); font-family: var(--font-mono); font-size: .67rem; letter-spacing: .08em; }
.mini-topbar b {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(14,201,127,.1);
  color: #0aa56a;
  font-family: var(--font-mono);
  font-size: .68rem;
}
.safety-rows { padding: 10px 24px 24px; }
.safety-rows > div {
  display: grid;
  grid-template-columns: 1fr auto 28px;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-light);
}
.safety-rows > div:last-child { border-bottom: 0; }
.safety-rows span { color: var(--text-2); font-size: .85rem; }
.safety-rows strong { font-size: .82rem; }
.safety-rows em {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(14,201,127,.1);
  color: #0aa56a;
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
}
.safety-rows em.warn { background: rgba(255,189,90,.13); color: #ca8017; }

.safety-note {
  position: absolute;
  right: -24px;
  bottom: -28px;
  max-width: 230px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.safety-note strong,.safety-note span { display: block; }
.safety-note strong { color: var(--brand); font-size: .84rem; margin-bottom: 3px; }
.safety-note span { color: var(--muted); font-size: .75rem; line-height: 1.4; }

/* STREAMS */
.stream-section {
  padding: 112px 48px 126px;
  background:
    radial-gradient(circle at 15% 70%,rgba(124,58,237,.07),transparent 28%),
    linear-gradient(180deg,#fbf9ff 0%,#fff 100%);
}
.stream-heading,.stream-layout {
  width: min(1260px,100%);
  margin-left: auto;
  margin-right: auto;
}
.stream-heading {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(360px,.7fr);
  gap: 74px;
  align-items: end;
  margin-bottom: 58px;
}
.stream-heading h2 { max-width: 760px; }
.stream-heading > p { margin: 0; color: var(--text-2); font-size: 1.03rem; line-height: 1.7; }

.stream-layout {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 74px;
  align-items: center;
}
.stream-visual { min-height: 470px; display: grid; place-items: center; }
.stream-stack { position: relative; width: min(560px,100%); height: 400px; }
.stream-card {
  position: absolute;
  width: 310px;
  min-height: 110px;
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-sm);
}
.stream-card span { display: block; margin-bottom: 7px; color: var(--brand); font-family: var(--font-mono); font-size: .64rem; }
.stream-card strong { display: block; margin-bottom: 5px; font-size: .9rem; }
.stream-card small { color: var(--muted); font-size: .75rem; }
.stream-a { left: 2%; top: 0; transform: rotate(-3deg); }
.stream-b { right: 2%; top: 76px; transform: rotate(3deg); }
.stream-c { left: 10%; bottom: 52px; transform: rotate(1deg); border-color: rgba(255,102,117,.26); }
.stream-d { right: 7%; bottom: 0; transform: rotate(-2deg); }
.stream-c small { color: #bd4c57; font-weight: 700; }

.stream-copy { display: grid; }
.stream-copy article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 17px;
  padding: 21px 0;
  border-top: 1px solid var(--border-light);
}
.stream-copy article:last-child { border-bottom: 1px solid var(--border-light); }
.stream-copy article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: .68rem;
}
.stream-copy strong { display: block; margin-bottom: 5px; font-size: .96rem; }
.stream-copy p { margin: 0; color: var(--text-2); font-size: .86rem; line-height: 1.55; }

/* EMBEDDED */
.embedded-band {
  padding: 96px 48px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%,rgba(124,58,237,.25),transparent 30%),
    linear-gradient(145deg,#090313,#150925 62%,#080312);
}
.embedded-inner {
  width: min(1260px,100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 82px;
  align-items: center;
}
.embedded-copy p {
  max-width: 640px;
  margin: 23px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 1.03rem;
  line-height: 1.72;
}

.embedded-visual {
  display: grid;
  grid-template-columns: 1fr auto 1.1fr;
  gap: 16px;
  align-items: center;
}
.pdf-shell,.embedded-file {
  min-height: 150px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.06);
}
.pdf-shell > span,.embedded-file > span {
  margin-bottom: 7px;
  color: #bda8f4;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .06em;
}
.pdf-shell strong,.embedded-file strong { font-size: 1rem; }
.embedded-file { background: rgba(255,102,117,.07); border-color: rgba(255,102,117,.18); }
.embedded-file small { margin-top: 7px; color: #ffb2ba; font-size: .72rem; }
.embedded-arrow { color: #c8b4ff; font-size: 1.4rem; }

/* QR */
.qr-section {
  padding: 128px 0 126px;
  display: grid;
  grid-template-columns: minmax(360px,.78fr) minmax(0,1.22fr);
  gap: 86px;
  align-items: center;
}
.qr-visual {
  position: relative;
  padding: 30px;
  border: 1px solid var(--border-light);
  border-radius: 32px;
  background: linear-gradient(145deg,#f6f0ff,#fff);
  box-shadow: var(--shadow-sm);
}
.qr-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  background: #fff;
}
.qr-code {
  width: 170px;
  height: 170px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 5px;
  border: 10px solid #fff;
  background: #0e0914;
  box-shadow: inset 0 0 0 1px #ddd7e7;
}
.qr-code i { background: #fff; }
.qr-code i:nth-child(2n),
.qr-code i:nth-child(5n),
.qr-code i:nth-child(7n) { background: #0e0914; }

.qr-card small { display: block; margin-bottom: 6px; color: var(--brand); font-family: var(--font-mono); font-size: .65rem; }
.qr-card strong { display: block; margin-bottom: 6px; font-size: .95rem; }
.qr-card span { color: var(--muted); font-size: .76rem; }

.link-compare {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: #fff;
}
.link-compare > div {
  display: grid;
  grid-template-columns: 125px 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--border-light);
}
.link-compare > div:first-child { border-top: 0; }
.link-compare span { color: var(--muted); font-size: .72rem; }
.link-compare strong { overflow: hidden; font-family: var(--font-mono); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.link-compare b {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 700;
}
.link-compare .ok { background: rgba(14,201,127,.10); color: #099760; }
.link-compare .bad { background: rgba(255,102,117,.10); color: #b84854; }

/* TEXT */
.text-section {
  margin-bottom: 26px;
  padding: 84px 76px;
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  gap: 80px;
  align-items: center;
  border-radius: 40px;
  color: #fff;
  background:
    radial-gradient(circle at 8% 5%,rgba(124,58,237,.24),transparent 28%),
    linear-gradient(145deg,#080312,#150925 62%,#090313);
  box-shadow: 0 40px 100px rgba(7,3,15,.18);
}
.text-window {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  background: #09040f;
}
.text-top span { color: #c5afff; font-weight: 700; }
.text-body { padding: 30px; }
.text-body p { margin: 0 0 18px; color: rgba(255,255,255,.69); font-size: .88rem; line-height: 1.65; }
.text-body .highlight {
  padding: 13px 15px;
  border-left: 3px solid #ff9b70;
  background: rgba(255,155,112,.07);
  color: rgba(255,255,255,.88);
}
.text-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 30px 28px;
}
.text-signals span {
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #d7c8ff;
  font-size: .68rem;
}
.text-copy p { color: rgba(255,255,255,.66); }

/* RESULT */
.result-section {
  padding: 130px 0 118px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 88px;
  align-items: start;
}
.result-copy p {
  max-width: 620px;
  margin: 23px 0 0;
  color: var(--text-2);
  font-size: 1.03rem;
  line-height: 1.72;
}
.result-levels { display: grid; }
.result-levels > div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--border-light);
}
.result-levels > div:last-child { border-bottom: 1px solid var(--border-light); }
.result-levels span { color: var(--brand); font-size: .78rem; font-weight: 800; }
.result-levels strong { font-size: 1.03rem; line-height: 1.45; }

/* CLOSING */
.closing-section {
  width: min(1320px,calc(100% - 48px));
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: stretch;
}
.privacy-panel {
  min-height: 440px;
  padding: 64px 68px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 27px;
  align-content: center;
  border-radius: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 12%,rgba(124,58,237,.28),transparent 32%),
    linear-gradient(145deg,#090313,#160b26);
}
.privacy-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 19px;
  background: rgba(255,255,255,.08);
  color: #d9c7ff;
}
.privacy-panel p {
  max-width: 650px;
  margin: 21px 0 0;
  color: rgba(255,255,255,.67);
  font-size: 1rem;
  line-height: 1.7;
}
.cta-panel {
  position: relative;
  z-index: 3;
  align-self: center;
  margin-left: -34px;
  padding: 54px 48px;
  border: 1px solid var(--border-light);
  border-radius: 32px;
  background: rgba(255,255,255,.985);
  box-shadow: 0 32px 80px rgba(13,17,23,.13);
}
.cta-panel h2 { font-size: clamp(1.9rem,2.4vw,2.65rem); }
.cta-panel p { margin: 20px 0 0; color: var(--text-2); font-size: .98rem; line-height: 1.65; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* FAQ */
.faq-section {
  padding: 12px 0 110px;
  display: grid;
  grid-template-columns: minmax(280px,.55fr) minmax(0,1fr);
  gap: 60px;
  align-items: start;
}
.faq-copy h2 { font-size: clamp(1.9rem,2.5vw,2.7rem); }
.faq-list { display: grid; }
.faq-list article { padding: 23px 0; border-top: 1px solid var(--border-light); }
.faq-list article:last-child { border-bottom: 1px solid var(--border-light); }
.faq-list h3 { margin: 0 0 8px; font-size: 1rem; }
.faq-list p { margin: 0; color: var(--text-2); font-size: .9rem; line-height: 1.62; }

/* FOOTER */
.site-footer {
  padding: 30px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #090413;
  color: rgba(255,255,255,.42);
  font-family: 'Bricolage Grotesque',system-ui,sans-serif;
}
.site-footer .footer-logo { color: #fff; font-size: 1.08rem; font-weight: 900; }
.site-footer .footer-links { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.site-footer .footer-links a { color: inherit; text-decoration: none; font-size: .84rem; }
.site-footer .footer-links a:hover { color: #fff; }
.site-footer > span { font-size: .8rem; }

/* RESPONSIVE */
@media (max-width: 1160px) {
  .pdf-hero { grid-template-columns: minmax(0,.88fr) minmax(460px,1.12fr); gap: 42px; }
  .hero-copy h1 { font-size: clamp(2.8rem,4.4vw,4.25rem); }
  .preview-section,.feature-flow,.qr-section,.text-section,.result-section { gap: 54px; }
  .text-section { padding: 68px 52px; }
}

@media (max-width: 980px) {
  .pdf-hero {
    width: min(100% - 36px,860px);
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 70px;
    padding: 80px 0;
  }
  .hero-visual { transform: none; }
  .chip-top { right: 16px; }
  .chip-bottom { left: 16px; }

  .decision-rail {
    width: min(100% - 36px,860px);
    grid-template-columns: 1fr;
  }
  .rail-label { padding-bottom: 14px; }
  .decision-rail > div:not(.rail-label) { padding: 15px 0; border-top: 1px solid var(--border-light); }
  .decision-rail > div:not(.rail-label)::before { display: none; }

  .story-intro,
  .preview-section,
  .feature-flow,
  .qr-section,
  .text-section,
  .result-section,
  .faq-section {
    width: min(100% - 36px,860px);
  }

  .preview-section,.feature-flow,.qr-section,.text-section,.result-section {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .preview-note,.safety-note { right: 18px; }

  .risk-band { padding: 90px 20px 100px; }
  .risk-heading { grid-template-columns: 1fr; gap: 22px; }
  .risk-layout { grid-template-columns: 1fr; }
  .risk-orb { margin-bottom: 10px; }

  .stream-section { padding: 90px 20px 100px; }
  .stream-heading,.stream-layout { grid-template-columns: 1fr; gap: 34px; }
  .stream-heading { margin-bottom: 40px; }

  .embedded-band { padding: 90px 20px; }
  .embedded-inner { grid-template-columns: 1fr; gap: 44px; }

  .text-section { padding: 58px 42px; }
  .text-copy { order: 1; }
  .text-window { order: 2; }

  .closing-section {
    width: min(100% - 36px,860px);
    grid-template-columns: 1fr;
  }
  .privacy-panel { padding: 56px 44px 88px; }
  .cta-panel { margin: -42px 28px 0; }

  .faq-section { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  .pdf-hero {
    width: calc(100% - 28px);
    padding-top: 62px;
    gap: 58px;
  }
  .hero-copy h1 { font-size: clamp(2.4rem,10vw,3.25rem); }
  .hero-sub { font-size: 1rem; }
  .hero-proof { grid-template-columns: 1fr; gap: 15px; }
  .hero-proof > div { padding-bottom: 13px; border-bottom: 1px solid var(--border-light); }
  .hero-proof > div:last-child { border-bottom: 0; }

  .pdf-main .btn,.pdf-main .btn-xl { width: 100%; }
  .hero-actions { align-items: stretch; }
  .text-link { justify-content: center; }

  .analysis-body { padding: 20px; }
  .window-bar { grid-template-columns: auto 1fr; }
  .window-state { display: none; }
  .verdict-head { gap: 12px; }
  .risk-score { min-width: 68px; min-height: 68px; padding-top: 19px; }
  .signal-row { grid-template-columns: 1fr; }
  .evidence-list > div { grid-template-columns: 58px 1fr; }
  .evidence-list em { display: none; }

  .floating-chip { position: static; margin-top: 12px; }
  .chip-top { display: none; }
  .hero-orbit { display: none; }

  .decision-rail,
  .story-intro,
  .preview-section,
  .feature-flow,
  .qr-section,
  .text-section,
  .result-section,
  .closing-section,
  .faq-section {
    width: calc(100% - 28px);
  }

  .story-intro { padding: 84px 0 74px; text-align: left; }

  .story-intro h2,
  .preview-copy h2,
  .risk-heading h2,
  .feature-copy h2,
  .stream-heading h2,
  .embedded-copy h2,
  .qr-copy h2,
  .text-copy h2,
  .result-copy h2,
  .privacy-panel h2,
  .faq-copy h2 {
    font-size: clamp(1.9rem,8vw,2.6rem);
  }

  .story-intro p,.preview-copy p,.feature-copy p,.qr-copy p,.text-copy p,.result-copy p {
    font-size: .98rem;
  }

  .preview-section,.feature-flow,.qr-section { padding-top: 56px; padding-bottom: 84px; }

  .blur-stage { min-height: 390px; }
  .blur-document { width: 78%; }
  .safe-overlay { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .preview-note { position: static; margin-top: 12px; max-width: none; }
  .preview-top { grid-template-columns: auto 1fr; }
  .preview-top span { display: none; }

  .risk-band { padding: 74px 14px 82px; }
  .risk-orb-inner { width: 210px; height: 210px; padding-top: 60px; }
  .risk-evidence > div { grid-template-columns: 72px 1fr; }
  .risk-evidence b { display: none; }

  .safety-rows > div { grid-template-columns: 1fr auto; }
  .safety-rows em { display: none; }
  .safety-note { position: static; margin-top: 12px; max-width: none; }

  .stream-section { padding: 76px 14px 84px; }
  .stream-visual { min-height: 600px; }
  .stream-stack { height: 540px; }
  .stream-card { width: min(290px,92%); }
  .stream-a { left: 0; }
  .stream-b { right: 0; top: 120px; }
  .stream-c { left: 0; bottom: 125px; }
  .stream-d { right: 0; bottom: 0; }

  .embedded-band { padding: 76px 14px; }
  .embedded-visual { grid-template-columns: 1fr; }
  .embedded-arrow { transform: rotate(90deg); text-align: center; }

  .qr-visual { padding: 18px; }
  .qr-card { grid-template-columns: 1fr; }
  .qr-code { width: 150px; height: 150px; }
  .link-compare > div { grid-template-columns: 1fr; gap: 5px; }
  .link-compare b { justify-self: start; }

  .text-section { padding: 46px 22px; border-radius: 28px; }
  .text-top { grid-template-columns: auto 1fr; }
  .text-top span { display: none; }
  .text-body { padding: 22px; }
  .text-signals { padding: 0 22px 22px; }

  .result-section { grid-template-columns: 1fr; padding: 88px 0 84px; }
  .result-levels > div { grid-template-columns: 1fr; gap: 6px; }

  .privacy-panel {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 46px 25px 82px;
    border-radius: 28px;
  }
  .cta-panel { margin: -42px 14px 0; padding: 38px 23px; border-radius: 24px; }
  .cta-actions { flex-direction: column; }

  .faq-section { padding-bottom: 84px; }

  .site-footer {
    padding: 28px 20px;
    flex-direction: column;
    text-align: center;
  }
  .site-footer .footer-links { flex-wrap: wrap; justify-content: center; }
}
