@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400..700&family=IBM+Plex+Mono:wght@400;500;600&family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&display=swap");

:root {
  color-scheme: light;
  --canvas: #f4f1ea;
  --surface: #ffffff;
  --surface-2: #eef0ec;
  --teal-tint: #e7f0ee;
  --ink: #1b211f;
  --slate: #39423f;
  --muted: #74706a;
  --line: #e3ded2;
  --line-2: #d6d0c2;
  --teal: #1c5d5f;
  --teal-deep: #0e4749;
  --green: #2f7a5e;
  --amber: #b1812f;
  --clay: #b8553a;
  --bg: var(--canvas);
  --panel: var(--surface);
  --panel-soft: var(--surface-2);
  --text: var(--ink);
  --accent: var(--teal);
  --accent-strong: var(--teal-deep);
  --warn: var(--amber);
  --danger: var(--clay);
  --ok: var(--green);
  --serif: Spectral, Georgia, serif;
  --sans: "Hanken Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --shadow: 0 18px 42px rgba(20, 40, 38, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand-block,
.session-block,
.metric-row,
.record-header,
.status-line,
.quick-users {
  display: flex;
  align-items: center;
}

.brand-block {
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  font-size: 22px;
}

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

h1 {
  font-size: 20px;
  line-height: 1.1;
}

h2 {
  font-size: 34px;
  line-height: 1.08;
  max-width: 760px;
}

h3 {
  font-size: 16px;
  line-height: 1.25;
}

.muted,
#envLabel {
  color: var(--muted);
}

#envLabel {
  margin-top: 3px;
  font-size: 13px;
}

.session-block {
  gap: 12px;
  min-width: 0;
}

.topbar-link {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.icon-button,
.quick-users button,
.tab {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
  min-height: 38px;
  padding: 0 12px;
}

.icon-button:hover,
.quick-users button:hover,
.tab:hover {
  border-color: var(--accent);
}

.hidden {
  display: none !important;
}

main {
  padding: 28px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 420px;
  gap: 32px;
  align-items: stretch;
  max-width: 1120px;
  margin: 44px auto;
}

.auth-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 430px;
}

.auth-copy p:not(.eyebrow) {
  color: var(--muted);
  max-width: 620px;
  font-size: 17px;
  line-height: 1.6;
}

.eyebrow {
  color: var(--accent);
  font-weight: 750;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--mono);
}

.auth-form,
.panel,
.record-card,
.table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.auth-form {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inline-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.inline-form .primary-button {
  min-height: 40px;
  padding: 10px 12px;
}

.action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
  color: var(--text);
}

textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
  color: var(--text);
  resize: vertical;
  min-height: 92px;
}

select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
  color: var(--text);
}

input:focus {
  outline: 2px solid rgba(15, 118, 110, 0.2);
  border-color: var(--accent);
}

textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.2);
  border-color: var(--accent);
}

select:focus {
  outline: 2px solid rgba(15, 118, 110, 0.2);
  border-color: var(--accent);
}

.quick-users {
  gap: 8px;
  flex-wrap: wrap;
}

.primary-button {
  border: 0;
  border-radius: 8px;
  padding: 13px 14px;
  background: var(--accent);
  color: white;
  font-weight: 760;
}

.primary-button:hover {
  background: var(--accent-strong);
}

.secondary-button {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 38px;
  padding: 0 12px;
  background: white;
  color: var(--text);
  font-weight: 650;
}

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

.danger-button {
  border-color: rgba(176, 46, 46, 0.35);
  color: var(--danger);
}

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

.form-message {
  color: var(--danger);
  min-height: 20px;
  font-size: 13px;
}

.ok-message {
  color: var(--ok);
}

.dashboard {
  max-width: 1240px;
  margin: 0 auto;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
}

.tab.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.panel {
  padding: 18px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.badge-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.metric-row {
  gap: 12px;
  flex-wrap: wrap;
}

.metric {
  min-width: 150px;
  padding: 14px;
  border-radius: 8px;
  background: var(--panel-soft);
}

.metric strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
}

.metric span {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 12px;
}

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

.record-card {
  padding: 14px;
  box-shadow: none;
}

.compact-record {
  margin-top: 12px;
}

.onboarding-panel {
  margin-bottom: 16px;
}

.checklist {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.intake-checklist {
  margin-top: 0;
}

.panel-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.mini-section {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.clearance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 170px);
  gap: 12px;
  align-items: end;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.review-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}

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

.pipeline-step {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: var(--panel-soft);
}

.pipeline-step span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.question-card {
  display: grid;
  gap: 12px;
}

.answer-key {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: var(--panel-soft);
}

.answer-key strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--muted);
}

.answer-grid {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr) minmax(0, 120px);
  gap: 12px;
  align-items: end;
}

.checkbox-label {
  display: flex;
  align-items: center;
  min-height: 45px;
  gap: 8px;
}

.checkbox-label input {
  width: auto;
}

.legal-document-viewer {
  margin-top: 10px;
}

.legal-document-viewer summary {
  cursor: pointer;
  color: #355;
  font-weight: 600;
}

.legal-document-body {
  margin-top: 10px;
  max-height: 280px;
  overflow: auto;
  padding: 12px;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  background: #f8fafc;
  white-space: pre-wrap;
  word-break: break-word;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.record-header {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 750;
}

.status.warn {
  background: #fff5e8;
  color: var(--warn);
}

.status.danger {
  background: #feeceb;
  color: var(--danger);
}

.status.ok {
  background: #e9f7ef;
  color: var(--ok);
}

.status-line {
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.status-line:last-child {
  border-bottom: 0;
}

.table-wrap {
  overflow: hidden;
  box-shadow: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

th {
  color: var(--muted);
  font-size: 12px;
  background: #f9fbfb;
}

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

.empty {
  padding: 16px;
  color: var(--muted);
  background: #f9fbfb;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.error-box {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #f4b4ad;
  color: var(--danger);
  background: #fff5f4;
}

.storefront-shell {
  min-height: 100vh;
  background: var(--canvas);
}

.storefront-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 52px);
  background: rgba(244, 241, 234, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.storefront-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.storefront-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.storefront-nav a:hover {
  color: var(--accent-strong);
}

.console-link {
  color: var(--accent-strong) !important;
}

.storefront-main {
  padding: 0;
}

.storefront-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(34px, 6vw, 84px) clamp(18px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.hero-copy h2,
.section-heading h2,
.programme-copy h2,
.trust-band h2,
.legal-content h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.98;
  max-width: 860px;
}

.hero-copy em,
.section-heading em {
  color: var(--teal);
  font-style: italic;
}

.hero-copy p:not(.eyebrow),
.programme-copy p,
.feature-block p,
.storefront-note,
.legal-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.storefront-cta,
.storefront-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  text-decoration: none;
}

.storefront-secondary {
  margin-top: 0;
}

.hero-evidence {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.readiness-card {
  position: relative;
  width: min(100%, 360px);
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(28, 93, 95, 0.16);
}

.data-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.readiness-ring {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  transform: rotate(-90deg);
}

.ring-bg,
.ring-value {
  fill: none;
  stroke-width: 12;
}

.ring-bg {
  stroke: var(--surface-2);
}

.ring-value {
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-dasharray: 389;
  stroke-dashoffset: 70;
}

.ring-number {
  position: absolute;
  inset: 72px 0 auto;
  display: grid;
  justify-items: center;
  pointer-events: none;
}

.ring-number strong {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ring-number span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.readiness-focus {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  text-align: center;
}

.readiness-focus p {
  color: var(--slate);
  font-size: 14px;
}

.preview-sheet {
  width: min(100%, 430px);
  min-height: 560px;
  padding: 28px;
  background: white;
  border: 1px solid #d9dedc;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(16, 32, 29, 0.14);
  transform: rotate(1.5deg);
}

.preview-head,
.preview-meta,
.preview-question,
.preview-options {
  display: flex;
  align-items: center;
}

.preview-head {
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
}

.preview-head strong {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.preview-head span,
.preview-meta,
.preview-options {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.preview-meta {
  justify-content: space-between;
  margin: 18px 0 26px;
}

.preview-question {
  align-items: start;
  gap: 12px;
  margin-top: 22px;
}

.preview-question span {
  flex: 0 0 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.preview-question p {
  color: var(--text);
  line-height: 1.5;
}

.preview-question.compact {
  margin-top: 34px;
}

.preview-lines {
  height: 150px;
  margin: 18px 0 10px 40px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 29px,
    #dfe6e4 30px
  );
}

.preview-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0 40px;
}

.preview-options span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.storefront-band {
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.data-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 76px);
  background: var(--ink);
  color: white;
}

.data-band div {
  display: grid;
  gap: 7px;
  padding: 22px 0;
}

.data-band span {
  color: #bfc9c4;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.data-band strong {
  font-family: var(--mono);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.storefront-grid {
  display: grid;
  gap: 18px;
}

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

.feature-block {
  display: grid;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.feature-number {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
}

.programme-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: var(--teal-tint);
}

.programme-copy {
  display: grid;
  gap: 14px;
}

.format-list {
  display: grid;
  gap: 12px;
}

.format-list div {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid #cddbd8;
}

.format-list strong {
  font-size: 18px;
}

.format-list span {
  color: var(--muted);
  line-height: 1.5;
}

.interest-band {
  background: #ffffff;
}

.storefront-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
}

.status.ready {
  background: var(--teal-tint);
  color: var(--teal-deep);
}

.storefront-wide {
  grid-column: 1 / -1;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: start;
}

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

.trust-list span {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.storefront-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px clamp(18px, 5vw, 76px);
  color: var(--muted);
}

.storefront-footer a {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 700;
}

.launch-site {
  --canvas: #f4f1ea;
  --surface: #ffffff;
  --surface-2: #eef0ec;
  --ink: #1b211f;
  --muted: #6d6962;
  --line: #ded8cb;
}

.launch-site .storefront-header {
  position: sticky;
  backdrop-filter: blur(16px);
}

.launch-site .brand-mark {
  background: #13211f;
}

.launch-site .storefront-nav a {
  white-space: nowrap;
}

.launch-site .storefront-nav a[href="/privacy.html"],
.launch-site .storefront-nav a[href="/terms.html"] {
  color: var(--muted);
}

.launch-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.86fr);
  min-height: min(860px, calc(100vh - 78px));
  padding-top: clamp(44px, 7vw, 96px);
  padding-bottom: clamp(42px, 7vw, 86px);
  background:
    linear-gradient(90deg, rgba(246, 243, 236, 0.98) 0%, rgba(246, 243, 236, 0.92) 52%, rgba(231, 240, 238, 0.72) 100%);
}

.launch-hero .hero-copy {
  align-content: center;
}

.launch-hero .hero-copy h2 {
  max-width: 720px;
  font-size: clamp(44px, 6vw, 76px);
}

.launch-hero .hero-copy p:not(.eyebrow) {
  max-width: 650px;
  color: #4e5652;
}

.launch-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.launch-facts span {
  padding: 8px 10px;
  border: 1px solid #cfdcd7;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 750;
}

.product-preview {
  align-content: center;
  justify-items: stretch;
}

.launch-sheet {
  justify-self: end;
  width: min(100%, 470px);
  min-height: 520px;
  border-radius: 8px;
  transform: rotate(1deg);
}

.launch-readiness {
  justify-self: start;
  width: min(100%, 360px);
  margin-top: -46px;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(16, 32, 29, 0.12);
}

.readiness-summary {
  display: grid;
  gap: 7px;
}

.readiness-summary strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.readiness-summary span {
  color: var(--muted);
  line-height: 1.5;
}

.readiness-bars {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.readiness-bars span {
  height: 9px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--teal) var(--bar), #e6ece8 var(--bar));
}

.offer-band,
.interest-band {
  background: #fffdf8;
}

.launch-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(20, 40, 38, 0.05);
}

.launch-card h3 {
  font-size: 19px;
}

.process-band {
  background: #17211f;
  color: white;
}

.process-band .eyebrow,
.process-band .feature-number {
  color: #91c7bd;
}

.process-band .section-heading h2 {
  color: white;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list article {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  background: #17211f;
}

.process-list article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #dbe9e4;
  font-family: var(--mono);
  font-weight: 700;
}

.process-list h3 {
  color: white;
  font-size: 18px;
}

.process-list p {
  margin-top: 8px;
  color: #c8d4cf;
  line-height: 1.58;
}

.launch-data {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.founding-band {
  background: #e8f0ed;
}

.launch-checklist div {
  padding: 18px 0;
}

.launch-trust {
  background: #f8f7f2;
}

.launch-site .storefront-footer {
  background: #17211f;
  color: #c8d4cf;
}

.launch-site .storefront-footer a {
  color: #dbe9e4;
}

.claude-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.82fr);
  min-height: min(820px, calc(100vh - 78px));
  padding-top: clamp(40px, 6vw, 82px);
  padding-bottom: clamp(32px, 5vw, 64px);
  background: var(--canvas);
}

.claude-hero .hero-copy {
  gap: 20px;
}

.claude-hero .hero-copy h2 {
  max-width: 760px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.96;
}

.claude-hero .hero-copy p:not(.eyebrow) {
  max-width: 620px;
}

.parent-story {
  color: var(--muted);
  font-size: 14px;
}

.parent-story a,
.pricing-note a {
  color: var(--accent-strong);
  font-weight: 750;
  text-decoration: none;
}

.paper-scene {
  position: relative;
  min-height: 560px;
  align-content: center;
  justify-items: center;
}

.paper-pack {
  position: absolute;
  inset: 38px auto auto 0;
  width: min(72%, 340px);
  min-height: 380px;
  padding: 26px;
  background: #e8dfcf;
  border: 1px solid #cfc3ae;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(27, 33, 31, 0.1);
  transform: rotate(-5deg);
}

.packet-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #bfb199;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.packet-label strong {
  color: var(--teal);
}

.packet-window {
  display: grid;
  gap: 8px;
  margin-top: 86px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d6cbb8;
  border-radius: 8px;
}

.packet-window span,
.packet-window small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.packet-window strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}

.paper-scene .launch-sheet {
  position: relative;
  justify-self: end;
  z-index: 2;
  width: min(100%, 430px);
  min-height: 520px;
  border-radius: 8px;
  transform: rotate(2deg);
}

.paper-access-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 0 40px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.paper-access-block div {
  width: 54px;
  height: 54px;
  background:
    linear-gradient(90deg, var(--ink) 6px, transparent 6px) 0 0 / 12px 12px,
    linear-gradient(var(--ink) 6px, transparent 6px) 0 0 / 12px 12px,
    #fff;
  border: 6px solid #fff;
  outline: 1px solid var(--line);
}

.paper-access-block p {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  text-transform: uppercase;
}

.paper-access-block strong {
  color: var(--ink);
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 14px 24px;
  flex-wrap: wrap;
  padding: 18px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e9e3d7;
}

.trust-strip span {
  color: var(--teal-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.problem-band {
  background: #fffdf8;
}

.narrow-copy,
.included-copy {
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.narrow-copy h2,
.physical-copy h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.02;
}

.narrow-copy p,
.included-copy p,
.physical-copy p,
.faq-list p,
.pricing-grid p,
.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.programme-band {
  display: block;
  background: var(--canvas);
}

.readiness-panel {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 26px;
  padding: 22px;
  border: 1px solid #cddbd8;
  border-radius: 8px;
  background: #e7f0ee;
}

.readiness-panel strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
}

.readiness-panel span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.included-band {
  background: #ffffff;
}

.delivery-note {
  font-family: var(--mono);
  font-size: 13px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.physical-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.48fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: #17211f;
  color: white;
}

.physical-copy {
  display: grid;
  gap: 16px;
}

.physical-copy h2 {
  color: white;
}

.physical-copy p {
  color: #c8d4cf;
}

.physical-band .eyebrow {
  color: #91c7bd;
}

.physical-band blockquote {
  margin: 0;
  color: #dcece7;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 54px);
  font-style: italic;
  line-height: 1.08;
}

.pricing-band {
  background: #fffdf8;
}

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

.price-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.featured-price {
  border-color: #b7d1cc;
  background: #eef7f4;
}

.price-label {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-card h3 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
}

.price-card > strong {
  font-size: 24px;
}

.price-card > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}

.price-card .storefront-cta,
.price-card .storefront-secondary {
  justify-self: start;
}

.pricing-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.faq-band {
  background: var(--canvas);
}

.faq-list {
  display: grid;
  gap: 0;
  max-width: 960px;
  border-top: 1px solid var(--line);
}

.faq-list article {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list h3 {
  font-size: 18px;
}

.story-band {
  background: #e7f0ee;
}

.legal-page {
  min-height: 100vh;
  background: #fbfcfb;
}

.legal-header {
  position: static;
}

.legal-content {
  display: grid;
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) 18px;
}

.legal-hero {
  gap: 14px !important;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.legal-doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.legal-doc-nav a {
  color: var(--accent-strong);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.legal-prose h3 {
  font-size: 26px;
  line-height: 1.15;
}

.legal-prose h4 {
  margin: 8px 0 0;
  font-size: 17px;
  line-height: 1.35;
}

.legal-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

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

.legal-contact-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.legal-table-wrap {
  overflow-x: auto;
}

.legal-table-wrap table {
  min-width: 640px;
}

.legal-table-wrap th,
.legal-table-wrap td {
  white-space: normal;
  word-break: break-word;
}

.legal-content h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.legal-content section {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.legal-content a {
  color: var(--accent-strong);
}

.factory-shell {
  min-height: 100vh;
  background: var(--canvas);
}

.factory-topbar {
  position: sticky;
}

.factory-main {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
}

.factory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 24px;
  align-items: center;
  min-height: 420px;
}

.factory-hero h2,
.factory-panel h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
}

.factory-hero h2 {
  font-size: clamp(38px, 5vw, 66px);
}

.factory-hero p:not(.eyebrow),
.factory-panel .section-heading p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.factory-workspace {
  display: grid;
  gap: 18px;
}

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

.factory-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  overflow: hidden;
  background: var(--line);
}

.factory-progress div {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #17211f;
  color: white;
}

.factory-progress span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-family: var(--mono);
}

.factory-workflow-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}

.factory-workflow-tab {
  display: grid;
  gap: 4px;
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
  padding: 10px;
  cursor: pointer;
}

.factory-workflow-tab span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.factory-workflow-tab strong {
  font-size: 14px;
  line-height: 1.2;
}

.factory-workflow-tab.active {
  border-color: var(--accent);
  background: #eef7f5;
  box-shadow: inset 0 0 0 1px rgba(29, 91, 93, 0.12);
}

.factory-target-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 18px;
  align-items: end;
}

.factory-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
}

.factory-wide {
  grid-column: 1 / -1;
}

.factory-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.factory-queue-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.factory-queue-summary span {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
}

.factory-queue-summary strong {
  color: var(--text);
  font-size: 20px;
}

.factory-source-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.factory-source-card h3 {
  font-size: 18px;
}

.factory-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.factory-status-grid span {
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--panel-soft);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.factory-next-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #cddbd8;
  border-radius: 8px;
  background: #eef7f4;
}

.factory-next-action strong {
  font-size: 16px;
}

.factory-next-action span {
  color: var(--muted);
}

.factory-next-action button {
  grid-row: span 2;
}

.factory-review-section {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.factory-review-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 8px;
  background: #17211f;
  color: white;
}

.factory-review-heading div {
  display: grid;
  gap: 3px;
}

.factory-review-heading span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.factory-review-list {
  display: grid;
  gap: 12px;
}

.factory-review-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d8d1c3;
  border-radius: 8px;
  background: #fff;
}

.factory-review-card-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.factory-review-card-head span,
.factory-warning {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.factory-warning {
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff7df;
}

.factory-review-card form {
  display: grid;
  gap: 12px;
}

.factory-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.factory-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.factory-visual-box,
.factory-curriculum-box,
.factory-visual-section {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #cddbd8;
  border-radius: 8px;
  background: #f7fbf8;
}

.factory-visual-alert {
  border-color: #e2c16d;
  background: #fff7df;
}

.factory-visual-box span {
  color: var(--muted);
}

.factory-curriculum-box span {
  color: var(--muted);
  line-height: 1.5;
}

.factory-asset-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.factory-asset-list span {
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--panel-soft);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.factory-generated-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #b8d4ce;
  border-radius: 8px;
  background: #f4fbf8;
}

.factory-generated-card form {
  display: grid;
  gap: 12px;
}

.factory-gate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.factory-gate-grid span {
  display: grid;
  gap: 2px;
  min-height: 54px;
  padding: 9px 10px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 11px;
}

.factory-gate-grid strong {
  font-family: var(--sans);
  font-size: 12px;
}

.factory-gate-ok {
  background: #e8f5ee;
  color: #245744;
}

.factory-gate-warn {
  background: #fff7df;
  color: #73531d;
}

.factory-bank-list,
.factory-build-panel {
  display: grid;
  gap: 12px;
}

.factory-bank-card,
.factory-build-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.factory-bank-card {
  display: grid;
  gap: 6px;
}

.factory-bank-card span,
.factory-build-panel span {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .topbar,
  .auth-layout,
  .grid.two,
  .grid.three,
  .storefront-hero,
  .storefront-grid.three,
  .programme-band,
  .trust-band,
  .storefront-form,
  .data-band,
  .process-list {
    grid-template-columns: 1fr;
  }

  .topbar,
  .storefront-header {
    display: grid;
    align-items: start;
  }

  .answer-key,
  .answer-grid,
  .clearance-grid,
  .review-grid,
  .pipeline-row {
    grid-template-columns: 1fr;
  }

  main {
    padding: 18px;
  }

  .auth-layout {
    margin: 18px auto;
  }

  h2 {
    font-size: 28px;
  }

  .hero-copy h2,
  .section-heading h2,
  .programme-copy h2,
  .trust-band h2 {
    font-size: 40px;
  }

  .legal-contact-grid {
    grid-template-columns: 1fr;
  }

  .legal-table-wrap table {
    min-width: 0;
  }

  .storefront-hero {
    min-height: auto;
  }

  .preview-sheet {
    min-height: 480px;
    transform: none;
  }

  .storefront-wide {
    grid-column: auto;
  }

  .launch-site .storefront-header {
    gap: 16px;
  }

  .launch-site .storefront-nav {
    gap: 10px 16px;
  }

  .launch-site .storefront-nav a {
    font-size: 14px;
  }

  .launch-hero {
    padding-top: 34px;
    background: var(--canvas);
  }

  .launch-hero .hero-copy h2 {
    font-size: 43px;
    line-height: 1.02;
  }

  .launch-facts span {
    font-size: 12px;
  }

  .product-preview {
    gap: 14px;
  }

  .launch-sheet {
    justify-self: stretch;
    min-height: 460px;
  }

  .launch-readiness {
    justify-self: stretch;
    margin-top: 0;
  }

  .process-list article {
    min-height: auto;
  }

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

  .claude-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .claude-hero .hero-copy h2 {
    font-size: 43px;
    line-height: 1.02;
  }

  .paper-scene {
    min-height: 500px;
  }

  .paper-pack {
    inset: 8px auto auto 0;
    width: min(82%, 330px);
    min-height: 330px;
  }

  .paper-scene .launch-sheet {
    width: min(94%, 390px);
    min-height: 455px;
    transform: rotate(1deg);
  }

  .trust-strip {
    justify-content: flex-start;
  }

  .readiness-panel,
  .physical-band,
  .pricing-grid,
  .faq-list article {
    grid-template-columns: 1fr;
  }

  .physical-band blockquote {
    font-size: 34px;
  }

  .factory-main {
    padding: 18px;
  }

  .factory-hero,
  .factory-progress,
  .factory-workflow-nav,
  .factory-queue-summary,
  .factory-target-panel,
  .factory-form,
  .factory-review-grid,
  .factory-gate-grid,
  .factory-status-grid,
  .factory-next-action {
    grid-template-columns: 1fr;
  }

  .factory-wide {
    grid-column: auto;
  }

  .factory-next-action button {
    grid-row: auto;
  }
}
