/* ==========================================================================
   Resume Audit — styles
   Family palette: slate + blue, shared with pdf-local / facturas-local
   ========================================================================== */

:root {
  --paper: #f8fafc;
  --paper-deep: #f1f5f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --ink-3: #334155;
  --muted: #475569;
  --muted-2: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #eff6ff;
  --accent-line: #bfdbfe;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  --amber-line: #fde68a;
  --red: #dc2626;
  --red-bg: #fef2f2;
  --red-line: #fecaca;
  --green: #15803d;
  --green-bg: #f0fdf4;
  --green-line: #bbf7d0;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 14px rgba(15, 23, 42, .04);
  --shadow-md: 0 2px 6px rgba(15, 23, 42, .06), 0 18px 44px rgba(15, 23, 42, .09);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, .18);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: var(--sans);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --header-h: 72px;
}

/* ==========================================================================
   Base
   ========================================================================== */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open { overflow: hidden; }

[hidden] { display: none !important; }

img, svg { display: block; }

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

ul, ol { padding: 0; list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

button:disabled { cursor: not-allowed; }

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

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .45);
  outline-offset: 2px;
  border-radius: 4px;
}

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

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

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

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 18px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .13);
}

.strong-line {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 650;
}

.section-lede {
  max-width: 600px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }

.section-head {
  display: grid;
  max-width: 780px;
  margin-bottom: 42px;
}
.section-head.centered {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.section-head.centered .eyebrow { justify-content: center; }
.section-head.centered .section-lede { margin-inline: auto; }

.section-head h2,
.how-copy h2,
.faq-grid h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}

/* ==========================================================================
   Buttons and small controls
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }

.btn-lg { min-height: 52px; padding: 0 24px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 13.5px; }

.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .16);
}
.btn-primary:hover { background: #1e293b; border-color: #1e293b; box-shadow: 0 10px 26px rgba(15, 23, 42, .22); }
.btn-primary:disabled { background: #cbd5e1; border-color: #cbd5e1; box-shadow: none; }

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .22);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 10px 26px rgba(37, 99, 235, .3); }

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover { background: #fff; border-color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
}
.btn-ghost:hover { background: rgba(15, 23, 42, .06); }

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
}
.text-btn:hover { color: var(--ink); background: rgba(15, 23, 42, .05); }
.text-btn .icon { width: 18px; height: 18px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-dark);
  font-weight: 650;
  border-bottom: 1px solid rgba(37, 99, 235, .3);
  padding-bottom: 2px;
}
.text-link .icon { width: 16px; height: 16px; }
.text-link:hover { border-bottom-color: var(--accent); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--ink-3);
}
.icon-btn:hover { background: var(--paper); color: var(--ink); border-color: var(--line); }
.icon-btn .icon { width: 19px; height: 19px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(248, 250, 252, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(203, 213, 225, .55);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-height: 44px;
  color: var(--ink);
}
.brand-mark { width: 34px; height: 34px; color: var(--ink); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.brand-text span { color: var(--accent-dark); }
.brand-pill {
  margin-left: 2px;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}
.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 600;
}
.header-nav a:hover { background: rgba(15, 23, 42, .05); color: var(--ink); }

.header-actions { margin-left: auto; }

.plan-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.plan-chip:hover { border-color: var(--line-strong); }
.plan-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
  flex: none;
}
.plan-chip.is-licensed .plan-dot { background: var(--green); box-shadow: 0 0 0 3px rgba(21, 128, 61, .14); }
.plan-text { display: grid; line-height: 1.15; }
.plan-text strong { font-size: 12.5px; font-weight: 700; }
.plan-text small { color: var(--muted); font-size: 10.5px; margin-top: 1px; }

/* ==========================================================================
   Hero + scan card
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 78px;
  background:
    radial-gradient(680px 420px at 88% 0%, rgba(37, 99, 235, .16), transparent 68%),
    radial-gradient(520px 380px at 2% 10%, rgba(96, 165, 250, .13), transparent 64%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 52px;
  align-items: start;
}

.hero-copy { padding-top: 22px; animation: rise .65s cubic-bezier(.2, .7, .2, 1) both; }

.hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(42px, 5.4vw, 66px);
  line-height: 1.03;
  letter-spacing: -.038em;
  margin-bottom: 22px;
  color: var(--ink);
}

.hero-sub {
  max-width: 540px;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.62;
}

.hero-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 650;
}
.hero-price .icon { width: 16px; height: 16px; color: var(--accent); }

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.trust-row li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .01em;
}
.trust-row .icon { width: 16px; height: 16px; color: var(--accent); }

.scan-card {
  padding: 22px;
  background: linear-gradient(160deg, #ffffff, #f8fafc);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 26px 60px rgba(15, 23, 42, .12), 0 2px 0 #fff inset;
  animation: rise .65s .1s cubic-bezier(.2, .7, .2, 1) both;
}

.scan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.scan-head h2 {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.01em;
}
.scan-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.local-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: var(--green-bg);
  border: 1px solid var(--green-line);
  border-radius: 99px;
  color: var(--green);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.local-chip .icon { width: 12px; height: 12px; }

.resume-input {
  display: block;
  width: 100%;
  min-height: 292px;
  max-height: 48vh;
  padding: 24px;
  background: radial-gradient(300px 180px at 50% 10%, rgba(37, 99, 235, .08), transparent 70%), var(--surface-soft);
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.6;
  resize: vertical;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.resume-input::placeholder { color: #94a3b8; }
.resume-input:hover { border-color: #b6c2d1; }
.resume-input:focus {
  outline: none;
  border-style: solid;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .13);
}
.scan-card.is-dragover .resume-input {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.scan-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 4px;
}

.upload-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.upload-label:hover { border-color: var(--ink); background: var(--paper); }
.upload-label .icon { width: 16px; height: 16px; color: var(--muted); }
.upload-label input {
  position: absolute;
  inset: -1px;
  opacity: 0;
  cursor: pointer;
}

.scan-meta {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10.5px;
  white-space: nowrap;
}
.scan-meta strong { color: var(--ink-3); font-weight: 700; }

.file-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 9px;
  color: var(--accent-dark);
  font-size: 11.5px;
}
.file-chip .icon { width: 14px; height: 14px; flex: none; }
.file-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-chip button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  flex: none;
}
.file-chip button:hover { background: rgba(37, 99, 235, .1); color: var(--ink); }
.file-chip button .icon { width: 14px; height: 14px; }

.scan-error {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  padding: 9px 11px;
  background: var(--red-bg);
  border: 1px solid var(--red-line);
  border-radius: 9px;
  color: #991b1b;
  font-size: 12px;
  line-height: 1.45;
}
.scan-error .icon { width: 15px; height: 15px; flex: none; margin-top: 1px; }

.scan-submit { margin-top: 12px; }

.scan-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 10.5px;
  text-align: center;
}
.scan-foot .icon { width: 12px; height: 12px; }

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.stat-band div {
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat-band div:last-child { border-right: 0; }
.stat-band strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.stat-band span {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ==========================================================================
   What we check
   ========================================================================== */

.check-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.check-card {
  position: relative;
  grid-column: span 3;
  padding: 22px 20px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.check-card:nth-child(5),
.check-card:nth-child(6),
.check-card:nth-child(7) { grid-column: span 4; }
.check-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.check-letter {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 9px;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
}
.check-card h3 {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.check-card p { color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.check-pts {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.check-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-md);
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.5;
}
.check-note .icon { width: 16px; height: 16px; color: var(--accent-dark); flex: none; margin-top: 1px; }

/* ==========================================================================
   How it works
   ========================================================================== */

.how-section { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 60px;
  align-items: start;
}
.how-copy p { max-width: 420px; color: var(--muted); font-size: 16px; line-height: 1.62; }
.how-steps { display: grid; gap: 18px; }
.how-steps li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  background: var(--ink);
  border-radius: 10px;
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
}
.how-steps h3 { font-size: 15px; font-weight: 750; margin-bottom: 4px; }
.how-steps p { color: var(--muted); font-size: 13px; line-height: 1.55; }

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.price-card.featured {
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(37, 99, 235, .3), transparent 70%),
    var(--ink);
  border-color: var(--ink);
  color: #f8fafc;
  box-shadow: var(--shadow-md);
}
.price-flag {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 5px 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 99px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.price-top { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.featured .price-top { border-bottom-color: rgba(255, 255, 255, .15); }
.price-top h3 {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.featured .price-top h3 { color: #93c5fd; }
.price-amount {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.price-amount span {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.featured .price-amount span { color: #a9bac6; }
.price-sub { margin-top: 8px; color: var(--muted); font-size: 13px; }
.featured .price-sub { color: #a9bac6; }
.price-card .check-list { margin-bottom: 28px; }
.price-card .btn { margin-top: auto; }
.featured .btn-accent { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--ink); box-shadow: none; }
.featured .btn-accent:hover { background: #dbeafe; border-color: #dbeafe; }
.checkout-fineprint {
  margin-top: 10px;
  text-align: center;
  color: #8fa1ad;
  font-size: 10.5px;
  letter-spacing: .02em;
}

.check-list { display: grid; gap: 12px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.45;
}
.check-list .icon {
  width: 17px;
  height: 17px;
  color: var(--accent);
  margin-top: 1px;
  stroke-width: 2.2;
}
.featured .check-list .icon { color: #93c5fd; }
.check-list li.muted { color: var(--muted); }
.featured .check-list li.muted { color: #9fb0bb; }

.pricing-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  text-align: center;
}
.pricing-note .icon { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 1px; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section { background: var(--paper-deep); border-top: 1px solid var(--line); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: start;
}
.faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 18px 2px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform .18s ease;
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details p {
  padding: 0 36px 20px 2px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.62;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 54px 0 36px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr .8fr 1fr;
  gap: 38px;
}
.footer-brand p {
  max-width: 300px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}
.footer-col h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-col li { margin-bottom: 2px; }
.footer-col a, .footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  color: var(--muted);
  font-size: 13px;
}
.footer-col a:hover, .footer-link:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.5;
}
.footer-note { max-width: 620px; }

/* ==========================================================================
   Results view
   ========================================================================== */

.report-view { padding: 34px 0 84px; min-height: calc(100vh - var(--header-h)); }

.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.report-title { display: grid; gap: 2px; }
.report-title .eyebrow { margin-bottom: 4px; }
.report-title h1 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.report-head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  gap: 22px;
  align-items: start;
}
.report-main { display: grid; gap: 18px; min-width: 0; }
.report-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }

/* Score card */

.score-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 28px;
  background:
    radial-gradient(380px 220px at 100% 0%, rgba(37, 99, 235, .08), transparent 68%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.ring-wrap {
  position: relative;
  width: 196px;
  height: 196px;
  margin-inline: auto;
}
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--line); stroke-width: 13; }
.ring-value {
  fill: none;
  stroke: var(--accent);
  stroke-width: 13;
  stroke-linecap: round;
  transition: stroke-dashoffset .8s cubic-bezier(.2, .8, .2, 1), stroke .3s ease;
}
.ring-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.ring-center strong {
  font-size: 58px;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.ring-center span {
  margin-top: 4px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.score-verdict { min-width: 0; }
.score-band {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.score-band .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.score-band.ready { background: var(--green-bg); border: 1px solid var(--green-line); color: var(--green); }
.score-band.close { background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-dark); }
.score-band.work { background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber); }
.score-band.risk { background: var(--red-bg); border: 1px solid var(--red-line); color: var(--red); }

.score-verdict h2 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
}
.score-verdict p { max-width: 500px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.score-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.score-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
}
.score-stats strong { font-weight: 800; }

/* Category card */

.cat-card,
.issues-card,
.export-card,
.stats-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.card-head h2, .card-head h3 {
  font-size: 16px;
  font-weight: 780;
  letter-spacing: -.015em;
}
.card-head p { margin-top: 3px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.card-head .mini-total {
  padding: 5px 9px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.cat-list { display: grid; gap: 14px; }
.cat-row { display: grid; gap: 6px; }
.cat-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.cat-top strong { font-size: 13px; font-weight: 650; }
.cat-top span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cat-bar {
  height: 7px;
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: 99px;
}
.cat-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--accent);
  transition: width .7s cubic-bezier(.2, .8, .2, 1), background .3s ease;
}

/* Issues */

.issues-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.issues-head h2 { font-size: 16px; font-weight: 780; }
.issues-head p { margin-top: 3px; color: var(--muted); font-size: 11.5px; }
.issue-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 99px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.issue-list { display: grid; gap: 11px; margin-top: 16px; }

.issue {
  padding: 16px 16px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: 12px;
}
.issue.is-critical { border-left-color: var(--red); background: linear-gradient(90deg, rgba(254, 242, 242, .62), #fff 34%); }
.issue.is-warning { border-left-color: var(--amber); background: linear-gradient(90deg, rgba(255, 251, 235, .62), #fff 34%); }
.issue.is-minor { border-left-color: var(--line-strong); }

.issue-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}
.sev {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sev.critical { background: var(--red-bg); border: 1px solid var(--red-line); color: #991b1b; }
.sev.warning { background: var(--amber-bg); border: 1px solid var(--amber-line); color: #92400e; }
.sev.minor { background: var(--paper-deep); border: 1px solid var(--line); color: var(--muted); }

.issue-head h3 {
  flex: 1 1 220px;
  font-size: 13.5px;
  font-weight: 730;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.issue-points {
  margin-left: auto;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.issue-evidence {
  margin-top: 7px;
  padding: 7px 9px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.5;
  word-break: break-word;
}
.issue-fix {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding: 14px;
  background: var(--surface-soft);
  border-radius: 8px;
}
.issue-fix div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.issue-fix dt {
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-top: 2px;
}
.issue-fix dd { color: var(--ink-3); font-size: 12.5px; line-height: 1.55; }

.issue-empty {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: var(--green-bg);
  border: 1px solid var(--green-line);
  border-radius: 10px;
  color: #166534;
  font-size: 13px;
  line-height: 1.5;
}
.issue-empty .icon { width: 18px; height: 18px; flex: none; margin-top: 1px; }

.passed {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 4px;
}
.passed summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.passed summary::-webkit-details-marker { display: none; }
.passed summary .icon { width: 14px; height: 14px; color: var(--green); }
.passed summary .chev { margin-left: auto; width: 13px; height: 13px; transition: transform .18s ease; }
.passed[open] summary .chev { transform: rotate(90deg); }
.passed ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 16px;
  padding: 4px 0 10px;
}
.passed li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}
.passed li .icon { width: 12px; height: 12px; color: var(--green); flex: none; margin-top: 2px; }

/* Export card */

.export-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(280px 180px at 100% 0%, rgba(37, 99, 235, .16), transparent 70%),
    var(--ink);
  border-color: var(--ink);
  color: #f8fafc;
  box-shadow: var(--shadow-md);
}
.export-card .eyebrow { color: #93c5fd; margin-bottom: 10px; }
.export-card h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.export-card .export-lede { color: #a9bac6; font-size: 12.5px; line-height: 1.55; }

.export-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 6px;
}
.export-price strong {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.export-price span { color: #a9bac6; font-size: 12px; }

.export-features {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.export-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #dbe4ec;
  font-size: 11.5px;
  line-height: 1.45;
}
.export-features .icon { width: 14px; height: 14px; color: #93c5fd; flex: none; margin-top: 1px; }

.name-field { display: grid; gap: 5px; margin-bottom: 12px; }
.name-field label {
  color: #a9bac6;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.name-field input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 9px;
  color: #fff;
  font-size: 13px;
}
.name-field input::placeholder { color: #93a6b5; }
.name-field input:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, .18);
}

.export-card .btn-accent {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  box-shadow: none;
}
.export-card .btn-accent:hover { background: #dbeafe; border-color: #dbeafe; }

.export-actions { display: grid; gap: 8px; }
.export-actions .btn { width: 100%; }

.license-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 10px;
  background: rgba(21, 128, 61, .16);
  border: 1px solid rgba(74, 222, 128, .35);
  border-radius: 8px;
  color: #bbf7d0;
  font-size: 10.5px;
  line-height: 1.4;
}
.license-badge .icon { width: 14px; height: 14px; flex: none; }

.export-fine {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 11px;
  color: #8fa1ad;
  font-size: 9.5px;
  line-height: 1.45;
}
.export-fine .icon { width: 12px; height: 12px; flex: none; margin-top: 1px; }

/* Stats side card */

.stats-card h3 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.stats-list { display: grid; gap: 9px; }
.stats-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.stats-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.stats-list dt { color: var(--muted); font-size: 11.5px; }
.stats-list dd { font-family: var(--mono); font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }

.privacy-mini {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
}
.privacy-mini .icon { width: 13px; height: 13px; color: var(--green); flex: none; margin-top: 1px; }

/* ==========================================================================
   Modal
   ========================================================================== */

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 0;
  padding: 0;
  animation: fade .18s ease both;
}

.modal {
  position: relative;
  width: min(100%, 500px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 38px 32px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  animation: modal-in .22s cubic-bezier(.2, .8, .2, 1) both;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}
.modal-close:hover { background: var(--paper); color: var(--ink); border-color: var(--line); }
.modal-close .icon { width: 18px; height: 18px; }

.modal h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.035em;
  margin: 4px 0 8px;
  max-width: 390px;
}
.modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.modal-lede { color: var(--muted); font-size: 13.5px; line-height: 1.55; max-width: 410px; }

.order-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  padding: 15px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.order-box strong { display: block; font-size: 13px; }
.order-box span { display: block; color: var(--muted); font-size: 10.5px; margin-top: 2px; }
.order-price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.order-price small { font-family: var(--sans); font-size: 9px; color: var(--muted); font-weight: 600; }

.modal .check-list { margin: 16px 0 18px; }
.modal .check-list li { font-size: 12.5px; }
.modal .btn-block { min-height: 52px; }

.modal-field { display: grid; gap: 5px; margin: 14px 0; }
.modal-field label {
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.modal-field input {
  min-height: 46px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-size: 13.5px;
}
.modal-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .13);
}

.checkout-note {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}
.modal-fine {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.processing {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 52px 0 30px;
  text-align: center;
}
.processing p { color: var(--muted); font-size: 13px; }
.processing strong { font-size: 15px; }

.spinner {
  display: block;
  width: 34px;
  height: 34px;
  border: 3px solid rgba(15, 23, 42, .16);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-bottom: 6px;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-dark);
}
.success-icon .icon { width: 28px; height: 28px; stroke-width: 2.4; }

.license-box {
  margin: 16px 0;
  padding: 14px;
  background: var(--ink);
  border: none;
  color: #f8fafc;
  border-radius: var(--radius-md);
}
.license-box .label {
  display: block;
  color: #94a3b8;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.license-key {
  display: block;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  word-break: break-all;
  color: #fff;
}
.license-meta { margin-top: 7px; color: #94a3b8; font-size: 10.5px; }

.success-actions { display: grid; gap: 8px; margin-top: 18px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  max-width: min(460px, calc(100vw - 32px));
  padding: 12px 16px;
  background: var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.45;
  transform: translateX(-50%);
  animation: toast-in .2s ease both;
}
.toast.is-error { background: #5d1f1b; }
.toast.is-success { background: #0b5b45; }

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1060px) {
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(40px, 5vw, 56px); }
  .check-card,
  .check-card:nth-child(5),
  .check-card:nth-child(6) { grid-column: span 6; }
  .check-card:nth-child(7) { grid-column: span 12; }
  .report-grid { grid-template-columns: minmax(0, 1fr) 330px; }
  .score-card { grid-template-columns: 184px minmax(0, 1fr); gap: 20px; padding: 24px; }
  .ring-wrap { width: 176px; height: 176px; }
  .ring-center strong { font-size: 52px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .container { width: min(100% - 36px, 760px); }
  .section { padding: 66px 0; }
  .hero { padding: 44px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { font-size: clamp(40px, 9.4vw, 58px); }
  .hero-sub { font-size: 16.5px; }
  .scan-card { padding: 20px; }
  .check-card,
  .check-card:nth-child(5),
  .check-card:nth-child(6) { grid-column: span 6; }
  .check-card:nth-child(7) { grid-column: span 12; }
  .how-grid, .faq-grid { grid-template-columns: 1fr; gap: 34px; }
  .how-copy, .faq-grid > div:first-child { position: static; }
  .footer-grid { grid-template-columns: 1.4fr .8fr .8fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .report-grid { grid-template-columns: 1fr; }
  .report-side {
    position: static;
    order: 2;
    grid-template-columns: 1fr;
  }
  .report-main { order: 1; }
  .export-card { max-width: 560px; }
  .report-head { align-items: flex-start; }
  .report-head-actions { justify-content: flex-end; }
}

@media (max-width: 680px) {
  .header-nav { display: none; }
  .brand-pill { display: none; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 48px); }
  .hero-actions .btn { width: 100%; }
  .trust-row { gap: 8px 16px; }
  .scan-tools { flex-wrap: wrap; }
  .scan-meta { width: 100%; order: 2; }
  .check-card,
  .check-card:nth-child(5),
  .check-card:nth-child(6),
  .check-card:nth-child(7) { grid-column: span 12; }
  .pricing-grid { grid-template-columns: 1fr; }
  .score-card { grid-template-columns: 1fr; gap: 18px; padding: 22px; text-align: center; }
  .ring-wrap { width: 168px; height: 168px; }
  .score-verdict p { margin-inline: auto; }
  .score-stats { justify-content: center; }
  .score-band { margin-inline: auto; }
  .issue-fix div { grid-template-columns: 1fr; gap: 2px; }
  .issue-fix dt { padding-top: 0; }
  .passed ul { grid-template-columns: 1fr; }
  .modal { padding: 34px 22px 24px; }
  .modal h2 { font-size: 26px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .report-head { flex-direction: column; gap: 12px; }
  .report-head-actions { width: 100%; }
  .report-head-actions .btn { flex: 1; }
}

@media (max-width: 430px) {
  .container { width: calc(100% - 28px); }
  .brand-text { font-size: 18px; }
  .plan-text small { display: none; }
  .plan-chip { padding: 6px 10px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 34px; letter-spacing: -.035em; }
  .resume-input { min-height: 230px; font-size: 13px; }
  .scan-card { padding: 16px; border-radius: var(--radius-lg); }
  .scan-head h2 { font-size: 14px; }
  .local-chip { font-size: 8.5px; }
  .stat-band strong { font-size: 14px; }
  .stat-band span { font-size: 8.5px; }
  .price-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-col:last-child { grid-column: 1 / -1; }
  .report-title h1 { font-size: 25px; }
  .cat-card, .issues-card, .export-card, .stats-card { padding: 18px; }
  .score-card { padding: 18px; }
  .issue { padding: 14px 12px 12px; }
  .issue-points { width: 100%; margin-left: 0; }
}
