:root {
  color-scheme: light;
  --bg: #f7faf9;
  --bg-strong: #e8f4f1;
  --ink: #14211f;
  --muted: #5d6965;
  --panel: #ffffff;
  --panel-soft: #edf5f2;
  --line: #d7dfdc;
  --teal: #0b786f;
  --teal-dark: #075a54;
  --blue: #315fbe;
  --coral: #d9503f;
  --gold: #c8911f;
  --shadow: 0 18px 48px rgba(20, 33, 31, 0.12);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 223, 220, 0.86);
  background: rgba(247, 250, 249, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 820;
}

.brand img {
  width: 42px;
  border-radius: 22%;
  box-shadow: 0 12px 26px rgba(20, 33, 31, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  background: var(--bg-strong);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 120, 111, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 120, 111, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero,
.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 72svh;
  padding: 68px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
}

.section {
  padding: 72px 0;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.page-title {
  font-size: clamp(2.45rem, 5.4vw, 4.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.02;
}

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

.lede {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.1vw, 1.32rem);
}

.app-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.app-icon {
  width: clamp(64px, 8vw, 86px);
  border-radius: 22%;
  box-shadow: 0 20px 40px rgba(8, 58, 53, 0.22);
}

.app-name {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 820;
}

.app-kicker {
  margin: 2px 0 0;
  color: var(--muted);
  font-weight: 680;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  background: var(--teal);
  color: #ffffff;
  font-weight: 760;
}

.button:hover {
  background: var(--teal-dark);
  color: #ffffff;
}

.button.secondary {
  background: transparent;
  color: var(--teal-dark);
}

.button.secondary:hover {
  background: var(--panel-soft);
  color: var(--teal-dark);
}

.rate-board {
  justify-self: center;
  width: min(100%, 390px);
  padding: 22px;
  border: 1px solid rgba(11, 120, 111, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.rate-board img {
  width: 86px;
  margin-bottom: 28px;
  border-radius: 22%;
}

.rate-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.rate-row:first-of-type {
  border-top: 0;
}

.rate-label {
  color: var(--muted);
  font-weight: 700;
}

.rate-value {
  font-size: clamp(1.32rem, 2.3vw, 1.72rem);
  font-weight: 840;
  font-variant-numeric: tabular-nums;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.card.accent-teal {
  border-top: 4px solid var(--teal);
}

.card.accent-blue {
  border-top: 4px solid var(--blue);
}

.card.accent-coral {
  border-top: 4px solid var(--coral);
}

.card.accent-gold {
  border-top: 4px solid var(--gold);
}

.card p,
.prose p,
.prose li {
  color: var(--muted);
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.use-cases article {
  min-height: 178px;
  padding: 24px;
  background: var(--panel);
}

.use-case-number {
  display: block;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 840;
}

.reviewer-note {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 56px;
  padding: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.reviewer-note span {
  font-weight: 760;
}

.reviewer-note a,
.prose a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose {
  max-width: 840px;
}

.prose h2 {
  margin-top: 44px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.prose h3 {
  margin-top: 28px;
}

.prose ul {
  padding-left: 22px;
}

.meta-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.meta-table th,
.meta-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.meta-table th {
  width: 230px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meta-table tr:last-child th,
.meta-table tr:last-child td {
  border-bottom: 0;
}

code {
  padding: 0.1em 0.35em;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel-soft);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 54px 0 38px;
  }

  .hero-shell::before {
    background-size: 34px 34px;
  }

  .rate-board {
    display: none;
  }

  .grid,
  .grid.two,
  .use-cases {
    grid-template-columns: 1fr;
  }

  .meta-table,
  .meta-table tbody,
  .meta-table tr,
  .meta-table th,
  .meta-table td {
    display: block;
    width: 100%;
  }

  .meta-table th {
    padding-bottom: 6px;
  }

  .meta-table td {
    padding-top: 0;
  }

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