:root {
  --bg: #f6f4ef;
  --surface: #fefcf8;
  --surface-alt: #f1eee6;
  --ink: #171717;
  --muted: #5f5a52;
  --line: #ddd5c6;
  --accent: #2f6cf6;
  --accent-soft: #dbe7ff;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Baskerville, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg), #fbfaf6 34%, #f1ede4 100%);
  color: var(--ink);
  font-family: var(--sans);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 0%, rgba(47, 108, 246, 0.08), transparent 35%), radial-gradient(circle at 80% 10%, rgba(214, 197, 168, 0.22), transparent 32%);
}

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: rgba(246, 244, 239, 0.75);
  border-bottom: 1px solid rgba(221, 213, 198, 0.6);
}

.header-row,
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.brand,
.nav a,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(47, 108, 246, 0.2);
}

.brand-logo {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.top-proof {
  position: sticky;
  top: 69px;
  z-index: 8;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(221, 213, 198, 0.72);
  backdrop-filter: blur(10px);
}

.top-proof-row {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(220px, 340px) auto;
  gap: 14px;
  align-items: center;
}

.top-proof-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.top-proof-brand strong {
  display: block;
  font-size: 1rem;
}

.top-proof-brand small {
  display: block;
  color: var(--muted);
}

.top-proof-brand img {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(47, 108, 246, 0.18);
}

.top-proof-badge {
  display: inline-flex;
  justify-self: center;
}

.top-proof-badge img {
  width: min(100%, 330px);
  height: auto;
}

.top-proof-cta {
  justify-self: end;
  min-height: 42px;
}

.hero {
  padding: 56px 0 54px;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-size: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.96;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.02;
  max-width: 12ch;
}

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

.lede,
.prose p,
.feature-grid p,
.privacy-list,
.steps {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.lede {
  max-width: 58ch;
  margin: 20px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}

.button.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.fine-print {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-inline {
  margin-top: 22px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(221, 213, 198, 0.92);
  background: rgba(255, 253, 248, 0.86);
  display: grid;
  gap: 14px;
}

.trust-inline img {
  width: min(100%, 340px);
  height: auto;
}

.trust-inline ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.showcase {
  display: grid;
  justify-items: end;
}

.device-frame {
  width: min(100%, 460px);
  padding: 22px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(244, 240, 232, 0.95));
  border: 1px solid rgba(221, 213, 198, 0.9);
  box-shadow: 0 28px 70px rgba(49, 43, 29, 0.12);
}

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

.dashboard-card {
  border-radius: 24px;
  border: 1px solid rgba(221, 213, 198, 0.95);
  background: rgba(255, 253, 248, 0.92);
}

.ring-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  margin-bottom: 12px;
}

.ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(#2f6cf6 0 38%, #5bb6e6 38% 61%, #8674f2 61% 82%, #d9e6ff 82% 100%);
  position: relative;
}

.ring::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(221, 213, 198, 0.9);
}

.ring-copy {
  display: grid;
  gap: 6px;
}

.ring-copy span,
.stat-card span,
.chart-card span {
  color: var(--muted);
  font-size: 13px;
}

.ring-copy strong,
.stat-card strong {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.ring-copy small {
  color: var(--muted);
}

.stat-card,
.chart-card {
  padding: 16px;
}

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

.mini-week {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  align-items: end;
  height: 90px;
}

.mini-week i {
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, #a9c1ff, #5f88eb);
}

.mini-week i.active {
  background: linear-gradient(180deg, #2f6cf6, #1f4fbc);
}

.section {
  padding: 72px 0;
}

.surface {
  background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0.6));
  border-top: 1px solid rgba(221, 213, 198, 0.5);
  border-bottom: 1px solid rgba(221, 213, 198, 0.5);
}

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

.feature-grid article,
.privacy-list div,
.steps li,
.prose {
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid rgba(221, 213, 198, 0.9);
  border-radius: 22px;
}

.feature-grid article,
.privacy-list div,
.steps li {
  padding: 20px;
}

.trust-section {
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto;
  height: 220px;
  background: radial-gradient(circle at 30% 40%, rgba(47, 108, 246, 0.1), transparent 55%);
  pointer-events: none;
}

.trust-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-grid article {
  position: relative;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(221, 213, 198, 0.9);
  border-radius: 22px;
  padding: 22px;
}

.text-link {
  color: #1f4fbc;
  font-weight: 600;
  text-decoration: none;
}

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

.privacy-list,
.steps {
  display: grid;
  gap: 12px;
}

.steps {
  padding-left: 22px;
}

.prose {
  padding: 28px;
}

.prose h1,
.prose h2 {
  max-width: none;
  margin-bottom: 12px;
}

.site-footer {
  padding: 26px 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .feature-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .top-proof {
    top: 69px;
  }

  .top-proof-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0;
  }

  .top-proof-badge,
  .top-proof-cta {
    justify-self: start;
  }

  .showcase {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .top-proof {
    top: 69px;
  }

  .top-proof-brand {
    gap: 8px;
  }

  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .ring-card {
    grid-template-columns: 1fr;
  }

  .ring {
    width: 96px;
    height: 96px;
  }

  .ring::after {
    inset: 14px;
  }
}
