:root {
  color-scheme: light;
  --paper: #f8f4ea;
  --paper-soft: #efe8d8;
  --ink: #17211e;
  --muted: #5e6863;
  --line: #d8cfbd;
  --green: #2f776c;
  --green-dark: #163c37;
  --mint: #b9ddd4;
  --amber: #d9a441;
  --rust: #a85d3a;
  --white: #fffdf7;
  --shadow: 0 28px 80px rgb(43 54 48 / 16%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid rgb(47 119 108 / 45%);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgb(23 33 30 / 9%);
  background: rgb(248 244 234 / 86%);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--paper);
  font-size: 17px;
}

.nav-links {
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(82svh - 68px);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 8vw, 84px) clamp(20px, 5vw, 72px) clamp(44px, 6vw, 68px);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(248 244 234 / 96%) 0%, rgb(248 244 234 / 78%) 43%, rgb(248 244 234 / 28%) 100%),
    linear-gradient(180deg, transparent 0%, rgb(248 244 234 / 72%) 88%, var(--paper) 100%);
  content: "";
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, #fffaf0 0%, #e7eee5 52%, #d9cab4 100%);
}

.scene-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(47 119 108 / 10%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(47 119 108 / 10%) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 100%);
}

.scene-panel {
  position: absolute;
  border: 1px solid rgb(23 33 30 / 13%);
  border-radius: 8px;
  background: rgb(255 253 247 / 82%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.panel-primary {
  right: clamp(18px, 5vw, 72px);
  top: clamp(78px, 14vw, 142px);
  width: min(42vw, 520px);
  min-width: 340px;
  padding: 18px;
}

.panel-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.panel-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.panel-bar span:first-child {
  background: var(--rust);
}

.panel-bar span:nth-child(2) {
  background: var(--amber);
}

.panel-bar span:nth-child(3) {
  background: var(--green);
}

.task-line {
  width: 78%;
  height: 16px;
  margin: 12px 0;
  border-radius: 4px;
  background: #dfe9e4;
}

.task-line.wide {
  width: 92%;
  background: #cbded7;
}

.task-line.short {
  width: 54%;
  background: #ecdcc3;
}

.mini-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 10px;
  height: 96px;
  margin-top: 26px;
}

.mini-chart span {
  border-radius: 6px 6px 3px 3px;
  background: var(--green-dark);
}

.mini-chart span:first-child {
  height: 42%;
}

.mini-chart span:nth-child(2) {
  height: 76%;
  background: var(--green);
}

.mini-chart span:nth-child(3) {
  height: 56%;
  background: var(--amber);
}

.mini-chart span:nth-child(4) {
  height: 88%;
}

.panel-note {
  right: clamp(28px, 23vw, 420px);
  bottom: clamp(42px, 12vw, 132px);
  width: 212px;
  padding: 18px;
  transform: rotate(-3deg);
}

.panel-note p {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.panel-note span,
.panel-stack span {
  display: block;
  height: 12px;
  margin-top: 10px;
  border-radius: 4px;
  background: #dce6df;
}

.panel-note span:last-child {
  width: 68%;
  background: #eee0c8;
}

.panel-agent {
  right: clamp(178px, 36vw, 620px);
  top: clamp(260px, 35vw, 370px);
  display: grid;
  width: 150px;
  gap: 12px;
  justify-items: center;
  padding: 20px 18px;
}

.agent-face {
  position: relative;
  width: 82px;
  height: 46px;
  border-radius: 24px;
  background: var(--green-dark);
}

.agent-face span {
  position: absolute;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--mint);
}

.agent-face span:first-child {
  left: 24px;
}

.agent-face span:last-child {
  right: 24px;
}

.agent-line {
  width: 76px;
  height: 10px;
  border-radius: 999px;
  background: #d7e7e1;
}

.panel-stack {
  right: clamp(22px, 6vw, 90px);
  bottom: clamp(96px, 18vw, 210px);
  width: 190px;
  padding: 16px;
}

.panel-stack span:first-child {
  background: #cbded7;
}

.panel-stack span:nth-child(2) {
  width: 78%;
}

.panel-stack span:nth-child(3) {
  width: 56%;
  background: #eadbc2;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  align-self: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .96;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
}

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

.button-primary:hover {
  background: var(--green);
}

.button-ghost {
  border-color: rgb(23 33 30 / 18%);
  background: rgb(255 253 247 / 54%);
}

.button-ghost:hover {
  border-color: rgb(23 33 30 / 35%);
}

.tools-section,
.notes-section,
.start-section {
  padding: clamp(52px, 8vw, 92px) clamp(20px, 5vw, 72px);
}

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

.section-heading h2,
.notes-section h2,
.start-section h2 {
  max-width: 760px;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1;
}

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

.tool-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.tool-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  margin-bottom: 44px;
  border-radius: 999px;
  background: #e5f0eb;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.tool-card h3 {
  font-size: 24px;
  line-height: 1.1;
}

.tool-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.notes-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(28px, 7vw, 96px);
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f3ecdd;
}

.notes-section p:last-child,
.start-section p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.start-section {
  display: grid;
  min-height: 320px;
  align-content: center;
  gap: 18px;
  background: var(--green-dark);
  color: var(--paper);
}

.start-section p {
  max-width: 760px;
  color: rgb(248 244 234 / 78%);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #101816;
  color: rgb(248 244 234 / 72%);
  font-size: 14px;
}

@media (max-width: 1180px) and (min-width: 861px) {
  .panel-primary {
    right: -110px;
    opacity: .78;
  }

  .panel-note {
    right: 90px;
  }

  .panel-agent {
    right: 360px;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 62px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: calc(84svh - 62px);
    padding-top: 58px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgb(248 244 234 / 94%) 0%, rgb(248 244 234 / 82%) 54%, rgb(248 244 234 / 58%) 100%),
      linear-gradient(180deg, transparent 0%, var(--paper) 100%);
  }

  .panel-primary {
    right: -120px;
    top: 110px;
    min-width: 300px;
    opacity: .82;
  }

  .panel-note {
    right: 22px;
    bottom: 60px;
    opacity: .76;
  }

  .panel-agent {
    right: 168px;
    top: 330px;
    opacity: .82;
  }

  .panel-stack {
    display: none;
  }

  h1 {
    max-width: 10ch;
  }

  .section-heading,
  .notes-section {
    display: block;
  }

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

  .tool-card {
    min-height: 190px;
  }

  .notes-section p:last-child {
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 0 16px;
  }

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

  .hero,
  .tools-section,
  .notes-section,
  .start-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    min-height: calc(82svh - 62px);
    padding-bottom: 46px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .panel-primary {
    right: -190px;
    top: 96px;
    min-width: 290px;
  }

  .panel-note {
    right: -38px;
    bottom: 42px;
    width: 190px;
  }

  .panel-agent {
    right: 88px;
    top: 360px;
    width: 132px;
  }

  .site-footer {
    flex-direction: column;
  }
}
