@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap");

:root {
  --ink: #1d1c19;
  --muted: #6e6b63;
  --paper: #f6f4ee;
  --line: #d9d5ca;
  --orange: #ff6b35;
  --amber: #eaaa2b;
  --blue: #4d72dc;
  --green: #4c8d6b;
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 13%, rgb(255 107 53 / 7%), transparent 26rem),
    var(--paper);
}

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

.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.brand strong {
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  font-style: italic;
}

.header-link {
  border-bottom: 1px solid var(--ink);
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.hero {
  position: relative;
  display: grid;
  min-height: 590px;
  align-content: center;
  padding: 80px 0 92px;
}

.hero::after {
  position: absolute;
  top: 110px;
  right: 2%;
  width: 255px;
  height: 255px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 42px rgb(217 213 202 / 22%),
    0 0 0 84px rgb(217 213 202 / 13%);
  pointer-events: none;
}

.eyebrow,
.section-kicker,
.tool-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
}

.eyebrow span {
  width: 27px;
  height: 2px;
  background: var(--orange);
}

h1 {
  max-width: 780px;
  margin: 26px 0 28px;
  font-size: clamp(58px, 8.4vw, 110px);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.hero-copy {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.primary-action {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 52px;
  margin-top: 42px;
  border: 1px solid var(--ink);
  padding: 15px 18px;
  font-size: 13px;
  font-weight: 700;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.primary-action:hover {
  color: var(--paper);
  background: var(--ink);
}

.tools-section {
  border-top: 1px solid var(--line);
  padding: 82px 0 96px;
}

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

.section-kicker {
  color: var(--orange);
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.section-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.tool-card {
  position: relative;
  display: flex;
  min-height: 510px;
  flex-direction: column;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 26px 28px 28px;
  overflow: hidden;
  transition:
    color 220ms ease,
    background 220ms ease;
}

.tool-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--card-color);
  content: "";
  transform: translateY(101%);
  transition: transform 280ms cubic-bezier(0.22, 0.8, 0.28, 1);
}

.tool-card:hover::before,
.tool-card:focus-visible::before {
  transform: translateY(0);
}

.tool-card:hover,
.tool-card:focus-visible {
  color: #fff;
  outline: none;
}

.tool-card--amber {
  --card-color: var(--amber);
}

.tool-card--blue {
  --card-color: var(--blue);
}

.tool-card--green {
  --card-color: var(--green);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-number {
  font-size: 12px;
  font-weight: 700;
}

.open-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid currentcolor;
  border-radius: 50%;
  font-size: 15px;
}

.tool-icon {
  display: grid;
  width: 94px;
  height: 94px;
  margin-top: 64px;
  place-items: center;
  border: 1px solid currentcolor;
  border-radius: 50%;
}

.tool-icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.card-copy {
  margin-top: auto;
}

.tool-label {
  opacity: 0.65;
}

.card-copy h3 {
  margin: 11px 0 12px;
  font-size: 29px;
  letter-spacing: -0.04em;
}

.card-copy > p:last-child {
  min-height: 54px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  transition: color 220ms ease;
}

.tool-card:hover .card-copy > p:last-child,
.tool-card:focus-visible .card-copy > p:last-child {
  color: rgb(255 255 255 / 82%);
}

.card-link {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  border-top: 1px solid currentcolor;
  padding-top: 15px;
  font-size: 12px;
  font-weight: 700;
}

.principles {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 42px 0;
}

.principles > p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.principle-list {
  display: flex;
  gap: 34px;
  color: var(--muted);
  font-size: 12px;
}

.principle-list span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.principle-list i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--ink);
  padding: 38px 0 44px;
  color: var(--muted);
  font-size: 11px;
}

.brand--footer {
  color: var(--ink);
}

footer p {
  margin: 0;
  text-align: center;
}

footer p:last-child {
  text-align: right;
}

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

  .hero::after {
    top: 140px;
    width: 170px;
    height: 170px;
  }

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

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

  .tool-icon {
    margin-top: 36px;
  }
}

@media (max-width: 600px) {
  .page-shell {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .hero {
    min-height: auto;
    padding: 82px 0 88px;
  }

  .hero::after {
    display: none;
  }

  h1 {
    font-size: clamp(48px, 14vw, 62px);
  }

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

  .section-heading,
  .principles {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-heading > p {
    margin: 0;
  }

  .tools-section {
    padding: 68px 0 76px;
  }

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

  .principle-list {
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  footer p:first-of-type {
    display: none;
  }
}

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

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