:root {
  color-scheme: light;
  --bg: #f3f5f4;
  --paper: #fbfbf7;
  --surface: #ffffff;
  --surface-2: #edf2ef;
  --ink: #171c1f;
  --muted: #5d6870;
  --quiet: #7a858c;
  --line: #d5ddde;
  --line-strong: #9aa9ad;
  --blue: #1d5873;
  --green: #26745f;
  --orange: #b45b37;
  --yellow: #e8be4d;
  --danger: #9c3e30;
  --ok: #2f8068;
  --shadow: 0 22px 55px rgba(21, 32, 38, 0.12);
  --shadow-soft: 0 12px 28px rgba(21, 32, 38, 0.08);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(29, 88, 115, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 88, 115, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f7f8f5 0, var(--bg) 420px, #eef3f1 100%);
  background-size: 28px 28px, 28px 28px, auto;
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
label:focus-visible {
  outline: 3px solid rgba(232, 190, 77, 0.88);
  outline-offset: 3px;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 251, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
}

.brand img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 8px 16px rgba(29, 88, 115, 0.2));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  padding: 9px 10px;
  border-radius: 6px;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(29, 88, 115, 0.09);
  color: var(--ink);
}

.nav-links .nav-account {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.nav-links .nav-account:hover,
.nav-links .nav-account.is-active,
.nav-links > .is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.hero {
  padding: 54px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.hero-copy {
  position: sticky;
  top: 92px;
  padding-top: 4px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.summary {
  margin: 20px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.method-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  max-width: 520px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.method-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  background: linear-gradient(90deg, transparent, rgba(232, 190, 77, 0.34), transparent);
  animation: scan-pass 4.8s ease-in-out infinite;
}

.method-strip span {
  position: relative;
  z-index: 1;
  padding: 14px 12px;
  background: rgba(251, 251, 247, 0.94);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.trust-row span {
  border: 1px solid rgba(154, 169, 173, 0.75);
  background: rgba(255, 255, 255, 0.66);
  padding: 9px 11px;
  border-radius: 6px;
  color: #44545c;
  font-size: 13px;
  font-weight: 760;
}

.review-panel {
  margin: 26px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.section-head + .review-panel {
  max-width: 780px;
  margin-bottom: 22px;
}

.review-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 1681 / 935;
  object-fit: cover;
  background: var(--surface-2);
}

.review-panel figcaption {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.review-panel strong {
  color: var(--ink);
}

.tool-card,
.result-card,
.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tool-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
  border-color: #a8b8bd;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 250, 0.98)),
    var(--surface);
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 5px solid var(--blue);
}

.tool-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.tool-heading h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
}

.tool-heading .eyebrow {
  margin: 0;
}

.tool-privacy {
  margin: 0;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.drop-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 286px;
  overflow: hidden;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(rgba(38, 116, 95, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 116, 95, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, #fbfbf7, #edf5f2);
  background-size: 18px 18px, 18px 18px, auto;
  cursor: pointer;
  text-align: center;
  padding: 30px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.drop-zone::before,
.drop-zone::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  pointer-events: none;
}

.drop-zone::before {
  top: 18px;
  left: 18px;
  border-top: 3px solid var(--orange);
  border-left: 3px solid var(--orange);
}

.drop-zone::after {
  right: 18px;
  bottom: 18px;
  border-right: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
}

.drop-zone.is-dragover {
  border-color: var(--green);
  box-shadow: inset 0 0 0 3px rgba(38, 116, 95, 0.16);
  transform: translateY(-1px);
}

.drop-zone input {
  display: none;
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border: 1px solid #16495f;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(29, 88, 115, 0.25);
}

.drop-title {
  display: block;
  font-size: 21px;
  font-weight: 850;
}

.drop-meta {
  display: block;
  max-width: 370px;
  margin: 9px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.tool-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.tool-facts span {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.preview-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.preview-row[hidden],
.result-card[hidden] {
  display: none;
}

.preview-row img {
  width: 88px;
  height: 66px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: #eaf0f2;
}

.file-name {
  display: block;
  font-weight: 850;
}

.file-meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.icon-button,
.primary-button,
.secondary-button {
  border: 0;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.icon-button {
  width: 38px;
  height: 38px;
  background: #e6ecef;
  color: #46545d;
  font-family: var(--mono);
  font-weight: 850;
}

.icon-button:hover {
  background: #d8e2e6;
  color: var(--ink);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.primary-button {
  width: 100%;
  margin-top: 16px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 28px rgba(23, 28, 31, 0.16);
}

.hero-actions .primary-button {
  width: auto;
  margin-top: 0;
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.primary-button:hover:not(:disabled) {
  background: var(--blue);
}

.secondary-button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.status[data-type="ready"],
.status[data-type="loading"] {
  color: var(--blue);
  font-weight: 800;
}

.status[data-type="success"] {
  color: var(--ok);
  font-weight: 800;
}

.status[data-type="error"] {
  padding: 10px 12px;
  border-left: 3px solid var(--orange);
  background: #fff2eb;
  color: #8d3219;
  font-weight: 800;
}

.result-card {
  margin-top: 18px;
  padding: 20px;
  box-shadow: none;
  background: #fbfbf7;
}

.result-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.result-kicker {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.result-label {
  margin: 4px 0 0;
  font-size: 30px;
  line-height: 1.1;
}

.probability {
  min-width: 110px;
  text-align: right;
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 900;
  color: var(--orange);
}

.meter {
  height: 12px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid rgba(154, 169, 173, 0.72);
  border-radius: 999px;
  background: #e5ecef;
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--ok), var(--yellow), var(--orange));
  transition: width 0.35s ease;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.detail dd {
  margin: 4px 0 0;
  font-weight: 850;
}

.notes {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: 50px 0;
}

.section-alt {
  background: rgba(237, 242, 239, 0.82);
  border-block: 1px solid rgba(154, 169, 173, 0.36);
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 31px;
}

.section p,
.section li {
  color: var(--muted);
  line-height: 1.75;
}

.evidence-band {
  padding-top: 18px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(251, 251, 247, 0.76);
}

.evidence-grid h2 {
  margin: 10px 0 0;
  max-width: 400px;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.05;
}

.evidence-tag {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.evidence-list {
  display: grid;
  gap: 10px;
}

.evidence-list p {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.evidence-list p:last-child {
  border-bottom: 0;
}

.evidence-list strong {
  color: var(--blue);
}

.evidence-list span {
  color: var(--muted);
  line-height: 1.55;
}

.workflow-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.workflow-step,
.content-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.workflow-step {
  box-shadow: var(--shadow-soft);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
}

.content-card {
  box-shadow: none;
}

.content-card h3,
.workflow-step h3 {
  margin: 0 0 8px;
}

.content-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 850;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.prose {
  max-width: 780px;
}

.prose h2 + p,
.prose h2 + ul {
  margin-top: 0;
}

.callout {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 5px solid var(--orange);
  background: #fff7ed;
  color: #5c3a25;
}

.callout p {
  margin: 0;
  color: inherit;
}

.panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.mini-list p {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.mini-list strong {
  display: block;
  color: var(--ink);
}

.link-stack {
  display: grid;
  gap: 10px;
}

.link-stack a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.link-stack a:hover {
  text-decoration: underline;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid #0e3448;
  background: #102f41;
  color: #fff;
}

.account-main {
  min-height: calc(100vh - 246px);
  padding: 52px 0 70px;
}

.account-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 34px;
  align-items: end;
}

.account-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.account-intro h1 {
  font-size: 48px;
}

.account-intro .summary {
  margin: 0;
  font-size: 16px;
}

.account-shell {
  margin-top: 34px;
}

.account-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 280px;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.account-loading[hidden],
.auth-layout[hidden],
.account-workspace[hidden] {
  display: none;
}

.loading-mark {
  width: 16px;
  height: 16px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: account-spin 0.8s linear infinite;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: stretch;
}

.auth-panel {
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-heading h2 {
  margin: 0;
  font-size: 28px;
}

.auth-heading p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.google-button {
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.google-button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.email-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 850;
}

.email-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.email-control input {
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.email-control input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(29, 88, 115, 0.14);
}

.email-control .primary-button {
  width: auto;
  margin: 0;
  white-space: nowrap;
}

.auth-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.auth-status[data-type="error"] {
  color: var(--danger);
}

.auth-status[data-type="success"] {
  color: var(--ok);
}

.account-notes {
  padding: 28px 0 28px 28px;
  border-left: 1px solid var(--line-strong);
}

.account-notes h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.08;
}

.account-notes dl {
  margin: 0;
}

.account-notes dl div {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.account-notes dt {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.account-notes dd {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.account-workspace {
  border-top: 5px solid var(--green);
}

.account-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
}

.account-summary h2 {
  margin: 0;
  font-size: 30px;
}

.account-summary p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
}

.account-summary .secondary-button {
  min-width: 112px;
}

.credit-ledger {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-bottom: 1px solid #0f3d32;
  background: var(--green);
  color: #fff;
}

.credit-ledger div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.credit-ledger span {
  max-width: 140px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
  text-transform: uppercase;
}

.credit-ledger strong {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.82;
}

.credit-ledger p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.credit-ledger .credit-ledger-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.credit-ledger-action .secondary-button {
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
  color: #fff;
}

.pricing-main {
  padding-top: 52px;
}

.pricing-intro {
  max-width: 900px;
}

.pricing-intro h1 {
  max-width: 840px;
  font-size: 52px;
}

.pricing-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pricing-rules span {
  padding: 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 18px;
  border: 1px solid var(--line-strong);
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.price-card.is-featured {
  border-color: var(--green);
  border-top-color: var(--green);
  background: #f7fbf8;
}

.value-flag {
  position: absolute;
  top: -29px;
  right: 10px;
  padding: 6px 9px;
  border-radius: 5px 5px 0 0;
  background: var(--green);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.price-line {
  display: flex;
  align-items: end;
  gap: 9px;
  margin-bottom: 20px;
}

.price-line strong {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 0.9;
}

.price-line span {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.price-card h2 {
  margin: 0;
  font-size: 21px;
}

.price-card > p:not(.eyebrow) {
  min-height: 72px;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.price-card dl {
  margin: auto 0 0;
  border-top: 1px solid var(--line);
}

.price-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.price-card dt {
  color: var(--muted);
}

.price-card dd {
  margin: 0;
  font-family: var(--mono);
  font-weight: 850;
}

.price-card .primary-button,
.price-card .secondary-button {
  width: 100%;
  margin-top: 18px;
}

.price-card .secondary-button:disabled,
.price-card .primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.pricing-status {
  min-height: 24px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.pricing-status[data-type="error"] {
  color: var(--danger);
}

.pricing-policy-band {
  margin-top: 46px;
  padding: 36px 0;
  border-block: 1px solid #154d3e;
  background: var(--green);
  color: #fff;
}

.policy-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.policy-grid .eyebrow {
  color: #d7efe7;
}

.policy-grid h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.08;
}

.policy-list p {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.policy-list span {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-faq h3 {
  margin: 26px 0 6px;
}

.pricing-faq p {
  margin-top: 0;
}

.payment-main {
  min-height: calc(100vh - 103px);
  display: grid;
  align-items: center;
  padding: 60px 0;
}

.payment-result {
  max-width: 760px;
}

.payment-result h1 {
  font-size: 52px;
}

.payment-balance {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding: 24px;
  border-block: 1px solid #0f3d32;
  background: var(--green);
  color: #fff;
}

.payment-balance span {
  max-width: 150px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.payment-balance strong {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.82;
}

.payment-status {
  min-height: 24px;
  color: var(--muted);
  line-height: 1.6;
}

.activity-section {
  padding-top: 30px;
}

.activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.activity-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.activity-list li div {
  display: grid;
  gap: 4px;
}

.activity-list li span {
  color: var(--muted);
  font-size: 13px;
}

.activity-list li b {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 18px;
}

.activity-list li b[data-positive="true"] {
  color: var(--ok);
}

.activity-list .activity-empty {
  justify-content: flex-start;
  color: var(--muted);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  text-decoration: none;
}

@keyframes scan-pass {
  0%,
  18% {
    transform: translateX(-60px);
  }

  58%,
  100% {
    transform: translateX(560px);
  }
}

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

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-grid,
  .two-col,
  .footer-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    position: static;
  }

  .hero-grid {
    gap: 22px;
    min-width: 0;
  }

  .tool-card,
  .drop-zone,
  .method-strip,
  .trust-row {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  h1 {
    font-size: 46px;
  }

  .workflow-grid,
  .card-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .evidence-list p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .account-intro,
  .auth-layout,
  .policy-grid {
    grid-template-columns: 1fr;
  }

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

  .account-intro .eyebrow {
    margin-bottom: -12px;
  }

  .account-intro .summary {
    margin-top: 0;
  }

  .account-notes {
    padding: 24px 0 0;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(366px, calc(100% - 24px));
    margin-left: 12px;
    margin-right: auto;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .nav-links a {
    padding: 8px;
    text-align: center;
  }

  h1 {
    font-size: 38px;
  }

  .summary {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-grid {
    display: block;
  }

  .hero-grid > * + * {
    margin-top: 22px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-copy .method-strip,
  .hero-copy .trust-row {
    display: none;
  }

  .tool-facts {
    grid-template-columns: 1fr;
  }

  .tool-heading {
    display: grid;
    align-items: start;
    justify-content: start;
    gap: 8px;
  }

  .tool-privacy {
    text-align: left;
  }

  .tool-card,
  .evidence-grid {
    padding: 16px;
  }

  .drop-zone {
    min-height: 236px;
    padding: 24px 18px;
  }

  .preview-row {
    grid-template-columns: 72px 1fr auto;
    gap: 10px;
  }

  .preview-row img {
    width: 72px;
    height: 58px;
  }

  .result-top {
    display: grid;
  }

  .probability {
    min-width: 0;
    text-align: left;
  }

  .account-main {
    padding-top: 38px;
  }

  .account-intro h1 {
    font-size: 38px;
  }

  .auth-panel {
    padding: 20px 16px;
  }

  .email-control,
  .credit-ledger {
    grid-template-columns: 1fr;
  }

  .email-control .primary-button {
    width: 100%;
  }

  .account-summary {
    align-items: start;
    flex-direction: column;
  }

  .account-summary .secondary-button {
    width: 100%;
  }

  .credit-ledger {
    padding: 22px 16px;
  }

  .credit-ledger .credit-ledger-action,
  .payment-balance {
    align-items: flex-start;
    flex-direction: column;
  }

  .credit-ledger-action .secondary-button {
    width: 100%;
  }

  .credit-ledger strong {
    font-size: 56px;
  }

  .pricing-main {
    padding-top: 38px;
  }

  .pricing-intro h1,
  .payment-result h1 {
    font-size: 38px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .price-card > p:not(.eyebrow) {
    min-height: 0;
  }

  .policy-list p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
