:root {
  color-scheme: light;
  --graphite: #171614;
  --graphite-2: #24211d;
  --ink: #17130f;
  --ink-soft: #454039;
  --muted: #766e61;
  --line: #d8ded4;
  --line-strong: #bac6ba;
  --paper: #f6f7f2;
  --paper-2: #e8ede6;
  --panel: #fffefa;
  --copper: #b8672f;
  --copper-dark: #843b19;
  --green: #146a45;
  --blue: #3451a4;
  --white: #ffffff;
  --shadow: 0 30px 90px rgba(55, 40, 20, 0.16);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "SF Mono", "Cascadia Code", "Roboto Mono", ui-monospace, monospace;
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(184, 103, 47, 0.28);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  width: min(1180px, calc(100vw - 32px));
  min-height: 58px;
  transform: translateX(-50%);
  border: 1px solid rgba(186, 198, 186, 0.72);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.84);
  box-shadow: 0 18px 52px rgba(55, 40, 20, 0.12);
  padding: 8px 10px;
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.surface-top,
.window-controls,
.resource-pill,
.stack-band,
.stack-list,
.price-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--graphite);
  color: var(--paper);
  font-size: 12px;
  font-weight: 950;
}

.nav-links {
  justify-content: center;
  gap: 6px;
}

.nav-links a,
.nav-cta {
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(23, 19, 15, 0.06);
  color: var(--ink);
}

.nav-cta {
  background: var(--graphite);
  color: var(--paper);
  font-weight: 720;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px max(24px, calc((100vw - 1180px) / 2)) 34px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(23, 19, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 15, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fbfcf8 0%, #f3f5ef 58%, #e7ede4 100%);
  background-size: 76px 76px, 76px 76px, auto;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.hero h1,
.hero-lede,
.surface-top strong,
.surface-hero-row strong,
.surface-hero-row p,
.reservation-flow strong,
.reservation-flow p,
.badge-preview p,
.value-grid h3,
.value-grid p,
.section-intro h2,
.section-intro p,
.system-ledger h3,
.system-ledger p,
.workflow-grid h3,
.workflow-grid p,
.pilot h2,
.pilot p,
.pilot-form h3,
.form-status {
  margin: 0;
}

.eyebrow {
  color: var(--copper-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin-top: 14px;
  font-size: clamp(54px, 6.7vw, 88px);
  font-weight: 760;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 790px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.48;
}

.hero-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 17px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--graphite);
  color: var(--paper);
}

.button.primary:hover {
  background: #2c2924;
}

.button.secondary {
  border-color: var(--line-strong);
  background: rgba(255, 253, 248, 0.62);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--panel);
}

.agent-surface {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 30px auto 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.surface-top {
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--graphite);
  color: rgba(248, 243, 234, 0.78);
  padding: 0 14px;
}

.window-controls {
  gap: 6px;
}

.window-controls span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(248, 243, 234, 0.38);
}

.surface-url {
  flex: 1;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-status {
  border: 1px solid rgba(90, 190, 134, 0.34);
  border-radius: 999px;
  background: rgba(20, 106, 69, 0.18);
  color: #8ce3ae;
  padding: 5px 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.surface-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding: 20px;
}

.surface-kicker,
.column-label {
  display: block;
  color: var(--copper-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.surface-hero-row strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 740;
  line-height: 0.98;
}

.surface-hero-row p {
  max-width: 620px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.48;
}

.resource-pill {
  gap: 8px;
  border: 1px solid rgba(20, 106, 69, 0.22);
  border-radius: 999px;
  background: #edf7f0;
  color: var(--green);
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.resource-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.reservation-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f5f7f1;
}

.reservation-flow article {
  min-height: 108px;
  border-right: 1px solid var(--line);
  padding: 15px 16px;
}

.reservation-flow article:last-child {
  border-right: 0;
}

.reservation-flow span {
  color: var(--copper-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.reservation-flow strong {
  display: block;
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.12;
}

.reservation-flow p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.surface-main {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.12fr;
}

.surface-pane {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 12px 18px 10px;
}

.surface-pane:last-child {
  border-right: 0;
}

.badge-preview {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 0 0;
}

.badge-preview > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--graphite);
  color: var(--paper);
  font-size: 12px;
  font-weight: 950;
}

.badge-preview strong {
  display: block;
  font-size: 17px;
}

.badge-preview p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.audit-feed {
  display: grid;
}

.policy-row,
.audit-feed div {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}

.policy-row:last-child,
.audit-feed div:last-child {
  border-bottom: 0;
}

.policy-row span {
  color: var(--muted);
  font-size: 13px;
}

.policy-row strong {
  color: var(--ink);
  font-size: 13px;
}

.data-list {
  display: none;
}

.policy-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.policy-row strong {
  color: var(--copper-dark);
  text-align: right;
  white-space: nowrap;
}

.audit-feed {
  margin-top: 4px;
}

.audit-feed div {
  grid-template-columns: 9px minmax(0, 1fr);
  align-items: center;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.38;
}

.audit-feed span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.stack-band {
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
}

.stack-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.stack-list {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-list span {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink-soft);
  padding: 7px 9px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 820;
}

.section,
.pilot {
  padding: 88px max(24px, calc((100vw - 1180px) / 2));
}

.section-intro {
  max-width: 860px;
}

.section-intro h2,
.pilot h2 {
  margin-top: 12px;
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-intro p,
.pilot-copy > p {
  max-width: 720px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.56;
}

.system-section {
  background: var(--paper);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.value-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.value-grid span {
  color: var(--copper-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.value-grid h3 {
  margin-top: 22px;
  font-size: 25px;
  line-height: 1.05;
}

.value-grid p {
  margin-top: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.system-ledger {
  display: grid;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.system-ledger article {
  display: grid;
  grid-template-columns: 76px minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 22px 24px;
}

.system-ledger article:last-child {
  border-bottom: 0;
}

.system-ledger span {
  color: var(--copper-dark);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
}

.system-ledger h3 {
  font-size: 25px;
  line-height: 1.02;
}

.system-ledger p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.5;
}

.workflows {
  background: var(--graphite);
  color: var(--paper);
}

.workflows .eyebrow {
  color: #d5905e;
}

.workflows .section-intro p {
  color: rgba(248, 243, 234, 0.72);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.workflow-grid article {
  min-height: 250px;
  border: 1px solid rgba(248, 243, 234, 0.14);
  border-radius: 8px;
  background: var(--graphite-2);
  padding: 24px;
}

.workflow-grid span {
  display: inline-block;
  color: #d5905e;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.workflow-grid h3 {
  margin-top: 24px;
  font-size: 26px;
  line-height: 1.06;
}

.workflow-grid p {
  margin-top: 14px;
  color: rgba(248, 243, 234, 0.7);
  line-height: 1.55;
}

.pilot {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.62fr);
  gap: 60px;
  align-items: start;
  background: var(--paper-2);
}

.price-row {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.price-row strong,
.price-row span {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  padding: 11px 12px;
}

.price-row strong {
  color: var(--ink);
}

.price-row span {
  color: var(--ink-soft);
  font-weight: 800;
}

.pilot-form {
  display: grid;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
  box-shadow: 0 22px 70px rgba(55, 40, 20, 0.12);
}

.pilot-form h3 {
  font-size: 27px;
}

.pilot-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.label-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.label-row span {
  color: var(--muted);
  font-weight: 500;
  text-transform: none;
}

.pilot-form input,
.pilot-form textarea {
  width: 100%;
  border: 1px solid #cfc4b2;
  border-radius: 7px;
  background: #fffdf8;
  color: var(--ink);
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 520;
  text-transform: none;
  resize: vertical;
}

.pilot-form input::placeholder,
.pilot-form textarea::placeholder {
  color: #9b9285;
}

.form-button {
  width: 100%;
  border: 0;
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: #b42318;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  font-size: 14px;
}

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

  .nav-links {
    display: none;
  }

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

  .reservation-flow article:nth-child(2) {
    border-right: 0;
  }

  .reservation-flow article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .surface-main {
    grid-template-columns: 1fr;
  }

  .surface-pane,
  .surface-pane:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .surface-pane:last-child {
    border-bottom: 0;
  }

  .pilot {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .stack-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .stack-list {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 8px;
    width: calc(100vw - 16px);
    min-height: 52px;
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding-inline: 10px;
    font-size: 13px;
  }

  .hero,
  .section,
  .pilot,
  .stack-band {
    padding-inline: 16px;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 18px;
    background-size: 54px 54px, 54px 54px, auto;
  }

  .hero h1 {
    font-size: clamp(38px, 11.5vw, 50px);
  }

  .hero-lede {
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.38;
  }

  .hero-actions {
    width: 100%;
    margin-top: 16px;
  }

  .button {
    width: 100%;
    min-height: 42px;
  }

  .agent-surface {
    margin-top: 18px;
  }

  .surface-top {
    min-height: 34px;
    padding-inline: 10px;
  }

  .surface-url {
    max-width: 180px;
    font-size: 11px;
  }

  .live-status {
    padding: 4px 7px;
    font-size: 10px;
  }

  .surface-hero-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
  }

  .surface-hero-row strong {
    font-size: 23px;
  }

  .surface-hero-row p {
    display: none;
  }

  .resource-pill {
    width: fit-content;
    padding: 7px 9px;
    font-size: 10px;
  }

  .reservation-flow article {
    min-height: 46px;
    padding: 8px 12px;
  }

  .reservation-flow strong {
    margin-top: 5px;
    font-size: 13px;
  }

  .reservation-flow p {
    display: none;
  }

  .surface-main {
    display: none;
  }

  .stack-band {
    gap: 12px;
    padding-block: 16px;
  }

  .stack-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .stack-list span {
    min-width: 0;
    text-align: center;
  }

  .section,
  .pilot {
    padding-block: 64px;
  }

  .section-intro h2,
  .pilot h2 {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .section-intro p,
  .pilot-copy > p {
    font-size: 17px;
  }

  .system-ledger article {
    grid-template-columns: 42px 1fr;
    gap: 10px 16px;
    padding: 18px 16px;
  }

  .system-ledger p {
    grid-column: 2;
    font-size: 16px;
  }

  .workflow-grid article {
    min-height: auto;
  }

  .pilot-form {
    padding: 18px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 16px;
  }
}
