:root {
  --ink: #08152f;
  --ink-soft: #263650;
  --paper: #f7f4ec;
  --paper-deep: #eee9dc;
  --teal: #0a8f87;
  --teal-bright: #19d3c5;
  --amber: #ffb91f;
  --white: #fffdf8;
  --line: rgba(8, 21, 47, 0.15);
  --shadow: 0 24px 70px rgba(8, 21, 47, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--teal);
}

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

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links .button-small {
  padding: 9px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
}

.nav-links .button-small:hover {
  color: var(--white);
  background: var(--teal);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 106px;
}

.hero::before {
  position: absolute;
  width: 520px;
  height: 520px;
  top: -280px;
  right: -180px;
  content: "";
  border: 100px solid rgba(25, 211, 197, 0.11);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.35rem, 7.3vw, 6.6rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4vw, 4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 680px;
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-primary:hover {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.button-secondary:hover {
  color: var(--ink);
  background: var(--white);
}

.proof-card {
  position: relative;
  padding: 38px;
  color: var(--white);
  background: var(--ink);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.proof-card::after {
  position: absolute;
  width: 54px;
  height: 54px;
  right: -12px;
  bottom: -12px;
  content: "";
  background: var(--amber);
  border-radius: 50%;
}

.proof-label {
  display: inline-block;
  margin-bottom: 28px;
  padding: 6px 10px;
  color: var(--teal-bright);
  border: 1px solid rgba(25, 211, 197, 0.45);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.proof-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.proof-list span {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.section {
  padding: 100px 0;
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 58px;
}

.section-head p {
  max-width: 620px;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-dark .section-head p {
  color: rgba(255, 253, 248, 0.7);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
}

.step {
  min-height: 270px;
  padding: 32px 28px;
  background: var(--ink);
}

.step-number {
  display: block;
  margin-bottom: 55px;
  color: var(--teal-bright);
  font-family: var(--serif);
  font-size: 1.7rem;
}

.step p {
  margin: 0;
  color: rgba(255, 253, 248, 0.66);
  font-size: 0.9rem;
}

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

.principle {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.principle-mark {
  width: 48px;
  height: 6px;
  margin-bottom: 28px;
  background: var(--teal-bright);
  border-radius: 999px;
}

.principle:nth-child(2) .principle-mark {
  background: var(--amber);
}

.principle:nth-child(3) .principle-mark {
  background: var(--ink);
}

.principle p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cta {
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: center;
}

.cta h2 {
  max-width: 700px;
  margin: 0;
}

.cta .actions {
  justify-content: flex-end;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 253, 248, 0.68);
  background: var(--ink);
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--teal-bright);
}

.policy-main {
  min-height: calc(100vh - 78px);
  padding: 76px 0 100px;
}

.policy {
  width: min(760px, 100%);
}

.policy h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.policy .effective {
  margin: 0 0 50px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy h2 {
  margin: 48px 0 14px;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.policy p {
  color: var(--ink-soft);
}

.policy code {
  padding: 0.12em 0.34em;
  color: var(--ink);
  background: var(--paper-deep);
  border-radius: 4px;
  font-size: 0.85em;
}

@media (max-width: 900px) {
  .hero-grid,
  .section-head,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 55px;
  }

  .proof-card {
    max-width: 560px;
  }

  .workflow {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta .actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 68px;
  }

  .nav-links a:not(.button-small) {
    display: none;
  }

  .hero {
    padding: 62px 0 74px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .proof-card {
    padding: 28px;
    border-radius: 24px;
  }

  .section {
    padding: 74px 0;
  }

  .section-head {
    gap: 12px;
    margin-bottom: 40px;
  }

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

  .step {
    min-height: 220px;
  }

  .step-number {
    margin-bottom: 34px;
  }

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

  .policy-main {
    padding-top: 52px;
  }
}

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

  .button {
    transition: none;
  }
}
