/* ===================================================================
   Linea shared design system
   Used by: index.html (nav, get-started-row, btn-primary) and
   get-started/ (nav-static, interstitial, signup-form-simple, footer).
=================================================================== */

:root{
  --navy:#1E2D45;
  --navy-soft:#2C3E5A;
  --coral:#F56060;
  --coral-light:#FFA48F;
  --coral-dark:#DE4A4A;
  --cream:#F6F3EF;
  --cream-dim:#EDE8E0;
  --ink:#1E2D45;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',sans-serif;
  background:var(--cream);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3{
  font-family:'Fraunces',serif;
  font-weight:500;
  letter-spacing:-0.01em;
}
a{color:inherit;}
img{max-width:100%;display:block;}

/* ---------- NAV ---------- */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:22px 32px;
}
.nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.nav-logo img{height:30px;width:auto;}
.nav-logo span{
  font-family:'Fraunces',serif;font-weight:500;font-size:20px;color:var(--cream);
  letter-spacing:-0.02em;
}

/* ---------- BUTTON ---------- */
.btn-primary{
  background:linear-gradient(135deg, var(--coral-light) 0%, var(--coral) 50%, var(--coral-dark) 100%);
  color:#fff;
  border:none;
  border-radius:14px;
  padding:15px 26px;
  font-family:'Inter',sans-serif;
  font-weight:600;font-size:15px;
  cursor:pointer;
  transition:box-shadow .15s ease, transform .15s ease;
  flex:1 1 160px;
  box-shadow:0 10px 26px rgba(245,96,96,0.35);
}
.btn-primary:hover{box-shadow:0 12px 30px rgba(245,96,96,0.48);}
.btn-primary:active{transform:scale(0.98);}
.form-success{
  display:none;
  color:var(--cream);
  font-size:15px;
  padding:16px 0;
}
.form-success.show{display:block;}
.form-success strong{color:var(--coral);}
.form-error{
  display:none;
  color:var(--coral);
  font-size:15px;
  padding:16px 0;
}
.form-error.show{display:block;}

/* ---------- GET STARTED CTA ROW (platform-split iOS/Android buttons) ---------- */
.get-started-row{
  display:flex;gap:14px;flex-wrap:wrap;
  max-width:560px;
}
.get-started-row.centered{margin:0 auto;}
.get-started-row .btn-primary{
  flex:1 1 220px;
  display:flex;align-items:center;justify-content:center;gap:10px;
  text-decoration:none;
}
.get-started-row .btn-primary svg{width:18px;height:18px;flex:none;}

/* ---------- FOOTER ---------- */
footer{
  padding:28px 32px;
  background:var(--cream-dim);
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:16px;
}
footer .nav-logo img{height:22px;}
footer .nav-logo span{font-size:16px;color:var(--navy);}
footer p{
  color:#8A8478;
  font-size:13px;
}
footer .footer-meta{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  color:#8A8478;font-size:13px;
}
footer .footer-meta a{text-decoration:underline;text-underline-offset:3px;}
footer .footer-meta a:hover{color:var(--navy);}

/* ---------- STATIC NAV (non-hero pages, e.g. /get-started/) ---------- */
.nav.nav-static{
  position:static;
  background:var(--cream);
}
.nav.nav-static .nav-logo span{color:var(--navy);}

/* ---------- GET STARTED / BETA INTERSTITIAL ---------- */
.interstitial{
  min-height:calc(100dvh - 80px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 24px 80px;
  background:var(--cream);
}
.interstitial-card{
  max-width:440px;
  width:100%;
  background:#fff;
  border:1px solid #E4DED4;
  border-radius:24px;
  padding:48px 40px;
  text-align:center;
  box-shadow:0 24px 60px rgba(58,43,48,0.08);
}
.interstitial-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;height:56px;
  border-radius:16px;
  background:var(--cream-dim);
  color:var(--navy);
  margin-bottom:20px;
}
.interstitial-icon svg{width:26px;height:26px;}
.interstitial-card .eyebrow{
  display:block;
  font-size:12.5px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--coral);
  font-weight:600;
  margin-bottom:14px;
}
.interstitial-card h1{
  font-size:clamp(1.6rem, 4vw, 2.1rem);
  margin-bottom:14px;
  line-height:1.2;
}
.interstitial-card > p{
  color:var(--navy-soft);
  font-size:1rem;
  line-height:1.6;
  margin-bottom:28px;
}
.signup-form-simple{
  display:flex;flex-direction:column;gap:10px;
  text-align:left;
}
.signup-form-simple input[type=email]{
  background:var(--cream);
  border:1px solid #E5DDD3;
  border-radius:14px;
  padding:15px 18px;
  font-family:'Inter',sans-serif;
  font-size:15px;
  color:var(--navy);
  outline:none;
}
.signup-form-simple input[type=email]::placeholder{color:#7A8497;}
.signup-form-simple .btn-primary{flex:none;align-self:center;width:auto;padding:13px 30px;}
.signup-form-simple .form-success{color:var(--navy);text-align:center;padding:4px 0 0;}
.signup-form-simple .form-error{text-align:center;padding:4px 0 0;}
.interstitial-back{
  display:inline-block;
  margin-top:24px;
  font-size:13.5px;
  color:var(--navy-soft);
  text-decoration:underline;
  text-underline-offset:3px;
}
.interstitial-back:hover{color:var(--navy);}

/* ---------- ANALYTICS CONSENT BANNER (injected by site.js) ---------- */
.consent-banner{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:100;
  margin:0 auto;max-width:560px;
  background:var(--navy);
  color:var(--cream);
  border-radius:16px;
  padding:18px 20px;
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:12px;
  box-shadow:0 18px 44px rgba(30,45,69,0.35);
}
.consent-banner p{font-size:13.5px;line-height:1.5;flex:1 1 260px;}
.consent-banner a{text-decoration:underline;text-underline-offset:3px;}
.consent-banner .consent-actions{display:flex;gap:10px;align-items:center;}
.consent-banner .consent-decline{
  background:none;border:none;cursor:pointer;
  color:var(--cream);opacity:.75;
  font-family:'Inter',sans-serif;font-size:13.5px;
  text-decoration:underline;text-underline-offset:3px;
  padding:10px 6px;
}
.consent-banner .consent-decline:hover{opacity:1;}
.consent-banner .btn-primary.consent-accept{flex:none;padding:10px 22px;font-size:14px;box-shadow:none;}

/* ---------- LEGAL / PRIVACY PAGE ---------- */
.legal{
  max-width:720px;margin:0 auto;
  padding:24px 24px 80px;
}
.legal h1{color:var(--navy);font-size:clamp(1.8rem, 4vw, 2.4rem);margin:16px 0 8px;}
.legal .legal-updated{color:#8A8478;font-size:13.5px;margin-bottom:36px;}
.legal h2{color:var(--navy);font-size:1.25rem;margin:36px 0 10px;}
.legal p,.legal li{color:var(--navy-soft);font-size:15px;line-height:1.7;}
.legal ul{padding-left:22px;margin:10px 0;}
.legal a{text-underline-offset:3px;}
.legal .todo{
  background:#FFF3E9;border:1px dashed var(--coral);
  border-radius:10px;padding:10px 14px;
  color:var(--coral-dark);font-size:13.5px;
  margin:8px 0;
}
