/* AccessiGuard — static dark theme. No external resources. */

:root {
  color-scheme: dark;
  --bg: #0f1115;
  --bg-deep: #0b0d11;
  --surface: #151a21;
  --surface-raised: #1a2028;
  --surface-soft: #12171d;
  --text: #e6e8ec;
  --muted: #b3bcc9;
  --muted-2: #98a3b2;
  --accent: #7ee787;
  --accent-hover: #9bf0a2;
  --accent-ink: #08140a;
  --accent-soft: rgba(126, 231, 135, 0.1);
  --border: #28313d;
  --border-strong: #3f4b5a;
  --control: #5a6778;
  --danger: #ffb4ab;
  --danger-border: #9e4b48;
  --warning: #ffd18a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --container: 1160px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 75% 45% at 82% -10%, rgba(126, 231, 135, 0.085), transparent 62%),
    radial-gradient(ellipse 55% 38% at 0% 8%, rgba(91, 141, 239, 0.045), transparent 65%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
}

h3 {
  font-size: 1.14rem;
  letter-spacing: -0.012em;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

svg {
  display: block;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 140ms ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline-color: var(--text);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.mono {
  font-family: var(--font-mono);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(15, 17, 21, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-name {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-credit {
  color: var(--muted-2);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 560;
  text-decoration: none;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.nav-link[aria-current="page"] {
  color: var(--accent);
}

.nav-link.nav-cta {
  margin-left: 6px;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.nav-link.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 670;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 26px rgba(126, 231, 135, 0.12);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: #596779;
  color: var(--text);
}

.btn-block {
  width: 100%;
}

.btn .arrow {
  transition: transform 140ms ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn.is-loading {
  cursor: wait;
}

.btn.is-loading::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Shared section scaffolding */
.section {
  padding: clamp(64px, 8vw, 100px) 0;
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head--flush {
  margin-bottom: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.section-head h2 {
  margin-bottom: 15px;
}

.lead {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(52px, 7vw, 88px);
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(126, 231, 135, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 88px rgba(126, 231, 135, 0.018), 0 0 0 176px rgba(126, 231, 135, 0.012);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 11px;
  border: 1px solid rgba(126, 231, 135, 0.27);
  border-radius: 999px;
  background: rgba(126, 231, 135, 0.055);
  color: #b9eec0;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.055em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(126, 231, 135, 0.12);
}

.hero h1 {
  max-width: 13ch;
  margin: 22px 0 22px;
  font-size: clamp(2.75rem, 5.7vw, 4.85rem);
  font-weight: 720;
  line-height: 1.01;
  letter-spacing: -0.048em;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.72;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 25px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.84rem;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-points .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.hero-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 56ch;
  margin-top: 27px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.55;
}

.hero-disclaimer .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--accent);
}

/* Hero report illustration */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 490px;
  margin: 0;
  justify-self: end;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px -13px -18px 26px;
  border: 1px solid rgba(126, 231, 135, 0.18);
  border-radius: 19px;
  transform: rotate(2.1deg);
  pointer-events: none;
}

.report-window {
  position: relative;
  overflow: hidden;
  border: 1px solid #3a4655;
  border-radius: 17px;
  background: linear-gradient(155deg, #1a2029 0%, #141920 56%, #12161c 100%);
  box-shadow: var(--shadow);
}

.report-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 43px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(0, 0, 0, 0.16);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.045em;
}

.toolbar-dots {
  display: flex;
  gap: 4px;
  margin-right: 3px;
}

.toolbar-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4b5665;
}

.report-toolbar .filename {
  margin-left: auto;
}

.report-body {
  padding: 22px;
}

.report-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.report-label {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(126, 231, 135, 0.3);
  border-radius: 999px;
  background: rgba(126, 231, 135, 0.07);
  color: #c3f4c9;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.035em;
  line-height: 1.4;
  white-space: nowrap;
}

.report-domain {
  margin-bottom: 4px;
  font-size: 1.28rem;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.report-caption {
  color: var(--muted-2);
  font-size: 0.73rem;
}

.report-divider {
  height: 1px;
  margin: 17px 0;
  background: var(--border);
}

.issue-list {
  display: grid;
  gap: 8px;
  margin: 0;
  list-style: none;
}

.issue {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.issue-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.4;
  white-space: nowrap;
}

.issue-tag.priority {
  border-color: rgba(255, 138, 122, 0.38);
  background: rgba(255, 138, 122, 0.1);
  color: #ffd3cd;
}

.issue-tag.high {
  border-color: rgba(255, 209, 138, 0.32);
  background: rgba(255, 209, 138, 0.08);
  color: #ffe2b2;
}

.issue-tag.medium {
  border-color: rgba(189, 201, 216, 0.25);
  background: rgba(189, 201, 216, 0.07);
  color: #d4dce7;
}

.issue-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.issue-name {
  color: var(--text);
  font-size: 0.79rem;
  line-height: 1.4;
}

.issue-wcag {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.03em;
}

.fix-box {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(126, 231, 135, 0.18);
  border-radius: 9px;
  background: rgba(6, 10, 8, 0.55);
}

.fix-box-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: #b9eec0;
  font-family: var(--font-mono);
  font-size: 0.59rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fix-box-label .icon {
  width: 13px;
  height: 13px;
}

.fix-code {
  overflow-x: auto;
  color: #d9f7dd;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  line-height: 1.55;
  white-space: nowrap;
}

.fix-code .code-dim {
  color: #8da395;
}

.report-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.67rem;
}

.report-footer .pdf {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #c9f5ce;
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.report-footer .pdf .icon {
  width: 13px;
  height: 13px;
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #3a4655;
  border-radius: 9px;
  background: #1b222b;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
}

.float-chip .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.float-chip.review {
  bottom: -17px;
  left: -28px;
}

.hero-visual figcaption {
  margin-top: 30px;
  color: var(--muted-2);
  font-size: 0.72rem;
  text-align: right;
}

/* Proof strip */
.proof-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.014);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 24px 28px;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--border);
}

.proof-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(126, 231, 135, 0.22);
  border-radius: 8px;
  background: rgba(126, 231, 135, 0.055);
  color: var(--accent);
}

.proof-icon .icon {
  width: 17px;
  height: 17px;
}

.proof-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.88rem;
  font-weight: 650;
}

.proof-item span {
  display: block;
  color: var(--muted-2);
  font-size: 0.77rem;
  line-height: 1.5;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.feature-card {
  position: relative;
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.008));
  transition: border-color 140ms ease, background-color 140ms ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid rgba(126, 231, 135, 0.2);
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-icon .icon {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin-bottom: 9px;
  font-size: 1.07rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

.feature-card .small-note {
  display: block;
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.78rem;
}

/* Pricing */
.pricing-section {
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(126, 231, 135, 0.055), transparent 68%),
    var(--bg-deep);
}

.pricing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.pricing-note {
  max-width: 360px;
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: right;
}

.pricing-note strong {
  color: var(--muted);
  font-weight: 600;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.price-card.featured {
  border-color: rgba(126, 231, 135, 0.5);
  background:
    linear-gradient(165deg, rgba(126, 231, 135, 0.07), transparent 45%),
    var(--surface);
  box-shadow: 0 0 0 1px rgba(126, 231, 135, 0.08), 0 20px 50px rgba(0, 0, 0, 0.18);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 680;
  letter-spacing: -0.015em;
}

.plan-limit {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.price-card.featured .plan-limit {
  color: #b9eec0;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--border);
}

.plan-amount {
  font-size: clamp(2.35rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.plan-currency {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.plan-description {
  min-height: 44px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 20px 0 27px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.43em;
  left: 2px;
  width: 6px;
  height: 11px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}

.price-card .btn {
  margin-top: auto;
}

.pricing-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 0.79rem;
}

.pricing-foot p {
  max-width: 72ch;
}

.pricing-foot a {
  color: #c9f5ce;
}

.checkout-status {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.checkout-status.status--error {
  border-color: var(--danger-border);
  background: rgba(158, 75, 72, 0.12);
  color: #ffd0ca;
}

.no-script-note {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 209, 138, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 209, 138, 0.06);
  color: #ffe3b8;
  font-size: 0.84rem;
  line-height: 1.55;
}

.no-script-note a {
  color: #ffe3b8;
}

/* Free scan */
.scan-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(420px, 1.17fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.scan-copy {
  position: sticky;
  top: 106px;
}

.scan-copy h2 {
  margin-bottom: 15px;
}

.scan-copy .lead {
  font-size: 1rem;
}

.scan-benefits {
  display: grid;
  gap: 13px;
  margin-top: 27px;
  padding: 0;
  list-style: none;
}

.scan-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.scan-benefits .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--accent);
}

.form-card {
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(126, 231, 135, 0.045), transparent 38%),
    var(--surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.form-card-header {
  margin-bottom: 25px;
}

.form-card-header h3 {
  margin-bottom: 6px;
  font-size: 1.18rem;
}

.form-card-header p {
  color: var(--muted);
  font-size: 0.86rem;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 0.87rem;
  font-weight: 620;
}

.field label .optional {
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 400;
}

.field input {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid var(--control);
  border-radius: 8px;
  background: #0c1015;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.field input::placeholder {
  color: #8b96a4;
  opacity: 1;
}

.field input:hover {
  border-color: #738197;
}

.field input:focus {
  border-color: var(--accent);
}

.field input[aria-invalid="true"] {
  border-color: #ff9a90;
  background: rgba(158, 75, 72, 0.09);
}

.field.has-error label {
  color: #ffd0ca;
}

.hint {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 0.76rem;
  line-height: 1.5;
}

.field-error {
  position: relative;
  margin-top: 7px;
  padding-left: 16px;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.45;
}

.field-error::before {
  content: "!";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  margin-top: 2px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1;
}

.form-note {
  margin-top: 13px;
  color: var(--muted-2);
  font-size: 0.75rem;
  line-height: 1.55;
}

.form-note a {
  color: #c9f5ce;
}

.form-card noscript .no-script-note {
  margin-top: 18px;
}

.scan-status {
  margin-top: 21px;
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.scan-status.status--error {
  border-color: var(--danger-border);
  background: rgba(158, 75, 72, 0.1);
  color: #ffd0ca;
}

.scan-status.status--success {
  border-color: rgba(126, 231, 135, 0.36);
  background: rgba(126, 231, 135, 0.045);
}

.scan-status h3 {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 1rem;
}

.scan-status p + p,
.scan-status p + .scan-actions,
.scan-status h3 + p {
  margin-top: 9px;
}

.scan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.scan-actions a {
  font-size: 0.84rem;
  font-weight: 600;
}

.report-text {
  max-height: 330px;
  margin: 12px 0 0;
  padding: 14px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #080b0e;
  color: #dbe2ea;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 106px;
}

.faq-intro h2 {
  margin-bottom: 15px;
}

.faq-intro .lead {
  font-size: 0.98rem;
}

.faq-contact {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.83rem;
  line-height: 1.6;
}

.faq-contact a {
  color: var(--text);
}

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

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 17px 3px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 610;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

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

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

.faq-toggle {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--muted);
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  right: 5px;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

.faq-toggle::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 140ms ease, opacity 140ms ease;
}

.faq-item[open] .faq-toggle {
  border-color: rgba(126, 231, 135, 0.4);
  color: var(--accent);
}

.faq-item[open] .faq-toggle::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.faq-answer {
  max-width: 66ch;
  padding: 0 38px 21px 3px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

.faq-answer p + p {
  margin-top: 9px;
}

/* Product page */
.hero--product::before {
  right: -230px;
}

.hero--product h1 {
  max-width: 14ch;
  font-size: clamp(2.65rem, 5vw, 4.3rem);
}

.process-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid #3a4655;
  border-radius: 17px;
  background:
    linear-gradient(160deg, #1a2129 0%, #13181f 65%),
    var(--surface);
  box-shadow: var(--shadow);
}

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

.process-list {
  display: grid;
  gap: 10px;
  margin: 17px 0;
  padding: 0;
  list-style: none;
}

.process-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}

.process-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.process-step strong {
  display: block;
  font-size: 0.79rem;
  font-weight: 600;
}

.process-step span:not(.process-num, .process-state) {
  display: block;
  color: var(--muted-2);
  font-size: 0.66rem;
}

.process-state {
  padding: 3px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  white-space: nowrap;
}

.process-step.is-active {
  border-color: rgba(126, 231, 135, 0.32);
  background: rgba(126, 231, 135, 0.045);
}

.process-step.is-active .process-num {
  border-color: rgba(126, 231, 135, 0.4);
  color: var(--accent);
}

.process-step.is-active .process-state {
  border-color: rgba(126, 231, 135, 0.28);
  color: #b9eec0;
}

.process-output {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(126, 231, 135, 0.33);
  border-radius: 8px;
  background: rgba(126, 231, 135, 0.065);
  color: #d8f8dc;
  font-size: 0.79rem;
  font-weight: 600;
}

.process-output .badge {
  border-color: rgba(126, 231, 135, 0.3);
}

.process-card figcaption,
.hero-visual figcaption.process-caption {
  margin-top: 28px;
  color: var(--muted-2);
  font-size: 0.72rem;
  text-align: right;
}

.steps-grid,
.audience-grid,
.not-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.step-card {
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.006));
}

.step-number {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.step-card h3 {
  margin-bottom: 9px;
}

.step-card p {
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.65;
}

.step-card .step-detail {
  display: block;
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.77rem;
}

.contents-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(35px, 7vw, 90px);
  align-items: start;
}

.contents-intro {
  position: sticky;
  top: 106px;
}

.contents-intro h2 {
  margin-bottom: 15px;
}

.report-toc {
  margin-top: 27px;
  padding: 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.toc-list {
  display: grid;
  gap: 0;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.toc-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.76rem;
}

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

.toc-list .toc-page {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.contents-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.content-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.content-number {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.content-item h3 {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.content-item p {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

.audience-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.audience-card .feature-icon {
  margin-bottom: 18px;
}

.audience-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.audience-card p {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

.audience-note {
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 0.8rem;
}

.not-section {
  background:
    radial-gradient(ellipse 55% 50% at 80% 0%, rgba(255, 180, 171, 0.035), transparent 70%),
    var(--bg-deep);
}

.not-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
}

.not-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 180, 171, 0.27);
  border-radius: 8px;
  background: rgba(255, 180, 171, 0.055);
  color: #ffd0ca;
}

.not-mark .icon {
  width: 17px;
  height: 17px;
}

.not-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.not-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.limits-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.limits-callout .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  color: var(--accent);
}

.limits-callout strong {
  color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(130px, 0.7fr) minmax(130px, 0.7fr) minmax(220px, 0.9fr);
  gap: 38px;
  padding: 58px 0 45px;
}

.footer-brand .brand {
  margin-bottom: 15px;
}

.footer-brand p {
  max-width: 31ch;
  color: var(--muted-2);
  font-size: 0.84rem;
  line-height: 1.65;
}

.footer-heading {
  margin-bottom: 14px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-contact p {
  margin-bottom: 10px;
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-contact a {
  display: inline-block;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 560;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 23px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-disclaimer {
  max-width: 790px;
  color: var(--muted-2);
  font-size: 0.72rem;
  line-height: 1.65;
}

.footer-copy {
  flex: none;
  color: var(--muted-2);
  font-size: 0.72rem;
  white-space: nowrap;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.legal-footer-links a {
  color: var(--muted);
  font-size: 0.76rem;
  text-decoration: none;
}

.legal-footer-links a:hover,
.legal-footer-links a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
}

/* Legal pages */
.legal-main {
  padding: clamp(52px, 7vw, 86px) 0 90px;
}

.legal-shell {
  max-width: 780px;
}

.legal-header {
  margin-bottom: 35px;
}

.legal-header h1 {
  margin: 13px 0 14px;
  font-size: clamp(2.2rem, 4.4vw, 3.35rem);
}

.legal-meta {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.legal-intro {
  margin-bottom: 31px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.legal-body {
  padding: clamp(23px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface-soft);
}

.legal-body h2 {
  margin: 31px 0 9px;
  color: var(--text);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.72;
}

.legal-body p + p {
  margin-top: 10px;
}

.legal-body ul {
  display: grid;
  gap: 7px;
  margin: 11px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.7;
}

.legal-body li::marker {
  color: var(--accent);
}

.legal-body strong {
  color: var(--text);
  font-weight: 620;
}

.legal-body a {
  color: #c9f5ce;
}

.legal-footnote {
  margin-top: 23px;
  color: var(--muted-2);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .hero-visual {
    justify-self: start;
    max-width: 560px;
  }

  .hero-visual figcaption {
    text-align: left;
  }

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

  .proof-item {
    padding: 18px 24px;
  }

  .proof-item + .proof-item {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .pricing-head {
    display: block;
  }

  .pricing-note {
    margin-top: 15px;
    max-width: 62ch;
    text-align: left;
  }

  .price-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
  }

  .plan-description {
    min-height: 0;
  }

  .scan-grid,
  .faq-layout,
  .contents-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .scan-copy,
  .faq-intro,
  .contents-intro {
    position: static;
  }

  .form-card {
    max-width: 660px;
  }

  .steps-grid,
  .audience-grid,
  .not-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 27px;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 118px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 13px 0 10px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .primary-nav {
    order: 2;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }

  .nav-link {
    padding: 8px 2px;
    font-size: 0.8rem;
  }

  .nav-link.nav-cta {
    margin-left: 0;
    padding: 7px 9px;
  }

  .hero {
    padding-top: 45px;
  }

  .hero h1 {
    max-width: 100%;
    margin-top: 19px;
    font-size: clamp(2.5rem, 11.5vw, 3.4rem);
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-sub {
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 25px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    display: grid;
    gap: 8px;
    margin-top: 22px;
  }

  .hero-visual {
    max-width: 100%;
  }

  .hero-visual::before {
    inset: 14px -7px -10px 14px;
  }

  .report-body {
    padding: 17px;
  }

  .report-domain {
    font-size: 1.12rem;
  }

  .issue {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding: 9px;
  }

  .issue-tag {
    font-size: 0.55rem;
  }

  .issue-name {
    font-size: 0.74rem;
  }

  .float-chip {
    display: none;
  }

  .hero-visual figcaption {
    margin-top: 18px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .lead {
    font-size: 0.96rem;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-card {
    padding: 22px;
  }

  .price-card {
    padding: 23px;
  }

  .pricing-foot {
    display: block;
  }

  .pricing-foot p + p {
    margin-top: 8px;
  }

  .form-card {
    padding: 20px;
  }

  .scan-copy h2 {
    font-size: 2rem;
  }

  .faq-item summary {
    min-height: 62px;
    gap: 14px;
    font-size: 0.93rem;
  }

  .faq-answer {
    padding-right: 27px;
    font-size: 0.87rem;
  }

  .report-text {
    font-size: 0.7rem;
    max-height: 300px;
  }

  .process-card {
    padding: 17px;
  }

  .process-step {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .process-state {
    grid-column: 2;
    justify-self: start;
  }

  .process-output {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .step-card,
  .audience-card,
  .not-card {
    padding: 22px;
  }

  .step-number {
    margin-bottom: 22px;
  }

  .legal-main {
    padding-top: 44px;
  }

  .legal-body {
    padding: 22px 19px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 44px 0 34px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    display: block;
  }

  .footer-copy {
    margin-top: 15px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Pricing checkout field (Paddle overlay) */
.pricing-url-block {
  max-width: 520px;
  margin: 0 auto 30px;
  text-align: left;
}
.pricing-url-block .hint {
  margin-top: 8px;
}
