:root {
  --bg-1: #061f2d;
  --bg-2: #0b2b3c;
  --bg-3: #12394c;
  --surface: #0c2837;
  --surface-soft: #113548;
  --line: rgba(115, 194, 206, 0.22);
  --text: #e9f4f6;
  --muted: #a4bcc6;
  --accent: #4cd0d6;
  --accent-strong: #2db7be;
  --accent-soft: rgba(76, 208, 214, 0.15);
  --warning-bg: rgba(224, 162, 63, 0.15);
  --warning-line: #d89b3a;
  --danger-bg: rgba(190, 75, 75, 0.15);
  --danger-line: #d96b6b;
  --safe-bg: rgba(58, 171, 126, 0.18);
  --safe-line: #52c692;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(76, 208, 214, 0.14), transparent 72%),
    radial-gradient(900px 520px at 50% 10%, rgba(24, 94, 114, 0.24), transparent 72%),
    linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 42%, var(--bg-1) 100%);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid rgba(113, 194, 206, 0.15);
  background: rgba(6, 26, 36, 0.55);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brandmark:hover {
  text-decoration: none;
}

.brandmark-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(155deg, #0f3648 0%, #143f53 100%);
  border: 1px solid rgba(76, 208, 214, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brandmark-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brandmark strong {
  display: block;
  font-size: 15px;
}

.brandmark small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #d2e6ec;
  font-size: 14px;
  font-weight: 600;
}

main.page {
  padding: 30px 0 48px;
}

.card {
  background: linear-gradient(180deg, rgba(17, 52, 70, 0.9) 0%, rgba(12, 40, 55, 0.92) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(560px 200px at 55% 2%, rgba(76, 208, 214, 0.16), transparent 70%);
}

.badge {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(76, 208, 214, 0.5);
  background: var(--accent-soft);
  color: #a7f1f4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  margin-top: 12px;
  font-size: clamp(34px, 4vw, 62px);
  max-width: 18ch;
}

h2 {
  font-size: clamp(24px, 2.6vw, 34px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
  line-height: 1.65;
}

.lead {
  margin-top: 14px;
  font-size: 22px;
  color: #b5d0d8;
  max-width: 42ch;
}

.stack {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.mt-20 {
  margin-top: 20px;
}

.btn-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #55d5da 0%, #43c8d1 100%);
  color: #0e2b36;
  box-shadow: 0 10px 24px rgba(45, 183, 190, 0.34);
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-outline {
  background: rgba(14, 41, 54, 0.5);
  color: #d8eef2;
  border: 1px solid rgba(76, 208, 214, 0.45);
}

.notice {
  background: var(--warning-bg);
  border: 1px solid var(--warning-line);
  border-radius: 10px;
  padding: 14px 16px;
  color: #ffd8a4;
}

.feature-tile {
  background: rgba(6, 30, 41, 0.6);
  border: 1px solid rgba(76, 208, 214, 0.25);
  border-radius: 16px;
  padding: 20px;
}

.feature-logo {
  width: 230px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto 16px;
  border-radius: 10px;
  border: 1px solid rgba(76, 208, 214, 0.3);
  background: radial-gradient(circle at 50% 15%, rgba(76, 208, 214, 0.16) 0%, transparent 46%), #062a3a;
  display: grid;
  place-items: center;
}

.feature-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.grid-2 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
  background: rgba(8, 31, 42, 0.58);
  border: 1px solid rgba(115, 194, 206, 0.22);
  border-radius: var(--radius-md);
  padding: 16px;
}

.panel h3 {
  margin-bottom: 8px;
  color: #e5f5f7;
  font-size: 18px;
}

.list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #c5dce3;
}

.list li {
  margin-bottom: 8px;
}

.timeline {
  border-left: 2px solid rgba(76, 208, 214, 0.35);
  padding-left: 18px;
  display: grid;
  gap: 16px;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -25px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(76, 208, 214, 0.22);
}

.timeline-item h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.response-grid {
  display: grid;
  gap: 12px;
}

.response-step {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(76, 208, 214, 0.25);
  border-radius: 12px;
  padding: 12px;
  background: rgba(8, 31, 42, 0.45);
}

.response-step span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0d2a36;
  background: var(--accent);
}

.faq-item {
  border: 1px solid rgba(76, 208, 214, 0.22);
  border-radius: 12px;
  padding: 14px;
  background: rgba(8, 31, 42, 0.45);
}

.faq-item h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.scenario-head {
  margin-bottom: 14px;
}

.workspace-shell {
  position: relative;
}

.workspace-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(122, 153, 192, 0.35);
  background: linear-gradient(180deg, rgba(226, 236, 249, 0.16) 0%, rgba(161, 186, 219, 0.12) 100%);
  margin-bottom: 18px;
}

.ws-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.ws-green {
  background: #2bb673;
}

.ws-yellow {
  background: #f2c14d;
}

.ws-red {
  background: #e35d5d;
}

.ws-title {
  margin-left: 6px;
  color: #d7e5ff;
  font-weight: 600;
  font-size: 13px;
}

.ws-avatar {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #6b8bb3;
  color: #f5f9ff;
  font-size: 12px;
  font-weight: 800;
}

.step {
  background: rgba(8, 31, 42, 0.5);
  border: 1px solid rgba(76, 208, 214, 0.22);
  border-radius: 14px;
  padding: 16px;
}

.step-title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
}

.code {
  margin-top: 10px;
  background: rgba(2, 17, 25, 0.7);
  border: 1px solid rgba(76, 208, 214, 0.3);
  border-radius: 10px;
  padding: 12px;
  color: #a8dbe2;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  word-break: break-word;
}

.reveal {
  display: none;
  margin-top: 16px;
  border-radius: 10px;
  padding: 14px;
}

.reveal.warning {
  background: var(--danger-bg);
  border: 1px solid var(--danger-line);
}

.reveal.safe {
  background: var(--safe-bg);
  border: 1px solid var(--safe-line);
}

.reveal.breach {
  background: linear-gradient(180deg, rgba(111, 18, 18, 0.3) 0%, rgba(61, 10, 10, 0.35) 100%);
  border: 1px solid rgba(244, 110, 110, 0.6);
  box-shadow: 0 0 0 1px rgba(244, 110, 110, 0.2), 0 0 24px rgba(180, 42, 42, 0.32);
}

.breach-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffd5d5;
}

.breach-list {
  color: #ffdfdf;
}

.fake-message-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.fake-message {
  border: 1px solid rgba(122, 153, 192, 0.4);
  background: rgba(213, 228, 248, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  color: #d5e7ff;
  font-size: 14px;
}

.quiz {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.quiz button {
  text-align: left;
}

.meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid rgba(113, 194, 206, 0.2);
  background: rgba(4, 20, 30, 0.65);
}

.footer-inner {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #b1c9d2;
  font-size: 14px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeUp 350ms ease both;
}

@media (max-width: 900px) {
  .hero,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: clamp(30px, 8vw, 44px);
  }

  .lead {
    font-size: 18px;
  }

  .card {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Light simulation theme for demo page */
.workspace-demo {
  background: linear-gradient(180deg, #f7f9fb 0%, #eef2f6 100%);
  color: #2b2b2b;
}

.workspace-demo .page {
  width: min(1250px, 95vw);
}

.demo-top {
  background: rgba(247, 249, 251, 0.92);
  border-bottom: 1px solid #d2d7dc;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.demo-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
}

.demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #5f6368;
  font-weight: 600;
}

.demo-brand-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: conic-gradient(#34a853 0 25%, #fbbc05 25% 50%, #ea4335 50% 75%, #4285f4 75% 100%);
}

.demo-top-right {
  color: #5f6368;
  font-size: 14px;
  font-weight: 600;
}

.demo-main {
  padding: 22px 0 34px;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 14px;
  align-items: start;
}

.doc-panel,
.side-panel {
  background: #fff;
  border: 1px solid #d2d7dc;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
}

.doc-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid #d2d7dc;
}

.doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #d2e3fc;
  color: #1967d2;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.doc-head h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  color: #202124;
  letter-spacing: -0.01em;
}

.doc-head p {
  margin-top: 4px;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.3;
}

.doc-open-btn {
  background: #1a73e8;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.doc-open-btn:hover {
  background: #1558b0;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.22);
}

.sim-note {
  margin: 16px 18px;
  border-left: 4px solid #c5221f;
  background: #fce8e6;
  color: #5f2120;
  border-radius: 10px;
  padding: 12px;
}

.demo-section {
  padding: 0 18px 18px;
  border-bottom: 1px dashed #d2d7dc;
}

.demo-section h2 {
  color: #3c4043;
  font-size: 24px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.demo-steps {
  margin: 0;
  padding-left: 24px;
}

.demo-steps li {
  margin-bottom: 12px;
  color: #3c4043;
  font-weight: 600;
  line-height: 1.45;
}

.path-box {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f3f4;
  border: 1px solid #d2d7dc;
  border-radius: 12px;
  padding: 10px 10px 10px 12px;
}

.path-box code {
  color: #3c4043;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  flex: 1;
}

.small-btn {
  background: #e8f0fe;
  color: #1967d2;
  border: 1px solid #d2e3fc;
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}

.small-btn:hover {
  background: #dbe8fd;
  border-color: #bfd4fb;
}

.chip {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.chip-safe {
  background: #e6f4ea;
  color: #137333;
}

.chip-risk {
  background: #fce8e6;
  color: #a50e0e;
}

.chip-info {
  background: #e8f0fe;
  color: #1967d2;
}

.chip-idle {
  background: #e8eaed;
  color: #5f6368;
}

.micro-text {
  margin-top: 8px;
  color: #5f6368;
  font-size: 14px;
}

.simulator-box {
  margin: 18px;
  padding: 14px;
  border: 1px dashed #c9ced4;
  border-radius: 14px;
  background: #fafbfc;
}

.simulator-head {
  display: flex;
  gap: 8px;
}

.simulator-row {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.sim-output {
  border: 1px solid #d2d7dc;
  border-radius: 10px;
  padding: 10px 12px;
  color: #5f6368;
  background: #fff;
  font-size: 14px;
  line-height: 1.4;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-demo .path-box code {
  user-select: none;
  -webkit-user-select: none;
}

.workspace-demo .reveal.warning {
  background: #fce8e6;
  border: 1px solid #f28b82;
  color: #5f2120;
}

.workspace-demo .reveal.outside-paste {
  background: #fff7e8;
  border: 1px solid #f7c46a;
  color: #614100;
}

.workspace-demo .reveal.paste-diff {
  background: #f6f8fb;
  border: 1px solid #d2d7dc;
  color: #3c4043;
}

.paste-diff-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}

.paste-diff-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.paste-diff-label {
  margin: 0 0 6px;
  color: #5f6368;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.workspace-demo .reveal.incident-timeline {
  background: #eef4ff;
  border: 1px solid #b8ccf5;
  color: #1f3666;
}

.workspace-demo .reveal.incident-timeline .list {
  color: #1f3666;
}

.warning-detail-list {
  margin-top: 10px;
}

.decision-block {
  margin: 0 18px 18px;
}

.decision-block h3 {
  color: #3c4043;
  margin-bottom: 10px;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.workspace-demo .quiz .btn {
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.workspace-demo .btn-outline {
  background: #fff;
  color: #3c4043;
  border: 1px solid #d2d7dc;
}

.workspace-demo .btn-primary {
  background: #1a73e8;
  color: #fff;
  box-shadow: none;
}

.workspace-demo .btn:hover {
  transform: translateY(-1px);
}

.workspace-demo .meta {
  color: #5f6368;
}

.workspace-demo .reveal.safe {
  background: #e6f4ea;
  border: 1px solid #81c995;
  color: #1e4620;
}

.workspace-demo .reveal.breach {
  background: #fce8e6;
  border: 1px solid #ea4335;
  box-shadow: 0 0 0 1px #fad2cf, 0 8px 20px rgba(234, 67, 53, 0.12);
  color: #5f2120;
}

.workspace-demo .breach-title {
  color: #8b1c17;
}

.workspace-demo .breach-list,
.workspace-demo .list {
  color: #5f2120;
}

.side-panel {
  padding: 18px;
  position: sticky;
  top: 72px;
}

.side-panel section + section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e7eaee;
}

.side-panel h3 {
  color: #3c4043;
  font-size: 19px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.facts {
  margin: 0;
}

.facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.facts dt {
  color: #5f6368;
  font-weight: 600;
}

.facts dd {
  margin: 0;
  color: #3c4043;
  font-weight: 500;
  line-height: 1.35;
}

.fake-message-list.light {
  gap: 6px;
}

.fake-message-list.light .fake-message {
  background: #f1f3f4;
  border: 1px solid #d2d7dc;
  color: #3c4043;
  border-radius: 10px;
  padding: 10px 12px;
  line-height: 1.4;
}

.back-link {
  display: inline-block;
  margin-top: 16px;
  color: #1967d2;
  font-weight: 700;
}

.facilitator-toggle {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3c4043;
  font-weight: 600;
}

.facilitator-note {
  display: none;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #c6dafc;
  background: #e8f0fe;
  color: #174ea6;
  font-size: 14px;
}

.workspace-demo.facilitator-on .facilitator-note {
  display: block;
}

.demo-modal {
  position: fixed;
  inset: 0;
  background: rgba(32, 33, 36, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 60;
}

.demo-modal.is-visible {
  display: flex;
  animation: modalBackdropIn 160ms ease;
}

.demo-modal-card {
  width: min(500px, 94vw);
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #d2d7dc;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  padding: 22px;
  position: relative;
  animation: modalCardIn 180ms ease;
}

.demo-modal-card h2 {
  font-size: 22px;
  color: #202124;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.demo-modal-card p {
  color: #3c4043;
}

.demo-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #dadce0;
  background: #fff;
  color: #5f6368;
  cursor: pointer;
  font-weight: 700;
  transition: background 120ms ease;
}

.demo-modal-close:hover {
  background: #f1f3f4;
}

.demo-modal-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.workspace-demo button:focus-visible,
.workspace-demo a:focus-visible,
.workspace-demo input:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

@keyframes modalBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalCardIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1020px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .doc-head h1 {
    font-size: 28px;
  }

  .demo-section h2 {
    font-size: 20px;
  }

  .paste-diff-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }
}
