/* ─────────────────────────────────────────────
   DocsTrust — minimal iOS-style design system
   ───────────────────────────────────────────── */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-gray: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: rgba(0, 113, 227, 0.09);
  --green: #34c759;
  --orange: #ff9500;
  --radius: 20px;
  --radius-lg: 26px;
  --radius-xl: 32px;
  --pill: 980px;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.11);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 113, 227, 0.16);
}

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

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

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

img {
  height: auto;
}

button,
summary,
a {
  outline-offset: 4px;
}

:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.4);
  outline-offset: 3px;
  border-radius: 6px;
}

main {
  width: 100%;
  overflow: clip;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  border-radius: var(--pill);
  padding: 10px 18px;
  color: #fff;
  background: var(--blue);
  font-weight: 600;
  font-size: 14px;
}

.skip-link:focus {
  transform: none;
}

/* ─── Reveal on scroll ─── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 22px;
  border-radius: var(--pill);
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease-out),
    background-color 0.2s ease,
    box-shadow 0.25s ease,
    color 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary,
.btn-accent {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 113, 227, 0.24);
}

.btn-primary:hover,
.btn-accent:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 113, 227, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding-inline: 12px;
}

.btn-ghost:hover {
  background: var(--blue-soft);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.045);
  color: var(--ink);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.075);
}

.btn-light {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 12px 30px rgba(0, 40, 90, 0.2);
}

.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 40, 90, 0.26);
}

.btn-small {
  padding: 9px 17px;
  font-size: 14px;
}

.btn-lg {
  padding: 17px 32px;
  font-size: 17px;
}

/* ─── Floating pill navigation ─── */

.nav {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-inner {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: calc(100% - 32px);
  padding: 8px 10px 8px 18px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s ease;
}

.nav--scrolled .nav-inner {
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: linear-gradient(160deg, #0a84ff, #0066cc);
  box-shadow: 0 3px 8px rgba(0, 102, 204, 0.3);
}

.brand-mark svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links > a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.045);
  cursor: pointer;
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-inner {
    gap: 14px;
  }

  .nav-inner .menu-toggle {
    order: 3;
  }

  .nav-inner:has(.menu-toggle) .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-width: 230px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 0.25s var(--ease-out),
      transform 0.25s var(--ease-out),
      visibility 0.25s;
  }

  .nav.open .nav-inner:has(.menu-toggle) .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-inner:has(.menu-toggle) .nav-links > a:not(.btn) {
    padding: 11px 14px;
    border-radius: 13px;
    font-size: 15px;
    color: var(--ink);
  }

  .nav-inner:has(.menu-toggle) .nav-links > a:not(.btn):hover {
    background: rgba(0, 0, 0, 0.045);
  }

  .nav-inner:has(.menu-toggle) .nav-links .btn {
    margin-top: 6px;
  }
}

@media (max-width: 640px) {
  .nav-inner:not(:has(.menu-toggle)) .nav-links > a:not(.btn) {
    display: none;
  }
}

/* ─── Hero ─── */

.hero-shell {
  position: relative;
  overflow: clip;
  padding: 172px 0 110px;
  background: var(--bg);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 38% at 50% 0%, rgba(0, 113, 227, 0.09), transparent 70%),
    radial-gradient(30% 26% at 18% 12%, rgba(94, 92, 230, 0.07), transparent 70%),
    radial-gradient(30% 26% at 84% 10%, rgba(0, 199, 190, 0.06), transparent 70%);
}

.hero-inner {
  position: relative;
  width: min(900px, calc(100% - 48px));
  margin-inline: auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 16px;
  border-radius: var(--pill);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(52, 199, 89, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);
  }
}

.hero-inner h1 {
  margin: 24px 0 0;
  font-size: clamp(2.65rem, 6.4vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.lead {
  margin: 22px auto 0;
  max-width: 660px;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 48px auto 0;
  max-width: 900px;
}

.trust-item > div {
  padding: 4px 24px;
  border-left: 1px solid var(--line);
  text-align: left;
}

.trust-item:first-child > div {
  border-left: 0;
}

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

.trust-item strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.trust-item span {
  margin-top: 3px;
  font-size: 13px;
  color: var(--ink-3);
}

/* ─── Hero product mockup ─── */

.hero-demo {
  position: relative;
  margin: 84px auto 0;
  max-width: 860px;
  text-align: left;
}

.demo-window {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    var(--shadow-lg);
}

.demo-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.018);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.demo-dots {
  display: flex;
  gap: 7px;
  flex: none;
}

.demo-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.demo-dots i:nth-child(1) {
  background: #ff5f57;
}

.demo-dots i:nth-child(2) {
  background: #febc2e;
}

.demo-dots i:nth-child(3) {
  background: #28c840;
}

.demo-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-badge {
  flex: none;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-3);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-body {
  padding: 26px 28px 12px;
}

.demo-score {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 24px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.score-ring {
  position: relative;
  flex: none;
  width: 110px;
  height: 110px;
}

.score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-ring circle {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}

.ring-track {
  stroke: rgba(0, 0, 0, 0.06);
}

.ring-value {
  stroke: var(--blue);
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 1.5s var(--ease-out) 0.35s;
}

.is-visible .ring-value {
  stroke-dashoffset: 88.2;
}

.score-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-label strong {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.score-label span {
  font-size: 11px;
  color: var(--ink-3);
}

.demo-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-stats strong,
.demo-stats span {
  display: block;
}

.demo-stats strong {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.demo-stats span {
  margin-top: 3px;
  font-size: 13px;
  color: var(--ink-3);
}

.demo-findings {
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-findings li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
}

.demo-findings li:last-child {
  border-bottom: 0;
}

.sev {
  flex: none;
  width: 76px;
  text-align: center;
  padding: 5px 0;
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 600;
}

.sev-critical {
  color: #d70015;
  background: rgba(255, 59, 48, 0.12);
}

.sev-high {
  color: #c93400;
  background: rgba(255, 149, 0, 0.15);
}

.sev-medium {
  color: #8a6d00;
  background: rgba(255, 214, 10, 0.24);
}

.finding-line {
  flex: 1;
  min-width: 0;
}

.finding-line strong,
.finding-line span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.finding-line strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.finding-line span {
  margin-top: 3px;
  font-size: 13px;
  color: var(--ink-3);
}

.finding-action {
  flex: none;
  padding: 9px 15px;
  border-radius: var(--pill);
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 5px 14px rgba(0, 113, 227, 0.24);
}

.finding-action-ghost {
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: none;
}

.demo-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px 11px 12px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.12);
  animation: float 5.5s ease-in-out infinite alternate;
}

.chip-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.chip-icon-green {
  background: var(--green);
}

.chip-icon-blue {
  background: #0052cc;
}

.demo-chip strong,
.demo-chip span {
  display: block;
}

.demo-chip strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.demo-chip span {
  margin-top: 1px;
  font-size: 12px;
  color: var(--ink-3);
}

.demo-chip-scan {
  top: 44px;
  right: -34px;
}

.demo-chip-jira {
  bottom: -26px;
  left: 34px;
  animation-delay: 1.4s;
}

@keyframes float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

.hero-demo figcaption {
  margin-top: 48px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-2);
}

.hero-demo figcaption span {
  color: var(--ink-3);
}

/* ─── Risk strip ─── */

.strip {
  border-block: 1px solid var(--line);
  background: var(--bg);
  padding: 26px 0;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 26px;
}

.strip-label {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.risk-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.risk-chip {
  padding: 8px 15px;
  border-radius: var(--pill);
  background: var(--bg-gray);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

/* ─── Sections ─── */

.section {
  padding: 116px 0;
}

.section-gray {
  background: var(--bg-gray);
}

.section h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading p {
  margin: 18px 0 0;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.section-copy .section-lead {
  margin: 20px 0 0;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ─── Conflict card (sample finding) ─── */

.conflict-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.conflict-card-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.finding-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: rgba(255, 59, 48, 0.1);
  color: #d70015;
  font-size: 12px;
  font-weight: 700;
}

.finding-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.severity-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

.conflict-card h3 {
  margin: 0 0 20px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.source-compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.source-compare::after {
  content: "vs";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-3);
}

.source-block {
  background: var(--bg-gray);
  border-radius: 16px;
  padding: 18px 20px;
}

.source-block > span {
  display: block;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.source-block strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.source-block blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

.conflict-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding: 15px 18px;
  border-radius: 15px;
  background: rgba(255, 149, 0, 0.1);
}

.conflict-result > span {
  flex: none;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.conflict-result p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.example-note {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
}

/* ─── Process steps ─── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
}

.step {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 32px 28px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ─── Finding anatomy + features ─── */

.finding-anatomy {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
  max-width: 1020px;
  margin: 0 auto;
}

.finding-record {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px;
}

.finding-record-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.finding-record-head > span:last-child {
  font-size: 12.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.finding-record h3 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.finding-record dl {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
}

.finding-record dl > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.finding-record dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}

.finding-record dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
}

.feature-row {
  display: grid;
  gap: 16px;
}

.feature-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.feature-index {
  flex: none;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.feature-card h3 {
  margin: 0 0 7px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ─── Control checklist ─── */

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 26px;
}

.check-item > span {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.15);
  color: #248a3d;
  font-size: 14px;
  font-weight: 700;
}

.check-item h3 {
  margin: 0 0 7px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.check-item p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ─── Pricing ─── */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 24px 64px rgba(0, 113, 227, 0.15);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 15px;
  border-radius: var(--pill);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3);
}

.price-card h3 {
  margin: 0 0 16px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.price strong {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price span {
  font-size: 14px;
  color: var(--ink-3);
}

.price-scope {
  margin: 8px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}

.price-card ul {
  flex: 1;
  display: grid;
  gap: 13px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  gap: 11px;
  font-size: 15px;
  line-height: 1.45;
}

.price-card li span {
  flex: none;
  color: var(--blue);
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
}

.pricing-footnote {
  max-width: 620px;
  margin: 38px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ─── Resources ─── */

.resources .section-heading {
  margin-bottom: 44px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto;
}

.resource-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 17px;
  box-shadow: var(--shadow-xs);
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.resource-grid a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.resource-grid a span[aria-hidden] {
  color: var(--blue);
  font-weight: 600;
}

/* ─── FAQ ─── */

.faq-wrap {
  max-width: 780px;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink-3);
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 40px 26px 4px;
  max-width: 660px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ─── Final CTA band ─── */

.section-final {
  padding-bottom: 132px;
}

.cta-band {
  position: relative;
  overflow: clip;
  border-radius: var(--radius-xl);
  padding: 92px 40px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(120% 170% at 18% -20%, rgba(255, 255, 255, 0.28), transparent 55%),
    linear-gradient(165deg, #0a84ff 0%, #0066cc 58%, #0053b8 100%);
  box-shadow: 0 42px 100px rgba(0, 102, 204, 0.32);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(2.05rem, 4.6vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}

.cta-band p {
  max-width: 580px;
  margin: 20px auto 0;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.cta-band .btn {
  margin-top: 36px;
}

.cta-note {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-copy .kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* ─── Footer ─── */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-gray);
  padding: 60px 0 50px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-left: auto;
  padding-top: 6px;
}

.footer-links a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

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

.footer-meta {
  width: 100%;
  font-size: 13px;
  color: var(--ink-3);
}

.trademark-note {
  width: 100%;
  max-width: 640px;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ─── Article pages ─── */

.article-hero {
  position: relative;
  overflow: clip;
  padding: 168px 0 64px;
  background: linear-gradient(180deg, var(--bg-gray) 0%, var(--bg) 100%);
}

.article-hero-inner {
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--pill);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.article-hero h1 {
  margin: 22px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.033em;
  line-height: 1.08;
}

.article-answer {
  margin: 24px 0 0;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 3px solid var(--blue);
  border-radius: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.article-answer strong {
  color: var(--ink);
}

.article-hero .lead {
  margin-left: 0;
}

.article-hero .hero-actions {
  justify-content: flex-start;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  align-items: start;
  padding: 60px 0 96px;
}

.article-section {
  margin-bottom: 46px;
}

.article-section h2 {
  margin: 0 0 16px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.022em;
}

.article-section p {
  margin: 0 0 15px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.article-section ul {
  margin: 0 0 15px;
  padding-left: 22px;
  color: var(--ink-2);
  line-height: 1.7;
}

.article-section li {
  margin-bottom: 9px;
}

.article-aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.article-aside-card {
  display: grid;
  gap: 11px;
  background: var(--bg-gray);
  border-radius: 18px;
  padding: 24px;
}

.article-aside-card > strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.article-aside-card a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.article-aside-card a:hover {
  color: var(--blue);
}

.article-aside-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

.section-band {
  background: var(--bg-gray);
  padding: 0 0 100px;
}

/* ─── Responsive ─── */

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

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-copy {
    max-width: 620px;
    text-align: center;
    margin-inline: auto;
  }

  .finding-anatomy {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .steps,
  .pricing {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .check-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 84px 0;
  }

  .hero-shell {
    padding: 140px 0 84px;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
    max-width: 420px;
  }

  .trust-item:nth-child(odd) > div {
    border-left: 0;
  }

  .hero-demo {
    margin-top: 64px;
  }

  .demo-body {
    padding: 20px 18px 8px;
  }

  .demo-score {
    gap: 20px;
  }

  .demo-stats {
    gap: 24px;
  }

  .demo-stats strong {
    font-size: 22px;
  }

  .sev {
    width: 64px;
    font-size: 11px;
  }

  .finding-action-ghost {
    display: none;
  }

  .demo-chip-scan {
    top: -18px;
    right: 14px;
  }

  .demo-chip-jira {
    display: none;
  }

  .demo-chip {
    padding: 9px 12px 9px 10px;
    gap: 9px;
  }

  .demo-chip span {
    display: none;
  }

  .hero-demo figcaption {
    margin-top: 30px;
  }

  .source-compare {
    grid-template-columns: 1fr;
  }

  .source-compare::after {
    display: none;
  }

  .finding-record dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cta-band {
    padding: 64px 24px;
  }

  .footer-links {
    margin-left: 0;
  }
}

/* ─── Reduced motion ─── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ring-value {
    transition: none;
    stroke-dashoffset: 88.2;
  }

  .demo-chip,
  .pulse-dot {
    animation: none;
  }

  .price-card,
  .resource-grid a,
  .btn {
    transition: none;
  }
}
