:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --ink: #202124;
  --muted: #636a73;
  --line: #dfddd6;
  --blue: #2563d8;
  --green: #148f63;
  --amber: #b7791f;
  --radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  border-bottom: 1px solid rgba(32, 33, 36, 0.08);
  background: rgba(247, 245, 239, 0.9);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 1020px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #e8f0ff);
  border: 1px solid rgba(32, 33, 36, 0.08);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 99, 216, 0.12);
}

.brand-mark span {
  color: var(--green);
  font-size: 22px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.page-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 74px 22px 96px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 34px 0 10px;
  font-size: 24px;
  letter-spacing: 0;
}

.lede {
  margin: 20px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  padding: 12px 16px;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.button.secondary {
  background: rgba(32, 33, 36, 0.08);
  color: var(--ink);
}

.proof-card, .content, .support-form {
  background: var(--surface);
  border: 1px solid rgba(32, 33, 36, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(32, 33, 36, 0.08);
}

.proof-card {
  padding: 22px;
}

.receipt {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fbfaf6;
}

.receipt-line {
  height: 10px;
  border-radius: 999px;
  background: #d9ddd9;
  margin: 10px 0;
}

.parsed {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #eef7f2;
}

.metric-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(32, 33, 36, 0.07);
  border-radius: 12px;
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.metric p, .updated, .legal p, .support-page p {
  color: var(--muted);
}

.legal {
  max-width: 820px;
}

.legal h1, .support-page h1 {
  font-size: clamp(36px, 6vw, 58px);
}

.legal ul {
  padding-left: 22px;
  color: var(--muted);
}

.content {
  padding: 22px;
  margin-top: 28px;
}

.content.compact {
  max-width: 720px;
}

.support-form {
  margin-top: 28px;
  padding: 22px;
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 650;
}

footer {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px 42px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero, .metric-grid {
    grid-template-columns: 1fr;
  }

  .page-shell {
    padding-top: 48px;
  }
}
