* {
  box-sizing: border-box;
}

:root {
  --ink: #07111f;
  --ink-2: #101a2a;
  --muted: #667085;
  --line: #d8dee8;
  --paper: #f7f9fc;
  --white: #ffffff;
  --blue: #0078d4;
  --blue-2: #0f6cbd;
  --green: #17b26a;
  --amber: #f79009;
  --red: #f04438;
  --red-deep: #b42318;
  --panel: #0b1018;
  --panel-2: #121923;
  --shadow: 0 28px 80px rgba(7, 17, 31, 0.24);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 120, 212, 0.4);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(247, 249, 252, 0.88);
  border-bottom: 1px solid rgba(216, 222, 232, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #475467;
  font-size: 14px;
}

.nav-links a,
.nav-cta,
.btn,
.price-card a {
  text-decoration: none;
}

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

.nav-cta {
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 78px clamp(20px, 4vw, 56px) 22px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 249, 252, 0.98) 0%, rgba(247, 249, 252, 0.92) 36%, rgba(247, 249, 252, 0.72) 54%, rgba(7, 17, 31, 0.08) 100%),
    repeating-linear-gradient(0deg, rgba(16, 24, 40, 0.045) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(16, 24, 40, 0.04) 0 1px, transparent 1px 42px);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 112px;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 540px;
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1360px, 100%);
  min-height: 0;
  height: calc(100svh - 100px);
  margin: 0 auto;
  flex-direction: column;
}

.hero-grid {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(330px, 0.74fr) minmax(620px, 1.26fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  min-height: 0;
}

.eyebrow,
.section-kicker {
  color: var(--blue-2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-block h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(38px, 4.1vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-sub,
.section-lead,
.final-cta p {
  color: #475467;
  font-size: clamp(17px, 1.4vw, 20px);
}

.hero-sub {
  max-width: 580px;
  margin: 16px 0 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 16px 28px rgba(0, 120, 212, 0.22);
}

.btn-primary:hover {
  background: #106ebe;
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 18px 0 0;
}

.hero-metrics div {
  padding: 11px 13px;
  border: 1px solid rgba(152, 162, 179, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics dt {
  font-family: "IBM Plex Mono", monospace;
  font-size: 21px;
  font-weight: 700;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: #667085;
  font-size: 13px;
}

.product-stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.state-switch {
  display: inline-flex;
  align-self: flex-end;
  gap: 4px;
  margin: 0 0 10px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(7, 17, 31, 0.1);
}

.state-button {
  min-width: 82px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #475467;
  padding: 8px 12px;
  font: 700 12px/1 "IBM Plex Mono", monospace;
  cursor: pointer;
}

.state-button.active {
  background: var(--ink);
  color: var(--white);
}

.outlook-shell {
  display: flex;
  width: 100%;
  height: min(620px, calc(100% - 50px));
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 8px solid #1b1e38;
  border-radius: 16px;
  background: #f2f4f7;
  box-shadow: var(--shadow);
}

.mail-top {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
}

.search-box {
  max-width: 320px;
  border-radius: 4px;
  background: var(--white);
  color: #667085;
  padding: 7px 14px;
}

.mail-top span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
}

.ribbon {
  display: flex;
  gap: 8px;
  align-items: stretch;
  padding: 7px 12px;
  background: #fbfcfe;
  border-bottom: 1px solid #e4e7ec;
}

.ribbon span {
  display: grid;
  min-width: 62px;
  height: 34px;
  place-items: end center;
  border: 1px solid #edf0f5;
  border-radius: 5px;
  color: #344054;
  font-size: 10px;
  padding: 6px;
}

.mail-app {
  display: grid;
  flex: 1;
  grid-template-columns: 92px 138px minmax(250px, 1fr) 218px;
  min-height: 0;
}

.folders,
.message-list {
  border-right: 1px solid #e4e7ec;
  background: #f8fafc;
}

.folders {
  padding: 12px 8px;
  color: #344054;
  font-size: 11px;
}

.folders p {
  margin: 0 0 10px;
  color: #667085;
  font-weight: 700;
}

.folder {
  display: flex;
  justify-content: space-between;
  padding: 8px 9px;
  border-radius: 5px;
  text-decoration: none;
}

.folder.active {
  background: #d1e9ff;
  color: #175cd3;
}

.message-list {
  padding: 7px;
  background: #f5f7fa;
}

.message-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 58px;
  border-radius: 6px;
  padding: 8px;
  color: #344054;
  font-size: 11px;
}

.message-row.selected {
  background: #eaf3ff;
  border-left: 3px solid var(--blue);
}

.message-row.muted {
  opacity: 0.72;
}

.message-row strong,
.message-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-row small {
  color: #667085;
}

.avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #b9e6fe;
  color: #026aa2;
  font: 700 10px/1 "IBM Plex Mono", monospace;
}

.reading-pane {
  min-width: 0;
  padding: 8px;
  background: var(--white);
}

.message-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  border: 1px solid #e4e7ec;
  border-radius: 5px;
  padding: 8px 10px;
  color: #101828;
  font-size: 10px;
}

.message-toolbar span {
  flex: 0 0 auto;
  border-radius: 5px;
  background: #eef4ff;
  color: #475467;
  padding: 5px 8px;
  font-size: 9px;
}

.email-card {
  margin-top: 10px;
  border: 1px solid #e4e7ec;
  border-radius: 5px;
  background: var(--white);
  padding: 14px;
  min-height: 0;
}

.email-meta {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #344054;
  font-size: 12px;
}

.email-meta small,
.email-meta time {
  color: #667085;
  font-size: 10px;
}

.email-body {
  margin-top: 16px;
  max-width: 620px;
  color: #1d2939;
  font-size: 11px;
}

.email-body span {
  color: #b42318;
}

.mail-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.mail-actions button {
  border: 1px solid #d0d5dd;
  border-radius: 5px;
  background: var(--white);
  color: #344054;
  padding: 6px 13px;
  font: inherit;
  font-size: 12px;
}

.esa-panel {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  padding: 11px;
  background: var(--panel);
  color: var(--white);
  border-left: 1px solid #222936;
}

.pane-title {
  border-bottom: 1px solid #2d3440;
  padding-bottom: 9px;
}

.pane-title strong {
  display: block;
  color: #5aa7ff;
  font-size: 12px;
}

.pane-title small {
  color: #98a2b3;
  font-size: 9px;
}

.risk-summary span,
.signal-list p,
.recommendation small {
  color: #98a2b3;
  font: 700 10px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.risk-summary > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 5px 0 7px;
}

.risk-summary strong {
  color: var(--red);
  font: 700 28px/1 "IBM Plex Mono", monospace;
}

.risk-summary b {
  border-radius: 999px;
  background: rgba(240, 68, 56, 0.16);
  color: #ff7a70;
  padding: 4px 8px;
  font-size: 10px;
  text-transform: uppercase;
}

.score-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #1d2530;
}

.score-track i {
  display: block;
  width: 95%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
}

.signal-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.signal {
  border-left: 3px solid var(--red);
  border-radius: 5px;
  background: var(--panel-2);
  padding: 6px 8px;
}

.signal b {
  display: inline-block;
  margin-bottom: 4px;
  border-radius: 3px;
  background: rgba(240, 68, 56, 0.15);
  color: #ff7a70;
  padding: 3px 5px;
  font: 700 9px/1 "IBM Plex Mono", monospace;
}

.signal span {
  display: block;
  color: #eaecf0;
  font-size: 9px;
  line-height: 1.35;
}

.signal.medium {
  border-left-color: var(--amber);
}

.signal.medium b {
  background: rgba(247, 144, 9, 0.15);
  color: #fec84b;
}

.signal.ok {
  border-left-color: var(--green);
}

.signal.ok b {
  background: rgba(23, 178, 106, 0.15);
  color: #6ce9a6;
}

.risk-card {
  border: 1px solid rgba(23, 178, 106, 0.3);
  border-radius: 8px;
  background: rgba(23, 178, 106, 0.1);
  padding: 12px;
  text-align: center;
}

.safe-emblem {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(23, 178, 106, 0.24);
  color: #6ce9a6;
  font: 700 10px/1 "IBM Plex Mono", monospace;
}

.risk-card h3 {
  margin: 0;
  color: #32d583;
}

.risk-card p {
  margin: 6px 0 0;
  color: #d0d5dd;
  font-size: 11px;
}

.recommendation {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid #2d3440;
  padding-top: 8px;
}

.recommendation strong {
  text-transform: uppercase;
  font-size: 12px;
}

.esa-actions {
  display: grid;
  gap: 7px;
}

.esa-actions button {
  min-height: 29px;
  border: 1px solid #2d3440;
  border-radius: 6px;
  background: #151c27;
  color: #d0d5dd;
  font: 700 11px/1 "IBM Plex Sans", sans-serif;
}

.esa-actions .danger-action {
  border-color: transparent;
  background: var(--red);
  color: var(--white);
}

.outlook-shell[data-risk-state="high"] .risk-summary strong {
  color: #ff6b61;
}

.outlook-shell[data-risk-state="high"] .score-track i {
  background: linear-gradient(90deg, var(--amber), var(--red));
}

.outlook-shell[data-risk-state="safe"] .risk-summary strong,
.outlook-shell[data-risk-state="safe"] .risk-summary b {
  color: #32d583;
}

.outlook-shell[data-risk-state="safe"] .risk-summary b {
  background: rgba(23, 178, 106, 0.14);
}

.outlook-shell[data-risk-state="safe"] .score-track i {
  background: var(--green);
}

.outlook-shell[data-risk-state="safe"] .esa-actions .danger-action {
  background: #134e48;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 1px clamp(20px, 4vw, 56px);
  background: var(--line);
}

.trust-strip div {
  background: var(--white);
  padding: 22px;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 15px;
}

.trust-strip span {
  margin-top: 3px;
  color: #667085;
  font-size: 13px;
}

.section-block {
  padding: clamp(72px, 8vw, 112px) clamp(20px, 4vw, 56px);
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-block h2,
.final-cta h2 {
  max-width: 820px;
  margin-top: 8px;
  font-size: clamp(34px, 4vw, 58px);
}

.section-lead {
  max-width: 680px;
  margin: 18px 0 0;
}

.process-grid,
.pricing-grid,
.mode-ladder {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

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

.process-grid article,
.price-card,
.mode-card,
.claim-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
}

.process-grid span,
.mode-card small,
.price-card small {
  color: var(--blue-2);
  font: 700 12px/1 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.process-grid h3,
.mode-card h3 {
  margin: 18px 0 8px;
}

.process-grid p,
.mode-card p,
.price-card p,
.claim-list span {
  color: #667085;
}

.modes-section,
.pricing-section {
  background: #eef2f7;
}

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

.mode-card {
  min-height: 250px;
}

.mode-card strong {
  display: block;
  margin-top: 34px;
  font: 700 36px/1 "IBM Plex Mono", monospace;
}

.mode-silent {
  border-top: 4px solid #98a2b3;
}

.mode-passive {
  border-top: 4px solid var(--blue);
}

.mode-amber {
  border-top: 4px solid var(--amber);
}

.mode-full {
  border-top: 4px solid var(--red);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 56px;
  align-items: start;
}

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

.platform {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
  font-weight: 700;
}

.platform img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.platform span {
  color: #667085;
  font: 700 11px/1 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.platform.live {
  border-color: rgba(0, 120, 212, 0.38);
  box-shadow: 0 18px 44px rgba(0, 120, 212, 0.1);
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(0, 120, 212, 0.45);
  box-shadow: 0 24px 54px rgba(0, 120, 212, 0.14);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
}

.price-card strong {
  display: block;
  margin-top: 18px;
  font: 700 42px/1 "IBM Plex Mono", monospace;
}

.price-card strong span {
  color: #667085;
  font-size: 16px;
}

.price-card ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}

.price-card li {
  color: #475467;
  font-size: 14px;
}

.price-card li::before {
  content: "OK";
  margin-right: 8px;
  color: var(--green);
  font: 700 11px/1 "IBM Plex Mono", monospace;
}

.price-card a {
  margin-top: auto;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 14px;
  text-align: center;
  font-weight: 700;
}

.patent-section {
  background: var(--ink);
  color: var(--white);
}

.patent-section .section-lead {
  color: #cbd5e1;
}

.patent-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.claim-list {
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.claim-list p {
  margin: 0 0 10px;
  color: var(--white);
  font: 700 13px/1 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.claim-list span {
  display: block;
  border-left: 3px solid var(--blue);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  padding: 12px 14px;
  color: #d0d5dd;
}

.final-cta {
  padding: clamp(78px, 9vw, 128px) clamp(20px, 4vw, 56px);
  text-align: center;
  background: var(--white);
}

.final-cta h2,
.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.final-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 56px);
  background: #eef2f7;
  color: #667085;
  font-size: 13px;
}

.site-footer a {
  margin-right: 18px;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1180px) {
  .hero {
    min-height: auto;
    overflow: visible;
  }

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

  .hero-shell {
    height: auto;
    min-height: 0;
  }

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

  .product-stage {
    overflow-x: auto;
    padding-bottom: 18px;
    align-items: flex-start;
  }

  .outlook-shell {
    width: 980px;
    height: 560px;
    flex: 0 0 auto;
  }

  .process-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 92px;
  }

  .hero-metrics,
  .trust-strip,
  .mode-ladder,
  .split-section,
  .patent-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    gap: 1px;
  }

  .platform-grid,
  .process-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 20px;
  }

  .brand {
    font-size: 16px;
  }

  .nav-cta {
    padding: 9px 12px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .state-switch {
    align-self: stretch;
    justify-content: space-between;
    position: sticky;
    left: 0;
    width: min(100%, 900px);
  }

  .state-button {
    min-width: 0;
    flex: 1;
  }

  .outlook-shell {
    width: 900px;
  }
}

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