:root {
  --ink:        #10231C;
  --green:      #1F8A5B;
  --green-700:  #186E48;
  --green-deep: #115335;
  --green-300:  #5BBC83;
  --green-100:  #C8E8D5;
  --green-50:   #E8F5EE;
  --cream:      #F6F2EA;
  --paper-50:   #FBF9F4;
  --card:       #FFFFFF;
  --slate:      #5F6B66;
  --slate-2:    #8A9290;
  --hairline:   #E5E3DD;
  --coral:      #E2553A;
  --amber:      #E6A53C;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { width: 100%; min-height: 100%; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Warm radial flourish echoing the app's hero card */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 14%, rgba(91, 188, 131, 0.16), transparent 38%),
    radial-gradient(circle at 6% 92%, rgba(31, 138, 91, 0.10), transparent 40%);
}

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

/* ─────────────────────────  WORDMARK  ───────────────────────── */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Bricolage Grotesque", "Geist", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark .accent { color: var(--green); }
.wordmark img { width: 30px; height: 30px; border-radius: 8px; }

/* ─────────────────────────  LANDING  ───────────────────────── */
body.landing { overflow: hidden; }

.page {
  position: relative;
  z-index: 1;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 3rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.9rem 0 0;
}

.appstore-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  color: var(--slate);
  border: 1px solid var(--hairline);
  padding: 0.55rem 1.05rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: default;
  box-shadow: 0 1px 2px rgba(16, 35, 28, 0.04);
}
.appstore-link svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.65; }

/* ── MIDDLE ── */
main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
}

.copy { flex: 1; min-width: 0; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

h1 {
  font-family: "Bricolage Grotesque", "Geist", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 1.15rem;
}
h1 .soft { color: var(--green); }

.desc {
  font-size: 1rem;
  font-weight: 400;
  color: var(--slate);
  max-width: 40ch;
  line-height: 1.6;
  margin-bottom: 1.7rem;
}

/* ── feature list ── */
.features { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2rem; }
.feature { display: flex; align-items: center; gap: 0.8rem; font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.feature .ico {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--green-50);
  border-radius: 10px;
  color: var(--green);
}
.feature .ico svg { width: 18px; height: 18px; }

.cta-row { display: flex; align-items: center; gap: 1.1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--green);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(31, 138, 91, 0.28);
}
.btn svg { width: 16px; height: 16px; }
.btn.disabled { opacity: 0.5; cursor: default; box-shadow: none; }

/* ── PHONE ── */
.phone-wrap { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.phone-frame { position: relative; width: 248px; }
.phone-frame::after {
  content: "";
  position: absolute;
  inset: -8% -6% -10% -6%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(31, 138, 91, 0.22), transparent 70%);
  filter: blur(30px);
}
.phone-frame img {
  width: 100%;
  border-radius: 34px;
  display: block;
  border: 1px solid rgba(16, 35, 28, 0.06);
  box-shadow:
    0 30px 80px rgba(16, 35, 28, 0.20),
    0 8px 24px rgba(16, 35, 28, 0.10);
}

/* ── FOOTER ── */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 1.5rem;
  font-size: 0.78rem;
  color: var(--slate-2);
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer-links, .studio-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  align-items: center;
}
.studio-links { gap: 1rem; }
.studio-links .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-2);
  opacity: 0.7;
}
.footer-links a, .studio-links a { color: var(--slate); transition: color 0.18s; }
.footer-links a:hover, .studio-links a:hover { color: var(--green); }
.footer-links .sep { color: var(--hairline); }

/* ─────────────────────────  POLICY PAGES  ───────────────────────── */
.policy-shell {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.9rem 1.5rem 4rem;
}
.policy-shell > header { padding-bottom: 1.6rem; }

.policy-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 2.4rem;
  box-shadow: 0 18px 50px rgba(16, 35, 28, 0.06);
}

.policy-card h1 {
  font-family: "Bricolage Grotesque", "Geist", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}
.policy-card .updated {
  color: var(--green);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.6rem;
}
.policy-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.8rem 0 0.5rem;
}
.policy-card p {
  color: var(--slate);
  font-size: 0.97rem;
  line-height: 1.62;
  margin-bottom: 0.7rem;
}
.policy-card a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.support-contact { font-size: 1.25rem; margin: 1.4rem 0; }

.policy-shell .back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-2);
}
.policy-shell .back:hover { color: var(--green); }

/* ─────────────────────────  MOBILE  ───────────────────────── */
@media (max-width: 760px) {
  body.landing { overflow: auto; }
  .page { height: auto; min-height: 100dvh; padding: 0 1.5rem; }
  header { padding: 1.4rem 0 0; }
  main {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 2rem 0;
  }
  .desc { max-width: 100%; }
  .features { align-items: flex-start; text-align: left; max-width: 320px; margin-inline: auto; }
  .cta-row { justify-content: center; }
  .phone-frame { width: 200px; }
  footer { justify-content: center; text-align: center; }
  .policy-card { padding: 1.6rem; }
}
