:root {
  --bg: #f7f7f5;
  --surface: #faf9f7;
  --surface-muted: #efede8;
  --ink-900: #1f1f1c;
  --ink-800: #2a2a27;
  --ink-700: #3e3e39;
  --text: #1f1f1c;
  --muted: #6b6b66;
  --subtle: #a1a19a;
  --accent: #c89b5e;
  --accent-strong: #8a6a46;
  --accent-soft: #f2e8d9;
  --danger: #8a463a;
  --edge: #e4e2dc;
  --edge-strong: #d2cec4;
  --graphite: #2a2a27;
  --warm-white: #f8f7f4;
  --code-surface: #ece9e3;
  --syntax-gold: #c89b5e;
  --syntax-sage: #7c8b72;
  --syntax-blue: #6e7c8c;
  --syntax-terracotta: #b07a5a;
  --shadow: 0 18px 48px #1f1f1c12;
  --shadow-soft: 0 1px 0 #1f1f1c0a;
  --radius: 8px;
  --font-display: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
}

body {
  background: linear-gradient(180deg, var(--surface) 0, var(--bg) 360px);
  color: var(--text);
  font-family: var(--font-body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
}

main {
  width: 100%;
  padding: 146px 32px 76px;
  position: relative;
}

.layout {
  grid-template-columns: repeat(12, 1fr);
  gap: 56px;
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  position: relative;
}

.layout--center {
  align-items: start;
}

.hero {
  flex-direction: column;
  grid-column: span 7;
  gap: 34px;
  padding-top: 18px;
  display: flex;
}

.brand-copy {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.eyebrow, .section-kicker, label {
  color: var(--accent-strong);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}

h1, h2, h3 {
  color: var(--ink-900);
  font-family: var(--font-display);
  letter-spacing: 0;
  font-weight: 500;
}

h1 {
  max-width: 820px;
  font-size: 58px;
  line-height: 1.03;
}

h2 {
  margin-bottom: 18px;
  font-size: 34px;
  line-height: 1.14;
}

.solution-title {
  font-size: 48px;
}

h3 {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.35;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

p + p {
  margin-top: 16px;
}

.lede {
  color: var(--ink-700);
  max-width: 760px;
  font-size: 19px;
  line-height: 1.7;
}

.contact-list, .detail-list {
  gap: 0;
  list-style: none;
  display: grid;
}

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

.hero-list li {
  color: var(--ink-700);
  padding-left: 24px;
  line-height: 1.65;
  position: relative;
}

.hero-list li:before {
  background: var(--accent);
  content: "";
  border-radius: 50%;
  width: 5px;
  height: 5px;
  position: absolute;
  top: .72em;
  left: 2px;
}

.contact-list li {
  border-bottom: 1px solid var(--edge);
  color: var(--text);
  padding: 14px 0;
  line-height: 1.55;
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list + .panel-actions {
  margin-top: 16px;
}

.tag-row {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.tag {
  background: var(--surface-muted);
  border: 1px solid var(--edge);
  color: var(--accent-strong);
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  grid-column: span 5;
  padding: 36px;
  position: relative;
}

.panel-sub {
  margin-bottom: 30px;
}

.panel-actions {
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  display: flex;
}

.status {
  background: var(--surface-muted);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  color: var(--ink-700);
  padding: 14px 16px;
}

.form {
  gap: 22px;
  margin-top: 22px;
  display: grid;
}

.field {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.field-hint {
  color: var(--subtle);
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  display: flex;
}

input, select, button {
  font-family: inherit;
}

input, select {
  appearance: none;
  background-color: var(--surface);
  border: 1px solid var(--edge-strong);
  color: var(--ink-900);
  border-radius: 7px;
  width: 100%;
  height: 48px;
  padding: 0 15px;
  font-size: 15px;
  transition: background .2s, border .2s, box-shadow .2s;
}

select {
  appearance: auto;
  background-image: none;
  padding-right: 14px;
}

input::placeholder {
  color: var(--subtle);
}

input:focus, select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px #c89b5e29;
}

.btn {
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border .2s, box-shadow .2s, transform .2s, color .2s;
  display: inline-flex;
}

.btn-primary {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--warm-white);
}

.btn-primary:hover {
  background: var(--ink-900);
  border-color: var(--ink-900);
  box-shadow: 0 10px 24px #1f1f1c1f;
}

.btn-secondary, .btn-ghost {
  background: var(--surface);
  border-color: var(--edge-strong);
  color: var(--graphite);
}

.btn-secondary:hover, .btn-ghost:hover {
  border-color: var(--accent);
  background: var(--surface-muted);
  color: var(--ink-900);
}

.btn-full {
  width: 100%;
}

.btn-primary:disabled, .btn-primary.is-waiting {
  background: var(--subtle);
  border-color: var(--subtle);
  color: #f8f7f4d1;
  cursor: not-allowed;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

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

.content-shell {
  gap: 0;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 0 32px 92px;
  display: grid;
}

.content-shell--standalone {
  padding-top: 146px;
}

.evidence-strip {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 34px;
  display: grid;
}

.evidence-item {
  border-right: 1px solid var(--edge);
  gap: 12px;
  min-height: 128px;
  padding: 24px;
  display: grid;
}

.evidence-item:last-child {
  border-right: 0;
}

.evidence-item span {
  color: var(--subtle);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}

.evidence-item strong {
  color: var(--ink-800);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.document-section {
  border-top: 1px solid var(--edge);
  padding: 70px 0;
}

.document-section:first-of-type {
  border-top: 0;
}

.document-entry {
  border-top: 1px solid var(--edge);
  margin-top: 32px;
  padding-top: 28px;
}

.document-entry:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.document-entry h3 {
  color: var(--ink-800);
  margin-bottom: 10px;
}

.document-list {
  gap: 8px;
  margin: 14px 0 16px;
  padding-left: 22px;
  list-style: outside;
  display: grid;
}

.document-list li {
  color: var(--muted);
  padding-left: 4px;
  font-size: 16px;
  line-height: 1.75;
}

.section-kicker {
  margin-bottom: 14px;
  display: block;
}

.section-grid {
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, .8fr);
  gap: 52px;
  display: grid;
}

.summary-panel {
  background: var(--surface-muted);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  align-self: start;
  padding: 28px;
}

.summary-panel p {
  font-size: 14px;
  line-height: 1.7;
}

.summary-panel .btn {
  width: 100%;
  margin-top: 20px;
}

.compact-list, .hub-grid {
  list-style: none;
}

.compact-list {
  columns: 1;
}

.compact-list li {
  border-top: 1px solid var(--edge);
  color: var(--text);
  padding: 11px 0;
  font-size: 14px;
  line-height: 1.5;
}

.compact-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline-list {
  gap: 10px;
  margin-bottom: 20px;
  padding-left: 20px;
  list-style: outside;
  display: grid;
}

.timeline-list li {
  color: var(--text);
  padding-left: 4px;
  font-size: 14px;
  line-height: 1.6;
}

.hub-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0;
  display: grid;
}

.hub-grid li {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  color: var(--ink-800);
  min-height: 60px;
  padding: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.check-list {
  gap: 12px;
  margin-top: 30px;
  padding-left: 22px;
  list-style: outside;
  display: grid;
}

.check-list li {
  color: var(--ink-700);
  padding-left: 4px;
  line-height: 1.65;
}

.site-footer {
  padding: 0 32px 118px;
  position: relative;
}

.site-footer-inner {
  border-top: 1px solid var(--edge);
  color: var(--muted);
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
}

.site-footer-inner span, .site-footer-inner a {
  font-size: 12px;
  text-decoration: none;
}

.site-footer-inner a:hover, .text-link:hover {
  color: var(--ink-900);
}

.text-link {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}

.site-nav {
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--edge);
  z-index: 30;
  background: #faf9f7e6;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.site-nav a {
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid #0000;
  border-radius: 7px;
  padding: 9px 11px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border .2s, color .2s;
}

.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: var(--surface-muted);
  border-color: var(--edge);
  color: var(--ink-900);
}

.loading-overlay {
  z-index: 200;
  background: #1f1f1c8a;
  justify-content: center;
  align-items: center;
  display: none;
  position: fixed;
  inset: 0;
}

.loading-overlay.is-visible {
  display: flex;
}

.loading-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink-900);
  text-align: center;
  min-width: 260px;
  padding: 30px 34px;
}

.loading-card p {
  color: var(--muted);
  margin: 4px 0;
  font-size: 14px;
}

.loading-hint {
  color: var(--subtle);
  font-size: 12px;
}

.spinner {
  border: 4px solid var(--edge);
  border-top-color: var(--accent);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  animation: .9s linear infinite spin;
}

code, pre {
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
}

:not(pre) > code {
  background: var(--code-surface);
  border: 1px solid var(--edge);
  color: var(--accent-strong);
  border-radius: 5px;
  padding: .12em .35em;
  font-size: .92em;
}

pre {
  background: var(--code-surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  color: var(--ink-800);
  padding: 20px;
  line-height: 1.7;
  overflow: auto;
  box-shadow: inset 0 1px #faf9f7b8;
}

pre code {
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

.token.comment, .token.prolog, .token.doctype, .token.cdata {
  color: var(--subtle);
}

.token.keyword, .token.selector, .token.atrule {
  color: var(--syntax-gold);
}

.token.string, .token.char, .token.attr-value {
  color: var(--syntax-sage);
}

.token.function, .token.class-name, .token.property {
  color: var(--syntax-blue);
}

.token.number, .token.boolean, .token.operator, .token.punctuation {
  color: var(--syntax-terracotta);
}

[data-reveal] {
  animation: .55s ease-out forwards reveal;
  animation-delay: var(--delay, 0s);
  opacity: 0;
  transform: translateY(8px);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (width <= 960px) {
  main {
    padding: 120px 24px 56px;
  }

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

  .layout {
    gap: 42px;
  }

  .hero, .panel {
    grid-column: 1 / -1;
  }

  .hero {
    padding-top: 0;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 31px;
  }

  .solution-title {
    font-size: 34px;
  }

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

  .evidence-item:nth-child(2) {
    border-right: 0;
  }

  .evidence-item:nth-child(n+3) {
    border-top: 1px solid var(--edge);
  }

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

  .site-footer {
    padding: 0 24px 110px;
  }
}

@media (width <= 640px) {
  main {
    padding: 104px 20px 48px;
  }

  .layout {
    gap: 34px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 27px;
  }

  .solution-title {
    font-size: 30px;
  }

  .lede {
    font-size: 17px;
  }

  .panel, .summary-panel {
    padding: 24px;
  }

  .content-shell {
    padding-inline: 20px;
    padding-bottom: 72px;
  }

  .content-shell--standalone {
    padding-top: 112px;
  }

  .document-section {
    padding: 52px 0;
  }

  .evidence-strip, .hub-grid {
    grid-template-columns: 1fr;
  }

  .evidence-item, .evidence-item:nth-child(2) {
    border-right: 0;
  }

  .evidence-item:nth-child(n+2) {
    border-top: 1px solid var(--edge);
  }

  .site-nav {
    justify-content: flex-start;
    max-width: 100vw;
    padding-inline: 12px;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .spinner {
    animation: none;
  }
}
