:root {
  --bg:           #1B1C20;
  --bg-elev:      #232428;
  --bg-elev-2:    #2A2B30;
  --text:         #E8E6E1;
  --text-mute:    #92938E;
  --text-dim:     #5C5D58;
  --hairline:     rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  --critical:     #C6726D;
  --monitor:      #CCA366;
  --healthy:      #68AD7B;
  --accent:       #867BA0;

  --critical-soft: rgba(198, 114, 109, 0.14);
  --monitor-soft:  rgba(204, 163, 102, 0.14);
  --healthy-soft:  rgba(104, 173, 123, 0.14);
  --accent-soft:   rgba(134, 123, 160, 0.14);

  --serif:  'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans:   'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:   'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* atmospheric layer — subtle radial vignette + grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.025), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(134, 123, 160, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.32 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 0;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

/* layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

/* nav strip */
.strip {
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
}
.strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.strip-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
}
.strip-mark-bars {
  display: inline-flex;
  gap: 2px;
}
.strip-mark-bars span {
  display: block;
  width: 5px;
  height: 16px;
  border-radius: 1px;
}
.strip-mark-bars span:nth-child(1) { background: var(--critical); }
.strip-mark-bars span:nth-child(2) { background: var(--monitor); }
.strip-mark-bars span:nth-child(3) { background: var(--healthy); }
.strip-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

/* hero */
.hero {
  padding: 96px 0 80px;
}
.hero::after {
  content: "";
  display: block;
  clear: both;
}

.hero-icon {
  width: 156px;
  height: 156px;
  border-radius: 32px;
  background: var(--bg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 60px -20px rgba(0, 0, 0, 0.6),
    0 8px 24px -8px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  float: right;
  margin: 8px 0 24px 40px;
  shape-outside: inset(0 round 32px);
}
.hero-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 18px 0;
}

h1.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
  color: var(--text);
}
h1.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-deck {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-mute);
  margin: 0 0 40px 0;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--healthy);
  color: #1B1C20;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}
.btn:hover {
  background: #7CBB8C;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 8px 20px -8px rgba(104, 173, 123, 0.4);
}
.btn svg { width: 14px; height: 14px; }

.hero-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.hero-meta strong {
  color: var(--text-mute);
  font-weight: 500;
}

/* prose section */
.prose-section {
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
}
.prose-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 24px 0;
}
.prose {
  max-width: none;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  font-weight: 300;
}
.prose p { margin: 0 0 22px 0; }
.prose p:last-child { margin-bottom: 0; }
.prose em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05em;
  font-weight: 400;
  color: var(--accent);
}
.prose strong {
  font-weight: 500;
  color: var(--text);
}

/* screenshot block */
.shot {
  margin: 48px 0 0;
  padding: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.7), 0 12px 32px -12px rgba(0, 0, 0, 0.5);
}
.shot img {
  display: block;
  width: 100%;
  border-radius: 8px;
}
.shot-placeholder {
  background: var(--bg-elev);
  border-radius: 8px;
  padding: 80px 40px;
  text-align: center;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

/* health colors section */
.health-section {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}
.health-headline {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0 0 16px 0;
  max-width: 600px;
}
.health-headline em {
  font-style: italic;
  color: var(--accent);
}
.health-sub {
  font-size: 17px;
  color: var(--text-mute);
  margin: 0 0 56px 0;
  line-height: 1.6;
  font-weight: 300;
}
.health-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
}
.health-cell {
  background: var(--bg);
  padding: 32px 28px 36px;
  position: relative;
}
.health-bar {
  height: 6px;
  border-radius: 2px;
  margin-bottom: 22px;
  box-shadow: 0 0 18px -2px currentColor;
}
.health-cell.critical .health-bar { background: var(--critical); color: var(--critical); }
.health-cell.monitor .health-bar  { background: var(--monitor);  color: var(--monitor); }
.health-cell.healthy .health-bar  { background: var(--healthy);  color: var(--healthy); }

.health-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.health-cell.critical .health-label { color: var(--critical); }
.health-cell.monitor  .health-label { color: var(--monitor); }
.health-cell.healthy  .health-label { color: var(--healthy); }

.health-name {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 12px 0;
  color: var(--text);
}
.health-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-mute);
  margin: 0;
  font-weight: 300;
}

/* features */
.features-section {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 56px;
  margin-top: 48px;
}
.feature h3 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 16px 0;
  color: var(--text);
  letter-spacing: -0.01em;
}
.feature h3 em {
  font-style: italic;
  color: var(--accent);
}
.feature p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mute);
  margin: 0;
  font-weight: 300;
}
.feature-rule {
  width: 32px;
  height: 2px;
  background: var(--text-dim);
  margin-bottom: 20px;
  border-radius: 1px;
}
.feature.f-capture .feature-rule { background: var(--critical); }
.feature.f-health  .feature-rule { background: var(--monitor); }
.feature.f-focus   .feature-rule { background: var(--healthy); }
.feature.f-extract .feature-rule { background: var(--text-dim); }

/* footer */

footer {
  border-top: 1px solid var(--hairline);
  padding: 64px 0 80px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
}
footer .row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer p { margin: 0; max-width: 520px; }
footer a {
  color: var(--text-mute);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
footer a:hover { color: var(--text); border-color: var(--text-mute); }
.footer-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

/* page-load reveal */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: reveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.15s; }
.reveal-3 { animation-delay: 0.25s; }
.reveal-4 { animation-delay: 0.35s; }
.reveal-5 { animation-delay: 0.45s; }
.reveal-6 { animation-delay: 0.55s; }
@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsive */
@media (max-width: 720px) {
  .hero-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    margin: 4px 0 12px 16px;
  }
  .health-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 48px; }
  .download-block { grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
  .download-block .btn { justify-content: center; }
  .strip-meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .btn { transition: none; }
}