/* AI Answer Ready — sample site */
:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --surface-2: #f0f2ef;
  --fg: #101413;
  --muted: #5a625f;
  --border: #e1e5e2;
  --accent: #0b8a63;
  --accent-2: #12b886;
  --accent-weak: #e2f4ec;
  --warn: #b45309;
  --warn-weak: #fdf0df;
  --bad: #c0362c;
  --bad-weak: #fbe9e7;
  --ink: #0b1513;
  --ink-2: #13221f;
  --ink-fg: #e9f2ef;
  --ink-muted: #9fb3ad;
  --ink-border: #24362f;
  --shadow: 0 1px 2px rgba(16, 20, 19, 0.04), 0 8px 24px rgba(16, 20, 19, 0.06);
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0f0e;
    --surface: #141917;
    --surface-2: #1d2421;
    --fg: #e9eeec;
    --muted: #9aa5a1;
    --border: #26302c;
    --accent: #2fd39c;
    --accent-2: #5ee3b5;
    --accent-weak: #123227;
    --warn: #f3a54a;
    --warn-weak: #33250f;
    --bad: #f27b70;
    --bad-weak: #3a1c19;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-feature-settings: "palt";
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: 0.02em;
}
a {
  color: var(--accent);
}
svg {
  display: block;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
h1,
h2,
h3 {
  word-break: auto-phrase;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.ib {
  display: inline-block;
}
.nowrap {
  white-space: nowrap;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* header */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 21, 19, 0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--ink-border);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
}
.logo {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink-fg);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #12b886, #0a6e50);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(18, 184, 134, 0.35);
}
.logo-mark svg {
  width: 18px;
  height: 18px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.nav a {
  color: var(--ink-muted);
  text-decoration: none;
}
.nav a:hover {
  color: #5ee3b5;
}
.sample-badge {
  font-size: 12px;
  font-weight: 700;
  color: #f3b06a;
  background: rgba(243, 165, 74, 0.14);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  letter-spacing: 0;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #12b886, #0b8a63);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(11, 138, 99, 0.35);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(11, 138, 99, 0.45);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn.ghost {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

/* hero (always dark ink) */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--ink-fg);
  padding: 80px 0 104px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      600px 380px at 85% 20%,
      rgba(18, 184, 134, 0.28),
      transparent 60%
    ),
    radial-gradient(
      500px 360px at 10% 110%,
      rgba(94, 227, 181, 0.14),
      transparent 60%
    );
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(var(--ink-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(
    ellipse at 70% 30%,
    #000 10%,
    transparent 70%
  );
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero .eyebrow {
  color: #5ee3b5;
}
.hero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  margin: 0 0 20px;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #5ee3b5, #b8f5a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  color: var(--ink-muted);
  font-size: 17px;
  margin: 0 0 28px;
  max-width: 520px;
}
form.check {
  display: flex;
  gap: 8px;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ink-border);
  border-radius: 14px;
  padding: 6px;
}
form.check input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink-fg);
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
}
form.check input::placeholder {
  color: #6f857e;
}
.hero .note {
  color: var(--ink-muted);
  font-size: 13px;
  margin-top: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .note span::before {
  content: "✓ ";
  color: #5ee3b5;
  font-weight: 800;
}

/* chat mock */
.chat {
  background: linear-gradient(180deg, var(--ink-2), #0f1b18);
  border: 1px solid var(--ink-border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  font-size: 14px;
  line-height: 1.7;
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.chat-top i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2b3d37;
}
.chat-top b {
  margin-left: 8px;
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
}
.bubble {
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.bubble.user {
  background: #20342e;
  margin-left: 48px;
  color: var(--ink-fg);
}
.bubble.ai {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-border);
  margin-right: 24px;
  color: #c9d8d3;
}
.bubble.ai ol {
  margin: 6px 0 0;
  padding-left: 20px;
}
.bubble.ai li {
  margin: 2px 0;
}
.bubble.ai li strong {
  color: #fff;
}
.verdict {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 10px 14px;
  background: rgba(242, 123, 112, 0.12);
  border: 1px solid rgba(242, 123, 112, 0.35);
  color: #ffb3aa;
  font-weight: 700;
}
.verdict svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.typing {
  display: inline-flex;
  gap: 4px;
  vertical-align: middle;
}
.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-muted);
  animation: blink 1.2s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.2s;
}
.typing i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}

/* strip */
.strip {
  margin-top: -44px;
  position: relative;
  z-index: 2;
}
.strip .grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.strip .item {
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.strip .item + .item {
  border-left: 1px solid var(--border);
}
.strip .num {
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0;
}
.strip .num small {
  font-size: 14px;
  margin-left: 2px;
}
.strip p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* sections */
section {
  padding: 88px 0;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  margin: 0 0 10px;
  font-weight: 800;
}
.section-head p {
  color: var(--muted);
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.step .n {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.step .n b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-weak);
  font-size: 16px;
  letter-spacing: 0;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 19px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.check-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.check-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-weak);
  color: var(--accent);
  margin-bottom: 14px;
}
.icon svg {
  width: 22px;
  height: 22px;
}
.check-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.check-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* fix preview */
.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.split h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  margin: 0 0 14px;
  font-weight: 800;
}
.split p {
  color: var(--muted);
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.ticks li {
  padding-left: 30px;
  position: relative;
  margin: 10px 0;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-weak)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312b886' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}
.code-card {
  background: var(--ink);
  color: var(--ink-fg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--ink-border);
}
.code-card .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink-border);
  font-size: 13px;
  color: var(--ink-muted);
}
.code-card .bar .copy {
  background: rgba(94, 227, 181, 0.14);
  color: #7eeac3;
  border-radius: 8px;
  padding: 3px 10px;
  font-weight: 700;
  white-space: nowrap;
}
.code-card pre {
  margin: 0;
  padding: 18px;
  font-size: 13px;
  line-height: 1.75;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
  word-break: break-all;
}
.code-card .k {
  color: #7eeac3;
}
.code-card .s {
  color: #f5d38a;
}
.code-card .c {
  color: #6f857e;
}

/* pricing */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}
.plan {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border: 2px solid var(--accent);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.plan .tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: linear-gradient(135deg, #12b886, #0b8a63);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 3px 12px;
}
.plan h3 {
  margin: 0;
  font-size: 17px;
}
.plan .amount {
  font-size: 40px;
  font-weight: 800;
  margin: 10px 0 2px;
  letter-spacing: 0;
  line-height: 1.2;
}
.plan .amount small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-left: 4px;
}
.plan .desc {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 6px;
}
.plan .ticks {
  flex: 1;
}
.plan .ticks li {
  font-size: 15px;
  margin: 8px 0;
}
.plan .btn {
  width: 100%;
  margin-top: 22px;
}
.price-note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 20px;
}

/* faq */
.qa {
  max-width: 760px;
  margin: 0 auto;
}
.qa details {
  border-bottom: 1px solid var(--border);
  padding: 18px 4px;
}
.qa summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.2s;
}
.qa details[open] summary::after {
  transform: rotate(45deg);
}
.qa details p {
  color: var(--muted);
  margin: 10px 0 0;
}

/* final cta + family */
.final {
  background: var(--ink);
  color: var(--ink-fg);
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px 260px at 50% 0%,
    rgba(18, 184, 134, 0.3),
    transparent 70%
  );
  pointer-events: none;
}
.final > * {
  position: relative;
}
.final h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 10px;
}
.final p {
  color: var(--ink-muted);
  margin: 0 0 26px;
}
.family-head {
  text-align: center;
  margin: 72px auto 24px;
}
.family-head h2 {
  font-size: 24px;
  margin: 0 0 6px;
}
.family-head p {
  color: var(--muted);
  margin: 0;
}
.family {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.family-unused {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--fg);
  display: block;
  transition: border-color 0.2s;
}
.family a:hover {
  border-color: var(--accent);
}
.family .role {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.family strong {
  display: block;
  font-size: 16px;
  margin: 4px 0 2px;
}
.family span {
  color: var(--muted);
  font-size: 13.5px;
}
.family .here {
  border: 2px solid var(--accent);
}

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
  margin-top: 88px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* ---------- report ---------- */
.report-hero {
  background: var(--ink);
  color: var(--ink-fg);
  padding: 48px 0 96px;
  position: relative;
  overflow: hidden;
}
.report-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px 300px at 90% 0%,
    rgba(18, 184, 134, 0.22),
    transparent 60%
  );
  pointer-events: none;
}
.report-hero .wrap {
  position: relative;
}
.report-hero .eyebrow {
  color: #5ee3b5;
}
.report-hero h1 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 6px;
}
.report-hero .meta {
  color: var(--ink-muted);
  font-size: 14px;
}
.report-body {
  margin-top: -60px;
  position: relative;
  max-width: 880px;
}
.score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.ring {
  width: 132px;
  height: 132px;
  position: relative;
}
.ring svg {
  width: 132px;
  height: 132px;
  transform: rotate(-90deg);
}
.ring .track {
  stroke: var(--surface-2);
}
.ring .val {
  stroke: var(--warn);
  stroke-linecap: round;
}
.ring .label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.1;
}
.ring .label b {
  font-size: 38px;
  font-weight: 800;
  color: var(--warn);
  letter-spacing: 0;
}
.ring .label small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.score h2 {
  margin: 0 0 6px;
  font-size: 19px;
}
.score p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}
.engines {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.engines span {
  font-size: 12.5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 10px;
  color: var(--muted);
}

h2.left {
  text-align: left;
  font-size: 21px;
  margin: 44px 0 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
h2.left .count {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.q-list {
  display: grid;
  gap: 10px;
}
.q {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}
.q .text {
  font-weight: 700;
}
.q .others {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13.5px;
}
.bar-mini {
  display: flex;
  gap: 4px;
}
.bar-mini i {
  width: 20px;
  height: 8px;
  border-radius: 4px;
  background: var(--surface-2);
}
.bar-mini i.on {
  background: var(--warn);
}
.q .hits {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.pill.ok {
  background: var(--accent-weak);
  color: var(--accent);
}
.pill.warn {
  background: var(--warn-weak);
  color: var(--warn);
}
.pill.bad {
  background: var(--bad-weak);
  color: var(--bad);
}

.fix {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 12px;
}
.fix.bad {
  border-left-color: var(--bad);
}
.fix.warn {
  border-left-color: var(--warn);
}
.fix.ok {
  border-left-color: var(--accent);
}
.fix .row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.fix h3 {
  margin: 0;
  font-size: 17px;
}
.fix p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.fix .code-card {
  margin-top: 14px;
  box-shadow: none;
  border-radius: 12px;
}
.locked {
  margin: 14px 0 0;
  padding: 14px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.locked svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.cta-box {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 32px 28px;
  margin: 44px 0 0;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-box h2 {
  margin: 0 0 18px;
  font-size: 21px;
}
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 15px;
  margin-bottom: 24px;
}
.compare th,
.compare td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare thead th {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}
.compare td:first-child {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.compare th:last-child,
.compare td:last-child {
  background: var(--accent-weak);
}
.compare thead th:last-child {
  color: var(--accent);
  border-radius: 10px 10px 0 0;
}
.compare td:last-child {
  color: var(--fg);
  font-weight: 700;
}
.compare tr:last-child td {
  border-bottom: 0;
}
.compare tr:last-child td:last-child {
  border-radius: 0 0 10px 10px;
}
.cta-box .btn {
  white-space: normal;
}

/* responsive */
@media (max-width: 900px) {
  .hero .wrap,
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .checks {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav a {
    display: none;
  }
}
@media (max-width: 640px) {
  section {
    padding: 64px 0;
  }
  .hero {
    padding: 44px 0 88px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero p.lead {
    font-size: 16px;
  }
  form.check {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .strip .grid3 {
    grid-template-columns: 1fr;
  }
  .strip .item + .item {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .strip .num {
    width: 72px;
  }
  .steps,
  .checks,
  .family {
    grid-template-columns: 1fr;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .bubble.user {
    margin-left: 24px;
  }
  .bubble.ai {
    margin-right: 0;
  }
  .score {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 24px 18px;
  }
  .engines {
    justify-content: center;
  }
  .q {
    grid-template-columns: 1fr;
  }
  .compare {
    font-size: 13px;
    table-layout: fixed;
  }
  .compare th,
  .compare td {
    padding: 10px 8px;
  }
  .compare th:first-child,
  .compare td:first-child {
    white-space: normal;
    width: 26%;
    font-size: 12px;
  }
  .cta-box {
    padding: 24px 12px;
  }
  .final {
    padding: 40px 18px;
  }
  .sample-badge {
    display: none;
  }
}

/* fixes */
.hero h1 { font-size: clamp(28px, 3.6vw, 40px); }
.family > a, .family > div {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  text-decoration: none; color: var(--fg); display: block;
}
.family > .here { border: 2px solid var(--accent); }
.family .role { background: none; border: 0; padding: 0; border-radius: 0; }
.report-hero .wrap { max-width: 880px; }
@media (max-width: 640px) { .hero h1 { font-size: 24px; } }
.nav a.lang { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 3px 12px; font-size: 13px; }
@media (max-width: 900px) { .nav a.lang { display: inline-block; } }
.plan-sub { display: block; text-align: center; margin-top: 12px; font-size: 14px; color: var(--muted); }
footer a { color: inherit; }
.legal { max-width: 760px; }
.legal h1 { font-size: 30px; margin: 0 0 8px; }
.legal dl { margin: 28px 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.legal dl > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--border); }
.legal dl > div:first-child { border-top: 0; }
.legal dt { color: var(--muted); font-size: 14px; }
.legal dd { margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 640px) { .legal dl > div { grid-template-columns: 1fr; gap: 4px; } }
.result-wait { text-align: center; padding: 72px 16px; }
.result-wait .spinner { width: 44px; height: 44px; margin: 0 auto 20px; border: 4px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.9s linear infinite; }
.result-wait .step { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.result-wait .note { color: var(--muted); margin: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-msg { text-align: center; padding: 64px 16px; }
.result-msg p { margin: 0 0 20px; }
.code-card button.copy { font: inherit; cursor: pointer; border: 0; }
.cta-box .again { margin: 14px 0 0; font-size: 14px; }
.cta-box .again a { color: inherit; }
.code-card pre { white-space: pre-wrap; overflow-wrap: anywhere; }
