:root {
  --ink: #0f172a;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --muted: #64706d;
  --line: #e5e0d8;
  --red: #ff4f55;
  --aqua: #4ecdc4;
  --cyan: #00a6c8;
  --sand: #f2ece2;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Segoe UI",
    "Noto Sans SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(229, 224, 216, 0.78);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  width: 180px;
  overflow: hidden;
}

.brand img {
  display: block;
  width: 210px;
  height: auto;
  transform: translateX(-20px);
  mix-blend-mode: multiply;
}

.nav-links,
.header-actions,
.hero-buttons,
.trust-strip,
.field-grid {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 24px;
  justify-content: center;
  color: #424a54;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-actions {
  gap: 12px;
}

.language-select {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.language-select select,
.field select,
.field input {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.language-select select {
  min-height: 36px;
  padding: 0 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.button.is-disabled {
  pointer-events: none;
  opacity: 0.48;
}

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.button.primary:disabled {
  border-color: rgba(148, 163, 184, 0.28);
  background: #d7d9d6;
  color: #647079;
  box-shadow: none;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.52);
  color: #3f4b55;
  box-shadow: none;
}

.button.small {
  min-height: 36px;
  padding: 0 14px;
  background: var(--red);
  color: #fff;
}

.button.ghost.small {
  background: rgba(255, 255, 255, 0.52);
  color: #3f4b55;
}

.button.full {
  width: 100%;
}

main {
  overflow: hidden;
}

.hero-section,
.checkout-section,
.delivery-section,
.reports-section,
.workflow-band,
.sample-section,
.agent-section,
.format-section,
.difference-section,
.pricing-section,
.faq-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 44px;
  align-items: center;
  min-height: min(820px, calc(100dvh - 78px));
  padding: 72px 0 64px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  position: absolute;
  top: -32px;
  left: -58px;
  z-index: -1;
  width: 168px;
  height: 168px;
  border: 18px solid rgba(78, 205, 196, 0.16);
  border-right-color: rgba(255, 79, 85, 0.2);
  border-radius: 50%;
  content: "";
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 7.5vw, 6.35rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

body[data-script="latin"] h1 {
  font-size: clamp(3.25rem, 5.8vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

body[data-script="cjk"] h1,
body[data-script="cjk"] h2,
body[data-script="cjk"] h3 {
  letter-spacing: 0;
}

body[data-script="cjk"] h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6.2vw, 5.5rem);
  line-height: 1.04;
}

body[data-script="cjk"] .checkout-copy h2,
body[data-script="cjk"] .run-card h2,
body[data-script="cjk"] .section-heading h2,
body[data-script="cjk"] .pricing-section h2 {
  line-height: 1.08;
  letter-spacing: 0;
}

body[data-script="cjk"] .eyebrow {
  letter-spacing: 0.04em;
}

body[data-script="rtl"] {
  direction: rtl;
}

body[data-script="rtl"] .site-header,
body[data-script="rtl"] .hero-section,
body[data-script="rtl"] .checkout-shell,
body[data-script="rtl"] .delivery-layout,
body[data-script="rtl"] .reports-layout {
  direction: rtl;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 30px;
  color: #44505b;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-buttons {
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.trust-strip {
  flex-wrap: wrap;
  gap: 8px;
}

.trust-strip span,
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #52605d;
  font-size: 0.88rem;
  font-weight: 700;
}

.generation-panel,
.checkout-shell,
.order-card,
.run-card,
.delivery-card,
.account-card,
.report-row,
.sample-card,
.difference-grid article,
.workflow-steps article,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.generation-panel {
  padding: 24px;
}

.provider-review-notice {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #b8c5d6;
  border-radius: 6px;
  background: #f5f8fb;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.45;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.panel-header strong {
  font-size: 1.5rem;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
}

.field input {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.field small {
  display: block;
  border: 1px solid rgba(78, 205, 196, 0.24);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(78, 205, 196, 0.07);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.ticker-input-hint {
  background: rgba(251, 250, 247, 0.72);
  color: #56635f;
  font-weight: 750;
}

.ticker-quick-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: -2px 0 14px;
}

.ticker-quick-list button {
  display: grid;
  gap: 2px;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.ticker-quick-list button:hover {
  border-color: rgba(78, 205, 196, 0.52);
}

.ticker-quick-list button.is-selected {
  border-color: rgba(78, 205, 196, 0.78);
  background: rgba(78, 205, 196, 0.1);
}

.ticker-quick-list strong {
  font-size: 0.92rem;
  line-height: 1;
}

.ticker-quick-list span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.ticker-quick-list button.is-ready span {
  color: #1d746e;
}

.ticker-quick-list button.is-pending span {
  color: #8f6871;
}

.waitlist-panel {
  display: grid;
  gap: 10px;
  margin: -2px 0 14px;
  border: 1px solid rgba(255, 79, 85, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 79, 85, 0.06);
}

.waitlist-panel[hidden] {
  display: none;
}

.waitlist-panel p,
.waitlist-panel small {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.waitlist-panel small {
  min-height: 1.2em;
  font-weight: 800;
}

.waitlist-panel small.is-success {
  color: #1d746e;
}

.waitlist-panel small.is-error {
  color: #b32132;
}

.field-grid {
  gap: 12px;
}

.field-grid .field {
  flex: 1;
}

.panel-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.checkout-summary {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  border: 1px solid rgba(78, 205, 196, 0.38);
  border-radius: 8px;
  padding: 12px;
  background: rgba(78, 205, 196, 0.08);
}

.checkout-summary span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-summary strong {
  font-size: 0.96rem;
}

.checkout-section {
  padding: 0 0 72px;
}

.checkout-section[hidden],
.delivery-section[hidden] {
  display: none;
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 28px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(251, 250, 247, 0.72)),
    radial-gradient(circle at 0% 0%, rgba(78, 205, 196, 0.12), transparent 36%);
}

.checkout-copy {
  display: grid;
  align-content: space-between;
  gap: 22px;
}

.checkout-copy h2 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.checkout-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.checkout-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkout-progress span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.checkout-progress span.is-active {
  border-color: rgba(255, 79, 85, 0.28);
  background: rgba(255, 79, 85, 0.1);
  color: var(--red);
}

.order-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  box-shadow: none;
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.order-card-header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.order-card-header strong {
  font-size: 1.5rem;
}

.order-lines {
  display: grid;
  gap: 10px;
  margin: 0;
}

.order-lines div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}

.order-lines dt {
  color: var(--muted);
}

.order-lines dd {
  font-weight: 900;
}

.order-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-includes span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(251, 250, 247, 0.92);
  color: #3f4b55;
  font-size: 0.82rem;
  font-weight: 800;
}

.checkout-reconfirm-note {
  margin: 0;
  color: #68756f;
  font-size: 0.84rem;
  line-height: 1.55;
}

.payment-route-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.payment-route-selector legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.payment-route-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.payment-route-option:has(input:checked) {
  border-color: rgba(0, 166, 200, 0.58);
  background: rgba(78, 205, 196, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 166, 200, 0.12);
}

.payment-route-option input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--cyan);
}

.payment-route-option strong,
.payment-route-option small {
  display: block;
}

.payment-route-option strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.payment-route-option small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.payment-route-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.checkout-consent {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.checkout-consent > strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.checkout-consent-label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.checkout-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}

.checkout-consent input:focus-visible {
  outline: 3px solid rgba(78, 205, 196, 0.34);
  outline-offset: 3px;
}

.checkout-consent input[aria-invalid="true"] {
  outline: 2px solid rgba(179, 33, 50, 0.6);
  outline-offset: 2px;
}

.field input:disabled,
.field select:disabled,
.checkout-consent input:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.checkout-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 0 30px;
  font-size: 0.84rem;
}

.checkout-consent-links a {
  color: #176d68;
  font-weight: 800;
  text-underline-offset: 3px;
}

.checkout-consent-links a:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(78, 205, 196, 0.34);
  outline-offset: 3px;
}

.checkout-consent-error {
  margin: 0 0 0 30px;
  color: #b32132;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.45;
}

.checkout-consent-error[hidden] {
  display: none;
}

.order-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.order-status.is-error {
  border: 1px solid rgba(255, 79, 85, 0.28);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 79, 85, 0.08);
  color: #b32132;
  font-weight: 800;
}

.order-status.is-reconciling {
  border: 1px solid rgba(173, 117, 24, 0.32);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 196, 82, 0.12);
  color: #80560f;
  font-weight: 800;
}

.success-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(78, 205, 196, 0.44);
  border-radius: 8px;
  padding: 14px;
  background: rgba(78, 205, 196, 0.09);
}

.success-card[hidden] {
  display: none;
}

.success-card strong {
  color: #1d6f69;
  font-size: 1rem;
}

.success-card p {
  margin: 0;
  color: #45615e;
  font-size: 0.9rem;
}

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

.retention-note {
  margin: 0;
  border-left: 3px solid rgba(78, 205, 196, 0.72);
  padding-left: 10px;
  color: #4f5d58;
  font-size: 0.86rem;
}

.status-note {
  margin-top: 8px;
  border-left: 3px solid rgba(78, 205, 196, 0.72);
  padding-left: 10px;
  color: #4f5d58;
  font-size: 0.86rem;
}

.status-note.is-alert {
  border-left-color: rgba(255, 79, 85, 0.72);
  color: #8f2b35;
}

.order-card.is-processing {
  border-color: rgba(78, 205, 196, 0.5);
}

.order-card.is-ready {
  border-color: rgba(78, 205, 196, 0.8);
  background:
    radial-gradient(circle at 100% 0%, rgba(78, 205, 196, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.82);
}

.delivery-section {
  padding: 0 0 72px;
}

.delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  gap: 18px;
}

.run-card,
.delivery-card {
  padding: 26px;
}

.run-card h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.run-card > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.run-steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.run-steps div {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(251, 250, 247, 0.76);
}

.run-steps div > span {
  grid-row: span 2;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.run-steps strong {
  font-size: 1rem;
}

.run-steps p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.run-steps div.is-active {
  border-color: rgba(255, 79, 85, 0.34);
  background: rgba(255, 79, 85, 0.08);
}

.run-steps div.is-active > span {
  border-color: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 79, 85, 0.12);
}

.run-steps div.is-done {
  border-color: rgba(78, 205, 196, 0.54);
  background: rgba(78, 205, 196, 0.08);
}

.run-steps div.is-done > span {
  border-color: var(--aqua);
  background: var(--aqua);
}

.delivery-card {
  display: grid;
  align-content: start;
  gap: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(78, 205, 196, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.78);
}

.delivery-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.delivery-card-header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.delivery-card-header strong {
  font-size: 1.5rem;
}

.delivery-card p {
  margin: 0;
  color: var(--muted);
}

.download-actions {
  display: grid;
  gap: 10px;
}

.delivery-meta {
  display: grid;
  gap: 10px;
  margin: 0;
}

.delivery-meta div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}

.reports-section {
  padding: 0 0 72px;
}

.auth-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(78, 205, 196, 0.38);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.72);
}

.auth-strip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.06rem;
}

.auth-strip p {
  margin: 0;
  color: var(--muted);
}

.auth-strip.is-signed-in {
  border-color: rgba(78, 205, 196, 0.64);
  background:
    radial-gradient(circle at 0% 0%, rgba(78, 205, 196, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.78);
}

.reports-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
}

.account-card {
  display: grid;
  align-content: space-between;
  gap: 26px;
  padding: 26px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 79, 85, 0.1), transparent 32%),
    rgba(255, 255, 255, 0.78);
}

.account-card h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.account-card p {
  color: var(--muted);
}

.account-stats {
  display: grid;
  gap: 10px;
  margin: 0;
}

.account-stats div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}

.account-stats dd {
  font-size: 1.08rem;
}

.order-history {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.order-history-header {
  display: grid;
  gap: 4px;
}

.order-history-header strong {
  font-size: 1rem;
}

.order-history-header span,
.order-history-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.order-history-list {
  display: grid;
  gap: 8px;
}

.order-history-item {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(251, 250, 247, 0.74);
}

.order-history-item div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.order-history-item strong {
  font-size: 0.92rem;
}

.order-history-item span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.order-history-item p {
  margin: 0;
  color: #56635f;
  font-size: 0.82rem;
  font-weight: 800;
}

.order-history-more {
  font-weight: 800;
}

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

.report-library-panel {
  display: grid;
  gap: 10px;
}

.batch-summary-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(78, 205, 196, 0.34);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(255, 255, 255, 0.78)),
    rgba(255, 255, 255, 0.76);
}

.batch-summary-panel[hidden] {
  display: none;
}

.batch-summary-panel strong {
  font-size: 0.98rem;
}

.batch-summary-panel p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.batch-summary-list {
  display: grid;
  gap: 8px;
}

.batch-summary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(78, 205, 196, 0.26);
  border-radius: 8px;
  padding: 10px;
  background: rgba(251, 250, 247, 0.72);
}

.batch-summary-progress {
  color: #2f625c;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: right;
}

.report-filter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.report-filter select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-weight: 800;
}

.report-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  box-shadow: none;
}

.report-row.is-current {
  border-color: rgba(78, 205, 196, 0.42);
  background:
    radial-gradient(circle at 100% 0%, rgba(78, 205, 196, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.78);
}

.report-row.is-locked {
  background: rgba(242, 236, 226, 0.72);
}

.report-row.is-failed {
  border-color: rgba(255, 79, 85, 0.32);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 79, 85, 0.1), transparent 30%),
    rgba(255, 255, 255, 0.78);
}

.report-row h3 {
  margin: 8px 0 4px;
  font-size: 1.14rem;
}

.report-row p {
  margin: 0;
  color: var(--muted);
}

.report-row .queue-note {
  margin-top: 8px;
  color: #3f5f5a;
  font-size: 0.86rem;
  font-weight: 650;
}

.report-status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.current-report-label {
  border: 1px solid rgba(78, 205, 196, 0.42);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(78, 205, 196, 0.08);
  color: #22756f;
  font-size: 0.72rem;
  font-weight: 900;
}

.order-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  color: #56635f;
  font-size: 0.84rem;
  font-weight: 800;
}

.batch-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  color: #2f625c;
  font-size: 0.84rem;
  font-weight: 850;
}

.report-meta + .order-meta {
  margin-top: 6px;
}

.order-meta + .batch-meta {
  margin-top: 6px;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(251, 250, 247, 0.92);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-pill.is-ready {
  border-color: rgba(78, 205, 196, 0.52);
  background: rgba(78, 205, 196, 0.12);
  color: #22756f;
}

.status-pill.is-waiting,
.status-pill.is-queued {
  border-color: rgba(255, 79, 85, 0.28);
  background: rgba(255, 79, 85, 0.08);
  color: var(--red);
}

.status-pill.is-locked {
  background: rgba(100, 112, 109, 0.08);
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.pricing-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.semantic-heading-line {
  display: inline;
}

.mobile-semantic-heading-line {
  display: inline;
}

body[data-script="cjk"] .semantic-heading-line {
  display: block;
}

.workflow-band,
.sample-section,
.agent-section,
.format-section,
.difference-section,
.pricing-section,
.faq-section {
  padding: 72px 0;
}

.workflow-steps,
.sample-grid,
.agent-layout,
.format-grid,
.difference-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

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

.workflow-steps article {
  min-height: 235px;
  padding: 20px;
}

.workflow-steps span {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--red);
  font-weight: 900;
}

.workflow-steps h3,
.sample-card h3,
.difference-grid h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.workflow-steps p,
.sample-card p,
.difference-grid p,
.pricing-section p,
.faq-grid p {
  color: var(--muted);
}

.sample-grid {
  grid-template-columns: 1.35fr 0.65fr;
}

.sample-card {
  display: grid;
  gap: 22px;
  padding: 24px;
}

.sample-card.featured {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.ticker {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.sample-card dl {
  display: grid;
  gap: 10px;
  min-width: 260px;
  margin: 0;
}

.sample-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.sample-actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  align-items: center;
  gap: 8px;
  justify-self: start;
}

.sample-actions .button {
  min-height: 40px;
}

.sample-status {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-left: 2px solid rgba(78, 205, 196, 0.72);
  padding: 0 4px 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.sample-card.muted {
  background: var(--sand);
  box-shadow: none;
}

.agent-layout {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: stretch;
}

.agent-lead {
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(78, 205, 196, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.72);
}

.agent-lead p {
  margin-bottom: 16px;
  color: #34414b;
  font-size: 1.05rem;
}

.agent-lead p:last-child {
  margin-bottom: 0;
}

.agent-method-list {
  display: grid;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
}

.agent-method-list div {
  display: grid;
  grid-template-columns: minmax(88px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.agent-method-list dt {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.agent-method-list dd {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.5;
  text-align: left;
}

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

.agent-roster article {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.agent-roster strong {
  font-size: 1.08rem;
}

.agent-roster span {
  color: var(--muted);
  font-size: 0.9rem;
}

.format-grid {
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
}

.format-grid article {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
}

.format-grid h3 {
  margin-bottom: 8px;
}

.format-grid p {
  color: var(--muted);
}

.language-row,
.format-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.language-row span,
.format-options span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(251, 250, 247, 0.92);
  color: #3f4b55;
  font-size: 0.88rem;
  font-weight: 800;
}

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

.difference-grid article {
  padding: 24px;
  box-shadow: none;
}

.pricing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-section p {
  max-width: 640px;
  margin-bottom: 0;
}

.pricing-pack-row,
.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pricing-pack-row {
  margin-top: 18px;
}

.pricing-pack-row a {
  border: 1px solid rgba(78, 205, 196, 0.42);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(78, 205, 196, 0.1);
  color: #28756e;
  font-size: 0.86rem;
  font-weight: 800;
}

.pricing-pack-row a:hover {
  border-color: rgba(78, 205, 196, 0.72);
  background: rgba(78, 205, 196, 0.16);
}

.pricing-actions {
  justify-content: flex-end;
}

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

.faq-grid details {
  padding: 20px;
  box-shadow: none;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-grid p {
  margin: 12px 0 0;
}

@media (min-width: 681px) {
  .faq-grid details[open] {
    min-height: 172px;
  }

  .faq-grid summary {
    cursor: default;
    list-style: none;
  }

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

@media (min-width: 1100px) {
  .wide-desktop-heading-wrap {
    max-width: none;
  }

  .wide-desktop-heading {
    font-size: clamp(2rem, 3.25vw, 3.85rem);
    white-space: nowrap;
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.public-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(240px, 1fr);
  align-items: start;
  gap: 24px;
}

.footer-identity,
.footer-meta {
  display: grid;
  gap: 7px;
}

.footer-identity strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a,
.footer-identity a {
  color: inherit;
  overflow-wrap: anywhere;
}

.footer-links a:focus-visible,
.footer-identity a:focus-visible {
  outline: 3px solid rgba(78, 205, 196, 0.34);
  outline-offset: 3px;
}

.footer-meta {
  justify-items: end;
  text-align: right;
}

.pricing-detail-page main {
  overflow: visible;
}

.pricing-detail-hero,
.pricing-detail-table-section {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}

.pricing-detail-hero {
  padding: 72px 0 42px;
}

.pricing-detail-hero h1 {
  max-width: 920px;
}

.pricing-detail-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.pricing-detail-table-section {
  padding: 30px 0 72px;
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.pricing-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}

.pricing-table th {
  background: rgba(78, 205, 196, 0.12);
  color: #28756e;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-table td:first-child {
  color: var(--ink);
  font-weight: 900;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-detail-note {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-section,
  .checkout-shell,
  .delivery-layout,
  .reports-layout,
  .sample-card.featured,
  .pricing-section,
  .agent-layout,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 56px;
  }

  .pricing-section {
    display: grid;
    align-items: start;
  }

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

  .workflow-steps,
  .agent-roster,
  .difference-grid,
  .faq-grid,
  .sample-grid {
    grid-template-columns: 1fr 1fr;
  }

  .public-footer {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .payment-route-selector {
    grid-template-columns: 1fr;
  }

  .payment-route-selector legend,
  .payment-route-note {
    grid-column: auto;
  }

  .payment-route-option {
    min-height: 0;
  }

  .section-heading .mobile-semantic-heading {
    font-size: 1.875rem;
    line-height: 1.1;
  }

  body[data-script="cjk"] .mobile-semantic-heading-line {
    display: block;
  }

  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 28px 16px 14px;
    max-width: 100vw;
    overflow: hidden;
  }

  .brand {
    width: 158px;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, calc(100vw - 42px));
    gap: 8px;
  }

  .language-select span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .language-select {
    display: grid;
    min-width: 0;
  }

  .language-select select {
    width: 100%;
  }

  .button.small {
    width: 100%;
    min-width: 76px;
    padding: 0 10px;
    font-size: 0.92rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.45rem, 12vw, 3.1rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }

  body[data-script="cjk"] h1 {
    max-width: 8em;
    font-size: clamp(2.35rem, 10.6vw, 3rem);
    line-height: 1.12;
    letter-spacing: 0;
  }

  body[data-script="cjk"] .hero-lede,
  body[data-script="cjk"] .checkout-copy p,
  body[data-script="cjk"] .run-card > p {
    line-height: 1.7;
  }

  .hero-section,
  .checkout-section,
  .delivery-section,
  .reports-section,
  .workflow-band,
  .sample-section,
  .agent-section,
  .format-section,
  .difference-section,
  .pricing-section,
  .faq-section,
  .pricing-detail-hero,
  .pricing-detail-table-section {
    width: auto;
    max-width: calc(100vw - 42px);
    margin-right: 28px;
    margin-left: 14px;
  }

  .hero-section {
    gap: 28px;
    padding: 38px 0 56px;
  }

  .pricing-detail-hero {
    padding-top: 42px;
  }

  .checkout-section {
    padding-bottom: 48px;
  }

  .auth-strip {
    display: grid;
  }

  .checkout-shell,
  .run-card,
  .delivery-card,
  .account-card,
  .report-row,
  .order-card {
    padding: 18px;
  }

  .checkout-copy h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .checkout-consent-links,
  .checkout-consent-error {
    margin-left: 30px;
  }

  .hero-copy::before {
    top: -34px;
    left: -46px;
    width: 132px;
    height: 132px;
    border-width: 15px;
  }

  .hero-lede {
    max-width: calc(100vw - 42px);
    font-size: 1.03rem;
  }

  .hero-buttons,
  .trust-strip {
    max-width: calc(100vw - 42px);
  }

  .hero-buttons .button {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    padding: 0 14px;
  }

  .trust-strip span {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .generation-panel {
    overflow: hidden;
  }

  .panel-header strong {
    font-size: 1.28rem;
  }

  .field-grid,
  .workflow-steps,
  .agent-roster,
  .reports-layout,
  .format-grid,
  .difference-grid,
  .faq-grid,
  .sample-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .report-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .report-row h3 {
    max-width: 100%;
    font-size: 1.32rem;
    line-height: 1.24;
  }

  .report-row p,
  .report-row .retention-note {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .report-row .order-meta {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .report-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    width: 100%;
  }

  .report-actions .button {
    width: 100%;
  }

  .pricing-actions,
  .pricing-detail-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .pricing-table {
    min-width: 640px;
  }

  .sample-card dl {
    min-width: 0;
  }

  .site-footer {
    flex-direction: column;
  }

  .public-footer {
    padding-right: 28px;
    padding-left: 14px;
  }
}
