/* Bagio — site styles. Brand lime #BBFC4C on warm paper, ink text, serif display. */
:root {
  --brand: #BBFC4C;          /* lime */
  --brand-deep: #94D82A;     /* limeDeep */
  --brand-ink: #567F13;      /* text-safe green for links */
  --bg: #FAFAF8;             /* paper */
  --card: #ffffff;
  --ink: #0D0E11;
  --ink-2: #888A92;          /* subtext */
  --hairline: #E7E7E2;
  --peri: #86A5E1;           /* periwinkle */
  --radius: 22px;
  --maxw: 1080px;
  /* pastel feature tints */
  --t-lime: #EFFBDA;
  --t-peri: #E7EDFA;
  --t-sand: #F7EFDD;
  --t-blush: #FBE7E0;
  --t-mint: #E2F4EA;
  --t-butter: #FBF3C9;
  --serif: ui-serif, "New York", "Times New Roman", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* The app's signature: serif headline with one lime "marker" swipe */
.display { font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; }
.mark {
  background: var(--brand);
  color: var(--ink);
  padding: 0 .18em;
  border-radius: .18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250,250,248,0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand-row { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand-row img { width: 34px; height: 34px; border-radius: 9px; }
.brand-row .name { color: var(--ink); font-family: var(--serif); }
.site-header nav { margin-left: auto; display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.site-header nav a { color: var(--ink-2); }
.site-header nav a:hover { color: var(--ink); text-decoration: none; }
.site-header nav a.nav-get { color: var(--ink); background: var(--brand); padding: 8px 16px; border-radius: 999px; }
.site-header nav a.nav-get:hover { background: var(--ink); color: #fff; }

/* Hero — soft aurora blobs behind, like the app's AuroraField */
.hero { position: relative; padding: 72px 0 30px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0; opacity: .55;
}
.hero::before { width: 520px; height: 520px; background: #DDF6B0; top: -160px; left: -120px; }
.hero::after { width: 470px; height: 470px; background: #CBD9F4; top: -110px; right: -130px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-ink); background: rgba(187,252,76,.22); padding: 7px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1.05; margin: 18px 0 14px; max-width: 100%; overflow-wrap: break-word; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 540px; }
.cta-row { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-appstore {
  display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff;
  padding: 11px 24px; border-radius: 14px;
  box-shadow: 0 12px 30px rgba(13,14,17,.18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-appstore:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(13,14,17,.26); }
.btn-appstore .apple-ic { width: 26px; height: 26px; flex: 0 0 auto; }
.btn-appstore span { display: flex; flex-direction: column; line-height: 1.06; text-align: left; }
.btn-appstore small { font-size: 11px; font-weight: 600; opacity: .92; }
.btn-appstore strong { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.supported { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--card); border: 1px solid var(--hairline); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* Hero phones */
.hero-phones { position: relative; height: 560px; display: flex; align-items: center; justify-content: center; }
/* The device bezel is baked into the screenshots — the div only positions the
   shot and casts a shadow that hugs the phone silhouette. */
.phone { filter: drop-shadow(0 26px 44px rgba(13,14,17,.26)); }
.phone img { display: block; width: 100%; height: auto; }
.hero-phones .phone { position: absolute; width: 260px; }
.phone-front { transform: rotate(3deg) translateX(40px); z-index: 2; }
.phone-back { transform: rotate(-6deg) translateX(-70px) scale(.94); z-index: 1; opacity: .96; }

/* Showcase */
.showcase { padding: 56px 0; }
.shots { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 26px; margin-top: 28px; }
.shot-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.shot-card .phone { width: 240px; }
.shot-card figcaption { margin-top: 18px; color: var(--ink-2); font-size: 15.5px; max-width: 260px; }
.shot-card figcaption strong { display: block; color: var(--ink); font-size: 19px; font-weight: 800; margin-bottom: 2px; }

/* Sections */
section { padding: 52px 0; }
section h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
section .sub { color: var(--ink-2); margin-bottom: 28px; max-width: 640px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feature { border-radius: var(--radius); padding: 24px; border: 1px solid rgba(0,0,0,.05); transition: transform .18s ease, box-shadow .18s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(13,14,17,.08); }
.feature .ic { font-size: 28px; line-height: 1; margin-bottom: 12px; }
.feature h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.feature p { color: #3a3f45; font-size: 15.5px; }
.tint-lime { background: var(--t-lime); }
.tint-peri { background: var(--t-peri); }
.tint-sand { background: var(--t-sand); }
.tint-blush { background: var(--t-blush); }
.tint-mint { background: var(--t-mint); }
.tint-butter { background: var(--t-butter); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px; background: var(--brand); color: var(--ink);
  font-weight: 800; margin-bottom: 12px;
}
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* Privacy strip */
.privacy-strip { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 34px 30px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: center; }
.privacy-strip h2 { color: #fff; }
.privacy-strip p { color: rgba(255,255,255,.75); }
.privacy-strip a { color: var(--brand); font-weight: 700; }
.privacy-points { display: flex; flex-direction: column; gap: 10px; }
.privacy-points span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 14px; font-size: 15px; }

/* Big CTA */
.cta-final { text-align: center; padding: 72px 0 84px; }
.cta-final h2 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 12px; }
.cta-final p { color: var(--ink-2); margin-bottom: 26px; }

/* Legal pages */
.legal { padding: 46px 0 70px; }
.legal .doc { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(24px, 5vw, 46px); max-width: 820px; margin: 0 auto; }
.legal .back { display: inline-block; margin-bottom: 18px; font-weight: 600; color: var(--ink-2); }
.legal h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 40px); letter-spacing: -0.02em; margin-bottom: 4px; }
.legal .updated { color: var(--ink-2); font-size: 14px; margin-bottom: 24px; }
.legal h2 { font-size: 21px; font-weight: 800; margin: 28px 0 8px; }
.legal h3 { font-size: 17px; font-weight: 700; margin: 18px 0 6px; }
.legal p { margin: 10px 0; }
.legal ul { margin: 10px 0 10px 22px; }
.legal li { margin: 6px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 30px 0 44px; margin-top: 20px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.site-footer nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.site-footer .copy { margin-left: auto; color: var(--ink-2); font-size: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phones { height: 480px; margin-top: 10px; }
  .shot-card .phone { width: 260px; }
  .privacy-strip { grid-template-columns: 1fr; }
  .site-footer .copy { margin-left: 0; }
}
