:root {
  --background: #e6e1d6;
  --surface: #e6e1d6;
  --surface-muted: #d8d0bc;
  --text: #2f3e2e;
  --muted-text: #4e5b3a;
  --border: #8a7f4f;
  --primary: #2f3e2e;
  --primary-text: #f6f3ea;
  --danger: #8b2f2f;
  --shadow: rgba(47, 62, 46, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  padding-bottom: 116px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(246, 243, 234, 0.64), transparent 34rem),
    var(--background);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

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

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 18px var(--shadow);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 9px 14px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 42px;
  min-height: calc(100vh - 184px);
  padding: 58px 0 72px;
}

.hero-logo {
  width: clamp(92px, 13vw, 148px);
  height: clamp(92px, 13vw, 148px);
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 16px 34px var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted-text);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

p {
  margin: 0 0 14px;
}

.phone-preview {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 16px;
  background: var(--surface);
  box-shadow: 0 22px 46px var(--shadow);
}

.phone-screen {
  min-height: 620px;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  background: var(--background);
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.macro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.macro-tile {
  min-height: 128px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.macro-value {
  display: block;
  margin-top: 20px;
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
}

.macro-label {
  color: var(--muted-text);
  font-size: 0.85rem;
  font-weight: 750;
}

.scan-bar {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.scan-bar span {
  display: flex;
  min-height: 52px;
  flex: 1;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--primary);
  color: var(--primary-text);
  font-weight: 800;
}

.scan-bar i {
  width: 52px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.legal-document {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 34px);
  background: rgba(230, 225, 214, 0.72);
  box-shadow: 0 14px 30px var(--shadow);
}

.legal-hero {
  padding: 44px 0 22px;
}

.legal-hero h1 {
  max-width: 880px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.updated {
  margin-top: 18px;
  color: var(--muted-text);
  font-weight: 700;
}

.legal-document {
  max-width: 860px;
  margin: 0 auto 56px;
}

.legal-document h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document ul,
.legal-document ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.legal-document li {
  margin: 8px 0;
}

.callout {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: var(--surface-muted);
}

.compliance-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  border-top: 1px solid rgba(138, 127, 79, 0.55);
  background: rgba(230, 225, 214, 0.96);
  box-shadow: 0 -10px 26px var(--shadow);
}

.compliance-content {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  color: var(--muted-text);
  font-size: 0.92rem;
}

.compliance-content nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.compliance-content a {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.compliance-content a:hover {
  text-decoration: underline;
}

.ads-link {
  position: fixed;
  bottom: 3px;
  left: 5px;
  z-index: 30;
  color: var(--muted-text);
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
}

.ads-link:hover {
  text-decoration: underline;
}

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

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .phone-preview {
    max-width: 390px;
  }

  .phone-screen {
    min-height: 520px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 24px, 1120px);
  }

  .nav a {
    flex: 1 1 calc(50% - 8px);
  }

  .hero {
    gap: 28px;
  }

  .compliance-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .compliance-content nav {
    justify-content: flex-start;
  }
}
