/* Shared palette from #315's app-owned light/dark tokens. */
:root {
  color-scheme: light;
  --bg: #f1f1f1;
  --surface: #ffffff;
  --surface-subtle: #f7f7f7;
  --surface-hover: #eeeeee;
  --text: #303030;
  --muted: #616161;
  --border: #e3e3e3;
  --control-border: #8a8a8a;
  --accent: #303030;
  --accent-hover: #1a1a1a;
  --on-accent: #ffffff;
  --accent-soft: #f1f1f1;
  --success: #0c5132;
  --success-bg: #e3f1df;
  --warning: #714b00;
  --warning-bg: #fff8db;
  --danger: #b5260b;
  --danger-bg: #fee9e8;
  --info: #24578f;
  --info-bg: #eaf2ff;
  --focus: #275fd2;
  --link: #24578f;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #111318;
    --surface: #191b20;
    --surface-subtle: #22252b;
    --surface-hover: #2b2f36;
    --text: #f3f4f6;
    --muted: #b4bac4;
    --border: #3a4048;
    --control-border: #7d8794;
    --accent: #f3f4f6;
    --accent-hover: #ffffff;
    --on-accent: #16181d;
    --accent-soft: #2b2f36;
    --success: #a9ddb7;
    --success-bg: #1e3326;
    --warning: #f1cf83;
    --warning-bg: #312719;
    --danger: #ffb4ab;
    --danger-bg: #3a2423;
    --info: #adcfff;
    --info-bg: #1e2e45;
    --focus: #a8c7ff;
    --link: #9ec5ff;
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h1 { font-size: 48px; font-weight: 650; letter-spacing: -.04em; max-width: 16em; }
h2 { font-size: 32px; font-weight: 650; letter-spacing: -.03em; }
h3 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 2px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 8px; font-size: 24px; letter-spacing: -.04em; font-weight: 700; }
.brand-mark { display: flex; align-items: flex-end; gap: 4px; width: 24px; height: 24px; flex: none; }
.brand-mark::before, .brand-mark::after { content: ""; background: var(--success); border-radius: 2px 2px 0 0; width: 8px; height: 16px; transform: skewY(-18deg); }
.brand-mark::after { height: 24px; }
.brand-link { min-height: 44px; color: var(--text); text-decoration: none; }
.header-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.header-nav a, .text-action, .organic-links a { display: inline-flex; align-items: center; min-height: 44px; }
.header-nav a, .text-action { min-width: 44px; }
.muted { color: var(--muted); }
.hero { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 48px; padding-block: 64px; }
.hero-copy, .desk-preview { min-width: 0; }
.eyebrow { color: var(--muted); text-transform: uppercase; font-size: 12px; font-weight: 650; letter-spacing: .1em; margin-bottom: 16px; }
.lede { margin-block: 24px 28px; color: var(--muted); font-size: 18px; max-width: 42em; }
.availability { margin-block: 24px 12px; font-size: 14px; font-weight: 600; }
.cta { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 48px; padding: 12px 20px; border-radius: 8px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; }
.cta:hover { background: var(--accent-hover); }
.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.cta span { font-size: 22px; line-height: 1; }
.cta-note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.cta-note a { display: inline-block; padding-block: 8px; }
.desk-preview { padding: 24px; background: var(--surface-subtle); border: 1px solid var(--border); border-radius: 16px; font-variant-numeric: tabular-nums; box-shadow: 0 4px 16px #00000008; }
.desk-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.desk-heading .eyebrow { margin-bottom: 8px; font-size: 11px; }
.desk-title { font-size: 20px; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.sample-label { font-size: 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 4px 8px; white-space: nowrap; }
.supplier-card { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.supplier-heading { display: flex; align-items: center; gap: 12px; padding: 16px; }
.monogram { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); background: var(--surface-subtle); font-size: 12px; }
.supplier-name { font-size: 16px; font-weight: 650; }
.small { font-size: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
th, td { padding: 12px; border-top: 1px solid var(--border); text-align: right; }
thead th { background: var(--surface-subtle); color: var(--muted); font-size: 12px; font-weight: 500; }
th:first-child { text-align: left; width: 48%; }
tbody th { font-weight: 600; }
.sku { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.quantity { font-size: 24px; }
.sample-explanation { border-top: 1px solid var(--border); padding: 20px; }
.sample-explanation h2 { font-size: 20px; }
.sample-explanation p { font-size: 14px; margin-top: 12px; }
.calculation { margin-block: 16px; font-size: 14px; }
.calculation > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 4px; }
.calculation dd { margin: 0; }
.calculation-total { margin-top: 8px; border-top: 1px solid var(--border); font-weight: 650; }
.supplier-footer { padding: 12px 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
figcaption { font-size: 12px; color: var(--muted); margin-top: 16px; }
figcaption a { display: inline-block; padding-block: 8px; }
.section { padding-block: 48px; border-top: 1px solid var(--border); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 32px 0 0; padding: 0; }
.step-number { display: inline-block; color: var(--muted); font-size: 14px; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.steps p, .fit-intro > p:last-child, .offer-note p { color: var(--muted); margin-top: 16px; }
.fit { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 40px; }
.fit-list ul { padding-left: 20px; margin: 16px 0 0; }
.fit-list li { padding-left: 4px; margin-top: 12px; }
.not-for { color: var(--muted); }
.not-for h3 { color: var(--text); }
.offer, .bridge, .evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.offer { padding: 40px; margin-bottom: 32px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.price { font-size: 56px; letter-spacing: -.05em; }
.price-period { font-size: 20px; font-weight: 400; letter-spacing: -.01em; margin-left: 8px; color: var(--muted); }
.price-terms { margin-top: 16px; }
.bridge .reading-copy > p:first-child { margin-top: 0; }
.bridge .reading-copy > h3 { margin-top: 24px; }
.site-footer { border-top: 1px solid var(--border); padding-block: 32px; display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-brand { font-size: 20px; }
.privacy { max-width: 66ch; color: var(--muted); font-size: 14px; }
.privacy p + p { margin-top: 8px; }
.privacy a { display: inline-block; padding-block: 8px; }
.page-intro { display: block; }
.page-intro h1 { max-width: 19em; }
.page-intro .lede:last-child { margin-bottom: 0; }
.page-intro p:not(.eyebrow) { margin-top: 24px; }
.organic-hero h1 { max-width: 15em; }
.article-card { padding: 32px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.article-card h2 { font-size: 24px; }
.article-card p:not(.eyebrow), .reading-copy > p:not(.eyebrow) { margin-top: 16px; }
.example-quantity { font-size: 32px; font-variant-numeric: tabular-nums; }
.reading-copy { max-width: 72ch; overflow-wrap: anywhere; }
.renewal-checklist { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.renewal-checklist li { padding: 28px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.organic-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; }
.offboarding summary { min-height: 48px; padding: 8px; cursor: pointer; font-size: 20px; font-weight: 650; }
.offboarding summary:hover { background: var(--surface-hover); }
.offboarding p { margin-top: 16px; }
.contents-list { margin: 16px 0 0; padding-left: 24px; }
.contents-list li { padding-left: 4px; }
.contents-list a { display: block; min-height: 44px; padding-block: 8px; }
.policy-contents { margin-bottom: 40px; }
.policy-contents .contents-list { columns: 2; column-gap: 48px; }
.policy-contents li { break-inside: avoid; }
.orientation { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 24px; }
.orientation h3 { font-size: 18px; }
.orientation a { display: inline-block; min-height: 44px; padding-block: 8px; }
.orientation p { margin-top: 8px; color: var(--muted); }
.entry-section .cta-actions { margin-top: 24px; }
.notice-summary { padding-left: 16px; border-left: 3px solid var(--control-border); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1; background: var(--surface); padding: 12px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 64rem) {
  .hero { gap: 32px; }
  .desk-preview { padding: 16px; }
  .desk-heading { flex-wrap: wrap; }
  .fit, .offer, .bridge, .evidence { gap: 32px; }
}
@media (max-width: 48rem) {
  .wrap { width: calc(100% - 32px); }
  .site-header { padding-block: 16px; gap: 12px; flex-wrap: wrap; }
  .brand { font-size: 22px; }
  .header-nav { gap: 16px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 40px; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .lede { font-size: 18px; margin-block: 20px 24px; }
  .eyebrow { font-size: 11px; }
  .cta { width: 100%; gap: 16px; }
  .cta-actions { justify-content: center; gap: 8px 20px; }
  .desk-preview { padding: 12px; }
  .desk-title { font-size: 18px; }
  .desk-heading { gap: 12px; margin: 4px 4px 16px; }
  .supplier-heading { padding: 12px; }
  th, td { padding: 12px 8px; }
  thead th { font-size: 11px; }
  .sample-explanation { padding: 16px; }
  .section { padding-block: 32px; }
  .steps, .fit, .offer, .bridge, .evidence, .orientation { grid-template-columns: 1fr; gap: 24px; }
  .steps { margin-top: 24px; }
  .step-number { margin-bottom: 12px; }
  .steps p { margin-top: 12px; }
  .article-card, .renewal-checklist li, .offer { padding: 24px; }
  .offer { margin-bottom: 24px; }
  .price { font-size: 48px; }
  .site-footer { flex-direction: column; gap: 24px; }
  .policy-contents .contents-list { columns: 1; }
}
@media print {
  :root { color-scheme: light; --bg: #ffffff; --surface: #ffffff; --surface-subtle: #ffffff; --text: #303030; --muted: #303030; --border: #8a8a8a; --link: #303030; --success: #0c5132; }
  body { font-size: 11pt; }
  .wrap { width: 100%; }
  .header-nav, .skip-link, .cta-actions, .availability, .entry-section, .offboarding { display: none; }
  .site-header, .site-footer { padding-block: 12pt; }
  .hero, .section { padding-block: 16pt; }
  h1 { font-size: 26pt; }
  h2 { font-size: 18pt; }
  h3 { font-size: 13pt; }
  h1, h2, h3 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  .hero, .steps, .fit, .offer, .bridge, .evidence, .orientation { display: block; }
  .article-card, .renewal-checklist li, .offer { padding: 12pt; margin-block: 12pt; break-inside: avoid; }
  .orientation > div { margin-block: 12pt; }
  .reading-copy { max-width: none; }
  .contents-list a, .orientation a, .privacy a { min-height: 0; padding-block: 2pt; }
  .policy-contents { margin-bottom: 12pt; }
  .desk-preview { box-shadow: none; }
}
