:root {
  color-scheme: light;
  --brand: #E89A5B;
  --canvas: #F7F4EF;
  --surface: #FFFDFC;
  --field: #FFFDFC;
  --text: #30322F;
  --text-muted: #6F6A63;
  --border: #E5DED4;
  --inflow: #79A58D;
  --outflow: #C9796F;
  --cost: #7F9FB2;
  --balance: #8D7047;
  --focus: #E89A5B;
  --radius-control: 12px;
  --radius-card: 14px;
  --shadow-subtle: 0 8px 24px rgb(48 50 47 / 0.06);
  --content-width: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --canvas: #181A18;
    --surface: #20221F;
    --field: #272A26;
    --text: #F4F1EB;
    --text-muted: #B9B4AC;
    --border: #454943;
    --balance: #CDB58A;
    --shadow-subtle: 0 8px 24px rgb(0 0 0 / 0.16);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
  color: var(--text);
}

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

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

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

img,
svg {
  max-width: 100%;
}

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

h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 750;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
}

h3 {
  font-size: 1.12rem;
  font-weight: 700;
}

p {
  margin-top: 0;
}

.site-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  flex: 0 0 auto;
}

.brand__name,
.brand__parent {
  text-decoration: none;
}

.brand__name {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand__parent {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.brand__parent:hover,
.site-nav__link:hover {
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.site-nav__link {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
  transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand) 60%, var(--border));
  text-decoration: none;
}

.button--primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #30322F;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-subtle);
}

.field {
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--field);
  color: var(--text);
}

#main-content {
  min-height: calc(100vh - 170px);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--balance);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero {
  padding-block: clamp(64px, 9vw, 108px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(40px, 7vw, 84px);
}

.hero__content h1 {
  max-width: 820px;
  margin-bottom: 24px;
}

.hero__lead {
  max-width: 740px;
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(1.08rem, 2vw, 1.24rem);
}

.hero__support {
  max-width: 700px;
  margin-bottom: 28px;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__note {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero__panel {
  padding: 28px;
}

.hero__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  align-self: center;
  object-fit: cover;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.decision-grid > div {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.decision-grid strong {
  font-size: 1rem;
}

.decision-grid span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.section {
  padding-block: clamp(64px, 8vw, 92px);
}

.section--surface {
  border-block: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 74%, var(--canvas));
}

.section h2 {
  max-width: 760px;
  margin-bottom: 32px;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.question-card {
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  font-size: 1.02rem;
  font-weight: 650;
}

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

.feature-card {
  padding: 28px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-step {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.process-step > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 24%, transparent);
  color: var(--text);
  font-weight: 750;
}

.process-step strong {
  margin-bottom: 10px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(36px, 7vw, 88px);
}

.split-section h2 {
  margin-bottom: 20px;
}

.split-section p {
  color: var(--text-muted);
}

.content-card {
  padding: 28px;
}

.clean-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.ai-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 48px);
  background: color-mix(in srgb, var(--surface) 88%, var(--brand));
}

.ai-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--brand);
}

.ai-card > div {
  max-width: 820px;
}

.ai-card h2 {
  margin-bottom: 18px;
}

.ai-card p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list span {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
}

.final-cta {
  padding-top: clamp(72px, 9vw, 108px);
}

.final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-subtle);
}

.final-cta h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.final-cta .button {
  flex: 0 0 auto;
}

.error-page {
  min-height: calc(100vh - 242px);
  display: grid;
  place-items: center;
  padding-block: clamp(64px, 12vw, 120px);
}

.error-page__inner {
  max-width: 680px;
  text-align: center;
}

.error-page__code {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: clamp(4.5rem, 14vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.error-page h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.error-page__message {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.error-page__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.site-footer__inner {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}

.site-footer p {
  margin: 0;
}

.site-footer__meta {
  flex: 0 0 auto;
  font-size: 0.86rem;
}

.metric--inflow,
.text--positive {
  color: var(--inflow);
}

.metric--outflow,
.text--negative {
  color: var(--outflow);
}

.metric--cost {
  color: var(--cost);
}

.metric--balance {
  color: var(--balance);
}

@media (max-width: 900px) {
  .hero__grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    max-width: 680px;
  }

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

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

  .final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-nav {
    gap: 10px;
  }

  .site-nav__link {
    display: none;
  }

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

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--content-width));
  }

  .site-header__inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand__parent {
    font-size: 0.68rem;
  }

  .button {
    min-height: 46px;
    padding-inline: 14px;
  }

  .hero {
    padding-block: 52px 64px;
  }

  .hero__actions,
  .error-page__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button,
  .error-page__actions .button,
  .final-cta .button {
    width: 100%;
  }

  .decision-grid,
  .question-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .decision-grid > div {
    min-height: 104px;
  }

  .question-card {
    min-height: 124px;
  }

  .process-step {
    min-height: 0;
  }

  .process-step > span {
    margin-bottom: 24px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
