:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171612;
  background: #f3f0e8;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 4%, rgba(197, 105, 55, 0.15), transparent 30rem),
    #f3f0e8;
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  min-width: 0;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}

.site-header nav,
.site-footer {
  flex-wrap: wrap;
}

.site-header nav {
  display: flex;
  gap: 20px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.hero {
  padding-block: clamp(36px, 7vw, 72px) 40px;
}

.eyebrow,
.card-label {
  margin: 0 0 14px;
  color: #9e4426;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: 1.1rem;
}

.lede {
  max-width: 760px;
  color: #4f4b43;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.trust-boundary {
  max-width: 760px;
  color: #37342e;
  font-weight: 700;
}

.product-visual {
  margin: 36px 0 0;
}

.product-visual-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d0c8b8;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(63, 45, 28, 0.12);
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.proof-row span {
  border: 1px solid #d0c8b8;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.88rem;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.service-card,
.use-case-panel,
.evidence-panel,
.start-gate,
.policy-page,
.demo-page {
  border: 1px solid #d0c8b8;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 80px rgba(63, 45, 28, 0.08);
}

.use-case-panel {
  margin-bottom: 20px;
  padding: clamp(28px, 6vw, 64px);
}

.use-case-intro {
  max-width: 760px;
}

.use-case-intro > p:last-child,
.use-case-card p {
  color: #5f5a51;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-block: 32px;
}

.use-case-card {
  min-width: 0;
  border-top: 1px solid #d0c8b8;
  padding-top: 20px;
}

.use-case-card p {
  margin-bottom: 0;
}

.use-case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 5vw, 48px);
}

.primary-card {
  background: #1f201b;
  color: #f7f2e8;
}

.price {
  margin: 26px 0 0;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 850;
  letter-spacing: -0.06em;
}

.delivery {
  margin-top: 0;
  color: #69645c;
}

.primary-card .delivery {
  color: #c9c3b7;
}

ul {
  margin: 20px 0 28px;
  padding-left: 20px;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: auto;
}

.demo-intro-actions {
  flex-direction: row;
  flex-wrap: wrap;
  margin: 28px 0 52px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  border-color: #b3471e;
  background: #b3471e;
  color: #fff;
}

.text-link {
  font-weight: 700;
}

.evidence-panel,
.start-gate {
  margin-top: 20px;
  padding: clamp(28px, 6vw, 64px);
}

.evidence-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.evidence-panel .button {
  grid-column: 2;
  justify-self: start;
}

.gate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.site-footer {
  color: #5f5a51;
  font-size: 0.88rem;
}

.policy-page {
  max-width: 820px;
  margin-block: 40px;
  padding: clamp(28px, 7vw, 72px);
}

.policy-page h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.policy-page h2 {
  margin-top: 40px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.demo-page {
  max-width: 920px;
  margin-block: 40px;
  padding: clamp(28px, 7vw, 72px);
}

.demo-page h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.demo-page h2 {
  margin-top: 48px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.code-panel {
  max-width: 100%;
  margin: 18px 0;
  border: 1px solid #d0c8b8;
  border-radius: 16px;
  padding: 18px;
  overflow-x: auto;
  background: #1f201b;
  color: #f7f2e8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre;
}

.demo-callout {
  margin-top: 40px;
  border-left: 4px solid #df6c3a;
  padding: 4px 0 4px 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 48px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .site-header,
  .service-grid,
  .use-case-grid,
  .evidence-panel,
  .gate-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .evidence-panel .button {
    grid-column: 1;
  }

  .site-header {
    align-items: start;
  }

  .demo-page {
    margin-block: 16px;
    padding: 24px 20px;
  }

  .demo-page h1 {
    margin-bottom: 18px;
    font-size: clamp(2.45rem, 12vw, 2.8rem);
  }

  .back-link {
    margin-bottom: 24px;
  }

  .demo-intro-actions {
    margin: 20px 0 40px;
  }
}
