:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #53615d;
  --line: rgba(23, 33, 31, 0.12);
  --paper: #fffaf1;
  --amber: #f3c65f;
  --mint: #9fdbc6;
  --cyan: #63d3e8;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 20% 12%, rgba(243, 198, 95, 0.28), transparent 28rem),
    radial-gradient(circle at 78% 22%, rgba(99, 211, 232, 0.22), transparent 30rem),
    linear-gradient(135deg, #fff3df 0%, #f7f8df 48%, #e7f9f5 100%);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

.site-header {
  width: min(980px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

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

.site-brand {
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
  text-decoration: none;
}

.site-brand img {
  width: 28px;
  height: 28px;
  border-radius: 30%;
}

.site-header nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.site-header nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

main {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 0 48px;
}

.audit-hero {
  justify-content: flex-start;
  min-height: auto;
  padding-top: 64px;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: block;
  width: clamp(116px, 18vw, 180px);
  height: clamp(116px, 18vw, 180px);
  border-radius: 30%;
  box-shadow: 0 24px 70px rgba(36, 64, 61, 0.18);
}

.eyebrow {
  margin: 32px 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 11vw, 128px);
  line-height: 0.9;
  font-weight: 820;
  letter-spacing: 0;
}

.tagline {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.25;
  font-weight: 520;
}

.above-fold-purpose {
  max-width: 760px;
  margin-top: 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.above-fold-purpose h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.above-fold-purpose p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 620;
}

.app-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 18px 28px;
  margin: 24px 0 0;
}

.audit-facts {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  width: 100%;
}

.app-facts div {
  min-width: 150px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.app-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.app-facts dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 780;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--amber), var(--mint), var(--cyan));
}

.button.secondary {
  background: rgba(255, 255, 255, 0.46);
}

.info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.wide {
  grid-column: 1 / -1;
}

.legal {
  max-width: 760px;
  padding: 42px 0 70px;
  border-top: 1px solid var(--line);
}

.legal-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  font-weight: 720;
}

.document {
  max-width: 760px;
  padding: 58px 0 82px;
}

.document h1 {
  margin-top: 28px;
  font-size: clamp(44px, 7vw, 74px);
  line-height: 0.98;
}

.document section {
  padding-top: 34px;
}

.updated,
.back-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.back-link {
  text-decoration: none;
}

h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--ink);
  text-underline-offset: 4px;
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 28px, 980px);
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .site-header nav {
    justify-content: flex-start;
  }

  main {
    width: min(100% - 28px, 980px);
  }

  .hero {
    min-height: 82vh;
    padding-top: 48px;
  }

  .audit-hero {
    min-height: auto;
  }

  .brand-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .info {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .actions {
    width: 100%;
  }

  .app-facts {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
