@font-face {
  font-family: Lora;
  src: url("/fonts/Lora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Lora;
  src: url("/fonts/Lora-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --night: #151130;
  --neon: #c8befa;
  --aqua: #5eead4;
  --flamingo: #ff7eb6;
  --peach: #ffc4a3;
  --paper: #f6f3ee;
  --ink: #151130;
  --line: rgba(200, 190, 250, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
}

body {
  font-family: Lora, "Iowan Old Style", Palatino, serif;
  font-size: 1.125rem;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 3px;
}

.top, .foot, .wrap {
  width: auto;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  padding-top: 28px;
  padding-bottom: 8px;
}

.mark {
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  color: var(--neon);
}

.price {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 1.35rem;
  font-weight: 500;
}

.price s {
  font-size: 0.82rem;
  font-weight: 400;
  opacity: 0.55;
  margin-right: 8px;
}

.lang {
  margin-left: auto;
  display: flex;
  gap: 12px;
  font-family: Unbounded, sans-serif;
  font-size: 0.8rem;
}

.lang a { text-decoration: none; color: var(--neon); }
.lang a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }

.wrap { padding-bottom: 64px; }

h1 {
  font-family: "Playfair Display", Lora, serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 28px 0 16px;
  max-width: min(12ch, 100%);
  overflow-wrap: break-word;
}

h1.ask {
  max-width: 16em;
  font-size: clamp(2.05rem, 4.6vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lede {
  max-width: min(38rem, 100%);
  margin: 0;
  font-size: 1.2rem;
  color: var(--neon);
  overflow-wrap: break-word;
}

.sheet {
  background: var(--paper);
  color: var(--ink);
  margin-top: 36px;
  padding: 22px 22px 18px;
}

form.sheet { display: grid; gap: 16px; min-width: 0; }
form.sheet > * { min-width: 0; }

.field {
  display: grid;
  gap: 6px;
  font-family: Unbounded, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
}

.field input {
  font-family: Lora, serif;
  font-size: 1.3rem;
  padding: 8px 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(21, 17, 48, 0.35);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  width: 100%;
}

.field input:focus {
  outline: none;
  border-bottom-color: var(--ink);
  box-shadow: 0 3px 0 var(--neon);
}

.pill {
  font-family: Unbounded, sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
  background: var(--night);
  color: var(--neon);
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  justify-self: start;
  max-width: 100%;
  white-space: normal;
  cursor: pointer;
}

.pill:disabled { opacity: 0.6; cursor: wait; }

.now {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.now s {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(21, 17, 48, 0.45);
}

.now strong {
  font-size: 1.7rem;
  font-weight: 500;
}

.expert {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  width: 100%;
  margin: 0;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid rgba(21, 17, 48, 0.12);
  background: transparent;
  color: var(--ink);
  font-family: Lora, serif;
  font-size: 1.05rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.expert-price {
  font-family: Unbounded, sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 1rem;
}

.expert:disabled { opacity: 0.6; cursor: wait; }

.fine {
  margin: 0;
  font-size: 0.98rem;
}

.status {
  margin: 0;
  min-height: 1.4em;
}

.status.is-error { color: #8d2348; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

h2 {
  font-family: "Playfair Display", Lora, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.8rem;
  margin: 0 0 12px;
}

.split ul, .legal ul {
  margin: 0;
  padding-left: 1.1rem;
}

.split li, .legal li { margin: 0.35rem 0; }

ol.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

ol.steps li {
  counter-increment: step;
  position: relative;
  padding: 9px 0 9px 2.1rem;
  border-bottom: 1px solid var(--line);
}

ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 9px;
  font-family: Unbounded, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  color: var(--neon);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 8px 0 36px;
  font-size: 0.95rem;
  color: var(--neon);
}

.foot a { color: var(--neon); }

.legal {
  background: var(--paper);
  color: var(--ink);
  padding: 28px 26px 36px;
  margin: 28px 0 20px;
}

.legal h1 {
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  max-width: 18ch;
  margin-top: 0;
}

.legal p { margin: 0 0 16px; max-width: 62ch; }
.legal a { color: var(--ink); }

.report {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 28px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.report h1 {
  max-width: 100%;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin-top: 0;
}

.report-nav {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 10px 18px;
  margin: 0 0 26px;
  font-family: Unbounded, sans-serif;
  font-size: 0.74rem;
}

.report-nav a {
  justify-self: start;
  width: max-content;
  max-width: 100%;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}

.report-nav a[aria-current="page"] {
  border-bottom-color: var(--night);
}

.verdict {
  font-size: 1.35rem;
  margin: 0 0 8px;
}

.meta {
  margin: 0 0 22px;
  font-family: Unbounded, sans-serif;
  font-size: 0.78rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.stats strong {
  display: block;
  font-family: Unbounded, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.stats span { display: block; font-size: 0.92rem; }

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

.findings li {
  padding: 12px 0 12px 14px;
  border-top: 1px solid rgba(21, 17, 48, 0.12);
  border-left: 4px solid var(--aqua);
}

.findings li.fix { border-left-color: var(--flamingo); }
.findings li.note { border-left-color: var(--peach); }

.findings strong { display: block; }
.findings span { display: block; }

.pages { width: 100%; border-collapse: collapse; font-size: 0.95rem; table-layout: fixed; }
.pages th, .pages td {
  text-align: left;
  padding: 8px 8px 8px 0;
  border-bottom: 1px solid rgba(21, 17, 48, 0.12);
  vertical-align: top;
}
.pages th:first-child, .pages td:first-child { width: 54%; }
.pages th {
  font-family: Unbounded, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
}
.pages th, .pages td { overflow-wrap: anywhere; word-break: break-word; }
.keywords th:nth-child(1), .keywords td:nth-child(1) { width: 28%; }
.keywords th:nth-child(2), .keywords td:nth-child(2),
.keywords th:nth-child(3), .keywords td:nth-child(3) { width: 16%; }
.onpage th:nth-child(1), .onpage td:nth-child(1) { width: 34%; }
.onpage th:nth-child(2), .onpage td:nth-child(2),
.onpage th:nth-child(3), .onpage td:nth-child(3),
.onpage th:nth-child(4), .onpage td:nth-child(4) { width: 12%; }
.links th:nth-child(1), .links td:nth-child(1) { width: 50%; }
.links th:nth-child(2), .links td:nth-child(2),
.links th:nth-child(3), .links td:nth-child(3) { width: 25%; }
.competitors th:nth-child(1), .competitors td:nth-child(1) { width: 28%; }
.competitors th:nth-child(2), .competitors td:nth-child(2),
.competitors th:nth-child(3), .competitors td:nth-child(3),
.competitors th:nth-child(4), .competitors td:nth-child(4),
.competitors th:nth-child(5), .competitors td:nth-child(5) { width: 18%; }
.table-wrap { overflow-x: auto; }

@media (max-width: 720px) {
  .top, .foot, .wrap { padding-left: 20px; padding-right: 20px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  h1 { max-width: 100%; font-size: 2.45rem; }
  h1.ask { max-width: 100%; font-size: 1.95rem; }
  .pill { justify-self: stretch; text-align: center; font-size: 0.86rem; padding: 14px 16px; }
  .lede { font-size: 1.15rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .report { padding: 18px 16px 16px; }
  .report-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 0.72rem;
    gap: 8px 12px;
  }
  .pages { font-size: 0.75rem; }
  .links th:nth-child(1), .links td:nth-child(1) { width: 44%; }
  .links th:nth-child(2), .links td:nth-child(2) { width: 16%; }
  .links th:nth-child(3), .links td:nth-child(3) { width: 40%; }
  .keywords th:nth-child(4), .keywords td:nth-child(4) { width: 36%; }
  .competitors th:nth-child(4), .competitors td:nth-child(4) { display: none; }
  .competitors th:nth-child(1), .competitors td:nth-child(1) { width: 34%; }
  .competitors th:nth-child(2), .competitors td:nth-child(2) { width: 18%; }
  .competitors th:nth-child(3), .competitors td:nth-child(3) { width: 14%; }
  .competitors th:nth-child(5), .competitors td:nth-child(5) { width: 34%; }
  .keywords th:nth-child(1), .keywords td:nth-child(1) { width: 34%; }
  .keywords th:nth-child(2), .keywords td:nth-child(2),
  .keywords th:nth-child(3), .keywords td:nth-child(3) { width: 14%; }
  .keywords th:nth-child(4), .keywords td:nth-child(4) { width: 38%; }
}
