/* ============================================================
   Lil Colors — marketing site styles
   Playful, soft, pastel — mirrors the app's look & feel.
   ============================================================ */

:root {
  /* Brand palette (pulled from the app's Theme.Palette) */
  --grape:   #9b7be3;
  --grape-d: #7c5fd0;
  --mint:    #66d7b0;
  --mint-d:  #3fbf94;
  --sky:     #6cb6f4;
  --sky-d:   #4f9be6;
  --sun:     #ffd166;
  --coral:   #ff8a8a;

  --ink:      #2c2841;
  --ink-soft: #5b5570;
  --muted:    #8a849c;

  --bg:       #fdf6f3;
  --bg-2:     #f3ecff;
  --card:     #ffffff;
  --line:     rgba(44, 40, 65, 0.08);

  --radius:   22px;
  --radius-l: 34px;
  --shadow:   0 18px 50px -18px rgba(70, 50, 130, 0.35);
  --shadow-s: 0 8px 24px -12px rgba(70, 50, 130, 0.30);

  --maxw: 1120px;

  --font-display: "Baloo 2", "SF Pro Rounded", ui-rounded, -apple-system,
                  "Segoe UI", system-ui, sans-serif;
  --font-body:    "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Soft blobs of colour in the page background */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}
body::before {
  width: 480px; height: 480px;
  top: -160px; left: -120px;
  background: radial-gradient(circle at 30% 30%, #ffd9e6, transparent 70%);
}
body::after {
  width: 520px; height: 520px;
  bottom: -200px; right: -160px;
  background: radial-gradient(circle at 60% 40%, #e0d4ff, transparent 70%);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

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

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grape-d);
  background: var(--bg-2);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  box-shadow: var(--shadow-s);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-grape { background: var(--grape); color: #fff; }
.btn-grape:hover { background: var(--grape-d); }
.btn-mint { background: var(--mint); color: #0f3b2c; }
.btn-mint:hover { background: var(--mint-d); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}

/* App Store badge */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 12px 22px 12px 20px;
  border-radius: 16px;
  font-family: var(--font-display);
  transition: transform 0.15s ease, filter 0.15s ease;
  box-shadow: var(--shadow-s);
}
.appstore:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.08); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .small { font-size: 0.66rem; font-weight: 600; opacity: 0.8; line-height: 1; }
.appstore .big { font-size: 1.18rem; font-weight: 800; line-height: 1.1; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(253, 246, 243, 0.78);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--grape), var(--sky));
  box-shadow: var(--shadow-s);
}
.brand .logo span {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: -7px 0 0 -2px var(--coral), 7px 0 0 -2px var(--mint);
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-soft); font-weight: 700; font-family: var(--font-display); }
.nav a:hover { color: var(--grape-d); text-decoration: none; }
.nav .btn { padding: 10px 20px; font-size: 0.95rem; }
.nav-links { display: flex; gap: 26px; align-items: center; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 80px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  margin-bottom: 18px;
}
.hero h1 .pop {
  background: linear-gradient(120deg, var(--grape-d), var(--sky-d) 55%, var(--mint-d));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 1.22rem;
  color: var(--ink-soft);
  max-width: 30em;
  margin: 0 0 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Phone mockup */
.phone {
  position: relative;
  width: 300px;
  margin: 0 auto;
  border-radius: 46px;
  background: #1d1a2b;
  padding: 12px;
  box-shadow: var(--shadow);
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #1d1a2b;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone img {
  width: 100%;
  border-radius: 34px;
  display: block;
}
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-phones .phone.back {
  position: absolute;
  width: 235px;
  top: 36px;
  right: 8%;
  transform: rotate(7deg);
  opacity: 0.96;
  z-index: 0;
}
.hero-phones .phone.front {
  position: relative;
  z-index: 2;
  transform: rotate(-4deg);
}

/* floating sticker dots */
.sticker {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  box-shadow: var(--shadow-s);
}

/* ---------------- Trust strip ---------------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.5);
}
.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  justify-content: center;
  padding: 22px 24px;
}
.trust span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.98rem;
}
.trust .dot { font-size: 1.15rem; }

/* ---------------- Sections ---------------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head p { font-size: 1.15rem; color: var(--ink-soft); margin: 0; }

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.feature h3 { font-size: 1.28rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--ink-soft); }

.tint-grape { background: #efe8ff; }
.tint-mint  { background: #def7ee; }
.tint-sky   { background: #e3f1fe; }
.tint-sun   { background: #fff3d6; }
.tint-coral { background: #ffe6e6; }

/* Showcase (alternating image + text) */
.showcase { display: grid; gap: 90px; }
.show-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.show-row.reverse .show-media { order: 2; }
.show-media { display: flex; justify-content: center; }
.show-text h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.show-text p { font-size: 1.12rem; color: var(--ink-soft); }
.show-text ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.show-text li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--ink-soft);
}
.show-text li .check {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--mint);
  color: #0f3b2c;
  display: grid; place-items: center;
  font-weight: 900;
  font-size: 0.85rem;
}

/* iPad band */
.ipad-band {
  background: linear-gradient(150deg, #efe8ff, #e3f1fe);
  position: relative;
  overflow: hidden;
}
.ipad-band .section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.1rem); }

/* iPad device frame */
.ipad-frame {
  background: #1d1a2b;
  padding: 18px;
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.ipad-frame img { border-radius: 18px; width: 100%; display: block; }
.ipad-frame.hero-pad {
  margin: 8px auto 0;
  max-width: 940px;
}

/* Lead row: big iPad + feature points beside it */
.ipad-lead {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.ipad-lead .ipad-frame { margin: 0; }
.ipad-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.ipad-points li { display: flex; gap: 16px; align-items: flex-start; }
.ipad-points .ico {
  flex: none;
  width: 50px; height: 50px;
  border-radius: 15px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-s);
}
.ipad-points h3 { font-size: 1.22rem; margin: 2px 0 4px; }
.ipad-points p { margin: 0; color: var(--ink-soft); }

/* Supporting trio of iPad screens */
.ipad-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ipad-shot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-s);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ipad-shot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ipad-shot img { border-radius: 14px; width: 100%; }
.ipad-shot .cap {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 12px;
  font-size: 0.98rem;
}

/* Privacy highlight */
.privacy-card {
  background: var(--card);
  border-radius: var(--radius-l);
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.privacy-card .shield {
  width: 96px; height: 96px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--grape), var(--sky));
  display: grid; place-items: center;
  font-size: 2.8rem;
  box-shadow: var(--shadow-s);
}
.privacy-card h2 { font-size: 1.9rem; }
.privacy-card p { margin: 0; color: var(--ink-soft); font-size: 1.1rem; }

/* CTA band */
.cta {
  text-align: center;
  background: linear-gradient(135deg, var(--grape), var(--sky-d));
  color: #fff;
  border-radius: var(--radius-l);
  padding: 64px 32px;
  box-shadow: var(--shadow);
}
.cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.cta p { color: rgba(255,255,255,0.92); font-size: 1.18rem; max-width: 34rem; margin: 0 auto 28px; }
.cta .appstore { background: #fff; color: var(--ink); }

/* ---------------- Footer ---------------- */
.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-grid .brand { margin-bottom: 10px; }
.footer-about { max-width: 22rem; color: var(--ink-soft); }
.footer-col h4 {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-soft); font-weight: 600; }
.footer-col a:hover { color: var(--grape-d); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------------- Legal / document pages ---------------- */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 24px 90px;
}
.doc .eyebrow { margin-bottom: 16px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-weight: 600; margin-bottom: 40px; }
.doc h2 {
  font-size: 1.5rem;
  margin-top: 44px;
  padding-top: 8px;
}
.doc h3 { font-size: 1.18rem; margin-top: 28px; }
.doc p, .doc li { color: var(--ink-soft); font-size: 1.05rem; }
.doc ul { padding-left: 1.2em; display: grid; gap: 8px; }
.doc .callout {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 28px 0;
  color: var(--ink);
}
.doc .callout strong { color: var(--ink); }
.doc a { font-weight: 700; }
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 8px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-note { justify-content: center; }
  .features { grid-template-columns: 1fr 1fr; }
  .show-row { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .show-row.reverse .show-media { order: 0; }
  .show-text ul { display: inline-grid; text-align: left; }
  .privacy-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .ipad-lead { grid-template-columns: 1fr; gap: 36px; }
  .ipad-points { max-width: 30rem; margin: 0 auto; }
}

@media (max-width: 620px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .features { grid-template-columns: 1fr; }
  .trust .wrap { gap: 12px 22px; }
  .privacy-card { padding: 34px 26px; }
  .cta { padding: 48px 22px; }
  .hero-phones .phone.back { display: none; }
  .phone { width: 270px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .ipad-trio { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
