:root {
  --canvas: oklch(0.972 0.013 84);
  --surface: oklch(0.987 0.008 84 / 0.92);
  --surface-strong: oklch(0.992 0.006 84 / 0.98);
  --paper: oklch(0.968 0.013 84);
  --paper-deep: oklch(0.94 0.017 82);
  --ink: oklch(0.23 0.032 253);
  --muted: oklch(0.46 0.018 247);
  --line: oklch(0.82 0.018 78);
  --line-strong: oklch(0.69 0.03 70 / 0.5);
  --accent: oklch(0.69 0.18 45);
  --accent-deep: oklch(0.58 0.18 42);
  --accent-soft: oklch(0.95 0.028 48);
  --navy: oklch(0.33 0.062 251);
  --navy-deep: oklch(0.27 0.05 251);
  --navy-soft: oklch(0.95 0.02 244);
  --success: oklch(0.76 0.062 147);
  --warning: oklch(0.9 0.04 55);
  --shadow: 0 18px 45px oklch(0.23 0.032 253 / 0.11);
  --paper-shadow: 0 22px 40px oklch(0.23 0.032 253 / 0.13);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

.is-hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Public Sans", system-ui, sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 14% 18%, oklch(0.92 0.03 48 / 0.28), transparent 18rem),
    radial-gradient(circle at 86% 12%, oklch(0.92 0.02 240 / 0.22), transparent 18rem),
    radial-gradient(circle at 76% 88%, oklch(0.89 0.02 60 / 0.18), transparent 16rem),
    linear-gradient(180deg, oklch(0.992 0.007 84), var(--canvas));
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(transparent 97%, oklch(0.88 0.015 84 / 0.42) 100%),
    linear-gradient(90deg, transparent 97%, oklch(0.88 0.015 84 / 0.26) 100%);
  background-size: 100% 32px, 32px 100%;
  content: "";
  opacity: 0.6;
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 22% 16%, oklch(0.74 0.03 65 / 0.18), transparent 0.13rem),
    radial-gradient(circle at 81% 21%, oklch(0.78 0.02 58 / 0.15), transparent 0.11rem),
    radial-gradient(circle at 44% 64%, oklch(0.75 0.02 70 / 0.11), transparent 0.1rem),
    radial-gradient(circle at 70% 80%, oklch(0.73 0.02 55 / 0.13), transparent 0.12rem);
  background-size: 14rem 14rem, 18rem 18rem, 15rem 15rem, 19rem 19rem;
  content: "";
  mix-blend-mode: multiply;
  opacity: 0.7;
  pointer-events: none;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  width: min(1500px, calc(100% - 1.8rem));
  margin: 0 auto;
  padding: 1rem 0 2rem 4.8rem;
}

.page-gutter {
  position: absolute;
  left: 0;
  top: 1.2rem;
  bottom: 1.4rem;
  width: 3.6rem;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 1rem;
  color: var(--muted);
}

.gutter-rule {
  width: 1px;
  height: 11rem;
  background:
    linear-gradient(var(--muted), var(--muted)) top center / 1px 100% no-repeat,
    repeating-linear-gradient(180deg, transparent 0 11px, oklch(0.44 0.018 247 / 0.45) 11px 12px);
}

.gutter-label,
.gutter-note {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gutter-note {
  color: var(--accent-deep);
  font-style: italic;
}

.site-header,
.locale-suggestion,
.problem-strip,
.process-board,
.pain-board,
.examples-board,
.audience-board,
.faq-board,
.closing-board {
  background: var(--surface);
  border: 1px solid oklch(0.85 0.016 80 / 0.96);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0.9rem;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 0.85rem 1.3rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.locale-suggestion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 0.8rem;
  padding: 0.85rem 1rem 0.9rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, oklch(0.998 0.005 84 / 0.98), oklch(0.955 0.025 48 / 0.95)),
    radial-gradient(circle at 98% 8%, oklch(0.88 0.045 48 / 0.18), transparent 10rem);
}

.locale-suggestion-copy {
  display: grid;
  gap: 0.18rem;
}

.locale-suggestion-copy p {
  margin: 0;
}

.locale-suggestion-copy p:last-child {
  color: oklch(0.29 0.02 250);
  font-size: 0.94rem;
  font-weight: 650;
}

.locale-suggestion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.locale-suggestion .button {
  min-height: 2.85rem;
  padding: 0.68rem 1rem;
  font-size: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, var(--navy), var(--navy-deep));
  color: var(--surface-strong);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.2);
}

.brand-mark svg {
  width: 1.95rem;
  height: 1.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-wordmark {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  font-size: 0.96rem;
  font-weight: 700;
}

.header-side {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-language-menu {
  position: relative;
  flex: 0 1 20rem;
}

.site-language-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.52rem 0.72rem 0.52rem 0.95rem;
  border: 1px solid oklch(0.82 0.018 80);
  border-radius: 0.85rem;
  background: var(--surface-strong);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.24);
  cursor: pointer;
  list-style: none;
}

.site-language-trigger::-webkit-details-marker {
  display: none;
}

.site-language-meta {
  display: grid;
  min-width: 0;
  gap: 0.04rem;
}

.site-language-label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.site-language-current {
  overflow: hidden;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-language-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-language-caret {
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-0.14rem) rotate(45deg);
  transition: transform 180ms ease;
}

.site-language-menu[open] .site-language-trigger {
  border-color: oklch(0.72 0.03 80);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.24),
    0 14px 26px oklch(0.23 0.032 253 / 0.08);
}

.site-language-menu[open] .site-language-caret {
  transform: translateY(0.1rem) rotate(225deg);
}

.site-language-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  width: min(28rem, calc(100vw - 2.4rem));
  padding: 0.68rem;
  border: 1px solid oklch(0.82 0.018 80);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, oklch(0.997 0.004 84 / 0.99), oklch(0.985 0.009 84 / 0.98)),
    radial-gradient(circle at 100% 0%, oklch(0.92 0.024 48 / 0.12), transparent 10rem);
  box-shadow: var(--paper-shadow);
}

.site-language-link {
  display: grid;
  gap: 0.14rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.78rem;
  background: oklch(0.998 0.004 84);
  text-decoration: none;
}

.site-language-link-label {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-language-link-code {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-language-link.is-active {
  border-color: var(--navy);
  background: var(--navy-soft);
}

.header-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid oklch(0.82 0.018 80);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-nav a,
.button,
.site-language-trigger,
.site-language-link,
.locale-suggestion .button,
.pill-button,
.result-link {
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

main {
  display: grid;
  gap: 0.9rem;
}

.hero-board {
  position: relative;
  display: grid;
  grid-template-areas: "copy upload";
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(0.9rem, 2vw, 1.75rem);
  align-items: start;
  padding: clamp(1rem, 2.8vw, 1.8rem) 0 0.2rem;
}

.hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
  padding: 0.9rem 0 0 1rem;
}

.eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--accent-deep);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow::before,
.eyebrow::after {
  position: absolute;
  top: -0.48rem;
  width: 0.9rem;
  height: 0.9rem;
  border-top: 2px solid var(--accent);
  content: "";
}

.eyebrow::before {
  left: -1.2rem;
  border-left: 2px solid var(--accent);
}

.eyebrow::after {
  right: -1.2rem;
  border-right: 2px solid var(--accent);
}

.hero-copy h1,
.section-heading h2,
.checker-heading h2,
.examples-lead h2,
.audience-lead h2,
.faq-lead h2,
.closing-copy h2 {
  margin: 0;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-wrap: balance;
}

.hero-copy h1 {
  max-width: 8.5ch;
  font-size: clamp(3.05rem, 4.7vw, 4.85rem);
  letter-spacing: -0.03em;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.headline-mark {
  position: relative;
  display: inline-block;
}

.headline-mark::after {
  position: absolute;
  left: 0.03em;
  right: 0.05em;
  bottom: 0.06em;
  height: 0.08em;
  background: var(--accent);
  content: "";
}

.intro {
  max-width: 33rem;
  margin: 1rem 0 0;
  color: oklch(0.28 0.022 250);
  font-size: 1rem;
}

.geo-answer {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.1rem;
  padding: 1rem;
  border: 1px solid oklch(0.78 0.025 76 / 0.82);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, oklch(0.996 0.006 84 / 0.98), oklch(0.968 0.017 82 / 0.94)),
    radial-gradient(circle at 95% 10%, oklch(0.92 0.04 48 / 0.2), transparent 8rem);
  box-shadow: 0 14px 28px oklch(0.23 0.032 253 / 0.08);
}

.geo-answer h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  line-height: 1.25;
}

.geo-answer p {
  margin: 0;
  color: oklch(0.29 0.02 250);
  font-size: 0.92rem;
}

.geo-answer ul {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.geo-answer li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.geo-answer li::before {
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.geo-answer .geo-updated {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.locale-card {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.35rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, oklch(0.996 0.004 84 / 0.98), oklch(0.985 0.009 84 / 0.96)),
    radial-gradient(circle at 90% 10%, oklch(0.91 0.028 48 / 0.14), transparent 9rem);
}

.locale-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.locale-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.locale-card h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(1.9rem, 2.4vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

.locale-card p:last-of-type {
  margin: 0;
  color: oklch(0.29 0.02 250);
}

.locale-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.locale-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid oklch(0.82 0.018 80);
  border-radius: 999px;
  background: oklch(0.998 0.004 84);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.locale-pill.is-active {
  background: var(--navy);
  color: var(--surface-strong);
}

.locale-cta {
  width: fit-content;
}

.access-card {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, oklch(0.996 0.004 84 / 0.98), oklch(0.985 0.009 84 / 0.96)),
    radial-gradient(circle at 92% 10%, oklch(0.92 0.02 244 / 0.12), transparent 8rem);
}

.access-copy h2 {
  margin: 0.15rem 0 0;
  color: var(--navy);
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(1.9rem, 2.5vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

.access-copy p:last-child {
  margin: 0.45rem 0 0;
  color: oklch(0.29 0.02 250);
}

.access-form {
  display: grid;
  gap: 0.75rem;
}

.access-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
}

.access-field {
  display: grid;
  gap: 0.45rem;
}

.access-field input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid oklch(0.82 0.018 80);
  border-radius: 0.85rem;
  background: oklch(0.998 0.004 84);
  color: var(--ink);
  font: inherit;
}

.access-submit {
  width: 100%;
}

.access-verify,
.access-logout {
  width: 100%;
}

.access-note,
.access-feedback {
  margin: 0;
  font-size: 0.88rem;
}

.access-note {
  color: var(--muted);
}

.access-feedback {
  padding: 0.75rem 0.9rem;
  border-radius: 0.8rem;
  background: oklch(0.93 0.03 152);
  color: oklch(0.4 0.08 152);
  font-weight: 700;
}

.access-feedback.is-hidden {
  display: none;
}

.access-session,
.access-history {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.access-session {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.access-session-summary,
.access-session-detail,
.access-history-state,
.history-item-meta,
.history-item-detail {
  margin: 0;
}

.access-session-summary {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.access-session-detail,
.access-history-state,
.history-item-meta,
.history-item-detail {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.access-history-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
}

.access-history-head h3 {
  margin: 0.15rem 0 0;
  color: var(--navy);
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.access-history-list {
  display: grid;
  gap: 0.65rem;
}

.history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background:
    linear-gradient(180deg, oklch(0.996 0.004 84 / 0.98), oklch(0.988 0.008 84 / 0.97)),
    radial-gradient(circle at 88% 10%, oklch(0.92 0.02 244 / 0.08), transparent 8rem);
}

.history-item-copy {
  display: grid;
  gap: 0.2rem;
}

.history-item-link {
  min-width: 9.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.82rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(180deg, oklch(0.72 0.18 46), var(--accent-deep));
  color: var(--surface-strong);
  box-shadow: 0 12px 24px oklch(0.58 0.18 42 / 0.2);
}

.button-secondary,
.pill-button {
  background: var(--surface-strong);
  border-color: oklch(0.78 0.02 78);
  color: var(--navy);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 600;
}

.hero-facts li {
  position: relative;
  padding-left: 1.05rem;
}

.hero-facts li::before {
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.46rem;
  height: 0.46rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
}

.hero-upload {
  grid-area: upload;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid oklch(0.85 0.016 80 / 0.96);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, oklch(0.992 0.007 84 / 0.95), oklch(0.983 0.01 84 / 0.94)),
    radial-gradient(circle at 82% 12%, oklch(0.92 0.02 244 / 0.14), transparent 12rem),
    radial-gradient(circle at 14% 16%, oklch(0.91 0.028 48 / 0.16), transparent 10rem);
  box-shadow: var(--shadow);
}

.hero-upload .checker-heading {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.hero-upload .checker-heading h2 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 3vw, 3.15rem);
}

.hero-upload .checker-heading p {
  max-width: 48ch;
}

.hero-upload .upload-grid {
  max-width: none;
  margin-top: 0.8rem;
}

.hero-upload .upload-card {
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1.22fr);
  align-items: start;
  gap: 1rem;
}

.hero-upload .upload-drop {
  min-height: 15rem;
}

.hero-upload .upload-primary {
  min-height: 5.2rem;
  font-size: 1.2rem;
}

.hero-upload .diagnostic-panel {
  margin-top: 0.85rem;
}

.eyebrow-plain::before,
.eyebrow-plain::after {
  display: none;
}

.hero-proof {
  grid-area: proof;
  position: relative;
  min-height: 27.8rem;
  margin-top: 0;
  padding: 0.8rem 1.4rem 1.5rem;
}

.hero-proof::before,
.hero-proof::after {
  position: absolute;
  content: "";
}

.hero-proof::before {
  inset: 1.35rem 0.95rem 1.1rem 2rem;
  border: 1px solid oklch(0.85 0.016 80 / 0.92);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, oklch(0.992 0.007 84 / 0.92), oklch(0.972 0.012 84 / 0.8)),
    radial-gradient(circle at 17% 21%, oklch(0.91 0.025 50 / 0.2), transparent 12rem);
  box-shadow: 0 28px 50px oklch(0.23 0.032 253 / 0.08);
}

.hero-proof::after {
  left: 4rem;
  right: 2.8rem;
  bottom: 1.2rem;
  height: 0.9rem;
  border-radius: 999px;
  background: oklch(0.35 0.02 252 / 0.12);
  filter: blur(18px);
}

.stage-caption {
  position: absolute;
  margin: 0;
  color: oklch(0.33 0.018 250 / 0.9);
  z-index: 4;
  font-size: 0.88rem;
  font-style: italic;
}

.stage-caption::after {
  position: absolute;
  top: 50%;
  width: 2.7rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.stage-caption-source {
  left: 6rem;
  top: 0.15rem;
}

.stage-caption-source::after {
  left: 100%;
  margin-left: 0.55rem;
}

.stage-caption-risk {
  left: 26.4rem;
  top: 0.45rem;
}

.stage-caption-risk::after {
  right: 100%;
  margin-right: 0.55rem;
}

.stage-caption-device {
  right: 5.4rem;
  top: 0.1rem;
}

.stage-caption-device::after {
  right: 100%;
  margin-right: 0.55rem;
}

.proof-paper,
.proof-device {
  position: absolute;
  z-index: 2;
}

.proof-paper {
  background:
    radial-gradient(circle at 12% 16%, oklch(0.92 0.03 46 / 0.18), transparent 2rem),
    radial-gradient(circle at 88% 84%, oklch(0.9 0.02 50 / 0.14), transparent 2.4rem),
    linear-gradient(180deg, oklch(0.988 0.008 84 / 0.98), oklch(0.955 0.013 82 / 0.96));
  border: 1px solid oklch(0.79 0.02 78 / 0.82);
  border-radius: 0.7rem;
  box-shadow: var(--paper-shadow);
}

.proof-source {
  top: 1.8rem;
  left: 1.7rem;
  width: 21.8rem;
  min-height: 18.8rem;
  padding: 1.9rem 1.55rem 1.35rem;
  transform: rotate(-2.8deg);
}

.proof-corner {
  position: absolute;
  width: 1rem;
  height: 1rem;
}

.proof-corner-top {
  top: 0.9rem;
  left: 0.95rem;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.proof-corner-bottom {
  right: 0.95rem;
  bottom: 0.95rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.source-chapter,
.source-title {
  margin: 0;
  text-align: center;
  font-family: "Libre Baskerville", Georgia, serif;
}

.source-chapter {
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.source-title {
  margin-top: 0.35rem;
  font-size: 0.96rem;
  font-style: italic;
}

.source-lines {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.45;
}

.source-formula {
  width: fit-content;
  margin: 0.4rem auto 0;
  padding: 0.08rem 0.35rem;
  border: 2px solid var(--accent);
}

.page-number {
  margin: 0.8rem 0 0;
  text-align: center;
  font-family: "Libre Baskerville", Georgia, serif;
}

.proof-risk {
  top: 2.3rem;
  left: 24.2rem;
  z-index: 4;
  width: 14.15rem;
  min-height: 17rem;
  padding: 0.95rem 0.95rem 1rem;
}

.proof-risk-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
}

.risk-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: end;
  margin-top: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.summary-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-chip {
  display: inline-flex;
  align-items: center;
  margin: 0.32rem 0 0;
  padding: 0.32rem 0.6rem;
  border-radius: 0.55rem;
  background: var(--warning);
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

.summary-count {
  margin: 0.35rem 0 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.risk-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.risk-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: oklch(0.994 0.006 84 / 0.94);
}

.risk-list span,
.risk-list strong,
.risk-list small {
  display: block;
}

.risk-list span {
  font-weight: 700;
}

.risk-list small {
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.risk-list strong {
  display: inline-grid;
  place-items: center;
  min-width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.42rem;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.82rem;
}

.risk-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--navy);
  font-weight: 700;
}

.proof-device {
  top: 0.75rem;
  right: 1.15rem;
  width: 17.9rem;
  z-index: 1;
}

.device-shell {
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, oklch(0.24 0.014 253), oklch(0.16 0.012 253)),
    linear-gradient(180deg, oklch(0.32 0.015 253 / 0.1), transparent);
  padding: 1.05rem 1.02rem 1.4rem;
  box-shadow: 0 24px 40px oklch(0.22 0.03 253 / 0.2);
  transform: rotate(3.4deg);
}

.device-screen {
  min-height: 19.2rem;
  padding: 1.35rem 1.15rem 1rem;
  border-radius: 0.8rem;
  background: oklch(0.988 0.008 84);
  box-shadow: inset 0 0 0 1px oklch(0.83 0.015 80);
}

.device-copy,
.device-meta {
  margin: 1rem 0 0;
  font-family: "Libre Baskerville", Georgia, serif;
}

.device-copy {
  font-size: 0.84rem;
  line-height: 1.48;
}

.formula {
  text-align: center;
  font-style: italic;
}

.device-meta {
  color: var(--muted);
  font-size: 0.74rem;
  text-align: center;
}

.device-brand {
  margin: 0.6rem 0 0;
  color: oklch(0.87 0.008 84 / 0.84);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: lowercase;
}

.stage-note,
.stage-stamp {
  position: absolute;
  margin: 0;
  color: var(--accent-deep);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.15;
}

.stage-note::before {
  position: absolute;
  background: var(--accent);
  content: "";
}

.note-left {
  left: 19.3rem;
  top: 9.65rem;
  max-width: 4.8rem;
}

.note-left::before {
  left: 4.35rem;
  top: 1.05rem;
  width: 2rem;
  height: 1px;
}

.note-bottom {
  left: 28.2rem;
  bottom: 2.6rem;
  padding: 0.45rem 0.55rem;
  border: 2px solid var(--accent);
  transform: rotate(-3deg);
}

.note-bottom::before {
  left: -2.4rem;
  top: -1.1rem;
  width: 2.4rem;
  height: 1px;
  transform: rotate(-40deg);
  transform-origin: right center;
}

.note-right {
  right: 0.9rem;
  top: 12.3rem;
  max-width: 5.5rem;
  text-align: center;
}

.note-right::before {
  right: 100%;
  top: 0.85rem;
  width: 2.5rem;
  height: 1px;
}

.stage-stamp {
  right: 1.55rem;
  bottom: 1.4rem;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid oklch(0.53 0.07 235 / 0.7);
  border-radius: 0.35rem;
  color: var(--navy);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.problem-strip,
.process-board,
.examples-board,
.audience-board,
.faq-board,
.closing-board {
  border-radius: var(--radius-lg);
}

.problem-strip {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: -0.1rem;
  padding: 0.9rem 1.25rem;
}

.problem-badge {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--accent);
  border-radius: 0.7rem;
  color: var(--accent-deep);
  font-size: 1.1rem;
  font-weight: 800;
}

.problem-title {
  margin: 0;
  color: var(--accent-deep);
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.problem-copy {
  margin: 0;
  color: oklch(0.29 0.02 250);
}

.process-board {
  display: grid;
  grid-template-columns: minmax(540px, 1.14fr) minmax(320px, 0.86fr);
  overflow: hidden;
}

.workflow-only {
  grid-template-columns: 1fr;
}

.pain-board,
.examples-board,
.faq-board {
  border-radius: var(--radius-lg);
}

.pain-board {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
}

.pain-lead {
  padding: 1.2rem 1.25rem;
  border-right: 1px solid var(--line);
}

.pain-lead h2 {
  margin: 0.2rem 0 0;
  color: var(--navy);
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(2.25rem, 3.7vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

.pain-lead p:last-child {
  max-width: 40ch;
  margin: 0.7rem 0 0;
  color: oklch(0.29 0.02 250);
  font-size: 0.92rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.pain-card {
  min-height: 100%;
  padding: 1.1rem 1.15rem 1.2rem;
  background: var(--surface);
}

.pain-number {
  margin: 0;
  color: var(--accent-deep);
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
}

.pain-card h3 {
  margin: 0.45rem 0 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.35;
}

.pain-card p:last-child {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.workflow-panel,
.checker-panel,
.audience-lead,
.faq-lead,
.closing-copy,
.closing-actions,
.access-card,
.closing-stamps,
.closing-illustration {
  position: relative;
}

.workflow-panel {
  padding: 1.1rem 1.25rem 1.1rem;
}

.section-heading h2,
.examples-lead h2,
.closing-copy h2,
.audience-lead h2 {
  max-width: 12ch;
  font-size: clamp(2.45rem, 4.15vw, 3.95rem);
  line-height: 0.92;
}

.section-subcopy {
  max-width: 34ch;
  margin: 0.65rem 0 0;
  color: oklch(0.29 0.02 250);
  font-size: 0.93rem;
  line-height: 1.5;
}

.workflow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 1.15rem;
  padding-top: 1.25rem;
}

.workflow-track::before {
  position: absolute;
  top: 0.75rem;
  left: 0.72rem;
  right: 0.68rem;
  height: 1px;
  background: linear-gradient(90deg, var(--navy) 0 99%, transparent 100%);
  content: "";
}

.workflow-step {
  position: relative;
  padding-top: 1.1rem;
}

.workflow-number {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--surface-strong);
  font-weight: 700;
}

.workflow-glyph {
  position: relative;
  display: block;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.7rem;
  color: var(--navy);
}

.workflow-glyph::before,
.workflow-glyph::after {
  position: absolute;
  content: "";
}

.workflow-glyph-file::before {
  inset: 0.12rem 0.3rem 0.18rem 0.45rem;
  border: 2px solid currentColor;
  border-radius: 0.22rem;
}

.workflow-glyph-file::after {
  right: 0.32rem;
  top: 0.12rem;
  width: 0.78rem;
  height: 0.78rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.workflow-glyph-search::before {
  left: 0.18rem;
  top: 0.18rem;
  width: 1.24rem;
  height: 1.24rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.workflow-glyph-search::after {
  right: 0.18rem;
  bottom: 0.28rem;
  width: 0.9rem;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: right center;
}

.workflow-glyph-book::before,
.workflow-glyph-book::after {
  top: 0.3rem;
  width: 0.92rem;
  height: 1.42rem;
  border: 2px solid currentColor;
  border-radius: 0.18rem;
}

.workflow-glyph-book::before {
  left: 0.26rem;
}

.workflow-glyph-book::after {
  right: 0.26rem;
}

.workflow-glyph-tool::before {
  left: 0.2rem;
  top: 1.08rem;
  width: 1.75rem;
  height: 0.2rem;
  background: currentColor;
  transform: rotate(-38deg);
}

.workflow-glyph-tool::after {
  right: 0.28rem;
  top: 0.24rem;
  width: 0.86rem;
  height: 0.86rem;
  border: 2px solid currentColor;
  border-radius: 0.15rem;
  transform: rotate(45deg);
}

.workflow-glyph-check::before {
  left: 0.16rem;
  top: 0.16rem;
  width: 1.72rem;
  height: 1.72rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.workflow-glyph-check::after {
  left: 0.58rem;
  top: 0.96rem;
  width: 0.82rem;
  height: 0.4rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.workflow-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.checker-panel {
  padding: 1.05rem 1.25rem 1.1rem;
}

.checker-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr);
  align-items: end;
  gap: 1rem;
}

.checker-heading h2 {
  color: var(--navy);
  max-width: 11ch;
  font-size: clamp(2rem, 3.25vw, 3.05rem);
}

.checker-heading p {
  margin: 0;
  max-width: 38ch;
  font-size: 0.94rem;
}

.checker-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.checker-input,
.result-board,
.upload-card,
.upload-result {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
}

.checker-input {
  padding: 0.85rem;
}

.upload-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  margin-top: 0.95rem;
  max-width: 62rem;
}

.diagnostic-panel {
  margin-top: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, oklch(0.992 0.006 84 / 0.92), oklch(0.984 0.01 84 / 0.92));
  overflow: hidden;
}

.diagnostic-panel summary {
  position: relative;
  padding: 1rem 1.1rem;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.diagnostic-panel summary::-webkit-details-marker {
  display: none;
}

.diagnostic-panel summary::after {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  color: var(--navy);
  font-size: 1rem;
  transform: translateY(-50%);
  content: "+";
}

.diagnostic-panel[open] summary::after {
  content: "−";
}

.diagnostic-body {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--line);
}

.diagnostic-intro {
  max-width: 48ch;
  margin: 0.95rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.checker-grid-diagnostic {
  margin-top: 0.9rem;
}

.upload-card,
.upload-result {
  padding: 1rem;
}

.upload-card {
  display: grid;
  gap: 1rem;
  background:
    linear-gradient(180deg, oklch(0.994 0.005 84 / 0.98), oklch(0.984 0.011 84 / 0.98)),
    radial-gradient(circle at 8% 16%, oklch(0.91 0.028 48 / 0.16), transparent 11rem);
}

.upload-copy {
  display: grid;
  gap: 0.6rem;
}

.upload-copy h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

.upload-copy .field-help {
  margin: 0;
  max-width: 54ch;
}

.upload-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.05rem 0 0;
  padding: 0;
  list-style: none;
}

.upload-facts li {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid oklch(0.81 0.018 78);
  border-radius: 999px;
  background: oklch(0.995 0.004 84 / 0.96);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}

.upload-controls {
  display: grid;
  gap: 0.9rem;
}

.upload-drop {
  position: relative;
  display: grid;
  gap: 0.6rem;
  min-height: 13.4rem;
  padding: 1.3rem 1.3rem 1.4rem;
  border: 1px dashed oklch(0.73 0.03 75);
  border-radius: 0.9rem;
  background:
    linear-gradient(180deg, oklch(0.997 0.004 84), oklch(0.982 0.011 84)),
    radial-gradient(circle at 15% 18%, oklch(0.91 0.028 48 / 0.16), transparent 8rem);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

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

.upload-step {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.85rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.upload-drop-label {
  color: var(--navy);
  max-width: 13ch;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.88;
}

html:is([lang="zh-CN"], [lang="ja"], [lang="ko"], [lang="hi"]) body {
  font-family:
    "PingFang SC",
    "Hiragino Sans",
    "Apple SD Gothic Neo",
    "Kohinoor Devanagari",
    "Noto Sans CJK SC",
    "Noto Sans Devanagari",
    "Public Sans",
    sans-serif;
}

html:is([lang="zh-CN"], [lang="ja"], [lang="ko"], [lang="hi"])
  :is(
    .hero-copy h1,
    .section-heading h2,
    .checker-heading h2,
    .examples-lead h2,
    .audience-lead h2,
    .faq-lead h2,
    .closing-copy h2,
    .access-copy h2,
    .upload-copy h3,
    .upload-drop-label
  ) {
  font-family:
    "PingFang SC",
    "Hiragino Sans",
    "Apple SD Gothic Neo",
    "Kohinoor Devanagari",
    "Noto Sans CJK SC",
    "Noto Sans Devanagari",
    "Public Sans",
    sans-serif;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.06;
}

html[lang="hi"] :is(.hero-copy h1, .checker-heading h2, .upload-copy h3, .upload-drop-label) {
  line-height: 1.12;
}

.upload-browse-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 3.75rem;
  margin-top: 0.15rem;
  padding: 0.95rem 1.3rem;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, oklch(0.39 0.06 250), var(--navy-deep));
  color: var(--surface-strong);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px oklch(0.27 0.05 251 / 0.18);
}

.upload-file-name,
.upload-detail {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.upload-file-name {
  padding-top: 0.7rem;
  border-top: 1px solid oklch(0.85 0.016 80 / 0.9);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.upload-drop-help,
.upload-action-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.upload-drop:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 16px 28px oklch(0.23 0.032 253 / 0.08);
}

.upload-drop.is-dragover,
.upload-drop.is-selected {
  border-color: var(--accent);
  box-shadow: 0 18px 34px oklch(0.58 0.18 42 / 0.12);
}

.upload-drop.is-invalid {
  border-color: oklch(0.68 0.17 30);
}

.upload-actions {
  display: grid;
  gap: 0.8rem;
}

.upload-progress {
  display: grid;
  gap: 0.45rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: oklch(0.994 0.006 84 / 0.96);
}

.upload-progress.is-hidden {
  display: none;
}

.upload-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.upload-progress-text {
  margin: 0;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.upload-progress-track {
  position: relative;
  overflow: hidden;
  height: 0.7rem;
  border-radius: 999px;
  background: oklch(0.92 0.012 84);
}

.upload-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, oklch(0.72 0.18 46), var(--accent-deep));
  transition: width 180ms ease;
}

.upload-result.is-hidden {
  display: none;
}

.upload-status-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.upload-primary {
  width: 100%;
  min-height: 4.9rem;
  font-size: 1.14rem;
  letter-spacing: 0.01em;
  justify-content: center;
}

.upload-primary:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  box-shadow: none;
}

.upload-download.is-hidden {
  display: none;
}

.upload-result {
  background: linear-gradient(180deg, oklch(0.995 0.004 84 / 0.98), oklch(0.986 0.008 84 / 0.98));
}

.upload-inline-preview {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.upload-inline-preview.is-hidden {
  display: none;
}

.upload-inline-preview-head {
  display: grid;
  gap: 0.45rem;
}

.upload-inline-preview-head h3 {
  margin: 0.2rem 0 0;
  color: var(--navy);
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(1.75rem, 2.3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.upload-inline-preview-note,
.upload-inline-preview-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.upload-inline-preview-footnote.is-hidden {
  display: none;
}

.upload-preview-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, oklch(0.996 0.004 84 / 0.98), oklch(0.988 0.008 84 / 0.97)),
    radial-gradient(circle at 12% 18%, oklch(0.91 0.028 48 / 0.1), transparent 8rem);
}

.upload-preview-nav,
.upload-preview-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.upload-preview-button {
  min-height: 3.4rem;
  min-width: 8.25rem;
}

.upload-preview-counter {
  margin: 0;
  min-width: 8rem;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.upload-preview-jump {
  display: inline-grid;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.upload-preview-jump select {
  min-width: 10rem;
  min-height: 3.1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid oklch(0.82 0.018 80);
  border-radius: 0.85rem;
  background: oklch(0.998 0.004 84);
  color: var(--ink);
  font: inherit;
}

.upload-preview-toggle {
  min-height: 3.4rem;
}

.upload-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.upload-preview-grid.is-expanded {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.upload-preview-card {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 100%;
  max-width: 54rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, oklch(0.995 0.004 84 / 0.98), oklch(0.986 0.008 84 / 0.98)),
    radial-gradient(circle at 14% 12%, oklch(0.91 0.028 48 / 0.12), transparent 9rem);
  box-shadow: 0 18px 32px oklch(0.23 0.032 253 / 0.06);
}

.upload-preview-grid.is-expanded .upload-preview-card {
  max-width: none;
}

.upload-preview-card.is-review {
  background:
    linear-gradient(180deg, oklch(0.996 0.005 84), oklch(0.958 0.017 45 / 0.7)),
    radial-gradient(circle at 86% 14%, oklch(0.92 0.02 244 / 0.08), transparent 10rem);
}

.upload-preview-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.upload-preview-card-head h4,
.upload-preview-score,
.upload-preview-paragraphs p,
.upload-preview-body-note,
.upload-preview-cache,
.upload-preview-flags {
  margin: 0;
}

.upload-preview-card-head h4 {
  margin-top: 0.28rem;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.upload-preview-card-head strong {
  display: inline-grid;
  place-items: center;
  min-width: 3rem;
  min-height: 1.75rem;
  padding: 0.18rem 0.45rem;
  border-radius: 0.45rem;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
}

.upload-preview-score {
  color: oklch(0.29 0.02 250);
  font-size: 0.84rem;
  line-height: 1.45;
}

.upload-preview-cache {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.9rem;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 700;
}

.upload-preview-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.upload-preview-flags span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.upload-preview-flags em {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.22rem 0.5rem;
  border: 1px solid oklch(0.82 0.018 80);
  border-radius: 999px;
  background: oklch(0.996 0.004 84 / 0.98);
  color: var(--navy);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
}

.upload-preview-paragraphs {
  display: grid;
  gap: 0.65rem;
}

.upload-preview-paragraphs p {
  color: oklch(0.25 0.023 250);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.62;
}

.upload-preview-figure {
  margin: 0;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background:
    linear-gradient(180deg, oklch(0.98 0.012 84), oklch(0.95 0.018 82)),
    radial-gradient(circle at 16% 14%, oklch(0.89 0.03 48 / 0.12), transparent 6rem);
}

.upload-preview-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.6rem;
  box-shadow: 0 14px 28px oklch(0.23 0.032 253 / 0.08);
}

.upload-preview-body-note {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
}

.upload-detail {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  color: oklch(0.28 0.022 250);
}

.examples-board {
  padding: 1.15rem 1.25rem 1.25rem;
}

.examples-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  align-items: end;
  gap: 1rem;
}

.examples-lead h2 {
  color: var(--navy);
}

.examples-lead p {
  max-width: 44ch;
  margin: 0;
  color: oklch(0.29 0.02 250);
  font-size: 0.95rem;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
  align-items: start;
}

.example-card {
  display: grid;
  gap: 0.95rem;
  min-height: 100%;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, oklch(0.995 0.004 84 / 0.98), oklch(0.986 0.008 84 / 0.98)),
    radial-gradient(circle at 12% 10%, oklch(0.91 0.028 48 / 0.12), transparent 10rem);
  grid-template-rows: auto 1fr;
}

.example-figure,
.example-figure img {
  display: block;
}

.example-figure {
  margin: 0;
}

.example-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  box-shadow: 0 18px 32px oklch(0.23 0.032 253 / 0.08);
}

.example-figure figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.example-copy {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.example-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.1rem;
}

.example-copy p {
  margin: 0;
  color: oklch(0.29 0.02 250);
  font-size: 0.9rem;
}

.example-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.1rem 0 0;
  padding: 0;
  list-style: none;
}

.example-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.68rem;
  border: 1px solid oklch(0.82 0.018 80);
  border-radius: 999px;
  background: oklch(0.996 0.004 84 / 0.98);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
}

.example-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.example-pane {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 17.2rem;
  padding: 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid var(--line);
}

.example-pane.is-before {
  background:
    linear-gradient(180deg, oklch(0.96 0.016 82), oklch(0.925 0.024 80)),
    radial-gradient(circle at 18% 14%, oklch(0.89 0.03 48 / 0.18), transparent 6rem);
}

.example-pane.is-after {
  background:
    linear-gradient(180deg, oklch(0.998 0.003 84), oklch(0.985 0.006 84)),
    radial-gradient(circle at 75% 12%, oklch(0.92 0.02 244 / 0.1), transparent 7rem);
}

.comparison-label,
.comparison-title,
.comparison-heading,
.comparison-lines span,
.comparison-columns span,
.comparison-ghost span {
  display: block;
}

.comparison-label {
  margin: 0;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-title {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.comparison-heading {
  margin: 0;
  color: oklch(0.22 0.026 250);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1rem;
  line-height: 1.2;
}

.comparison-lines,
.comparison-ghost {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.15rem;
}

.comparison-lines-tight {
  gap: 0.38rem;
}

.comparison-lines span,
.comparison-columns span {
  color: oklch(0.28 0.02 250);
  font-size: 0.84rem;
  line-height: 1.45;
}

.comparison-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.15rem;
}

.comparison-columns div {
  display: grid;
  gap: 0.42rem;
}

.comparison-formula {
  width: fit-content;
  padding: 0.18rem 0.42rem;
  border: 1.5px solid var(--accent);
  border-radius: 0.42rem;
  background: oklch(0.995 0.01 84 / 0.98);
  color: var(--navy);
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
}

.comparison-ghost span {
  width: fit-content;
  padding: 0.22rem 0.45rem;
  border: 1px dashed oklch(0.56 0.04 235 / 0.6);
  border-radius: 0.42rem;
  color: var(--muted);
  font-size: 0.8rem;
  background: oklch(0.99 0.006 84 / 0.7);
}

.field-label,
.result-label,
.issue-type {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

textarea {
  width: 100%;
  min-height: 14rem;
  margin-top: 0.55rem;
  padding: 0.95rem;
  border: 1px solid oklch(0.82 0.018 80);
  border-radius: 0.75rem;
  background:
    linear-gradient(180deg, oklch(0.998 0.004 84), oklch(0.99 0.006 84)),
    linear-gradient(transparent 97%, oklch(0.9 0.012 84 / 0.35) 100%);
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.field-help {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

textarea:focus-visible,
.button:focus-visible,
.pill-button:focus-visible,
.site-nav a:focus-visible,
.site-language-link:focus-visible,
.result-link:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1rem;
  border-radius: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.pill-button.is-active {
  border-color: var(--navy);
  background: var(--navy-soft);
}

.run-button {
  min-width: 11.4rem;
}

.result-board {
  padding: 0.9rem;
}

.result-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.result-link {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.result-state {
  display: inline-flex;
  align-items: center;
  margin: 0.35rem 0 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.result-state.is-warning {
  background: var(--warning);
  color: var(--accent-deep);
}

.result-state.is-clear {
  background: oklch(0.93 0.03 152);
  color: oklch(0.44 0.08 152);
}

.result-state.is-working {
  background: oklch(0.92 0.02 232);
  color: var(--navy);
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.result-metric {
  padding: 0.85rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: oklch(0.994 0.006 84 / 0.96);
}

.result-score-box {
  background: linear-gradient(180deg, oklch(0.996 0.004 84), oklch(0.978 0.011 84));
}

.result-score,
.result-number {
  margin: 0.35rem 0 0;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.result-score {
  font-size: 3rem;
}

.result-score small {
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.result-number {
  font-size: 2.25rem;
}

.issue-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.issue-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: oklch(0.994 0.006 84 / 0.96);
}

.issue-item p {
  margin: 0.3rem 0 0;
}

.issue-item strong {
  display: inline-grid;
  place-items: center;
  min-width: 3rem;
  min-height: 1.75rem;
  padding: 0.18rem 0.45rem;
  border-radius: 0.45rem;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
}

.issue-item-human {
  background: linear-gradient(180deg, oklch(0.996 0.005 84), oklch(0.958 0.017 45 / 0.75));
}

.audience-board {
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(0, 1.6fr) minmax(240px, 0.9fr) auto;
  align-items: stretch;
  overflow: hidden;
}

.audience-lead,
.quote-card,
.seal-stamp {
  padding: 1.15rem 1.25rem;
}

.audience-lead {
  border-right: 1px solid var(--line);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-grid article,
.quote-card {
  padding: 1.15rem 1.2rem;
  border-right: 1px solid var(--line);
}

.audience-grid h3,
.quote-card p,
.quote-card cite {
  margin: 0;
}

.audience-grid h3 {
  font-size: 1rem;
}

.audience-grid p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.quote-card {
  display: grid;
  align-content: center;
  gap: 0.55rem;
  margin: 0;
  color: oklch(0.29 0.02 250);
}

.quote-card p {
  font-size: 0.98rem;
}

.quote-card cite {
  color: var(--muted);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.9rem;
  font-style: italic;
}

.seal-stamp,
.seal-stamp-small {
  display: grid;
  place-items: center;
}

.seal-stamp span,
.seal-stamp-small span {
  display: inline-grid;
  place-items: center;
  width: 6.4rem;
  aspect-ratio: 1;
  padding: 1rem;
  border: 2px solid oklch(0.48 0.06 230 / 0.7);
  border-radius: 50%;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.faq-board {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.faq-lead {
  padding: 1.2rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: transparent;
}

.faq-grid details {
  min-height: 100%;
  padding: 1rem 1.25rem 1.05rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.faq-grid details:first-child {
  border-top: 0;
}

.faq-grid summary {
  position: relative;
  max-width: 56rem;
  padding-right: 1.4rem;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-grid summary::after {
  position: absolute;
  right: 0;
  top: 0;
  color: var(--navy);
  font-size: 1.05rem;
  content: "+";
}

.faq-grid details[open] summary::after {
  content: "−";
}

.faq-grid p {
  max-width: 66ch;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.closing-board {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) minmax(280px, 1fr) minmax(210px, auto);
  gap: 1.2rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
}

.closing-board .access-card {
  grid-column: 2 / -1;
  margin-top: 0;
}

.closing-illustration {
  display: grid;
  gap: 0.8rem;
  justify-items: start;
}

.book-stack {
  position: relative;
  display: block;
  width: 5.8rem;
  height: 3rem;
}

.book-stack::before,
.book-stack::after {
  position: absolute;
  left: 0;
  right: 0;
  border: 2px solid oklch(0.48 0.05 230 / 0.7);
  border-radius: 0.3rem 1.2rem 1.2rem 0.3rem;
  content: "";
}

.book-stack::before {
  top: 0.2rem;
  height: 1rem;
  transform: rotate(3deg);
}

.book-stack::after {
  bottom: 0.25rem;
  height: 1rem;
  transform: rotate(-3deg);
}

.closing-note {
  color: var(--muted);
  font-size: 0.92rem;
  font-style: italic;
}

.closing-copy p {
  max-width: 42ch;
  margin: 0.55rem 0 0;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.closing-stamps {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  gap: 0.8rem;
  justify-items: start;
}

.paper-ticket {
  display: inline-block;
  width: 2.8rem;
  height: 3.6rem;
  border: 1px dashed oklch(0.75 0.02 76);
  border-radius: 0.35rem;
  background:
    linear-gradient(180deg, oklch(0.998 0.004 84), oklch(0.976 0.012 84)),
    radial-gradient(circle at 20% 14%, oklch(0.9 0.02 48 / 0.16), transparent 1rem);
}

.seal-stamp-small span {
  width: 5.2rem;
  font-size: 0.62rem;
}

.site-footer {
  padding: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.site-header a:hover,
.site-language-trigger:hover,
.site-language-link:hover,
.button:hover,
.pill-button:hover,
.result-link:hover {
  transform: translateY(-1px);
}

@media (max-width: 1120px) {
  .hero-board {
    grid-template-areas:
      "copy"
      "upload";
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .hero-copy {
    padding-left: 0.4rem;
  }
}

@media (max-width: 1180px) {
  .hero-upload .upload-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .page-shell {
    padding-left: 0;
  }

  .page-gutter {
    display: none;
  }

  .process-board,
  .pain-board,
  .examples-lead,
  .faq-board {
    grid-template-columns: 1fr;
  }

  .pain-lead {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .checker-heading {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .closing-board {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .closing-board .access-card,
  .closing-stamps {
    grid-column: 1;
    grid-row: auto;
  }

  .closing-actions {
    justify-content: flex-start;
  }

  .closing-stamps {
    justify-items: start;
  }
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .header-side {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .site-language-menu {
    flex-basis: 18rem;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .locale-suggestion {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .locale-suggestion-actions {
    justify-content: flex-start;
  }

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

  .workflow-track::before {
    display: none;
  }

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

  .upload-preview-grid.is-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
  }

  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 0.8rem 0.95rem;
  }

  .site-nav {
    display: none;
  }

  .header-side {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    justify-content: stretch;
  }

  .site-language-menu {
    width: 100%;
  }

  .site-language-menu[open] {
    grid-column: 1 / -1;
  }

  .site-language-panel {
    position: static;
    width: 100%;
    margin-top: 0.55rem;
  }

  .locale-suggestion {
    margin-top: 0.55rem;
    padding: 0.82rem;
  }

  .hero-board {
    grid-template-areas:
      "upload"
      "copy";
  }

  .hero-copy {
    padding-left: 0.1rem;
  }

  .hero-copy h1 {
    max-width: 8.8ch;
    font-size: clamp(3rem, 10.8vw, 4.4rem);
  }

  .hero-line {
    white-space: normal;
  }

  .intro {
    max-width: 34rem;
    margin-top: 0.1rem;
    font-size: 0.97rem;
  }

  .example-comparison {
    grid-template-columns: 1fr;
  }

  .hero-upload {
    padding: 1rem;
  }

  .hero-upload .checker-heading {
    gap: 0.45rem;
  }

  .hero-upload .checker-heading h2 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero-upload .checker-heading p {
    font-size: 0.9rem;
  }

  .hero-upload .upload-card,
  .hero-upload .checker-grid-diagnostic {
    grid-template-columns: 1fr;
  }

  .hero-upload .upload-primary {
    min-height: 5.35rem;
    font-size: 1.15rem;
  }

  .access-session,
  .history-item,
  .upload-preview-toolbar {
    grid-template-columns: 1fr;
  }

  .access-session,
  .upload-preview-toolbar {
    justify-items: stretch;
  }

  .upload-preview-nav,
  .upload-preview-controls {
    width: 100%;
    justify-content: space-between;
  }

  .upload-preview-jump {
    flex: 1 1 100%;
  }

  .upload-preview-jump select,
  .history-item-link {
    width: 100%;
  }

  .upload-drop {
    min-height: 11.8rem;
    padding: 1.05rem 1rem 1.1rem;
  }

  .upload-browse-button {
    width: 100%;
    min-height: 4rem;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.75rem;
  }

  .access-card {
    margin-top: 1rem;
    padding: 0.9rem;
  }
}

@media (max-width: 540px) {
  .hero-board {
    gap: 0.85rem;
    padding-top: 0.9rem;
  }

  .site-header {
    padding: 0.78rem 0.82rem;
  }

  .brand {
    gap: 0.72rem;
  }

  .brand-mark {
    width: 2.65rem;
    height: 2.65rem;
  }

  .brand-wordmark {
    font-size: 1.02rem;
  }

  .site-language-trigger {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-right: 0.88rem;
  }

  .site-language-count {
    display: none;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-copy h1 {
    max-width: 8.9ch;
    font-size: clamp(2.65rem, 12.2vw, 3.65rem);
  }

  .eyebrow {
    font-size: 0.9rem;
  }

  .intro {
    margin-top: 0.8rem;
    font-size: 0.94rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    font-size: 0.85rem;
  }

  .demo-actions,
  .closing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .access-actions,
  .locale-suggestion-actions,
  .upload-preview-nav,
  .upload-preview-controls {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .locale-suggestion .button {
    width: 100%;
  }

  .upload-preview-counter {
    min-width: 0;
  }

  .access-copy h2 {
    font-size: clamp(1.7rem, 7.8vw, 2.2rem);
  }

  .hero-upload {
    padding: 0.9rem;
  }

  .upload-card,
  .upload-result {
    padding: 0.85rem;
  }

  .upload-drop-label {
    max-width: none;
    font-size: clamp(1.95rem, 9.6vw, 2.55rem);
  }

  .upload-drop-help,
  .upload-action-note,
  .upload-detail {
    font-size: 0.82rem;
  }

  .upload-grid {
    margin-top: 0.8rem;
  }

  .workflow-track,
  .examples-grid,
  .result-summary {
    grid-template-columns: 1fr;
  }

  .upload-preview-grid,
  .upload-preview-grid.is-expanded {
    grid-template-columns: 1fr;
  }

  .result-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-board,
  .examples-board,
  .process-board,
  .closing-board,
  .site-header {
    border-radius: 14px;
  }
}

@media (max-width: 360px) {
  .header-side,
  .site-language-panel {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav a,
  .button,
  .pill-button,
  .result-link {
    transition: none;
  }
}
