:root {
  color-scheme: dark light;
  --bg: #080f16;
  --panel: rgba(236, 255, 246, 0.1);
  --panel-strong: rgba(236, 255, 246, 0.16);
  --panel-deep: rgba(5, 14, 22, 0.52);
  --hairline: rgba(236, 255, 246, 0.06);
  --text: #f3fbf8;
  --muted: rgba(243, 251, 248, 0.68);
  --line: rgba(226, 255, 239, 0.16);
  /* Single locked accent (blue). --accent-soft is only a lighter tint for the
     one blue gradient; --accent-2 stays as ambient background wash, never UI. */
  --accent: #2f81f7;
  --accent-soft: #7db4ff;
  --accent-2: #56d4ff;
  --danger: #ff5c7a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  /* One radius scale: panels > cards > inner controls > pills. */
  --radius-panel: 16px;
  --radius-card: 14px;
  --radius-inner: 10px;
  --radius-pill: 999px;
  --press: transform 120ms ease;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% -8%, rgba(86, 212, 255, 0.28), transparent 28rem),
    radial-gradient(circle at 110% 24%, rgba(47, 129, 247, 0.26), transparent 24rem),
    linear-gradient(145deg, #070f16 0%, #0d151c 58%, #141e26 100%);
  color: var(--text);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-form input:focus-visible {
  border-color: var(--accent);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.popup-shell {
  width: 390px;
  max-width: 100%;
  min-height: 560px;
  overflow-x: hidden;
  overflow-y: auto;
}

.popup-frame {
  min-height: 100vh;
  padding: 14px 12px 16px;
}

.glass-panel,
.metric-card,
.timeline-card,
.site-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(140%);
}

.glass-panel {
  border-radius: var(--radius-panel);
  background:
    radial-gradient(circle at 12% 0%, rgba(86, 212, 255, 0.16), transparent 16rem),
    radial-gradient(circle at 100% 8%, rgba(47, 129, 247, 0.22), transparent 18rem),
    rgba(5, 14, 22, 0.72);
}

.popup-hero,
.dashboard-header,
.section-heading,
.site-card,
.header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.eyebrow,
.muted,
.metric-card span,
.metric-card small,
.status-message {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 23px;
  line-height: 1.08;
}

.power-button,
.icon-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--panel-strong);
}

.power-button {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  color: var(--accent);
  background: rgba(47, 129, 247, 0.14);
  border-color: rgba(47, 129, 247, 0.34);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.power-button:hover {
  background: rgba(47, 129, 247, 0.22);
  transform: translateY(-1px);
}

.power-button.off {
  color: var(--danger);
  background: rgba(255, 92, 122, 0.14);
  border-color: rgba(255, 92, 122, 0.34);
}

.power-glyph {
  width: 22px;
  height: 22px;
}

.site-id {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-favicon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 6px;
  /* Light plate so dark favicons (e.g. GitHub's black mark, drawn for light
     browser tabs) stay visible on the dark surface; colored/light marks read
     fine against it too. */
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  object-fit: contain;
}

.stat-grid,
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.dashboard-metrics {
  grid-template-columns: repeat(4, 1fr);
}

.metric-card,
.timeline-card,
.site-card,
.dashboard-panel {
  border-radius: var(--radius-card);
  padding: 11px;
}

.metric-card {
  min-height: 80px;
  background: linear-gradient(150deg, rgba(236, 255, 246, 0.1), rgba(236, 255, 246, 0.045));
}

.metric-card.primary {
  border-color: rgba(47, 129, 247, 0.34);
  background: linear-gradient(150deg, rgba(47, 129, 247, 0.32), rgba(47, 129, 247, 0.08));
}

.metric-card strong {
  display: block;
  margin: 7px 0 2px;
  font-size: 23px;
  line-height: 1;
}

.metric-card span,
.metric-card small {
  display: block;
  font-size: 12px;
}

.timeline-card,
.site-card,
.category-list {
  margin-top: 10px;
}

.section-heading {
  min-height: 30px;
  font-size: 13px;
}

.section-heading span {
  color: var(--muted);
}

.bar-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  align-items: end;
  height: 58px;
  gap: 4px;
  padding: 12px 1px 0;
  overflow: visible;
}

.bar-chart.large {
  grid-template-columns: repeat(60, 1fr);
  flex: 1;
  min-height: 220px;
  height: auto;
}

.bar-chart span {
  position: relative;
  min-height: 6px;
  border-radius: var(--radius-pill) var(--radius-pill) 3px 3px;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  outline: none;
  transition: filter 140ms ease, opacity 140ms ease, transform 140ms ease;
}

.bar-chart span:hover,
.bar-chart span:focus-visible {
  filter: brightness(1.18);
  opacity: 1;
  transform: translateY(-2px);
}

.chart-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483000;
  max-width: 240px;
  padding: 6px 9px;
  border: 1px solid rgba(226, 255, 239, 0.22);
  border-radius: 9px;
  color: #f8fffb;
  background: rgba(4, 12, 20, 0.97);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(3px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms;
}

.chart-tooltip[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.timeline-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  color: rgba(243, 251, 248, 0.5);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.timeline-footer strong {
  color: rgba(243, 251, 248, 0.88);
  font-size: 11px;
  text-transform: none;
}

.timeline-footer span:last-child {
  text-align: right;
}

.soft-button,
.danger-button {
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  padding: 9px 12px;
  color: var(--text);
  background: var(--panel-strong);
  transition: background 140ms ease, border-color 140ms ease, var(--press);
}

.soft-button:hover {
  background: rgba(236, 255, 246, 0.22);
}

.danger-button {
  border-color: rgba(255, 92, 122, 0.42);
  color: #ffdce4;
}

.danger-button:hover {
  background: rgba(255, 92, 122, 0.16);
}

.soft-button:active,
.danger-button:active,
.ghost-button:active,
.chip-button:active,
.icon-button:active,
.site-toggle:active {
  transform: translateY(1px);
}

.power-button:active {
  transform: scale(0.95);
}

.icon-button {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-inner);
  transition: background 140ms ease, border-color 140ms ease, var(--press);
}

.icon-button:hover {
  background: var(--panel-strong);
}

.panel-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.pause-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-inner);
  background: var(--panel-deep);
}

.pause-row .muted {
  font-size: 12px;
}

.pause-buttons {
  display: flex;
  gap: 6px;
}

.chip-button {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(243, 251, 248, 0.82);
  background: transparent;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, var(--press);
}

.chip-button:hover {
  color: var(--text);
  background: var(--panel-strong);
}

.chip-button.accent {
  border-color: rgba(47, 129, 247, 0.42);
  color: #d7e9ff;
}

.chip-button.accent:hover {
  background: rgba(47, 129, 247, 0.16);
}

.ghost-button {
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  padding: 6px 10px;
  font-size: 12px;
  color: rgba(243, 251, 248, 0.72);
  background: transparent;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, var(--press);
}

.ghost-button:hover {
  color: var(--text);
  background: var(--panel-strong);
}

.site-row,
.diagnostic-row,
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.current-site-card {
  display: block;
}

.site-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-card-top strong {
  display: block;
  max-width: 205px;
  overflow: hidden;
  color: #f8fffb;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-stat-caption {
  display: block;
  margin-top: 12px;
  color: rgba(243, 251, 248, 0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.site-stat-grid article {
  min-width: 0;
  border-radius: var(--radius-inner);
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.035);
}

.site-stat-grid span {
  display: block;
  overflow: hidden;
  color: rgba(243, 251, 248, 0.58);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-stat-grid strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #f8fffb;
  font-size: 15px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footnote {
  margin: 8px 1px 0;
  color: rgba(243, 251, 248, 0.58);
  font-size: 11px;
  line-height: 1.35;
}

.site-row:last-child,
.diagnostic-row:last-child {
  border-bottom: 0;
}

.status-message {
  margin: 14px 2px 0;
  font-size: 12px;
  line-height: 1.35;
}

.popup-frame[data-view="ready"] .status-message {
  display: none;
}

.dashboard-shell {
  min-height: 100vh;
  padding: 28px;
}

.dashboard-layout {
  max-width: 1180px;
  margin: 0 auto;
}

.dashboard-header h1 {
  font-size: 42px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 16px;
  margin-top: 16px;
}

.dashboard-panel {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.toggle-row {
  min-height: 45px;
}

.toggle-row input {
  width: 42px;
  height: 24px;
  accent-color: var(--accent);
}

.site-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 14px 0;
}

.site-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  transition: border-color 140ms ease;
}

.site-form input::placeholder {
  color: rgba(243, 251, 248, 0.42);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.marketing-shell {
  min-height: 100vh;
  background:
    radial-gradient(80% 55% at 88% -4%, rgba(47, 129, 247, 0.24), transparent 58%),
    radial-gradient(60% 45% at 0% 108%, rgba(47, 129, 247, 0.1), transparent 55%),
    linear-gradient(168deg, #050c14 0%, #070f16 52%, #0a141f 100%);
}

.marketing-shell a {
  color: inherit;
  text-decoration: none;
}

.marketing-hero,
.marketing-band,
.how-band,
.stats-showcase,
.privacy-band,
.cta-band,
.marketing-nav-inner,
.marketing-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* The bar spans the full viewport (background + hairline edge to edge); only the
   inner row is constrained, so there is no floating box with visible side seams. */
.marketing-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 14, 22, 0.86);
  backdrop-filter: blur(22px) saturate(145%);
}

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

.brand-lockup,
.marketing-nav nav,
.hero-actions,
.marketing-footer {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
}

.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  background: center / contain no-repeat url("icons/icon-48.png");
}

.marketing-nav nav {
  gap: 22px;
  color: rgba(243, 251, 248, 0.8);
  font-size: 14px;
}

.marketing-nav a:hover {
  color: #fff;
}

.nav-action,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 800;
}

.nav-action,
.secondary-link {
  border: 1px solid rgba(226, 255, 239, 0.24);
  color: #f8fffb;
  background: rgba(255, 255, 255, 0.1);
}

.marketing-shell .primary-link {
  border: 1px solid rgba(188, 216, 255, 0.74);
  color: #04101f;
  background: linear-gradient(180deg, #bcd8ff 0%, #4f97ff 100%);
  box-shadow: 0 8px 20px -6px rgba(47, 129, 247, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.32);
}

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.78fr);
  gap: 52px;
  align-items: center;
  /* No tall min-height: the product card sets the row height and the copy
     centers against it, so there is no floating void above the headline. */
  min-height: 540px;
  padding: 36px 0 56px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-copy h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.hero-lede {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(243, 251, 248, 0.82);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

/* A soft blue spotlight shaped to the card, so it reads as a deliberate glow
   rather than a flat void behind the product shot. */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -6% -4%;
  border-radius: 44px;
  background: radial-gradient(58% 56% at 52% 42%, rgba(47, 129, 247, 0.4), transparent 72%);
  filter: blur(52px);
}

/* The real popup component (build-time inlined from the shipping popup), floated
   in a clean device frame. Not a screenshot, not a hand-built mockup: the same
   markup and styles the extension ships, rendered live. */
.hero-device {
  position: relative;
  margin: 0;
  width: min(384px, 96%);
  max-height: min(70vh, 588px);
  border-radius: 24px;
  overflow: hidden;
  /* Mirror the popup's own body backdrop so it reads as the real surface. */
  background:
    radial-gradient(circle at 12% -8%, rgba(86, 212, 255, 0.28), transparent 28rem),
    radial-gradient(circle at 110% 24%, rgba(47, 129, 247, 0.26), transparent 24rem),
    linear-gradient(145deg, #070f16 0%, #0d151c 58%, #141e26 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 50px 100px -24px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  /* Fade the cropped bottom edge so it reads as "more below", not a hard cut. */
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
}

/* Neutralize the popup's window-level sizing (it renders as a full window in the
   extension) so it lays out as a contained card here. */
.hero-device .popup-shell {
  width: 100%;
  min-height: 0;
  overflow: visible;
}

.hero-device .popup-frame {
  min-height: 0;
}

.feature-grid article,
.stat-wall article,
.privacy-list {
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.marketing-band,
.stats-showcase,
.privacy-band {
  padding: 76px 0;
}

/* How it works: a 3-step timeline (accent top-rule + number), deliberately not
   another boxed card grid so the page's section layouts stay varied. */
.how-band {
  padding: 20px 0 68px;
}

.how-band > h2 {
  font-size: clamp(27px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0 0 40px;
  max-width: 16ch;
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.how-steps li {
  padding-top: 22px;
  border-top: 2px solid rgba(47, 129, 247, 0.34);
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
  color: #04101f;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
}

.how-steps h3 {
  margin: 16px 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.how-steps p {
  margin: 0;
  color: rgba(243, 251, 248, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

/* Closing call to action: one blue-lit panel, centered, primary CTA repeated. */
.cta-band {
  padding: 16px 0 84px;
}

.cta-inner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(125, 180, 255, 0.22);
  border-radius: var(--radius-panel);
  padding: 56px 40px;
  text-align: center;
  background:
    radial-gradient(72% 130% at 50% -12%, rgba(47, 129, 247, 0.24), transparent 70%),
    linear-gradient(180deg, rgba(13, 27, 44, 0.82), rgba(7, 15, 23, 0.66));
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(125, 180, 255, 0.3);
  background: rgba(47, 129, 247, 0.12);
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-inner h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.03;
  margin: 0 auto;
  max-width: 17ch;
}

.cta-inner p {
  margin: 18px auto 30px;
  max-width: 46ch;
  color: rgba(243, 251, 248, 0.76);
  font-size: 17px;
  line-height: 1.5;
}

.cta-inner .hero-actions {
  justify-content: center;
  margin-top: 0;
}

@media (max-width: 760px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cta-inner {
    padding: 40px 22px;
  }
}

/* Email capture: posts to the Stacks subscribe endpoint (SubscriberEmailAction). */
.subscribe-band {
  padding: 8px 0 88px;
  text-align: center;
}

.subscribe-inner {
  max-width: 620px;
  margin: 0 auto;
}

.subscribe-band h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 auto;
  max-width: 18ch;
}

.subscribe-inner > p {
  margin: 14px auto 26px;
  max-width: 46ch;
  color: rgba(243, 251, 248, 0.72);
  font-size: 16px;
  line-height: 1.5;
}

.subscribe-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}

.subscribe-form input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.05);
  color: #f8fffb;
  font-size: 15px;
}

.subscribe-form input[type="email"]::placeholder {
  color: rgba(243, 251, 248, 0.42);
}

.subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 129, 247, 0.22);
}

.subscribe-form button {
  min-height: 48px;
  white-space: nowrap;
}

.subscribe-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.subscribe-status {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.subscribe-status[data-kind="ok"] {
  color: var(--accent-soft);
}

.subscribe-status[data-kind="error"] {
  color: #ff9d9d;
}

.subscribe-status[data-kind="pending"] {
  color: rgba(243, 251, 248, 0.62);
}

@media (max-width: 560px) {
  .subscribe-form {
    flex-direction: column;
  }
}

.section-kicker {
  max-width: 760px;
}

.section-kicker h2,
.stats-showcase h2,
.privacy-band h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.feature-grid article {
  min-height: 250px;
  border-radius: 18px;
  padding: 22px;
}

.feature-icon {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(47, 129, 247, 0.14);
  box-shadow: inset 0 0 0 1px rgba(47, 129, 247, 0.28);
}

.feature-icon::after {
  position: absolute;
  left: 12px;
  top: 11px;
  width: 9px;
  height: 15px;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  border-radius: 2px;
  content: "";
  transform: rotate(42deg);
}

.feature-grid h3 {
  margin: 24px 0 10px;
  font-size: 20px;
}

.feature-grid p,
.stats-showcase p,
.privacy-band p {
  margin: 0;
  color: rgba(243, 251, 248, 0.78);
  line-height: 1.65;
}

.stats-showcase,
.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: center;
}

.stats-showcase p,
.privacy-band p {
  max-width: 660px;
  margin-top: 18px;
  font-size: 18px;
}

.stat-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-wall article {
  min-height: 150px;
  border-radius: 18px;
  padding: 22px;
}

.stat-wall strong {
  display: block;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

.stat-wall span {
  display: block;
  margin-top: 12px;
  color: rgba(243, 251, 248, 0.8);
}

.privacy-list {
  display: grid;
  gap: 12px;
  border-radius: 18px;
  padding: 18px;
}

.privacy-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(243, 251, 248, 0.86);
}

.privacy-list div:last-child {
  border-bottom: 0;
}

.privacy-list span {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #7db4ff;
  box-shadow: 0 0 0 6px rgba(125, 180, 255, 0.12);
}

.marketing-footer {
  justify-content: space-between;
  min-height: 94px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(243, 251, 248, 0.64);
}

.marketing-footer span {
  margin-right: auto;
  color: #fff;
  font-weight: 800;
}

.marketing-footer a {
  margin-left: 20px;
}

@media (max-width: 760px) {
  .dashboard-shell {
    padding: 16px;
  }

  .dashboard-header,
  .dashboard-metrics,
  .dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-header h1 {
    font-size: 32px;
  }

  .marketing-nav,
  .marketing-hero,
  .marketing-band,
  .stats-showcase,
  .privacy-band,
  .marketing-footer {
    width: min(100% - 28px, 1180px);
  }

  .marketing-nav {
    min-height: 66px;
  }

  .marketing-shell {
    background:
      radial-gradient(circle at 82% 8%, rgba(47, 129, 247, 0.16), transparent 46%),
      linear-gradient(165deg, #060d14 0%, #080f16 60%, #0a141f 100%);
  }

  .marketing-nav nav {
    display: none;
  }

  .nav-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .marketing-hero,
  .stats-showcase,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .marketing-hero {
    gap: 18px;
    min-height: auto;
    padding: 34px 0 30px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-visual {
    order: -1;
    min-height: 200px;
  }

  .hero-shield {
    width: min(180px, 52%);
  }

  .marketing-band,
  .stats-showcase,
  .privacy-band {
    padding: 46px 0;
  }

  .feature-grid,
  .stat-wall {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  .marketing-footer {
    flex-wrap: wrap;
    gap: 14px;
    padding: 24px 0;
  }

  .marketing-footer a {
    margin-left: 0;
  }
}
