:root {
  --md-primary-fg-color: #173f35;
  --md-primary-fg-color--light: #326252;
  --md-primary-fg-color--dark: #102e27;
  --md-accent-fg-color: #a65d3d;
  --md-default-bg-color: #fbf8f1;
  --md-default-fg-color: #24332f;
  --md-code-bg-color: #f0ede4;
  --md-text-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --md-code-font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

body { background: var(--md-default-bg-color); }
.md-header { box-shadow: none; border-bottom: 1px solid rgba(23, 63, 53, .16); }
.md-header__title { font-weight: 700; letter-spacing: .015em; }
.md-logo img { width: 2rem; height: 2rem; }
.md-typeset h1, .md-typeset h2 { color: #173f35; letter-spacing: -.025em; }
.md-typeset h1 { font-weight: 750; }
.md-typeset a:not(.md-button) { text-decoration-thickness: 1px; text-underline-offset: .15em; }
.md-typeset .md-button { border-radius: .35rem; font-weight: 650; }
.md-typeset .md-button--primary { background: #173f35; border-color: #173f35; color: #fff; }
.md-typeset .md-button--primary:hover { background: #275547; border-color: #275547; }

.tychora-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  margin: 0 0 2.5rem;
  border: 1px solid rgba(23, 63, 53, .17);
  border-radius: 1rem;
  background: #e9e5d8 url("../assets/hero.png") center / cover no-repeat;
  color: #173f35;
}
.tychora-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(251,248,241,.96) 0%, rgba(251,248,241,.9) 45%, rgba(251,248,241,.15) 100%);
}
.tychora-hero > p:not(.tychora-eyebrow) { max-width: 37rem; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.65; }
.tychora-eyebrow { margin: 0 0 .75rem; color: #a65d3d; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tychora-hero .md-button { margin: .5rem .6rem .2rem 0; }
.tychora-steps ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.6rem; padding-left: 0; list-style: none; counter-reset: steps; }
.tychora-steps li { counter-increment: steps; position: relative; padding: 1rem 1.2rem 1rem 3.4rem; border: 1px solid rgba(23,63,53,.14); border-radius: .55rem; background: #fffdf8; }
.tychora-steps li::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 1.1rem; top: 1rem; color: #a65d3d; font-weight: 800; }
.tychora-steps li strong { color: #173f35; }
@media (max-width: 46rem) {
  .tychora-hero { padding: 1.65rem; background-position: 62% center; }
  .tychora-hero::before { background: rgba(251,248,241,.9); }
  .tychora-steps ol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
