/*!
 * PrivacySafe homepage stylesheet
 * Copyright (C) 2026 Ivy Cyber LLC.
 * SPDX-License-Identifier: CC-BY-SA-4.0
 *
 * Layer order below is preserved exactly as it was in the original inline
 * <style> block. Later :root blocks intentionally override earlier ones;
 * nothing has been consolidated or deleted.
 */

/* ===== Layer 1: base tokens ===== */
:root {
  --bg: #1A1916;
  --bg-soft: #20201D;
  --card: #262624;
  --card-2: #30302E;
  --line: rgba(255,255,255,.11);
  --line-strong: rgba(255,255,255,.18);
  --text: #FAF9F5;
  --muted: #C2C0B6;
  --quiet: #A6A49B;
  --orange: #FB521F;
  --orange-2: #FF8A5C;
  --cyan: #D9824F;
  --green: #FB521F;
  --blue: #D9824F;
  --violet: #D9824F;
  --radius-lg: 28px;
  --radius: 18px;
  --shadow: 0 18px 70px rgba(0,0,0,.35);
  --max: 1440px;
  color-scheme: dark;
  font-family: "Stack Sans Text", "Inter", "Liberation Sans", "Helvetica Neue", Helvetica, Arial, "DejaVu Sans", Roboto, "Segoe UI", system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(251,82,31,.16), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(198,97,63,.14), transparent 30rem),
    radial-gradient(circle at 50% 65%, rgba(198,97,63,.12), transparent 35rem),
    var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(26,25,22,.88), rgba(26,25,22,.58));
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line);
  background: rgba(26,25,22,.76);
  border-radius: 20px;
  box-shadow: 0 8px 36px rgba(0,0,0,.25);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.header-brand { min-width: 240px; }
.brand-logo {
  display: block;
  width: clamp(210px, 19vw, 285px);
  height: auto;
}
.mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(251,82,31,.28), rgba(198,97,63,.18)),
    #262624;
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 24px rgba(255,255,255,.04);
}
.mark svg { width: 25px; height: 25px; }
.brand strong { font-size: 18px; letter-spacing: -.02em; }
.navlinks { display: flex; gap: 6px; align-items: center; }
.navlinks a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  transition: .18s ease;
}
.navlinks a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255,255,255,.055);
  font-weight: 750;
  letter-spacing: -.01em;
  transition: .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.09); }
.btn.primary { border: 0; background: linear-gradient(135deg, var(--orange), #FB521F); color: #130702; box-shadow: 0 12px 32px rgba(251,82,31,.2); }
.btn.primary:hover { box-shadow: 0 16px 40px rgba(251,82,31,.3); }
.btn.soft { background: rgba(255,255,255,.04); color: var(--muted); font-weight: 700; }
.hamb { display: none; width: 44px; padding: 0; }

.hero { padding: 70px 0 54px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr); gap: 28px; align-items: stretch; }
.hero-card {
  min-height: 610px;
  padding: clamp(28px, 4vw, 58px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(251,82,31,.12), transparent 32%),
    linear-gradient(210deg, rgba(198,97,63,.09), transparent 38%),
    rgba(28,27,25,.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card:before {
  content: "";
  position: absolute;
  inset: auto -18% -28% 18%;
  height: 300px;
  background: radial-gradient(circle, rgba(251,82,31,.14), transparent 68%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd2bd;
  background: rgba(251,82,31,.11);
  border: 1px solid rgba(251,82,31,.24);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(251,82,31,.12); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 24px 0 18px;
  font-size: clamp(48px, 8vw, 102px);
  line-height: .93;
  letter-spacing: -.075em;
  max-width: 850px;
}
.accent { color: var(--orange-2); }
.lead { color: var(--muted); font-size: clamp(18px, 2vw, 23px); line-height: 1.45; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.stat-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.stat {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  font-size: 13px;
}
.stat strong { color: var(--text); margin-right: 6px; }

.device-stack { position: relative; min-height: 610px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(38,38,36,.9), rgba(32,32,29,.88)); box-shadow: var(--shadow); }
.rings { position: absolute; inset: 0; opacity: .55; background:
  radial-gradient(circle at 70% 22%, rgba(198,97,63,.18), transparent 13rem),
  radial-gradient(circle at 26% 70%, rgba(251,82,31,.16), transparent 12rem); }
.desktop-mock {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 44px;
  height: 310px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: #20201D;
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
  overflow: hidden;
}
.window-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: rgba(255,255,255,.045); border-bottom: 1px solid rgba(255,255,255,.08); }
.window-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.screen-body { display: grid; grid-template-columns: 220px 1fr; height: calc(100% - 38px); }
.side { border-right: 1px solid rgba(255,255,255,.08); padding: 14px; background: rgba(255,255,255,.025); }
.person { display: flex; align-items: center; gap: 9px; padding: 9px; border-radius: 11px; color: var(--muted); font-size: 12px; }
.person:nth-child(2), .person:hover { background: rgba(198,97,63,.09); color: var(--text); }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(251,82,31,.2); color: #ffd9c9; font-weight: 800; font-size: 11px; }
.chat-pane { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 75%; padding: 12px 14px; border-radius: 16px; color: #E5E3DB; font-size: 13px; line-height: 1.35; background: rgba(255,255,255,.07); }
.bubble.me { align-self: flex-end; background: linear-gradient(135deg, rgba(251,82,31,.85), rgba(255,122,45,.85)); color: #150601; font-weight: 650; }
.phone-mock {
  position: absolute;
  width: 226px;
  aspect-ratio: 9 / 19.5;
  right: 30px;
  bottom: 18px;
  padding: 8px;
  border-radius: 38px;
  background: linear-gradient(145deg, #55534f 0%, #181817 22%, #0d0d0d 58%, #373633 100%);
  border: 2px solid rgba(255,255,255,.32);
  box-shadow:
    0 30px 84px rgba(0,0,0,.58),
    0 0 0 1px rgba(0,0,0,.95),
    inset 0 0 0 2px rgba(255,255,255,.06),
    inset 0 0 18px rgba(255,255,255,.035);
  transform: rotate(3deg);
  overflow: visible;
  box-sizing: border-box;
}
.phone-mock::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 102px;
  width: 4px;
  height: 48px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(#4a4946,#222);
  box-shadow: 0 58px 0 #292927;
}
.phone-mock::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 142px;
  width: 4px;
  height: 72px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(#4a4946,#222);
}
.phone-screen-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.9),
    inset 0 0 0 2px rgba(255,255,255,.025);
}
.phone-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.iphone-status {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 13px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .01em;
  background: linear-gradient(to bottom, rgba(0,0,0,.72), rgba(0,0,0,.18));
  pointer-events: none;
}
.iphone-status .status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.iphone-status .signal {
  width: 13px;
  height: 9px;
  display: flex;
  align-items: end;
  gap: 1px;
}
.iphone-status .signal i {
  display: block;
  width: 2px;
  background: #fff;
  border-radius: 1px;
}
.iphone-status .signal i:nth-child(1) { height: 3px; }
.iphone-status .signal i:nth-child(2) { height: 5px; }
.iphone-status .signal i:nth-child(3) { height: 7px; }
.iphone-status .signal i:nth-child(4) { height: 9px; }
.iphone-status .wifi {
  width: 14px;
  height: 10px;
  position: relative;
  display: block;
}
.iphone-status .wifi i {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1.7px solid #fff;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50% 50% 0 0;
  display: block;
}
.iphone-status .wifi i:nth-child(1) {
  width: 14px;
  height: 10px;
  top: 0;
}
.iphone-status .wifi i:nth-child(2) {
  width: 9px;
  height: 7px;
  top: 3px;
}
.iphone-status .wifi i:nth-child(3) {
  width: 4px;
  height: 4px;
  top: 6px;
}
.iphone-status .wifi::after {
  content: "";
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #fff;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}
.iphone-status .battery {
  width: 16px;
  height: 8px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 2px;
  padding: 1px;
  position: relative;
}
.iphone-status .battery::before {
  content: "";
  display: block;
  width: 82%;
  height: 100%;
  border-radius: 1px;
  background: #fff;
}
.iphone-status .battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: rgba(255,255,255,.75);
}
.iphone-camera {
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 50%;
  width: 58px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 1px 3px rgba(0,0,0,.8);
  pointer-events: none;
}
.iphone-camera::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #24324b 0 22%, #09101a 42%, #020202 72%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04);
}
.vault-head { padding: 18px 16px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.vault-title { font-weight: 850; letter-spacing: -.03em; font-size: 20px; }
.vault-sub { color: var(--quiet); font-size: 12px; margin-top: 3px; }
.vault-list { padding: 12px; display: grid; gap: 9px; }
.vault-item { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.07); }
.vault-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(198,97,63,.13); color: #E5E3DB; font-size: 15px; }
.vault-copy b { display: block; font-size: 13px; }
.vault-copy small { color: var(--quiet); }

.section { padding: 44px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.04; letter-spacing: -.055em; margin-bottom: 8px; }
.section p.kicker { color: var(--muted); max-width: 820px; line-height: 1.55; font-size: 17px; margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.card {
  border: 1px solid var(--line);
  background: rgba(38,38,36,.82);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 45px rgba(0,0,0,.22);
}
.product { min-height: 590px; display: grid; grid-template-rows: auto 1fr; }
.product-copy { padding: 28px; }
.product-copy h3 { font-size: clamp(29px, 3.6vw, 50px); letter-spacing: -.055em; line-height: 1; margin-bottom: 12px; }
.product-copy p { color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 630px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { color: #C2C0B6; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.045); border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 760; }
.mock-area { position: relative; min-height: 310px; background: linear-gradient(160deg, rgba(251,82,31,.1), rgba(198,97,63,.08)); border-top: 1px solid rgba(255,255,255,.08); }
.wide-app {
  position: absolute; inset: 24px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: #20201D; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.two-pane { display: grid; grid-template-columns: 36% 64%; height: calc(100% - 38px); }
.mini-row { margin: 10px 12px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.06); }
.mini-doc { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; margin: 12px; padding: 12px; border-radius: 15px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.07); }
.mini-doc .vault-icon { width: 42px; height: 42px; }
.bar { height: 7px; background: rgba(255,255,255,.14); border-radius: 999px; margin: 4px 0; }
.bar.short { width: 62%; }
.seal { color: var(--green); font-weight: 850; font-size: 12px; }

.scroll-shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 12px; scrollbar-color: rgba(255,255,255,.25) transparent; }
.shot { min-height: 420px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(155deg, rgba(42,41,38,.95), rgba(32,32,29,.95)); }
.shot h3 { font-size: 28px; letter-spacing: -.04em; margin-bottom: 8px; }
.shot p { color: var(--muted); line-height: 1.45; }
.shot-art { height: 210px; border-radius: 22px; background: radial-gradient(circle at 20% 10%, rgba(251,82,31,.35), transparent 8rem), linear-gradient(135deg, rgba(198,97,63,.35), rgba(198,97,63,.16)); border: 1px solid rgba(255,255,255,.1); position: relative; overflow: hidden; }
.shot-art:before, .shot-art:after { content: ""; position: absolute; border-radius: 22px; background: rgba(26,25,22,.58); border: 1px solid rgba(255,255,255,.1); }
.shot-art:before { width: 70%; height: 46px; left: 16px; top: 18px; }
.shot-art:after { width: 48%; height: 110px; right: 18px; bottom: 18px; }

.feature-card { padding: 24px; min-height: 230px; }
.feature-card .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.055); color: var(--orange-2); font-size: 22px; }
.feature-card h3 { font-size: 22px; letter-spacing: -.03em; margin-bottom: 10px; }
.feature-card p { color: var(--muted); line-height: 1.48; margin: 0; }

.social-card { display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; min-height: 460px; }
.social-copy { padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.social-copy h2 { margin-bottom: 18px; }
.social-copy p { color: var(--muted); font-size: 18px; line-height: 1.55; }
.social-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 20px 0 28px; }
.social-stat { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.social-stat b { display: block; font-size: 25px; letter-spacing: -.04em; }
.social-stat span { color: var(--quiet); font-size: 13px; }
.feed { padding: 26px; display: grid; align-content: center; gap: 12px; background: radial-gradient(circle at 75% 20%, rgba(198,97,63,.18), transparent 16rem), rgba(255,255,255,.02); border-left: 1px solid rgba(255,255,255,.08); }
.post { padding: 15px; border-radius: 18px; background: rgba(26,25,22,.72); border: 1px solid rgba(255,255,255,.09); }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post p { color: #E5E3DB; line-height: 1.45; margin: 0; }

.quotes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.quote { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.quote p { color: #E5E3DB; font-size: 17px; line-height: 1.55; margin-bottom: 18px; }
.quote cite { color: var(--muted); font-style: normal; display: block; }
.quote cite b { display: block; color: var(--text); margin-bottom: 2px; }

.download { text-align: center; padding: 66px 24px; background: linear-gradient(135deg, rgba(251,82,31,.13), rgba(198,97,63,.08)), rgba(38,38,36,.82); }
.download h2 { margin-bottom: 12px; }
.download p { color: var(--muted); font-size: 18px; line-height: 1.52; max-width: 740px; margin: 0 auto 26px; }
.download-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.checksum { display: block; color: var(--quiet); font-size: 11px; margin-top: 7px; }

.faq-list { display: grid; gap: 12px; }
details { border: 1px solid var(--line); background: rgba(38,38,36,.7); border-radius: 18px; overflow: hidden; }
summary { cursor: pointer; padding: 20px 22px; font-weight: 850; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
summary::-webkit-details-marker { display: none; }
summary:after { content: "+"; color: var(--muted); font-size: 24px; line-height: 1; }
details[open] summary:after { content: "−"; }
details p { color: var(--muted); line-height: 1.5; padding: 0 22px 22px; margin: 0; border-top: 1px solid rgba(255,255,255,.07); padding-top: 18px; }

footer { padding: 48px 0 54px; color: var(--muted); }
.footer-inner { border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; align-content: start; }
.footer-links a { color: var(--muted); padding: 8px 10px; border-radius: 10px; }
.footer-links a:hover { color: var(--text); background: rgba(255,255,255,.055); }
.fine { max-width: 760px; line-height: 1.55; }

@media (max-width: 1060px) {
  .navlinks { display: none; }
  .hamb { display: inline-flex; }
  .hero-grid, .grid-2, .social-card, .footer-inner { grid-template-columns: 1fr; }
  .device-stack { min-height: 560px; }
  .feed { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .topbar { padding: 10px 0; }
  .nav { border-radius: 18px; }
  .brand { min-width: 0; }
  .header-brand { min-width: 0; }
  .brand-logo { width: min(205px, 56vw); }
  .brand strong { font-size: 16px; }
  .nav-actions .btn:not(.hamb) { display: none; }
  .hero { padding-top: 36px; }
  .hero-card { min-height: auto; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .device-stack { min-height: 520px; }
  .desktop-mock { left: 14px; right: 14px; top: 24px; height: 270px; }
  .screen-body { grid-template-columns: 130px 1fr; }
  .side { padding: 8px; }
  .person { padding: 7px; font-size: 11px; }
  .chat-pane { padding: 12px; }
  .bubble { font-size: 12px; max-width: 88%; }
  .phone-mock { width: 188px; right: 14px; bottom: 16px; padding: 7px; border-radius: 32px; }
  .phone-screen-wrap { border-radius: 25px; }
  .iphone-status { height: 29px; padding: 0 9px 0 10px; font-size: 8px; }
  .iphone-camera { width: 50px; height: 16px; top: 7px; }
  .grid-3, .quotes { grid-template-columns: 1fr; }
  .scroll-shots { grid-auto-columns: 82%; }
  .section { padding: 34px 0; }
  .section-head { display: block; }
  .product-copy { padding: 22px; }
  .mock-area { min-height: 280px; }
  .wide-app { inset: 16px; }
  .social-stats { grid-template-columns: 1fr; }
}

/* ===== Layer 2: brand refinement (intentionally overrides Layer 1) ===== */
:root {
  --text: #FAF9F5;
  --muted: #C2C0B6;
  --quiet: #A6A49B;
  --orange: #FB521F;
  --orange-2: #FB521F;
  --cyan: #D9824F;
  --green: #FB521F;
  --radius-pill: 999px;
  font-family: "Stack Sans Text", "Inter", "Liberation Sans", "Helvetica Neue", Helvetica, Arial, "DejaVu Sans", Roboto, "Segoe UI", system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}

body,
button,
input,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Stack Sans Text", "Inter", "Liberation Sans", "Helvetica Neue", Helvetica, Arial, "DejaVu Sans", Roboto, "Segoe UI", system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}

.nav {
  border-radius: 22px;
}

.brand strong {
  font-weight: 600;
  letter-spacing: -0.03em;
}

.btn {
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid #FB521F;
  background: transparent;
  color: #FAF9F5;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: #FB521F;
  background: rgba(251,82,31, 0.12);
  color: #FAF9F5;
  box-shadow: 0 10px 28px rgba(251,82,31, 0.14);
}

.btn:focus-visible {
  outline: 3px solid rgba(251,82,31, 0.35);
  outline-offset: 3px;
}

/*
 * WCAG 1.4.3 Contrast (Minimum), AA.
 * #FAF9F5 on #FB521F measures 3.15:1. Buttons render at 16px/500, which is
 * normal text and requires 4.5:1. #150601 on the same fill measures 5.98:1
 * and is already the pairing used by .bubble.me, so the brand orange is
 * unchanged. Alternative if a pale label is preferred: darken the fill to
 * #D03304, which reaches 4.79:1 against #FAF9F5.
 */
.btn.primary {
  border: 0;
  background: #FB521F;
  color: #150601;
  box-shadow: none;
}

.btn.primary:hover {
  background: #FB521F;
  color: #150601;
  filter: brightness(1.08);
  box-shadow: 0 12px 30px rgba(251, 82, 31, 0.2);
}

.btn.soft {
  border: 2px solid #FB521F;
  background: transparent;
  color: #FAF9F5;
  font-weight: 500;
}

.btn.hamb {
  border-color: #FB521F;
  color: #FAF9F5;
}

.navlinks a {
  color: #C2C0B6;
  font-weight: 500;
}

.navlinks a:hover {
  color: #FAF9F5;
  background: rgba(110, 193, 228, 0.08);
}

.eyebrow {
  color: #FAF9F5;
  background: rgba(251, 82, 31, 0.12);
  border-color: rgba(251, 82, 31, 0.34);
  font-weight: 600;
  letter-spacing: 0;
}

.dot {
  background: #FB521F;
  box-shadow: 0 0 0 5px rgba(251,82,31, 0.12);
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.045em;
}

.lead,
.section p.kicker,
.product-copy p,
.feature-card p,
.download p,
.quote p,
details p,
.fine {
  color: #C2C0B6;
}

.accent {
  color: #FB521F;
}

.chip,
.stat {
  border-radius: 999px;
  color: #FAF9F5;
  border-color: rgba(90, 90, 90, 0.75);
  background: rgba(25, 25, 25, 0.72);
  font-weight: 500;
}

.feature-card .icon {
  border-radius: 20px;
  color: #C6613F;
  background: rgba(25, 25, 25, 0.7);
  border-color: rgba(90, 90, 90, 0.65);
}

.checksum,
.vault-sub,
.vault-copy small,
.social-stat span {
  color: #A6A49B;
}

summary {
  font-weight: 600;
}

summary:after {
  color: #C6613F;
}

@media (max-width: 760px) {
  .btn {
    width: auto;
    min-height: 44px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ===== Layer 3: app-shell tokens (intentionally overrides Layer 2) ===== */
:root {
  --font-primary: "Stack Sans Text", "Inter", "Liberation Sans", "Helvetica Neue", Helvetica, Arial, "DejaVu Sans", Roboto, "Segoe UI", system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  --color-bg: #1A1916;
  --color-input: #30302E;
  --color-text: #FAF9F5;
  --color-green: #FB521F;
  --color-orange: #FB521F;
  --color-blue: #D9824F;
}

html,
body,
button,
input,
textarea,
select,
a,
p,
span,
div,
small,
strong,
em,
li,
summary,
blockquote,
cite,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
}

body {
  color: var(--color-text);
}

.lead,
.section p.kicker,
.product-copy p,
.feature-card p,
.download p,
.quote p,
details p,
.fine,
.intro,
.role,
.muted {
  color: var(--color-text);
  opacity: 0.82;
}

input,
textarea,
select,
.input {
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--color-input);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 400;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text);
  opacity: 1;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-blue);
  outline: none;
  box-shadow: 0 0 0 2px rgba(110, 193, 228, 0.25);
}

.btn,
button,
[role="button"] {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
}

.btn {
  border-radius: 999px;
}

.btn:not(.primary) {
  border-color: var(--color-green);
  color: var(--color-text);
}

.btn:not(.primary):hover {
  background: rgba(251,82,31, 0.12);
}

/* See the 1.4.3 note above: dark label on the orange fill, not #FAF9F5. */
.btn.primary {
  background: var(--color-orange);
  color: #150601;
}

.accent,
.brand-orange {
  color: var(--color-orange);
}

a:not(.btn) {
  color: var(--color-blue);
}

/*
 * WCAG 1.4.1 Use of Color, A.
 * In-prose links sit at 6.07:1 against the page but under 3:1 against the
 * surrounding body text, so color alone is not a sufficient cue. A dotted
 * underline inside running text keeps the chrome links clean.
 */
p a:not(.btn),
.fine a:not(.btn),
.quote a:not(.btn),
details p a:not(.btn) {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.dot,
.success-dot {
  background: var(--color-green);
  box-shadow: 0 0 0 5px rgba(251,82,31, 0.12);
}

.app-panel,
.auth-card,
.login-card {
  background: var(--color-bg);
  color: var(--color-text);
}

/* ===== Layer 4: typographic tuning ===== */
h1,
h2,
h3,
.headline,
.hero-card h1,
.section h2,
.product-copy h3,
.download h2 {
  letter-spacing: -0.025em;
  font-kerning: normal;
  text-rendering: geometricPrecision;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

h1,
.hero-card h1,
.headline {
  letter-spacing: -0.032em;
  line-height: 0.98;
}

h2,
.section h2,
.download h2 {
  letter-spacing: -0.022em;
  line-height: 1.08;
}

h3,
.product-copy h3,
.feature-card h3 {
  letter-spacing: -0.018em;
  line-height: 1.12;
}

.brand strong,
.navlinks a,
.btn {
  letter-spacing: 0;
  font-kerning: normal;
  text-rendering: geometricPrecision;
}

@media (max-width: 760px) {
  h1,
  .hero-card h1,
  .headline {
    letter-spacing: -0.024em;
    line-height: 1.02;
  }

  h2,
  .section h2,
  .download h2 {
    letter-spacing: -0.016em;
  }

  h3,
  .product-copy h3,
  .feature-card h3 {
    letter-spacing: -0.012em;
  }
}

/* --- AA: visible keyboard focus (2.4.7) + reduced motion --- */
:focus-visible { outline: 2px solid #FB521F; outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/*
 * WCAG 2.4.1 Bypass Blocks, A.
 * Off-canvas until focused, then pinned to the top-left of the viewport.
 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  background: #FB521F;
  color: #150601;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* ===== Canonical type scale - identical across 3NWeb / PrivacySafe / Ivy Cyber ===== */
h1 { font-size: clamp(2.25rem, 4.9vw, 4.1rem) !important; line-height: 1.18 !important; letter-spacing: -0.02em !important; font-weight: 700 !important; font-kerning: normal; }
h2 { font-size: clamp(2rem, 4.4vw, 3.8rem) !important; line-height: 1.18 !important; letter-spacing: -0.012em !important; font-weight: 700 !important; font-kerning: normal; }
h3 { font-size: 1.35rem !important; line-height: 1.18 !important; letter-spacing: 0 !important; font-weight: 700 !important; font-kerning: normal; }

/* ===== PrivacySafe download button layout ===== */
.download-actions {
  align-items: flex-start;
  gap: 12px;
}

.download-option {
  flex: 1 1 200px;
  max-width: 300px;
}

.download-option .btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.download-option .os-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  min-width: 20px;
  font-size: 17px;
  line-height: 1;
  color: currentColor;
}

.download-option .os-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.download-option .download-label {
  display: inline-block;
}

.download-option .checksum {
  margin-top: 8px;
  text-align: center;
  color: #eeeeee;
  font-size: 0.8em;
}

.download-option .checksum a {
  color: #eeeeee;
  text-decoration: none;
}

.download-option .checksum a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .download-option {
    max-width: none;
    width: 100%;
  }
}

/* ===== Trust icon cleanup ===== */
.feature-card .icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #C6613F;
  overflow: visible;
}
.feature-card .icon svg {
  display: block;
  width: 54px;
  height: 54px;
  max-width: none;
  max-height: none;
  overflow: visible;
  flex: 0 0 54px;
}

/* ===== Standards/compliance logo strip ===== */
.standards-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.standard-logo {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(38,38,36,.72);
  box-shadow: 0 10px 34px rgba(0,0,0,.16);
}
/*
 * The strip mixes aspect ratios: the compliance wordmarks are 500x86 (5.81:1)
 * while the 3NWeb mark is 96x59 (1.63:1). Sizing purely by width would render
 * 3NWeb ~117px tall against the others' ~33px and blow out the row, and would
 * upscale a 96px source by 2x. Cap the height instead and let width follow,
 * so every logo lands on the same optical weight and nothing is enlarged past
 * its native size.
 */
.standard-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

/* Near-square marks get a little more height to match perceived size. */
.standard-logo--tall img {
  max-height: 48px;
}
.standard-logo:hover {
  border-color: rgba(251,82,31,.55);
  background: rgba(251,82,31,.08);
}

/* ===== Expanded footer ===== */
.footer-community {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin-bottom: 30px;
}
.footer-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(251,82,31,.07), transparent 45%), rgba(38,38,36,.72);
  box-shadow: 0 14px 45px rgba(0,0,0,.18);
}
.footer-logo {
  display: block;
  width: min(310px, 100%);
  height: auto;
  margin-bottom: 20px;
}
.footer-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem) !important;
  line-height: 1.12 !important;
  margin: 0 0 14px;
}
.footer-panel h3 {
  margin: 22px 0 10px;
}
.footer-panel p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-link {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--orange);
  border-radius: 999px;
  color: var(--text) !important;
  background: transparent;
  transition: .18s ease;
}
.social-link:hover {
  transform: translateY(-1px);
  background: rgba(251,82,31,.12);
  box-shadow: 0 10px 28px rgba(251,82,31,.14);
}
.social-link svg {
  width: 20px;
  height: 20px;
  display: block;
}
.newsletter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 12px;
}
.newsletter-note {
  color: var(--quiet) !important;
  font-size: 12px;
  margin-bottom: 0 !important;
}

@media (max-width: 900px) {
  .standards-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-community { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .standards-strip { grid-template-columns: 1fr; }
}

/* Visually-hidden text that remains available to assistive technology. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Quote cards: portrait + attribution ===== */
/*
 * <figure> carries a default margin and <blockquote> a default indent; both
 * are cleared so the card padding stays the only spacing.
 */
.quote {
  margin: 0;
}
.quote blockquote {
  margin: 0;
}

.quote-by {
  display: flex;
  align-items: center;
  gap: 14px;
}

/*
 * Source portraits are 146x146. Displaying at 56px leaves 2.6x of headroom,
 * so they stay sharp on 2x displays without shipping a larger file.
 */
.quote-avatar {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(251,82,31,.38);
}

.quote cite {
  display: block;
  min-width: 0;
}
.quote cite b {
  margin-bottom: 2px;
}
/*
 * The role previously sat as a bare text node after </b>, which rendered on
 * its own line only because the <b> is display:block -- the accessibility
 * tree and any copied text read "Cory DoctorowAuthor, Activist". A real
 * element restores the word boundary.
 */
.quote cite .role {
  display: block;
  color: var(--quiet);
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .quote-by {
    gap: 12px;
  }
  .quote-avatar {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }
}
