:root {
  color-scheme: light;
  --ink: #151815;
  --muted: #5c665a;
  --paper: #f8fbf3;
  --surface: #ffffff;
  --soft: #edf4e7;
  --line: #d8e1d0;
  --green: #0b8758;
  --blue: #2357d6;
  --orange: #ef6a2e;
  --yellow: #e7bb38;
  --red: #c93f35;
  --shadow: 0 28px 80px rgba(21, 24, 21, 0.18);
  --font-display: Optima, "Iowan Old Style", Georgia, serif;
  --font-body: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(21, 24, 21, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 24, 21, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  background: rgba(248, 251, 243, 0.78);
  border-bottom: 1px solid rgba(216, 225, 208, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  padding: 168px 30px 92px;
  background:
    radial-gradient(circle at 82% 16%, rgba(35, 87, 214, 0.18), transparent 28%),
    radial-gradient(circle at 72% 78%, rgba(11, 135, 88, 0.16), transparent 34%),
    linear-gradient(135deg, #fbfdf6 0%, #f7fbf2 44%, #eef5f1 100%);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -190px;
  width: 520px;
  height: 520px;
  content: "";
  background: conic-gradient(from 180deg, rgba(239, 106, 46, 0.22), rgba(35, 87, 214, 0.08), rgba(11, 135, 88, 0.18), rgba(239, 106, 46, 0.22));
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.72;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.kicker,
.section-kicker,
.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 76px;
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 28px rgba(21, 24, 21, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
}

.trust-line span {
  padding: 8px 10px;
  border: 1px solid rgba(92, 102, 90, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.48);
}

.hero-visual {
  position: absolute;
  top: 118px;
  right: -44px;
  z-index: 1;
  width: 760px;
  height: 500px;
  opacity: 0.98;
}

.desktop-line {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(216, 225, 208, 0.9);
  border-radius: 8px 0 0 8px;
  box-shadow: 0 16px 42px rgba(21, 24, 21, 0.1);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dot.red {
  background: var(--red);
}

.window-dot.yellow {
  background: var(--yellow);
}

.window-dot.green {
  background: var(--green);
}

.menu-copy {
  margin-left: 12px;
  font-size: 13px;
  font-weight: 700;
}

.menu-spacer {
  flex: 1;
}

.menu-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.menu-chip.alert {
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.menu-chip.calm {
  border: 2px solid var(--green);
}

.attention-popover {
  width: 430px;
  margin: 18px 0 0 210px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 225, 208, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 12px;
  border-bottom: 1px solid var(--line);
}

.popover-head strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
}

.refresh-dot {
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
}

.signal-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.signal-row p {
  margin: 4px 0 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.signal-row small {
  color: rgba(92, 102, 90, 0.75);
  font-size: 11px;
}

.signal-icon {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--green);
}

.signal-row.critical .signal-icon {
  background: var(--red);
}

.signal-row.high .signal-icon {
  background: var(--orange);
}

.signal-row.quiet {
  background: var(--soft);
}

.section {
  padding: 86px 30px;
}

.split,
.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 64px;
  max-width: 1180px;
  margin: 0 auto;
}

.section h2 {
  font-size: 48px;
  line-height: 1.05;
}

.fit-copy {
  display: grid;
  gap: 18px;
}

.fit-copy p,
.waitlist-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

.source-band {
  background:
    linear-gradient(90deg, rgba(21, 24, 21, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #111510 0%, #1c241e 100%);
  background-size: 64px 64px, auto;
  color: #f7fbf2;
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 34px;
}

.source-band .section-kicker {
  color: #9ee4b9;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.source-card {
  min-height: 238px;
  padding: 22px;
  border: 1px solid rgba(247, 251, 242, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(247, 251, 242, 0.04);
}

.source-tag {
  display: inline-flex;
  padding: 6px 8px;
  border: 1px solid rgba(158, 228, 185, 0.35);
  border-radius: 6px;
  color: #9ee4b9;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.source-card h3 {
  margin: 34px 0 12px;
  font-size: 26px;
  line-height: 1.05;
}

.source-card p {
  min-height: 58px;
  margin: 0;
  color: rgba(247, 251, 242, 0.78);
  font-size: 16px;
  line-height: 1.45;
}

code {
  display: inline-block;
  margin-top: 22px;
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff8d6;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

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

.section-heading.compact {
  margin-left: 0;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 38px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.workflow-list li {
  min-height: 216px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.workflow-list li:last-child {
  border-right: 0;
}

.workflow-list span {
  display: block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.workflow-list strong {
  display: block;
  margin-top: 36px;
  font-size: 23px;
}

.workflow-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.waitlist {
  align-items: start;
  padding-top: 98px;
  border-top: 1px solid var(--line);
}

.contact-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.waitlist-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 52px rgba(21, 24, 21, 0.08);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(92, 102, 90, 0.28);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: 16px var(--font-body);
}

input {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  min-height: 118px;
  padding: 12px;
  resize: vertical;
}

input:focus,
textarea:focus,
.button:focus-visible {
  outline: 3px solid rgba(35, 87, 214, 0.22);
  outline-offset: 2px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--red);
}

.form-status a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

.privacy-note {
  margin: 0;
  color: rgba(92, 102, 90, 0.76);
  font-size: 12px;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 30px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 138px;
  }

  .hero h1 {
    max-width: 640px;
    font-size: 58px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 720px;
    height: auto;
    margin: 52px 0 0;
  }

  .attention-popover {
    width: auto;
    margin-left: 72px;
  }

  .split,
  .waitlist {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .source-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-list li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-list li:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    padding: 16px 18px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 64px;
  }

  .hero h1,
  .section h2 {
    font-size: 40px;
    line-height: 1.02;
  }

  .hero-copy,
  .fit-copy p,
  .waitlist-copy p {
    font-size: 17px;
  }

  .trust-line span {
    width: 100%;
  }

  .desktop-line {
    border-radius: 8px;
  }

  .attention-popover {
    margin-left: 0;
  }

  .signal-row {
    grid-template-columns: 14px 1fr;
    padding: 10px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
    justify-items: start;
    padding: 24px 18px;
  }
}

@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;
  }
}
