:root {
  --paper: #fff8e7;
  --surface: #ffffff;
  --ink: #111111;
  --yellow: #ffd84d;
  --payment: #ffc439;
  --blue: #304ffe;
  --green: #42d392;
  --red: #c92a2a;
  --muted: #5a554c;
  --line: 3px;
  --shadow: 6px 6px 0 var(--ink);
  --radius: 4px;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

button,
label,
summary,
input[type="checkbox"],
input[type="radio"] {
  -webkit-tap-highlight-color: transparent;
}

button,
summary,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 3px;
}

:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-180%);
  border: var(--line) solid var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.mode-banner {
  display: none;
  border-bottom: var(--line) solid var(--ink);
  background: var(--yellow);
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.35;
  letter-spacing: 0.015em;
}

.mode-banner .shell {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding-block: 8px;
  text-align: center;
}

html[data-payment-mode="demo"] .mode-banner--demo,
html[data-payment-mode="stripe_test"] .mode-banner--sandbox {
  display: block;
}

.site-header {
  border-bottom: var(--line) solid var(--ink);
  background: var(--paper);
}

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

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover .brand-arrow {
  color: var(--blue);
}

.brand-icon {
  width: 50px;
  height: 50px;
}

.brand-name {
  font-size: 1.24rem;
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 1;
}

.brand-arrow {
  color: var(--blue);
  padding-inline: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pilot-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 9px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.back-link {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  column-gap: clamp(72px, 9vw, 136px);
  row-gap: 48px;
  align-items: start;
  padding-block: clamp(52px, 8vw, 104px);
}

.hero-copy {
  position: sticky;
  top: 30px;
}

.eyebrow,
.step-label,
.summary-kicker,
.sample-label {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.eyebrow,
.summary-kicker,
.sample-label {
  color: var(--blue);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.65rem, 7.2vw, 6.8rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.hero-lead {
  max-width: 630px;
  margin: 30px 0 0;
  font-size: clamp(1.12rem, 1.8vw, 1.38rem);
  font-weight: 650;
  line-height: 1.42;
}

.fact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--surface);
  list-style: none;
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 900;
}

.fact-strip li {
  flex: 1 1 auto;
  padding: 8px 10px;
  text-align: center;
}

.fact-strip li + li {
  border-left: 2px solid var(--ink);
}

.pilot-note {
  max-width: 620px;
  margin: 22px 0 0;
  padding-left: 14px;
  border-left: 5px solid var(--blue);
  color: #37332d;
  font-size: 0.94rem;
}

.service-card {
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--ink);
}

.card-heading {
  padding: 26px 28px 22px;
  border-bottom: var(--line) solid var(--ink);
  background: var(--yellow);
}

.step-label {
  color: var(--ink);
}

.card-heading h2,
.how-section h2,
.comparison-section h2,
.data-section h2,
.faq-section h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
}

#service-form {
  padding: 26px 28px 30px;
}

.notice {
  margin: 24px 28px 0;
  padding: 14px;
  border: var(--line) solid var(--ink);
  font-weight: 750;
}

.notice--error {
  background: #ffe2de;
}

.rights-box {
  margin-bottom: 20px;
  padding: 16px;
  border: 2px solid var(--ink);
  background: #fff5bf;
}

.recording-profile {
  margin: 0 0 20px;
  padding: 16px;
  border: 2px solid var(--ink);
  background: #f1f3ff;
}

.recording-profile h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: -0.025em;
}

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

.profile-grid label,
.vocabulary-field {
  display: grid;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
}

.profile-grid select,
.vocabulary-field textarea {
  width: 100%;
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  font: 650 0.84rem/1.35 var(--sans);
}

.profile-grid select {
  min-height: 44px;
  padding: 8px 28px 8px 9px;
}

.vocabulary-field {
  margin-top: 12px;
}

.vocabulary-field textarea {
  min-height: 68px;
  padding: 9px;
  resize: vertical;
}

.vocabulary-field small {
  font-weight: 600;
}

.check-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.check-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--yellow);
}

.check-row label {
  font-size: 0.87rem;
  font-weight: 650;
  line-height: 1.42;
}

.field-help,
.button-help,
.form-message {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.field-help {
  margin: 7px 0 0;
}

.rights-box .field-help,
.rights-box .field-error {
  margin-left: 35px;
}

.field-error,
.form-message--error {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
}

.field-error {
  margin: 7px 0 0;
}

.dropzone {
  position: relative;
  min-height: 210px;
  border: var(--line) dashed var(--ink);
  background: #fffdf8;
  transition: background-color 120ms ease, transform 120ms ease;
}

.dropzone:hover,
.dropzone:focus-within {
  background: #f1f3ff;
}

.dropzone.is-dragging {
  background: #dfe4ff;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--blue);
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.dropzone-label {
  min-height: 204px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
  text-align: center;
}

.dropzone-title {
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.dropzone-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 13px;
  padding: 8px 14px;
  border: var(--line) solid var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 900;
}

.dropzone-help {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.76rem;
}

.form-message {
  min-height: 1.45em;
  margin: 10px 0 0;
}

.upload-panel,
.file-summary {
  margin-top: 18px;
  padding: 15px;
  border: 2px solid var(--ink);
}

.upload-panel {
  background: #f1f3ff;
}

.upload-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
}

progress {
  width: 100%;
  height: 16px;
  display: block;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  accent-color: var(--blue);
}

progress::-webkit-progress-bar {
  background: var(--surface);
}

progress::-webkit-progress-value {
  background: var(--blue);
}

progress::-moz-progress-bar {
  background: var(--blue);
}

.text-button,
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 0;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.upload-panel .text-button {
  margin-top: 5px;
}

.file-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #dff9ec;
}

.file-summary > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.file-summary strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-kicker {
  margin-bottom: 3px;
  color: #116841;
}

.file-meta {
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.section-rule {
  height: var(--line);
  margin: 30px -28px 25px;
  background: var(--ink);
}

.plan-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.plan-fieldset legend {
  margin-bottom: 17px;
  padding: 0;
  font-size: 1.6rem;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.plan-card {
  display: block;
  margin-top: 13px;
  padding: 16px;
  border: var(--line) solid var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.plan-card:hover {
  background: #fff9d9;
}

.plan-card:has(input:checked) {
  background: #fff3ad;
  box-shadow: 5px 5px 0 var(--blue);
}

.plan-card.is-selected {
  background: #fff3ad;
  box-shadow: 5px 5px 0 var(--blue);
}

.plan-heading {
  display: grid;
  grid-template-columns: 22px auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

.plan-heading input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--blue);
}

.plan-number {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 900;
}

.plan-name {
  font-size: 0.93rem;
  font-weight: 950;
  line-height: 1.25;
}

.plan-badge {
  padding: 3px 6px;
  border: 2px solid var(--ink);
  background: var(--green);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 900;
  white-space: nowrap;
}

.plan-description {
  display: block;
  margin: 12px 0 0 53px;
  color: #403c35;
  font-size: 0.84rem;
  line-height: 1.45;
}

.plan-price {
  display: block;
  margin: 12px 0 0 53px;
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 950;
}

.field-group {
  margin-top: 28px;
}

.field-group > label {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field-group input {
  width: 100%;
  min-height: 52px;
  padding: 11px 13px;
  border: var(--line) solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  font-size: 1rem;
  box-shadow: none;
}

.field-group input[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 4px 4px 0 var(--red);
}

.terms-check {
  margin-top: 23px;
}

.receipt {
  margin-top: 27px;
  padding: 17px;
  border: var(--line) solid var(--ink);
  background: #f7f4ed;
  font-family: var(--mono);
  font-size: 0.76rem;
}

.receipt > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 4px;
}

.receipt strong {
  max-width: 64%;
  text-align: right;
}

.receipt-total {
  margin-top: 10px;
  padding-top: 12px !important;
  border-top: 2px dashed var(--ink);
  font-size: 1rem;
}

.privacy-inline {
  margin-top: 14px;
  padding-left: 10px;
  border-left: 4px solid var(--green);
}

.primary-button,
.secondary-button {
  min-height: 54px;
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.015em;
}

.primary-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 13px 17px;
  background: var(--payment);
}

html[data-payment-mode="demo"] .primary-button {
  background: var(--yellow);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.primary-button:active,
.secondary-button:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 var(--ink);
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button-help {
  margin: 13px auto 0;
  text-align: center;
}

.order-confirmation {
  padding: clamp(26px, 6vw, 48px);
}

.confirmation-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 18px 0 24px;
  border: var(--line) solid var(--ink);
  background: var(--green);
  font-family: var(--mono);
  font-size: 2.25rem;
  font-weight: 950;
  line-height: 1;
}

.order-confirmation h2 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.7rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.order-confirmation > p:not(.step-label, .field-help) {
  margin: 20px 0 0;
  font-size: 1.02rem;
  font-weight: 650;
}

.confirmation-receipt {
  margin: 27px 0 0;
  padding: 16px;
  border: var(--line) solid var(--ink);
  background: #f7f4ed;
  font-family: var(--mono);
  font-size: 0.76rem;
}

.confirmation-receipt div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 4px;
}

.confirmation-receipt dt,
.confirmation-receipt dd {
  margin: 0;
}

.confirmation-receipt dd {
  overflow-wrap: anywhere;
  font-weight: 900;
  text-align: right;
}

.how-section {
  padding-block: clamp(58px, 8vw, 100px);
  border-block: var(--line) solid var(--ink);
  background: var(--blue);
  color: var(--surface);
}

.how-section .eyebrow {
  color: var(--yellow);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 42px 0 0;
  padding: 0;
  border: var(--line) solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  list-style: none;
}

.steps-grid li {
  min-width: 0;
  padding: 24px;
}

.steps-grid li + li {
  border-left: var(--line) solid var(--ink);
}

.steps-grid span,
.steps-grid strong {
  display: block;
}

.steps-grid span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 900;
}

.steps-grid strong {
  margin-top: 12px;
  font-size: 1.15rem;
  font-weight: 950;
}

.steps-grid p {
  margin: 10px 0 0;
  color: #403c35;
  font-size: 0.9rem;
}

.steps-grid .step-payment-copy {
  font-size: clamp(0.72rem, 1.05vw, 0.9rem);
  white-space: nowrap;
}

.comparison-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 7vw, 90px);
  padding-block: clamp(66px, 10vw, 128px);
}

.section-intro > p:last-child {
  max-width: 510px;
  margin: 22px 0 0;
}

.comparison-grid {
  align-self: start;
  border: var(--line) solid var(--ink);
  box-shadow: var(--shadow);
}

.sample {
  min-height: 170px;
  padding: 23px;
  background: var(--surface);
}

.sample + .sample {
  border-top: var(--line) solid var(--ink);
}

.sample--polished {
  background: #fff3ad;
}

.sample > p:last-child {
  margin: 16px 0 0;
  font-size: 1.2rem;
  font-weight: 720;
  line-height: 1.45;
}

.data-section {
  padding-block: clamp(54px, 8vw, 90px);
  border-block: var(--line) solid var(--ink);
  background: var(--green);
}

.data-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 8vw, 110px);
}

.data-section .eyebrow {
  color: var(--ink);
}

.data-copy {
  font-size: 1.03rem;
  font-weight: 600;
}

.data-copy p {
  margin: 0;
}

.data-copy p + p {
  margin-top: 18px;
}

.faq-section {
  max-width: 920px;
  padding-block: clamp(66px, 10vw, 120px);
}

.faq-list {
  margin-top: 34px;
  border-top: var(--line) solid var(--ink);
}

.faq-list details {
  border-bottom: var(--line) solid var(--ink);
}

.faq-list summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-size: 1.08rem;
  font-weight: 900;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 0;
  font-family: var(--mono);
  font-size: 1.7rem;
  font-weight: 900;
}

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

.faq-list details p {
  max-width: 760px;
  margin: -5px 0 22px;
  color: #403c35;
}

.site-footer {
  border-top: var(--line) solid var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.footer-grid {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.brand--footer {
  color: var(--surface);
}

.footer-grid p {
  margin: 0;
  font-weight: 750;
  text-align: center;
}

.footer-grid nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

/* Legal pages */
.legal-shell {
  max-width: 900px;
  padding-block: clamp(48px, 8vw, 94px);
}

.legal-document {
  border: var(--line) solid var(--ink);
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--ink);
}

.legal-heading {
  padding: clamp(26px, 5vw, 52px);
  border-bottom: var(--line) solid var(--ink);
  background: var(--yellow);
}

.legal-heading h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.3rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.legal-heading > p:last-child {
  margin: 20px 0 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
}

.legal-warning {
  margin: 28px clamp(22px, 5vw, 52px) 0;
  padding: 17px;
  border: var(--line) solid var(--ink);
  background: #ffe2de;
}

.legal-warning strong {
  font-weight: 950;
}

.legal-warning p {
  margin: 7px 0 0;
}

.legal-document > section {
  padding: 28px clamp(22px, 5vw, 52px);
}

.legal-document > section + section {
  border-top: 2px solid var(--ink);
}

.legal-document h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.legal-document section p,
.legal-document section ul,
.legal-document section ol {
  margin-block: 0 12px;
}

.legal-document section p:last-child,
.legal-document section ul:last-child,
.legal-document section ol:last-child {
  margin-bottom: 0;
}

.legal-document li + li {
  margin-top: 6px;
}

/* Status page */
.status-main {
  min-height: calc(100vh - 215px);
  display: grid;
  place-items: center;
  padding-block: clamp(50px, 9vw, 110px);
}

.status-card {
  width: min(680px, 100%);
  padding: clamp(25px, 6vw, 52px);
  border: var(--line) solid var(--ink);
  background: var(--surface);
  box-shadow: 9px 9px 0 var(--ink);
}

.status-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 20px 0 25px;
  border: var(--line) solid var(--ink);
  background: var(--green);
  font-family: var(--mono);
  font-size: 2.4rem;
  font-weight: 950;
  line-height: 1;
}

.status-card[data-state="awaiting_payment"] .status-mark {
  background: var(--yellow);
}

.status-card[data-state="expired"] .status-mark,
.status-card[data-state="deleted"] .status-mark {
  background: #ffe2de;
}

html[data-status-kind="cancelled"] .status-mark {
  background: #ffe2de;
}

.status-card h1 {
  margin: 0;
  font-size: clamp(2.45rem, 8vw, 4.8rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.status-lead {
  max-width: 550px;
  margin: 22px 0 0;
  font-size: 1.08rem;
  font-weight: 650;
}

.status-receipt {
  margin: 30px 0 0;
  padding: 17px;
  border: var(--line) solid var(--ink);
  background: #f7f4ed;
  font-family: var(--mono);
  font-size: 0.76rem;
}

.status-receipt div {
  display: grid;
  grid-template-columns: minmax(100px, 0.7fr) minmax(0, 1.3fr);
  gap: 15px;
  padding-block: 5px;
}

.status-receipt dt,
.status-receipt dd {
  margin: 0;
}

.status-receipt dd {
  overflow-wrap: anywhere;
  font-weight: 900;
  text-align: right;
}

.status-chip {
  display: inline-block;
  padding: 2px 6px;
  border: 2px solid var(--ink);
  background: var(--green);
}

.status-card[data-state="awaiting_payment"] .status-chip {
  background: var(--yellow);
}

.status-card[data-state="expired"] .status-chip,
.status-card[data-state="deleted"] .status-chip {
  background: #ffe2de;
}

.status-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.status-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 25px;
}

.download-panel {
  margin-top: 28px;
  padding: 18px;
  border: var(--line) solid var(--ink);
  background: #e0f8ed;
}

.download-panel h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.download-button {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 13px;
  border: var(--line) solid var(--ink);
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 950;
  text-decoration: none;
}

.download-button + .download-button {
  margin-top: 13px;
}

.download-button:hover {
  background: var(--yellow);
}

.secondary-button {
  padding: 10px 15px;
  background: var(--yellow);
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
  }

  .pilot-badge {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    position: static;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(3.65rem, 12vw, 7rem);
  }

  .hero-lead,
  .pilot-note {
    max-width: 760px;
  }

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

@media (max-width: 700px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .mode-banner .shell {
    display: block;
  }

  .mode-banner span {
    display: block;
  }

  .header-inner {
    min-height: 70px;
    gap: 14px;
  }

  .brand-icon {
    width: 43px;
    height: 43px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .pilot-badge {
    font-size: 0.62rem;
  }

  .back-link {
    font-size: 0.68rem;
  }

  .hero {
    gap: 40px;
    padding-block: 44px 65px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
  }

  .hero-lead {
    margin-top: 23px;
  }

  .fact-strip {
    display: block;
  }

  .fact-strip li + li {
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

  .service-card {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .card-heading,
  #service-form {
    padding-inline: 19px;
  }

  .section-rule {
    margin-inline: -19px;
  }

  .rights-box {
    padding: 13px;
  }

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

  .dropzone,
  .dropzone-label {
    min-height: 190px;
  }

  .dropzone-label {
    padding-inline: 15px;
  }

  .file-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .file-summary .text-button {
    margin-bottom: -8px;
  }

  .plan-heading {
    grid-template-columns: 22px auto minmax(0, 1fr);
  }

  .plan-badge {
    grid-column: 3;
    justify-self: start;
  }

  .plan-description,
  .plan-price {
    margin-left: 0;
  }

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

  .steps-grid li + li {
    border-top: var(--line) solid var(--ink);
    border-left: 0;
  }

  .steps-grid .step-payment-copy {
    font-size: 0.9rem;
    white-space: normal;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-block: 28px;
  }

  .footer-grid p {
    text-align: left;
  }

  .footer-grid nav {
    justify-content: flex-start;
  }

  .status-receipt div {
    grid-template-columns: 1fr;
    gap: 1px;
    padding-block: 8px;
  }

  .status-receipt dd {
    text-align: left;
  }

  .status-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .pilot-badge {
    display: none;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .card-heading h2 {
    font-size: 1.8rem;
  }

  .receipt > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .receipt strong {
    max-width: none;
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .primary-button:hover,
  .primary-button:active,
  .secondary-button:hover,
  .secondary-button:active,
  .dropzone.is-dragging {
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .mode-banner,
  .back-link {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .legal-shell {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .legal-document {
    border: 0;
    box-shadow: none;
  }
}

/* Area operatore: stessa grammatica visiva, nessuna dashboard ornamentale. */
.admin-main {
  padding-block: clamp(42px, 7vw, 86px);
}

.admin-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.admin-heading h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.admin-heading > p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 1.08rem;
  font-weight: 650;
}

.admin-delivery {
  max-width: 850px;
  margin-bottom: 42px;
  padding: clamp(22px, 4vw, 36px);
  border: var(--line) solid var(--ink);
  background: var(--green);
  box-shadow: 8px 8px 0 var(--ink);
}

.admin-delivery h2,
.admin-section-title h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1;
}

.admin-delivery label {
  display: block;
  margin: 22px 0 7px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 900;
}

.copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.copy-row input {
  min-width: 0;
  min-height: 54px;
  padding: 10px 12px;
  border: var(--line) solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  font-family: var(--mono);
}

.admin-mail-button {
  width: fit-content;
  min-width: min(100%, 320px);
  text-decoration: none;
}

.admin-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: var(--line) solid var(--ink);
}

.admin-section-title span {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 900;
}

.admin-order {
  margin-bottom: 30px;
  border: var(--line) solid var(--ink);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
}

.admin-history {
  margin-top: 68px;
}

.admin-order--stale {
  box-shadow: 6px 6px 0 var(--red);
}

.admin-statuses {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.stale-chip {
  padding: 6px 9px;
  border: 2px solid var(--ink);
  background: var(--red);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 950;
}

.admin-order-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: var(--line) solid var(--ink);
  background: var(--yellow);
}

.admin-order-head .step-label {
  margin-bottom: 8px;
}

.admin-order-head h3 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.admin-order-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-bottom: var(--line) solid var(--ink);
}

.admin-order-data div {
  min-width: 0;
  padding: 15px 18px;
  border-bottom: 2px solid var(--ink);
}

.admin-order-data div:nth-child(odd) {
  border-right: 2px solid var(--ink);
}

.admin-order-data dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
}

.admin-order-data dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px;
  border-bottom: var(--line) solid var(--ink);
  background: #f7f4ed;
}

.admin-actions form {
  margin: 0;
}

.admin-actions .secondary-button,
.admin-actions .danger-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.72rem;
  text-decoration: none;
}

.danger-button {
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  background: #ffe2de;
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 950;
}

.result-form {
  padding: 20px 22px 24px;
}

.result-form > label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  font-size: 0.84rem;
  font-weight: 850;
}

.result-form input[type="file"] {
  width: 100%;
  min-height: 50px;
  padding: 9px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.result-form .primary-button {
  max-width: 440px;
}

.admin-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 0.74rem;
  text-align: center;
}

.admin-pagination .secondary-button:last-child {
  justify-self: end;
}

@media (max-width: 700px) {
  .hero {
    padding-top: 32px;
  }

  .fact-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: 0.56rem;
  }

  .fact-strip li {
    display: grid;
    place-items: center;
    padding: 7px 5px;
  }

  .fact-strip li + li {
    border-top: 0;
    border-left: 2px solid var(--ink);
  }

  .pilot-note {
    margin-top: 16px;
  }

  .copy-row,
  .admin-order-data {
    grid-template-columns: 1fr;
  }

  .admin-order-data div:nth-child(odd) {
    border-right: 0;
  }

  .admin-order-head,
  .admin-section-title {
    align-items: start;
    flex-direction: column;
  }

  .admin-statuses {
    justify-content: flex-start;
  }

  .admin-pagination {
    grid-template-columns: 1fr;
  }

  .admin-pagination span {
    display: none;
  }

  .admin-pagination .secondary-button,
  .admin-pagination .secondary-button:last-child {
    width: 100%;
    justify-self: stretch;
  }

  .admin-actions,
  .admin-actions form,
  .admin-actions button,
  .admin-actions a {
    width: 100%;
  }
}
