:root {
  color-scheme: light;
  --background: #f7faff;
  --background-deep: #eaf1fb;
  --ink: #071122;
  --ink-soft: #0d1c33;
  --muted: #5d6a80;
  --muted-soft: #8995a8;
  --hairline: rgba(95, 115, 145, 0.18);
  --hairline-soft: rgba(95, 115, 145, 0.12);
  --surface: rgba(255, 255, 255, 0.86);
  --accent: #2f6feb;
  --accent-soft: rgba(47, 111, 235, 0.1);
  --evidence: #25a568;
  --confidence: #3a7cf6;
  --caution: #d58a14;
  --shadow: 0 28px 80px -24px rgba(20, 35, 60, 0.22), 0 8px 24px -12px rgba(20, 35, 60, 0.12);
  --fine-shadow: 0 18px 48px -24px rgba(20, 35, 60, 0.18), 0 4px 14px -8px rgba(20, 35, 60, 0.1);
  --cta-shadow: 0 14px 30px -10px rgba(7, 17, 34, 0.36), 0 2px 6px -2px rgba(7, 17, 34, 0.24);
  --cta-shadow-hover: 0 20px 40px -10px rgba(7, 17, 34, 0.4), 0 4px 10px -2px rgba(7, 17, 34, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(900px 480px at 50% 0%, rgba(47, 111, 235, 0.06), transparent 70%),
    radial-gradient(1200px 620px at 50% 56%, #ffffff 0%, var(--background) 58%, var(--background-deep) 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100%, 1120px);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: clamp(28px, 5vh, 56px) 22px 28px;
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.005em;
}

.brand-mark {
  display: grid;
  width: clamp(36px, 3.6vw, 44px);
  aspect-ratio: 1;
  place-items: center;
}

.brand svg,
.signal-stage svg,
.cta-primary svg {
  display: block;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-mark path:first-child,
.mini-shield path:first-child {
  fill: rgba(255, 255, 255, 0.78);
  stroke: var(--ink);
  stroke-linejoin: round;
  stroke-width: 3;
}

.brand-mark path:last-child,
.mini-shield path:last-child {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4;
}

.hero {
  width: 100%;
  display: grid;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: clamp(36px, 6vh, 56px) 0 clamp(18px, 2.6vh, 26px);
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(47, 111, 235, 0.22);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 640;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(47, 111, 235, 0.18);
}

h1 {
  max-width: 1040px;
  margin: 0;
  font-family: "Iowan Old Style", "New York", Charter, Georgia, ui-serif, serif;
  font-size: clamp(3.1rem, 6vw, 5.5rem);
  font-weight: 740;
  line-height: 1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1::after {
  content: "";
  display: inline-block;
  width: 0.12em;
  height: 0.12em;
  margin-left: 0.055em;
  border-radius: 999px;
  background: var(--accent);
  vertical-align: baseline;
}

.lede {
  max-width: 620px;
  margin: clamp(20px, 2.6vh, 28px) auto 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.48;
  text-wrap: balance;
}

.signal-stage {
  position: relative;
  width: min(780px, 100%);
  min-height: 306px;
  margin: clamp(30px, 4.6vh, 50px) auto clamp(28px, 4vh, 40px);
}

.signal-lines {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 0;
  width: min(100vw, 980px);
  height: 260px;
  transform: translate(-50%, -42%);
  pointer-events: none;
}

.signal-lines path {
  fill: none;
  stroke: rgba(47, 111, 235, 0.18);
  stroke-width: 1.4;
}

.signal-lines path:first-child {
  stroke: rgba(37, 165, 104, 0.2);
}

.source-window,
.signal-card {
  position: absolute;
  border: 1px solid var(--hairline);
  background: var(--surface);
  box-shadow: var(--fine-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.source-window {
  left: 3%;
  bottom: 20px;
  width: min(420px, 58%);
  height: 218px;
  border-radius: 20px;
  padding: 68px 38px 28px;
}

.source-window::before {
  content: "";
  position: absolute;
  inset: 46px 0 auto;
  height: 1px;
  background: var(--hairline-soft);
}

.source-window > span {
  position: absolute;
  top: 22px;
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d8e0ea;
}

.source-window > span:nth-child(1) { left: 26px; }
.source-window > span:nth-child(2) { left: 52px; }
.source-window > span:nth-child(3) { left: 78px; }

.source-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d5dbe5, #ebeff5);
}

.source-line-strong {
  width: 72%;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #bfc8d5, #dbe1e9);
}

.source-line-short {
  width: 62%;
  margin-top: 16px;
}

.source-grid {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.source-grid > div:first-child {
  width: 92px;
  aspect-ratio: 1;
  border-radius: 11px;
  background: linear-gradient(145deg, #e6ebf2, #f8fafc);
}

.source-grid i {
  display: block;
  height: 8px;
  margin: 11px 0;
  border-radius: 999px;
  background: #d8dfe8;
}

.source-grid i:nth-child(1),
.source-grid i:nth-child(2) { width: 100%; }
.source-grid i:nth-child(3) { width: 82%; }
.source-grid i:nth-child(4) { width: 64%; }

.signal-card {
  right: 6%;
  top: 0;
  z-index: 1;
  width: min(356px, 48%);
  border-radius: 22px;
  padding: 20px 24px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82)),
    radial-gradient(120% 80% at 50% 0%, rgba(47, 111, 235, 0.08), transparent 60%);
  box-shadow: var(--shadow);
}

.signal-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}

.mini-shield,
.row-icon {
  display: grid;
  place-items: center;
}

.mini-shield {
  width: 32px;
  aspect-ratio: 1;
}

.signal-card-label {
  color: var(--muted-soft);
  font-size: 0.78rem;
  font-weight: 660;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 50px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 640;
  text-align: left;
}

.row-icon {
  width: 30px;
  aspect-ratio: 1;
  border: 1.8px solid currentColor;
  border-radius: 50%;
}

.row-icon svg {
  width: 20px;
  height: 20px;
}

.row-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.15;
}

.evidence { color: var(--evidence); }
.confidence { color: var(--confidence); }
.caution { color: var(--caution); }

.signal-row > span:nth-child(2) {
  color: var(--ink);
}

.bars {
  display: inline-flex;
  align-items: end;
  gap: 4px;
  min-width: 38px;
  height: 24px;
}

.bars i {
  width: 5px;
  border-radius: 999px;
  background: currentColor;
}

.bars i:nth-child(1) { height: 7px; opacity: 0.55; }
.bars i:nth-child(2) { height: 12px; opacity: 0.72; }
.bars i:nth-child(3) { height: 18px; opacity: 0.88; }
.bars i:nth-child(4) { height: 23px; }

.caution .bars i:nth-child(3),
.caution .bars i:nth-child(4) {
  background: #d5dbe4;
  opacity: 1;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 60px;
  padding: 0 30px;
  border-radius: 14px;
  color: #ffffff;
  background: var(--ink);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 660;
  letter-spacing: 0.002em;
  text-decoration: none;
  box-shadow: var(--cta-shadow);
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.cta-primary:hover {
  background: var(--ink-soft);
  box-shadow: var(--cta-shadow-hover);
  transform: translateY(-1px);
}

.cta-primary:active {
  transform: translateY(0);
}

.cta-primary svg {
  width: 22px;
  height: 22px;
}

.cta-primary path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.cta-hint {
  margin: 12px 0 0;
  color: var(--muted-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}

.signal-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 26px);
  margin: clamp(20px, 3vh, 28px) 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 580;
}

.signal-features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feature-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.evidence-dot { background: var(--evidence); }
.confidence-dot { background: var(--confidence); }
.caution-dot { background: var(--caution); }

.site-footer {
  min-height: 76px;
  padding: 0 22px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-footer a {
  font-weight: 580;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-dot {
  color: var(--muted-soft);
}

.brand:focus-visible,
.cta-primary:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(47, 111, 235, 0.4);
  outline-offset: 4px;
  border-radius: 12px;
}

@media (max-width: 760px) {
  .page-shell {
    min-height: calc(100vh - 62px);
    padding-top: 30px;
  }

  .brand {
    gap: 12px;
    font-size: clamp(1.35rem, 5vw, 1.65rem);
  }

  .eyebrow {
    margin-top: 30px;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
    line-height: 0.98;
  }

  .lede {
    max-width: 380px;
    font-size: 1.04rem;
  }

  .signal-stage {
    min-height: 284px;
    margin-top: 32px;
    margin-bottom: 28px;
  }

  .source-window {
    left: 0;
    bottom: 0;
    width: 70%;
    height: 206px;
    padding: 66px 22px 22px;
    border-radius: 17px;
  }

  .source-grid {
    grid-template-columns: 64px 1fr;
    gap: 15px;
    margin-bottom: 20px;
  }

  .source-grid > div:first-child {
    width: 64px;
  }

  .source-line-strong {
    width: 78%;
    margin-bottom: 22px;
  }

  .signal-card {
    right: 0;
    width: 62%;
    min-width: 238px;
    padding: 18px;
    border-radius: 18px;
  }

  .signal-card-head {
    padding-bottom: 13px;
    margin-bottom: 12px;
  }

  .mini-shield {
    width: 28px;
  }

  .signal-card-label {
    font-size: 0.72rem;
  }

  .signal-row {
    grid-template-columns: 30px 1fr auto;
    gap: 10px;
    min-height: 46px;
    font-size: 0.92rem;
  }

  .row-icon {
    width: 26px;
  }

  .row-icon svg {
    width: 17px;
    height: 17px;
  }

  .bars {
    min-width: 30px;
    gap: 3px;
  }

  .bars i {
    width: 4px;
  }

  .cta-primary {
    width: min(100%, 360px);
    min-height: 56px;
  }

  .site-footer {
    min-height: 62px;
    padding-bottom: 22px;
    font-size: 0.92rem;
  }
}

@media (max-width: 460px) {
  .page-shell {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(2.3rem, 12.5vw, 3.2rem);
  }

  .signal-stage {
    min-height: 258px;
  }

  .source-window {
    width: 76%;
    opacity: 0.85;
  }

  .signal-card {
    width: 76%;
  }

  .signal-row {
    grid-template-columns: 28px 1fr auto;
    gap: 8px;
  }

  .bars {
    min-width: 24px;
    gap: 2px;
  }

  .bars i {
    width: 3px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .signal-card,
  .source-window,
  .cta-primary,
  .signal-features {
    animation: rise-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .source-window { animation-delay: 90ms; }
  .cta-primary { animation-delay: 160ms; }
  .signal-features { animation-delay: 220ms; }

  .eyebrow-dot {
    animation: pulse 2.4s ease-in-out infinite;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(47, 111, 235, 0.18);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(47, 111, 235, 0.04);
  }
}
