:root {
  color-scheme: light;
  --ink: #182033;
  --ink-soft: #344056;
  --muted: #687387;
  --line: #dce2ec;
  --line-strong: #c8d1df;
  --surface: #ffffff;
  --canvas: #f5f7fb;
  --primary: #146f63;
  --primary-dark: #0b5149;
  --primary-soft: #e9f7f4;
  --cyan: #246fca;
  --cyan-soft: #edf5ff;
  --green: #168660;
  --green-soft: #eaf7f1;
  --amber: #a95d06;
  --amber-soft: #fff6e8;
  --red: #bd3345;
  --red-soft: #fff0f2;
  --shadow: 0 18px 50px rgba(24, 32, 51, 0.08);
  --radius: 8px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 72px;
  border-bottom: 1px solid rgba(220, 226, 236, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  min-width: 0;
}

.brand-text {
  gap: 10px;
  font-weight: 760;
  line-height: 1;
}

.brand-glyph {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 7px;
  font-size: 17px;
}

.brand-name {
  color: var(--ink);
  font-size: 18px;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.is-current {
  color: var(--ink);
}

.desktop-nav a.is-current::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--primary);
  content: "";
}

.locale-switch {
  display: inline-flex;
  justify-self: end;
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--canvas);
  border-radius: 7px;
}

.locale-option {
  min-width: 44px;
  height: 30px;
  padding: 0 9px;
  border: 0;
  color: var(--muted);
  background: transparent;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.locale-option.is-active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(24, 32, 51, 0.12);
}

.intro-band {
  padding: 66px 0 58px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 80px;
}

.eyebrow,
.panel-kicker,
.rail-label,
.service-note-label {
  display: block;
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 44px;
  line-height: 1.18;
  font-weight: 770;
}

.hero-copy {
  max-width: 710px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.8;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 14px;
}

.trust-row > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.trust-dot-green { background: var(--green); }
.trust-dot-blue { background: var(--primary); }
.trust-dot-cyan { background: var(--cyan); }

.service-note {
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--amber);
}

.service-note-label {
  color: var(--amber);
  margin-bottom: 8px;
}

.service-note strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}

.service-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.workflow-band {
  padding: 56px 0 72px;
  background: var(--canvas);
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 850px) minmax(230px, 1fr);
  align-items: start;
  gap: 38px;
}

.activation-tool {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.stepper-item {
  position: relative;
  display: flex;
  min-width: 0;
  height: 76px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #8993a5;
  font-size: 13px;
  font-weight: 700;
}

.stepper-item:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -12px;
  width: 24px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.step-number {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 12px;
}

.stepper-item.is-active {
  color: var(--primary);
}

.stepper-item.is-active .step-number {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.stepper-item.is-complete {
  color: var(--green);
}

.stepper-item.is-complete .step-number {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.tool-body {
  min-height: 420px;
  padding: 42px 48px 48px;
}

.step-panel {
  animation: panel-in 220ms ease-out both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-heading {
  max-width: 660px;
  margin-bottom: 30px;
}

.panel-kicker {
  margin-bottom: 7px;
}

.panel-heading h2,
.status-hero h2,
.answer-band h2,
.guide-heading h2,
.page-heading h1 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.3;
  font-weight: 760;
}

.panel-heading p,
.status-hero p,
.guide-heading > p:last-child,
.page-heading > p {
  margin: 0;
  color: var(--muted);
}

.field-label {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

input[type="text"],
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  outline: 0;
  color: var(--ink);
  background: #fff;
  border-radius: 6px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input[type="text"] {
  height: 50px;
  padding: 0 15px;
}

textarea {
  min-height: 150px;
  padding: 13px 15px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
}

input[type="text"]:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36, 94, 234, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #9aa3b3;
}

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

.field-help {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.field-help-emphasis {
  margin: -12px 0 18px;
  color: #8f4f0d;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

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

.button:focus-visible,
.locale-option:focus-visible,
.inline-command:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(36, 94, 234, 0.25);
  outline-offset: 2px;
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button-primary {
  min-width: 132px;
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.button-primary:hover:not(:disabled) {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.button-secondary {
  color: var(--primary-dark);
  border-color: #bfcdf1;
  background: var(--primary-soft);
}

.button-secondary:hover:not(:disabled) {
  border-color: #9db2e9;
  background: #e4edff;
}

.button-text {
  color: var(--muted);
  background: transparent;
}

.button-text:hover:not(:disabled) {
  color: var(--ink);
  background: var(--canvas);
}

.button-compact {
  min-height: 36px;
  margin-top: 7px;
  padding: 0 13px;
  font-size: 13px;
}

.button.is-loading::before {
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: spin 700ms linear infinite;
}

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

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}

.notice {
  margin-top: 18px;
  padding: 11px 13px;
  border: 1px solid #b9d1f7;
  color: #244d91;
  background: var(--primary-soft);
  border-radius: 6px;
  font-size: 14px;
}

.notice-error {
  border-color: #efbdc5;
  color: #8f2433;
  background: var(--red-soft);
}

.notice-success {
  border-color: #a8dbc8;
  color: #0b684b;
  background: var(--green-soft);
}

.verified-strip {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: -8px 0 30px;
  padding: 12px 14px;
  border-left: 3px solid var(--green);
  color: var(--muted);
  background: var(--green-soft);
  font-size: 13px;
}

.verified-strip strong {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.verified-strip span:last-child {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.instruction-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.instruction-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 22px 20px 22px 0;
}

.instruction-list li + li {
  padding-right: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.instruction-number {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.instruction-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.instruction-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.privacy-inline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.privacy-inline p {
  margin: 0;
}

.privacy-mark {
  display: inline-grid;
  min-width: 34px;
  height: 22px;
  place-items: center;
  color: var(--green);
  border: 1px solid #9ed2bf;
  background: var(--green-soft);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
}

.summary-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.summary-list > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.summary-list dt {
  color: var(--muted);
  font-size: 13px;
}

.summary-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.warning-block,
.processing-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--amber);
  background: var(--amber-soft);
}

.warning-block strong,
.processing-note strong {
  display: block;
  margin-bottom: 4px;
  color: #7c480b;
  font-size: 14px;
}

.warning-block p,
.processing-note p {
  margin: 0;
  color: #805b2f;
  font-size: 13px;
}

.processing-note {
  border-left-color: var(--cyan);
  background: var(--cyan-soft);
}

.processing-note strong { color: #126074; }
.processing-note p { color: #3f6b76; }

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 13px;
  color: #684211;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.check-row input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--amber);
}

.status-hero {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 17px;
  margin-bottom: 28px;
}

.status-symbol {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  border: 3px solid #a9bce9;
  border-right-color: var(--primary);
  border-radius: 50%;
  animation: spin 1000ms linear infinite;
}

.status-hero[data-status="SUCCESS"] .status-symbol,
.status-hero[data-status="FAILED"] .status-symbol {
  display: grid;
  place-items: center;
  border: 0;
  animation: none;
}

.status-hero[data-status="SUCCESS"] .status-symbol {
  background: var(--green-soft);
}

.status-hero[data-status="FAILED"] .status-symbol {
  background: var(--red-soft);
}

.status-hero[data-status="SUCCESS"] .status-symbol::after,
.status-hero[data-status="FAILED"] .status-symbol::after {
  color: var(--green);
  content: "✓";
  font-size: 23px;
  font-weight: 800;
}

.status-hero[data-status="FAILED"] .status-symbol::after {
  color: var(--red);
  content: "×";
}

.status-hero .panel-kicker {
  margin-bottom: 4px;
}

.status-hero h2 {
  margin-bottom: 5px;
}

.progress-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  background: #e7ebf2;
  border-radius: 4px;
}

.progress-track span {
  display: block;
  width: 4%;
  height: 100%;
  background: var(--primary);
  border-radius: inherit;
  transition: width 350ms ease;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.task-summary {
  margin-top: 28px;
}

.task-summary dd {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.task-summary code {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-command {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 0;
  color: var(--primary);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.task-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}

.support-rail {
  min-width: 0;
  padding-top: 8px;
}

.support-rail section {
  padding: 0 0 28px 24px;
  border-left: 1px solid var(--line-strong);
}

.support-rail section + section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.rail-label {
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
}

.check-list li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  content: "";
}

.support-rail p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.rail-link {
  color: var(--primary);
  font-size: 13px;
  font-weight: 750;
}

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

.security-pill {
  display: inline-block;
  margin-bottom: 9px;
  padding: 3px 8px;
  color: var(--green);
  border: 1px solid #a8d8c6;
  background: var(--green-soft);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

.guide-band {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.guide-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 80px;
}

.guide-heading h2 {
  margin-bottom: 12px;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.guide-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--line);
}

.guide-steps li:nth-child(even) {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.guide-steps > li > span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.guide-steps strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.guide-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.answer-band {
  padding: 72px 0 80px;
  border-top: 1px solid var(--line);
  background: var(--canvas);
}

.answer-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 80px;
}

.answer-band h2 {
  margin: 0;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

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

.faq-list summary {
  position: relative;
  padding: 20px 38px 20px 0;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 18px;
  right: 4px;
  color: var(--primary);
  content: "+";
  font-size: 22px;
  font-weight: 400;
}

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

.faq-list details p {
  max-width: 720px;
  margin: -4px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 34px 0;
  color: #c9d0dc;
  background: #151b28;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 28px;
}

.footer-brand {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 760;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  font-size: 12px;
}

.site-footer a:hover { color: #fff; }

.copyright {
  justify-self: end;
  margin: 0;
  font-size: 12px;
}

/* Status, policy, and other compact pages */
.page-main {
  min-height: calc(100vh - 72px - 100px);
  padding: 58px 0 76px;
  background: var(--canvas);
}

.page-heading {
  max-width: 740px;
  margin-bottom: 32px;
}

.page-heading h1 {
  font-size: 34px;
}

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

.query-panel,
.legal-panel {
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(24, 32, 51, 0.06);
}

.query-panel h2 {
  margin-bottom: 7px;
  font-size: 20px;
}

.query-panel > p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.query-panel .input-action-row {
  grid-template-columns: minmax(0, 1fr);
}

.query-panel .button {
  width: 100%;
}

.query-result {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.query-result dl {
  margin: 0;
}

.query-result dl > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.query-result dt {
  color: var(--muted);
  font-size: 12px;
}

.query-result dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
}

.status-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

.status-badge-processing { color: var(--primary-dark); background: var(--primary-soft); }
.status-badge-success { color: var(--green); background: var(--green-soft); }
.status-badge-failed { color: var(--red); background: var(--red-soft); }

.legal-panel {
  max-width: 820px;
  padding: 42px 48px;
}

.legal-panel h2 {
  margin: 32px 0 10px;
  font-size: 19px;
}

.legal-panel h2:first-child { margin-top: 0; }

.legal-panel p,
.legal-panel li {
  color: var(--ink-soft);
  font-size: 14px;
}

.legal-panel ul {
  padding-left: 20px;
}

@media (max-width: 980px) {
  .intro-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
  }

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

  .support-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
    border-top: 1px solid var(--line);
  }

  .support-rail section,
  .support-rail section + section {
    padding: 24px 22px 0 0;
    border-top: 0;
    border-left: 0;
  }

  .support-rail section + section {
    padding-left: 22px;
    border-left: 1px solid var(--line);
  }

  .guide-layout,
  .answer-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 48px;
  }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }

  .site-header { height: 64px; }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav { display: none; }

  .brand-glyph {
    width: 29px;
    height: 29px;
    font-size: 15px;
  }

  .brand-name { font-size: 16px; }

  .intro-band { padding: 42px 0 40px; }

  .intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  h1 { font-size: 34px; }

  .hero-copy { font-size: 16px; }

  .service-note { max-width: 520px; }

  .workflow-band { padding: 24px 0 52px; }

  .stepper {
    padding: 0 14px;
  }

  .stepper-item {
    height: 64px;
    gap: 0;
  }

  .stepper-item:not(:last-child)::after {
    right: -9px;
    width: 18px;
  }

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

  .tool-body {
    min-height: 400px;
    padding: 30px 22px 34px;
  }

  .panel-heading h2,
  .status-hero h2,
  .answer-band h2,
  .guide-heading h2 { font-size: 24px; }

  .input-action-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .input-action-row .button { width: 100%; }

  .verified-strip {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .verified-strip span:first-child { grid-column: 1 / -1; }
  .verified-strip span:last-child { text-align: right; }

  .instruction-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .instruction-list li,
  .instruction-list li + li {
    padding: 20px 0;
    border-left: 0;
  }

  .instruction-list li + li { border-top: 1px solid var(--line); }

  .form-actions {
    align-items: stretch;
  }

  .form-actions .button-primary { flex: 1; }

  .summary-list > div {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .support-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-rail section,
  .support-rail section + section {
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .guide-band,
  .answer-band { padding: 52px 0; }

  .guide-layout,
  .answer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

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

  .guide-steps li,
  .guide-steps li:nth-child(even) {
    padding: 20px 0;
    border-left: 0;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 18px;
    text-align: center;
  }

  .copyright { justify-self: center; }

  .page-main { padding: 38px 0 56px; }

  .page-heading h1 { font-size: 29px; }

  .query-layout { grid-template-columns: minmax(0, 1fr); }

  .query-panel { padding: 24px 20px; }

  .legal-panel { padding: 30px 22px; }
}

@media (max-width: 420px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }

  h1 { font-size: 30px; }

  .trust-row { display: grid; gap: 8px; }

  .activation-tool { border-right: 0; border-left: 0; border-radius: 0; }

  .workflow-band .workflow-layout { width: 100%; }

  .support-rail { width: calc(100% - 24px); margin-inline: auto; }

  .tool-body { padding-right: 18px; padding-left: 18px; }

  .summary-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }

  .task-summary dd { align-items: flex-start; }

  .form-actions { justify-content: space-between; }

  .task-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
}

/* Compact, first-screen redemption workspace. */
.site-header {
  height: 64px;
}

.redeem-hero {
  min-height: 292px;
  border-bottom: 1px solid var(--line);
  background-color: #f3f6f5;
  background-image: url("/assets/media/gptpro-access-hero-v1.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.redeem-hero-inner {
  display: flex;
  min-height: 292px;
  align-items: center;
}

.redeem-hero-copy {
  width: min(56%, 620px);
  padding: 26px 0 62px;
}

.redeem-hero .eyebrow {
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.redeem-hero h1 {
  margin-bottom: 11px;
  font-size: 42px;
  line-height: 1.16;
}

.redeem-hero .hero-copy {
  max-width: 540px;
  margin-bottom: 18px;
  color: #3e4a59;
  font-size: 16px;
  line-height: 1.7;
}

.redeem-hero .trust-row {
  gap: 9px 22px;
  color: #4f5d6c;
  font-size: 13px;
  font-weight: 650;
}

.workflow-band-compact {
  padding: 0 0 68px;
  background: var(--canvas);
}

.workflow-layout-single {
  display: block;
}

.workflow-layout-single .activation-tool {
  position: relative;
  z-index: 2;
  width: min(100%, 960px);
  margin: -48px auto 0;
  border-color: #d6dee8;
  box-shadow: 0 20px 48px rgba(24, 32, 51, 0.12);
}

.workflow-layout-single .stepper {
  padding: 0 34px;
  background: rgba(255, 255, 255, 0.98);
}

.workflow-layout-single .stepper-item {
  height: 64px;
}

.workflow-layout-single .tool-body {
  min-height: 350px;
  padding: 30px 40px 38px;
}

.workflow-layout-single .panel-heading {
  margin-bottom: 20px;
}

.workflow-layout-single .panel-heading h2 {
  margin-bottom: 6px;
  font-size: 25px;
}

.subscription-rule {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid #edcfaa;
  border-left: 3px solid var(--amber);
  border-radius: 6px;
  background: var(--amber-soft);
}

.subscription-rule-mark {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  background: var(--amber);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
}

.subscription-rule p {
  display: grid;
  gap: 2px;
  margin: 0;
  color: #735334;
  font-size: 13px;
  line-height: 1.55;
}

.subscription-rule strong {
  color: #713e08;
  font-size: 13px;
}

.cdk-entry-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 10px;
}

.input-with-command {
  position: relative;
  min-width: 0;
}

.input-with-command input {
  min-height: 52px;
  padding-right: 76px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.input-command {
  position: absolute;
  top: 7px;
  right: 7px;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--primary-dark);
  background: #fff;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.cdk-entry-row .button-primary {
  min-height: 52px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.field-label-row .inline-command {
  margin-bottom: 7px;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 720;
  white-space: nowrap;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .redeem-hero,
  .redeem-hero-inner {
    min-height: 258px;
  }

  .redeem-hero {
    background-position: left center;
    background-size: auto 100%;
  }

  .redeem-hero-copy {
    width: 68%;
    padding: 24px 0 66px;
  }

  .redeem-hero h1 {
    font-size: 31px;
  }

  .redeem-hero .hero-copy {
    margin-bottom: 13px;
    font-size: 14px;
    line-height: 1.55;
  }

  .redeem-hero .trust-row {
    display: grid;
    gap: 5px;
    font-size: 12px;
  }

  .workflow-band-compact {
    padding: 0 0 52px;
  }

  .workflow-layout-single .activation-tool {
    margin-top: -46px;
  }

  .workflow-layout-single .stepper {
    padding: 0 18px;
  }

  .workflow-layout-single .stepper-item {
    height: 58px;
  }

  .workflow-layout-single .tool-body {
    min-height: 340px;
    padding: 25px 22px 30px;
  }

  .workflow-layout-single .panel-heading h2 {
    font-size: 23px;
  }

  .subscription-rule {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 9px;
    padding: 11px 12px;
  }

  .subscription-rule-mark {
    width: 20px;
    height: 20px;
  }

  .cdk-entry-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .cdk-entry-row .button-primary {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .redeem-hero-copy {
    width: 73%;
  }

  .redeem-hero h1 {
    font-size: 29px;
  }

  .workflow-band .workflow-layout {
    width: min(calc(100% - 24px), var(--shell));
  }

  .workflow-layout-single .activation-tool {
    border: 1px solid #d6dee8;
    border-radius: var(--radius);
  }

  .workflow-layout-single .tool-body {
    padding-right: 17px;
    padding-left: 17px;
  }
}

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