:root {
  color-scheme: light;
  font-family: Aptos, "Segoe UI", sans-serif;
  color: #171a19;
  background: #f4f1e9;
  --ink: #171a19;
  --paper: #f4f1e9;
  --paper-light: #fbfaf6;
  --muted: #62655f;
  --line: #d7d2c6;
  --blue: #3155d9;
  --coral: #ee6a4d;
  --sage: #a7b6a1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 75% 8%, rgb(49 85 217 / 7%), transparent 28rem),
    var(--paper);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.hero,
.principles,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand,
.header-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.header-link {
  padding-block: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.86rem;
}

.header-link span {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  min-height: 720px;
  padding-block: 80px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h1 {
  max-width: 650px;
  margin-bottom: 26px;
  font-size: clamp(4rem, 7vw, 7.4rem);
  font-weight: 600;
  line-height: 0.93;
}

.intro {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.primary-action {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 16px 20px;
  color: white;
  background: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: #203da8;
  transform: translateY(-2px);
}

.canvas-demo {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid #cfc9bc;
  background-color: #e9e6de;
  background-image:
    linear-gradient(rgb(49 85 217 / 11%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(49 85 217 / 11%) 1px, transparent 1px);
  background-size: 42px 42px;
  box-shadow: 0 30px 70px rgb(52 48 39 / 13%);
}

.grid-label {
  position: absolute;
  top: 18px;
  left: 20px;
  color: #73766f;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 12px;
  padding: 25px;
  border: 1px solid #ddd7ca;
  background: var(--paper-light);
  box-shadow: 0 12px 25px rgb(46 43 36 / 13%);
}

.note small {
  color: var(--blue);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.note strong {
  max-width: 250px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.note-main {
  top: 80px;
  right: 8%;
  width: 48%;
  min-height: 170px;
  transform: rotate(-1deg);
}

.note-small {
  bottom: 70px;
  left: 8%;
  width: 36%;
  transform: rotate(1deg);
}

.note-accent {
  right: 7%;
  bottom: 35px;
  width: 35%;
  border-color: #d85e45;
  background: var(--coral);
  transform: rotate(1.5deg);
}

.note-accent small {
  color: #702b1d;
}

.line {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: var(--blue);
  transform-origin: left;
}

.line-one {
  top: 250px;
  left: 31%;
  width: 43%;
  transform: rotate(-17deg);
}

.line-two {
  top: 328px;
  left: 34%;
  width: 43%;
  transform: rotate(15deg);
}

.node {
  position: absolute;
  z-index: 3;
  width: 13px;
  height: 13px;
  border: 3px solid #e5e8f4;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.node-one {
  top: 246px;
  left: 47%;
}

.node-two {
  top: 365px;
  left: 61%;
  background: var(--sage);
  box-shadow: 0 0 0 1px var(--sage);
}

.principles {
  padding-block: 120px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 50px;
  align-items: start;
}

.section-heading h2,
.prototype-note h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 75px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-grid article {
  min-height: 270px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.principle-grid article:first-child {
  padding-left: 0;
}

.principle-grid article:last-child {
  border-right: 0;
}

.principle-grid span {
  color: #8c8d86;
  font-size: 0.66rem;
  font-weight: 700;
}

.principle-grid h3 {
  margin: 80px 0 12px;
  font-size: 1.5rem;
}

.principle-grid p {
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.prototype-note {
  display: grid;
  width: min(1280px, calc(100% - 40px));
  min-height: 560px;
  margin-inline: auto;
  padding: clamp(60px, 9vw, 120px);
  place-content: center;
  color: white;
  background: var(--blue);
  text-align: center;
}

.prototype-note .eyebrow {
  color: #cbd5ff;
}

.prototype-note h2 {
  max-width: 820px;
}

.prototype-note p:not(.eyebrow) {
  max-width: 580px;
  margin: 28px auto 0;
  color: #e1e6ff;
  font-size: 1.04rem;
  line-height: 1.65;
}

.prototype-note a {
  width: max-content;
  margin: 34px auto 0;
  padding-bottom: 8px;
  border-bottom: 1px solid white;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 130px;
  color: #696b65;
  font-size: 0.78rem;
}

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

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .canvas-demo {
    width: min(650px, 100%);
  }

  .section-heading,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 20px;
  }

  .principle-grid article,
  .principle-grid article:first-child {
    min-height: 0;
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-grid article:last-child {
    border-bottom: 0;
  }

  .principle-grid h3 {
    margin-top: 35px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-block: 60px 80px;
  }

  h1 {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .canvas-demo {
    min-height: 430px;
  }

  .note-main {
    right: 4%;
    width: 63%;
  }

  .note-small {
    left: 4%;
    width: 48%;
  }

  .note-accent {
    right: 4%;
    width: 45%;
  }

  .prototype-note {
    padding-inline: 25px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
