@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #15171c;
  --muted: #59616f;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --line: #dfe5df;
  --forest: #17634f;
  --forest-dark: #0e3d33;
  --coral: #cf563f;
  --coral-text: #b8442e;
  --gold: #c78f2f;
  --sky: #496f91;
  --hero: #111820;
  --hero-soft: #23323a;
  --square-light: #dce8dd;
  --square-dark: #47705d;
  --shadow: 0 24px 70px rgba(21, 23, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.landing-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(223, 229, 223, 0.88);
  background: rgba(247, 248, 245, 0.94);
  backdrop-filter: blur(16px);
}

.landing-wordmark,
.landing-nav {
  display: flex;
  align-items: center;
}

.landing-wordmark {
  gap: 10px;
  font-weight: 800;
}

.landing-wordmark img {
  display: block;
}

.landing-nav {
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.landing-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.landing-nav-button {
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel);
}

.landing-hero {
  position: relative;
  min-height: min(720px, 84svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(72px, 11vw, 124px) clamp(20px, 6vw, 96px);
  color: #f8fbf8;
  background: var(--hero);
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 9px;
  background:
    linear-gradient(90deg, var(--forest) 0 35%, var(--coral) 35% 58%, var(--gold) 58% 78%, var(--sky) 78% 100%);
  z-index: 3;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.16) 0%, rgba(17, 24, 32, 0.72) 52%, rgba(17, 24, 32, 0.94) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  z-index: 2;
}

.hero-board {
  position: absolute;
  right: max(16px, 6vw);
  top: 50%;
  width: clamp(320px, 48vw, 600px);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(-4deg);
  border: 14px solid #24342d;
  box-shadow: var(--shadow);
  background:
    repeating-conic-gradient(
      from 0deg,
      var(--square-light) 0 25%,
      var(--square-dark) 0 50%
    )
    50% / 25% 25%;
  opacity: 0.96;
}

.hero-piece {
  position: absolute;
  width: clamp(54px, 11vw, 112px);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.32));
}

.hero-piece-knight {
  left: 18%;
  top: 16%;
}

.hero-piece-queen {
  right: 18%;
  top: 36%;
}

.hero-piece-bishop {
  left: 12%;
  bottom: 20%;
}

.hero-report {
  position: absolute;
  right: clamp(24px, 9vw, 132px);
  bottom: clamp(40px, 10vw, 112px);
  z-index: 3;
  width: clamp(230px, 27vw, 330px);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(247, 248, 245, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-report span {
  display: block;
  width: 54px;
  height: 8px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--coral);
}

.hero-report strong {
  display: block;
  margin: 12px 0 7px;
  font-size: 0.83rem;
}

.hero-report i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--forest) 0 var(--score), #d6ded8 var(--score) 100%);
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral-text);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #f2b36b;
}

.hero-copy h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.85rem, 8.4vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 620px;
  margin: 26px 0 0;
  color: #dce6df;
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  line-height: 1.55;
}

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

.landing-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
}

.landing-button.primary {
  color: #ffffff;
  background: var(--forest);
}

.landing-button.secondary {
  color: #f8fbf8;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero-note {
  max-width: 430px;
  color: #c5d0cc;
  font-size: 0.95rem;
}

.landing-band {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 96px);
}

.landing-section-heading {
  max-width: 760px;
}

.landing-section-heading h2,
.pricing-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.proof-band {
  background: var(--paper);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.proof-grid article {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.proof-grid span {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--sky);
  font-size: 0.8rem;
  font-weight: 900;
}

.proof-grid article:nth-child(2) span {
  background: var(--forest);
}

.proof-grid article:nth-child(3) span {
  background: var(--coral);
}

.proof-grid h3 {
  margin: auto 0 10px;
  font-size: 1.35rem;
}

.proof-grid p,
.pricing-copy p,
.honesty-band p,
.workflow-list span,
.pricing-panel li {
  color: var(--muted);
  line-height: 1.65;
}

.proof-grid p {
  margin: 0;
}

.workflow-band {
  background: #e9efed;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cfd9d3;
  border-bottom: 1px solid #cfd9d3;
}

.workflow-list li {
  min-height: 180px;
  padding: 28px;
  border-right: 1px solid #cfd9d3;
}

.workflow-list li:last-child {
  border-right: 0;
}

.workflow-list strong,
.workflow-list span {
  display: block;
}

.workflow-list strong {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.pricing-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #f8fafb;
}

.pricing-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.pricing-panel {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 46px rgba(21, 23, 28, 0.1);
}

.pricing-panel h3,
.pricing-panel .price {
  margin: 0;
}

.price {
  padding: 22px 0;
  color: var(--forest-dark);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 900;
  line-height: 0.92;
}

.price span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 750;
}

.pricing-panel ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 20px;
}

.pricing-panel .landing-button {
  width: 100%;
}

.honesty-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--forest-dark);
  color: #f8fbf8;
}

.honesty-band .landing-section-heading h2,
.honesty-band p {
  color: #f8fbf8;
}

.honesty-band .eyebrow {
  color: #f2b36b;
}

.honesty-band p {
  margin: 0;
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--ink);
  font-weight: 750;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .landing-hero {
    min-height: auto;
    padding-top: 78px;
    padding-bottom: 84px;
  }

  .hero-scene::before {
    background: rgba(17, 24, 32, 0.76);
  }

  .hero-board {
    right: -90px;
    top: 52%;
    width: min(540px, 92vw);
    opacity: 0.62;
  }

  .hero-report {
    right: 18px;
    bottom: 24px;
    width: min(300px, 70vw);
    opacity: 0.86;
  }

  .proof-grid,
  .workflow-list,
  .pricing-band,
  .honesty-band {
    grid-template-columns: 1fr;
  }

  .workflow-list li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #cfd9d3;
  }

  .workflow-list li:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .landing-topbar {
    min-height: 64px;
    padding: 12px 16px;
  }

  .landing-nav {
    gap: 10px;
    font-size: 0.86rem;
  }

  .landing-nav a[href*="stats"],
  .landing-nav a[href*="terms"] {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 8.4vw, 3.4rem);
  }

  .hero-copy > p {
    font-size: 1.03rem;
  }

  .landing-actions,
  .landing-button {
    width: 100%;
  }

  .hero-report {
    display: none;
  }

  .proof-grid article {
    min-height: 210px;
  }

  .pricing-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-panel {
    min-width: 0;
  }

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