:root {
  color-scheme: light;
  --ink: #18211d;
  --muted: #65716b;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --line: #d9ddd4;
  --field: #eef1e8;
  --moss: #4f6f44;
  --moss-dark: #263f30;
  --ember: #d36b32;
  --sky: #dbe7eb;
  --blue: #2d6073;
  --shadow: 0 16px 50px rgba(24, 33, 29, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

img {
  max-width: 100%;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  z-index: -2;
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(247, 245, 239, 1) 0%, rgba(247, 245, 239, 0.94) 13%, rgba(247, 245, 239, 0) 34%),
    linear-gradient(90deg, rgba(12, 18, 15, 0.84), rgba(12, 18, 15, 0.48) 52%, rgba(12, 18, 15, 0.12)),
    linear-gradient(0deg, rgba(247, 245, 239, 1) 0%, rgba(247, 245, 239, 0) 18%);
}

.hero__content,
.site-header,
.intro-section,
.feature-section,
.workflow-section,
.behavior-section,
.use-section,
.closing-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: min(760px, 88vw);
  min-height: 148px;
  padding: 0;
  border-radius: 0;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(255, 255, 255, 0.7)) drop-shadow(0 8px 18px rgba(24, 33, 29, 0.16));
}

.hero__content {
  padding: 210px 0 132px;
  color: #fffaf0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li,
dd,
dt,
span {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

p {
  line-height: 1.58;
}

.lede {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #eee7db;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  background: var(--ember);
  color: #fff;
}

.button--secondary,
.button--quiet {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.button--quiet {
  background: rgba(12, 18, 15, 0.22);
}

.intro-section,
.workflow-section,
.behavior-section,
.use-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.intro-copy p,
.closing-section p,
.behavior-panel p {
  margin: 0 0 16px;
  color: #415048;
  font-size: 1.04rem;
}

.feature-section {
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature-grid article {
  min-height: 178px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(24, 33, 29, 0.08);
}

.feature-grid article:nth-child(2n) {
  background: var(--sky);
  border-color: #c5d4d8;
}

.feature-grid article:nth-child(3n) {
  background: #f4eadf;
  border-color: #e3d2c0;
}

.feature-grid p {
  margin: 0;
  color: #415048;
}

.steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 58px;
  padding: 16px 18px 16px 58px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.45;
  box-shadow: 0 8px 30px rgba(24, 33, 29, 0.06);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 15px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

.behavior-panel {
  padding: 28px;
  background: var(--moss-dark);
  color: #fffaf0;
  border-radius: 8px;
}

.behavior-panel .eyebrow {
  color: #f4a261;
}

.behavior-panel p {
  color: #edf1e9;
}

.spec-panel {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

dl {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

dl div {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

dt {
  font-weight: 800;
  color: var(--blue);
}

dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.use-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  color: #35443b;
}

.closing-section {
  padding: 72px 0 88px;
  border-top: 1px solid var(--line);
}

.closing-section > div {
  max-width: 830px;
}

.closing-section p {
  margin-top: 18px;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer img {
  display: block;
  width: min(280px, 62vw);
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

.site-footer a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--moss-dark);
  text-decoration: underline;
}

@media (max-width: 820px) {
  .hero {
    min-height: 82vh;
  }

  .brand-mark {
    width: min(620px, 90vw);
    min-height: 118px;
  }

  .brand-mark img {
    height: 118px;
  }

  .hero__content {
    padding-top: 178px;
  }

  .intro-section,
  .workflow-section,
  .behavior-section,
  .use-section,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: center;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.45rem, 11vw, 3.3rem);
  }

  .site-header {
    top: 14px;
  }

  .brand-mark {
    width: min(390px, 92vw);
    min-height: 78px;
  }

  .brand-mark img {
    height: 78px;
  }

  .hero__content {
    padding: 124px 0 112px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .feature-grid article,
  .behavior-panel,
  .spec-panel {
    padding: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
