/* ==========================================================================
   Unipod — production stylesheet
   Brand: Figtree type · Indigo #4632D6 · Apricot #F5A65B
   ========================================================================== */

:root {
  --indigo: #4632D6;
  --indigo-hover: #3626b0;
  --indigo-soft: #EAE7FC;
  --lilac: #C7C0FF;
  --apricot: #F5A65B;
  --peach-tint: #FDEBD8;
  --ink: #211F33;
  --ink-cta: #161326;
  --slate: #4A4760;
  --muted: #5a5668;
  --muted-2: #706C8A;
  --muted-3: #8B86A6;
  --line: #F0EFF7;
  --line-2: #E7E5F1;
  --surface: #F7F6FC;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-hover); }

img { max-width: 100%; }

::selection { background: var(--lilac); color: var(--ink); }

/* A11y: visible keyboard focus states */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---- Motion ------------------------------------------------------------- */
@keyframes floaty  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes blob    { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(18px,-14px) scale(1.08); } }

[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].in {
  opacity: 1;
  transform: none;
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
/* no-JS fallback: if the script never runs, show everything */
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 5px; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-name { font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--indigo); position: relative; top: 5px; left: 2px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--slate); font-weight: 600; font-size: 14.5px; }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero .container {
  position: relative; z-index: 1;
  padding: 72px 28px 60px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center;
}
.blob { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.blob-1 { top: -120px; left: -80px; width: 520px; height: 520px; background: radial-gradient(circle,#EAE7FC 0%,rgba(234,231,252,0) 68%); animation: blob 14s ease-in-out infinite; }
.blob-2 { top: 60px; right: -120px; width: 560px; height: 560px; background: radial-gradient(circle,#FDEBD8 0%,rgba(253,235,216,0) 66%); animation: blob 17s ease-in-out infinite; }
.blob-3 { bottom: -160px; left: 38%; width: 480px; height: 480px; background: radial-gradient(circle,#DCE6FF 0%,rgba(220,230,255,0) 66%); animation: blob 20s ease-in-out infinite; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line-2); color: var(--indigo);
  border-radius: 999px; padding: 7px 15px; font-weight: 700; font-size: 12.5px;
  box-shadow: 0 6px 18px rgba(70,50,214,.07);
}
.hero h1 { font-weight: 900; font-size: 58px; line-height: 1.02; letter-spacing: -0.045em; margin: 22px 0 0; }
.highlight { position: relative; white-space: nowrap; }
.highlight span { position: relative; z-index: 1; color: var(--indigo); }
.highlight::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 6px;
  height: 16px; background: var(--peach-tint); border-radius: 6px; z-index: 0;
}
.hero-sub { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 480px; margin: 24px 0 0; text-wrap: pretty; }

.cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.btn-store {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; padding: 14px 22px; font-weight: 700; font-size: 14.5px;
  background: var(--ink-cta); color: #fff;
}
.btn-store svg { flex: none; }
.btn-store .glyph { font-size: 20px; }
.btn-store .label { text-align: left; line-height: 1.05; }
.btn-store .label small { font-size: 10px; font-weight: 600; display: block; }
.btn-store--dark .label small { color: #b9b4c6; }
.btn-store--light { background: #fff; border: 1.5px solid #E4E1E8; color: var(--ink); }
.btn-store--light .glyph { color: var(--ink-cta); }
.btn-store--light .label small { color: var(--muted-3); }
.btn-store--on-white { background: #fff; color: var(--ink-cta); }
.btn-store--on-white .glyph { color: var(--ink-cta); }
.btn-store--on-white .label small { color: var(--muted-3); }

/* Hero visual (phone mockups + lookup card) */
.hero-visual { display: flex; justify-content: center; position: relative; }
.lookup-card {
  position: absolute; z-index: 3;
  top: calc(52% - 56px); left: calc(-4% + 48px); transform: translateY(-50%);
  width: 230px; background: #fff; border: 1px solid #ECEAEF; border-radius: 18px;
  box-shadow: 0 24px 50px rgba(26,22,32,.16); padding: 16px;
  animation: floaty2 7s ease-in-out infinite;
}
.lookup-head { display: flex; align-items: flex-start; justify-content: space-between; }
.lookup-word { font-weight: 800; font-size: 19px; letter-spacing: -0.03em; color: var(--indigo); }
.lookup-check {
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #3aa76d; color: #3aa76d;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex: none;
}
.lookup-rule { height: 1px; background: #F0EFF3; margin: 11px 0; }
.lookup-lemma { font-weight: 800; font-size: 15px; color: var(--ink); }
.lookup-lemma small { color: var(--muted-3); font-weight: 600; font-size: 13px; }
.lookup-pills { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.lookup-pills span { background: #F5F4F7; color: #6a6474; border-radius: 999px; padding: 3px 11px; font-weight: 600; font-size: 10px; }

.phones { position: relative; }
.phone { border-radius: 40px; background: var(--ink-cta); padding: 9px; box-shadow: 0 30px 60px rgba(26,22,32,.20); }
.phone img { display: block; width: 100%; height: auto; border-radius: 32px; }
.phone--back { position: absolute; top: 126px; left: 166px; z-index: 2; width: 200px; box-shadow: 0 26px 54px rgba(26,22,32,.18); animation: floaty2 8s ease-in-out .4s infinite; }
.phone--front { position: relative; z-index: 1; margin-left: -56px; width: 272px; animation: floaty 7s ease-in-out infinite; }

/* ---- Language strip ----------------------------------------------------- */
.lang-strip { display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap; padding: 22px 28px; }
.lang-strip .lead { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-3); }
.lang { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--slate); }
.lang-flag { width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(26,22,32,.08); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; }

/* ---- Sections ----------------------------------------------------------- */
.section { max-width: var(--max); margin: 0 auto; padding: 72px 28px 40px; }
.section--why { padding: 80px 28px 40px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--indigo); }
.section-title { font-weight: 900; font-size: 40px; letter-spacing: -0.04em; margin: 12px 0 0; line-height: 1.1; }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 46px; }
.feature-card { background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 30px 26px; box-shadow: 0 14px 34px rgba(26,22,32,.05); }
.feature-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--indigo-soft); display: flex; align-items: center; justify-content: center; color: var(--indigo); font-size: 24px; }
.feature-card h3 { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; margin: 22px 0 0; line-height: 1.2; }
.feature-card p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 9px 0 0; text-wrap: pretty; }

/* Why cards */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 46px; align-items: start; }
.why-card { background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 30px; }
.why-card h3 { font-weight: 800; font-size: 18px; color: var(--muted-3); margin: 0; }
.why-list { display: flex; flex-direction: column; gap: 13px; margin-top: 20px; font-size: 14.5px; color: var(--muted-2); }
.why-list div { display: flex; gap: 10px; }
.why-card--win { position: relative; border: none; background: linear-gradient(160deg,#4632D6,#5b4de0); color: #fff; box-shadow: 0 26px 54px rgba(70,50,214,.32); }
.why-card--win h3 { color: #fff; }
.why-card--win .why-list { color: #f2f0ff; }
.why-card--win .why-list span { color: var(--apricot); font-weight: 800; }

/* ---- Download CTA band -------------------------------------------------- */
.section--cta { max-width: var(--max); margin: 0 auto; padding: 50px 28px 84px; }
.cta-band {
  border-radius: 34px; background: linear-gradient(135deg,#4632D6,#6A5AEA);
  padding: 72px 40px; text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 34px 70px rgba(70,50,214,.34);
}
.cta-band .orb-1 { position: absolute; top: -60px; left: -40px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.09); }
.cta-band .orb-2 { position: absolute; bottom: -80px; right: -30px; width: 320px; height: 320px; border-radius: 50%; background: rgba(245,166,91,.18); }
.cta-inner { position: relative; z-index: 1; }
.cta-band h2 { font-weight: 900; font-size: 46px; letter-spacing: -0.045em; color: #fff; margin: 0; line-height: 1.06; }
.cta-words { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 22px 0 0; }
.cta-words span { font-weight: 800; font-size: 16px; color: #fff; }
.cta-words .w-u { color: var(--lilac); }
.cta-words .w-r { color: var(--apricot); }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-top {
  max-width: var(--max); margin: 0 auto; padding: 48px 28px 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-blurb { font-size: 13.5px; color: var(--muted-3); line-height: 1.6; margin: 14px 0 0; max-width: 250px; }
.site-footer .brand-name { top: 7px; }
.site-footer .brand img { width: 32px; height: 32px; }
.footer-links { display: flex; align-items: center; gap: 26px; font-size: 13.5px; font-weight: 600; }
.footer-links a { color: var(--muted-2); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container { padding: 20px 28px; font-size: 12.5px; color: var(--muted-3); }

/* ---- Legal pages -------------------------------------------------------- */
.legal-header { border-bottom: 1px solid var(--line); }
.legal-header .container { padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; }
.legal-back { color: var(--slate); font-weight: 600; font-size: 14px; }
.legal-main { max-width: 820px; margin: 0 auto; padding: 56px 28px 80px; }
.legal-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--indigo-soft); color: var(--indigo); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 12px; }
.legal-title { font-weight: 900; font-size: 42px; letter-spacing: -0.045em; margin: 16px 0 0; }
.legal-dates { display: flex; gap: 22px; margin-top: 16px; font-size: 13.5px; color: var(--muted-3); font-weight: 600; flex-wrap: wrap; }
.legal-dates strong { color: var(--slate); font-weight: 600; }
.legal-body { margin-top: 34px; }
.legal-body h2 { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: var(--ink); margin: 44px 0 14px; }
.legal-body h3 { font-weight: 800; font-size: 15.5px; color: var(--ink); margin: 24px 0 6px; }
.legal-body p { font-size: 15px; line-height: 1.7; color: var(--slate); margin: 0 0 14px; text-wrap: pretty; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body li { font-size: 15px; line-height: 1.7; color: var(--slate); margin-bottom: 7px; }
.legal-body hr { border: none; border-top: 1px solid var(--line); margin: 34px 0; }
.legal-body strong { color: var(--ink); font-weight: 700; }

/* ---- 404 ---------------------------------------------------------------- */
.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 28px; }
.notfound h1 { font-weight: 900; font-size: 88px; letter-spacing: -0.05em; margin: 0; color: var(--indigo); }
.notfound p { font-size: 17px; color: var(--muted); margin: 12px 0 28px; }
.notfound a { background: var(--ink-cta); color: #fff; border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 15px; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 940px) {
  .hero .container { grid-template-columns: 1fr; gap: 12px; padding-top: 48px; }
  .hero h1 { font-size: 44px; }
  .hero-visual { margin-top: 40px; min-height: 420px; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-band h2 { font-size: 34px; }
}
@media (max-width: 620px) {
  .container, .site-header .container { padding-left: 20px; padding-right: 20px; }
  .nav { gap: 16px; }
  .hero h1 { font-size: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 30px; }
  .lang-strip { gap: 18px 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
