:root {
  color-scheme: light;
  --ink: #24313a;
  --muted: #64737d;
  --line: #e3e9e6;
  --paper: #ffffff;
  --wash: #f6f9f7;
  --mint: #d7eee4;
  --rose: #f3dddd;
  --sky: #dbeaf3;
  --leaf: #4d7c70;
  --deep: #2f5f56;
  --gold: #d8ad63;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(243, 221, 221, 0.9), transparent 27rem),
    radial-gradient(circle at 92% 4%, rgba(219, 234, 243, 0.9), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--wash) 100%);
  line-height: 1.65;
}

a {
  color: var(--deep);
  font-weight: 700;
}

.page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 46px;
}

.narrow {
  width: min(880px, calc(100% - 32px));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 6px 0 54px;
}

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

.mark {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(47, 95, 86, 0.12);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--mint), var(--rose));
  box-shadow: 0 12px 26px rgba(47, 95, 86, 0.15);
}

.mark::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--leaf);
  box-shadow: 10px 5px 0 rgba(216, 173, 99, 0.7);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 20px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--deep);
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: 62vh;
  padding-bottom: 54px;
}

.hero-copy {
  max-width: 680px;
}

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

h1,
h2,
h3 {
  color: var(--deep);
  line-height: 1.08;
}

h1 {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  letter-spacing: 0;
}

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

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

.lede {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  font-weight: 600;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--deep);
  border-radius: 8px;
  background: var(--deep);
  color: #ffffff;
  text-decoration: none;
}

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

.phone {
  width: min(100%, 330px);
  margin-left: auto;
  border: 1px solid rgba(47, 95, 86, 0.16);
  border-radius: 34px;
  padding: 12px;
  background: #fdfefe;
  box-shadow: 0 24px 60px rgba(47, 95, 86, 0.18);
}

.phone-screen {
  min-height: 540px;
  border-radius: 24px;
  padding: 24px 20px;
  background:
    linear-gradient(180deg, rgba(217, 240, 231, 0.92), rgba(255, 255, 255, 0.96)),
    var(--paper);
  overflow: hidden;
}

.status-row,
.mood-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.status-row {
  color: var(--deep);
  font-size: 0.85rem;
  font-weight: 800;
}

.phone-title {
  margin: 34px 0 8px;
  color: var(--deep);
  font-size: 1.75rem;
  line-height: 1.08;
  font-weight: 800;
}

.phone-subtitle {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.mood-row {
  margin: 20px 0;
}

.mood {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--paper);
  display: grid;
  place-items: center;
  color: var(--deep);
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(47, 95, 86, 0.1);
}

.insight {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.insight strong {
  display: block;
  color: var(--deep);
  margin-bottom: 6px;
}

.insight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

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

.card,
.legal-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 20px;
}

.card p,
.legal-block p,
.legal-block li,
.section p {
  color: var(--muted);
}

.card p,
.legal-block p {
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 24px;
  align-items: start;
}

.legal-page main {
  display: grid;
  gap: 18px;
}

.legal-header {
  padding-bottom: 28px;
}

.updated {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.legal-block h2 {
  font-size: 1.3rem;
}

.legal-block ul {
  margin: 0;
  padding-left: 20px;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 8px;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 34px;
  }

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

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

  .hero {
    min-height: auto;
  }

  .phone {
    margin: 0;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 24px, 1080px);
    padding-top: 18px;
  }

  .nav {
    gap: 10px 14px;
  }

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