/* ── Lengio Website — v4 (refresh) ── */

@font-face {
  font-family: 'Unica One';
  src: url('/fonts/UnicaOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  /* ── App palette (matches actual app icon) ── */
  --coral:    #F3705A;
  --yellow:   #FFD15C;
  --teal:     #4ECDC4;
  --blue:     #00B8D9;
  --icon-top: #82A0FF;
  --icon-bot: #4060B9;
  --accent:   #5570D1;

  /* ── Light surfaces ── */
  --bg:      #F4F6FE;
  --bg2:     #ECEFFE;
  --bg3:     #FFFFFF;
  --bg4:     #E4E8FF;
  --glass:   rgba(255,255,255,0.72);

  /* ── Text ── */
  --text:    #0D1128;
  --text-2:  #3D4870;
  --muted:   #7B87AA;

  /* ── Borders ── */
  --border:    rgba(13,17,40,0.07);
  --border-hi: rgba(13,17,40,0.13);

  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(13,17,40,0.06);
  --shadow-md: 0 8px 28px rgba(13,17,40,0.09);
  --shadow-lg: 0 24px 60px rgba(13,17,40,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.brand {
  /* Matches the in-app wordmark used by every screen in the iOS app
     (Launch, Home, Collection, Study, Explore, Onboarding, Premium).
     Unica One is a tall, narrow all-caps display face — `Font.custom("Unica One", ...)`.
     Tracking 0.03em mirrors the app's `tracking: 1.5` at size 56 and
     `tracking: 0.6` at size 20. */
  font-family: 'Unica One', sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ── Typography ── */
h1 { font-size: clamp(2.7rem, 5.7vw, 5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
p  { color: var(--text-2); line-height: 1.75; }

.gradient-text {
  background: linear-gradient(115deg, #2DD4BF 0%, #0EA5E9 55%, #5570D1 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-warm {
  background: linear-gradient(115deg, var(--coral) 0%, #FF9052 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-blue {
  background: linear-gradient(140deg, var(--icon-top) 0%, var(--icon-bot) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 120px 0; }

/* ── Nav ── */
body > nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
body > nav.scrolled {
  background: rgba(244,246,254,0.82);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), 0 4px 22px rgba(13,17,40,0.06);
  padding: 14px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto; padding: 0 28px;
}
.nav-logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--text);
}
.logo-icon {
  width: 36px; height: 36px;
  display: block; flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(85,112,209,0.28));
}
.nav-logo .brand { font-size: 1.2rem; color: #4A70E3; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.01em;
  transition: color 0.18s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--text) !important;
  color: #fff !important;
  padding: 9px 20px !important; border-radius: 50px;
  font-weight: 700 !important; font-size: 0.84rem !important;
  transition: transform 0.18s, box-shadow 0.18s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(13,17,40,0.22) !important; }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 150px 0 110px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 78% 22%, rgba(85,112,209,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 45% 42% at 8% 78%, rgba(0,184,217,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 92% 80%, rgba(78,205,196,0.08) 0%, transparent 55%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(85,112,209,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85,112,209,0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 75% 70% at 72% 28%, black 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 72% 28%, black 12%, transparent 72%);
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; position: relative; z-index: 1;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(78,205,196,0.10); border: 1px solid rgba(78,205,196,0.28);
  border-radius: 50px; padding: 7px 16px 7px 11px;
  font-size: 0.76rem; font-weight: 700; color: #009B93;
  margin-bottom: 28px; letter-spacing: 0.10em; text-transform: uppercase;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 10px var(--teal);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero h1 { margin-bottom: 22px; }
.hero-sub {
  font-size: 1.13rem; color: var(--text-2); max-width: 480px;
  margin-bottom: 40px; line-height: 1.78;
}
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.btn-download {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: #fff;
  border-radius: var(--radius); padding: 14px 24px;
  text-decoration: none; font-weight: 700; font-size: 0.94rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 22px rgba(13,17,40,0.20);
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(13,17,40,0.26); }
.btn-download svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: color 0.18s;
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost svg { width: 14px; height: 14px; transition: transform 0.18s; }
.btn-ghost:hover svg { transform: translateX(3px); }

/* ─── Orbit visual ─── */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative; height: 540px;
}

/* ── App icon (hero center) ── */
/* PNG export has ~4px more transparent padding on top than bottom; the
   wrap is nudged up so the icon's visible center aligns with the orbit center. */
.app-icon-wrap {
  position: absolute; width: 172px; height: 172px; z-index: 5;
  top: calc(50% - 2px); left: 50%;
  transform: translate(-50%, -50%);
  animation: floatIcon 6s ease-in-out infinite;
}
.app-icon-img {
  width: 100%; height: 100%;
  filter:
    drop-shadow(0 18px 36px rgba(85,112,209,0.35))
    drop-shadow(0 6px 12px rgba(13,17,40,0.18));
  display: block;
}

/* ── Orbit rings ── */
.orbit {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  border: 1.5px dashed rgba(85,112,209,0.18);
  transform: translate(-50%, -50%);
}
.orbit-1 { width: 226px; height: 226px; animation: spin 22s linear infinite; }
.orbit-2 { width: 344px; height: 344px; animation: spin 32s linear infinite reverse; }
.orbit-3 { width: 472px; height: 472px; animation: spin 44s linear infinite; }

/* ── Flag slots ── */
/* Each slot is 46×46 px; positions place its top-left so the slot's center
   sits exactly on the ring circumference. Each slot counter-spins to stay
   upright while the parent ring spins. */
.orbit-slot {
  position: absolute;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
}
/* Ring 1: 4 slots, R=113 px, every 90° */
.s1-a { top: -23px;  left: 90px;   animation: counter-spin 22s linear infinite; }
.s1-b { top: 90px;   left: 203px;  animation: counter-spin 22s linear infinite; }
.s1-c { top: 203px;  left: 90px;   animation: counter-spin 22s linear infinite; }
.s1-d { top: 90px;   left: -23px;  animation: counter-spin 22s linear infinite; }
/* Ring 2: 6 slots, R=172 px, every 60° */
.s2-a { top: -23px;  left: 149px;  animation: counter-spin 32s linear infinite reverse; }
.s2-b { top: 63px;   left: 298px;  animation: counter-spin 32s linear infinite reverse; }
.s2-c { top: 235px;  left: 298px;  animation: counter-spin 32s linear infinite reverse; }
.s2-d { top: 321px;  left: 149px;  animation: counter-spin 32s linear infinite reverse; }
.s2-e { top: 235px;  left: 0;      animation: counter-spin 32s linear infinite reverse; }
.s2-f { top: 63px;   left: 0;      animation: counter-spin 32s linear infinite reverse; }
/* Ring 3: 8 slots, R=236 px, every 45° */
.s3-a { top: -23px;  left: 213px;  animation: counter-spin 44s linear infinite; }
.s3-b { top: 46px;   left: 380px;  animation: counter-spin 44s linear infinite; }
.s3-c { top: 213px;  left: 449px;  animation: counter-spin 44s linear infinite; }
.s3-d { top: 380px;  left: 380px;  animation: counter-spin 44s linear infinite; }
.s3-e { top: 449px;  left: 213px;  animation: counter-spin 44s linear infinite; }
.s3-f { top: 380px;  left: 46px;   animation: counter-spin 44s linear infinite; }
.s3-g { top: 213px;  left: -23px;  animation: counter-spin 44s linear infinite; }
.s3-h { top: 46px;   left: 46px;   animation: counter-spin 44s linear infinite; }

.flag-img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #fff;
  box-shadow: 0 4px 14px rgba(13,17,40,0.20), 0 1px 3px rgba(13,17,40,0.10);
  display: block;
  flex-shrink: 0;
}

/* ── Stats strip ── */
.stats-strip {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; margin-top: 84px;
  background: var(--border); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.stat-cell {
  background: var(--bg3); padding: 38px 28px; text-align: center;
  transition: background 0.18s;
}
.stat-cell:hover { background: #F8F9FF; }
.stat-num {
  display: block; font-size: 2.9rem; font-weight: 900;
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px;
  background: linear-gradient(135deg, #2DD4BF, #0EA5E9 60%, #5570D1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { color: var(--text-2); font-size: 0.88rem; font-weight: 500; }

/* ── Section label ── */
.section-label {
  display: inline-block; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #009B93;
  margin-bottom: 14px;
}
.section-header { margin-bottom: 70px; }
.section-header.center { text-align: center; }
.section-header p { margin-top: 16px; font-size: 1.04rem; }
.section-header.center p { max-width: 580px; margin-left: auto; margin-right: auto; }

/* ── Features ── */
.features-bg { background: var(--bg3); }

.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.feat-card {
  position: relative; overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px 32px;
  transition: transform 0.28s cubic-bezier(.22,.68,0,1.2), border-color 0.28s, box-shadow 0.28s;
}
.feat-card::after {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: radial-gradient(180px 120px at 80% 0%, rgba(78,205,196,0.10), transparent 70%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.feat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(78,205,196,0.34);
  box-shadow: var(--shadow-md);
}
.feat-card:hover::after { opacity: 1; }
.feat-icon {
  width: 54px; height: 54px; border-radius: 15px;
  margin-bottom: 22px; display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s;
}
.feat-card:hover .feat-icon { transform: scale(1.06) rotate(-3deg); }
.feat-icon svg { width: 25px; height: 25px; }
.icon-coral  { background: rgba(243,112,90,0.14);  color: #D45841; }
.icon-teal   { background: rgba(78,205,196,0.14);  color: #3AB5AC; }
.icon-yellow { background: rgba(255,209,92,0.18);  color: #C48B00; }
.icon-blue   { background: rgba(0,184,217,0.14);   color: #0096B3; }
.icon-violet { background: rgba(85,112,209,0.13); color: var(--accent); }
.icon-pink   { background: rgba(220,100,180,0.13); color: #C048A0; }

.feat-card h3 { margin-bottom: 9px; }
.feat-card p  { font-size: 0.95rem; line-height: 1.72; }

/* ── AI Speech Partner showcase ── */
.ai-bg {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 18% 30%, rgba(45,212,191,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 88% 70%, rgba(14,165,233,0.16) 0%, transparent 60%),
    linear-gradient(160deg, #0A0F2C 0%, #14193B 60%, #1A2050 100%);
  color: #fff;
  overflow: hidden;
}
.ai-bg::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.ai-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center;
}
.ai-text .section-label {
  color: #4FD1B8;
  display: inline-flex; align-items: center; gap: 8px;
}
.ai-text .section-label::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #4FD1B8; box-shadow: 0 0 10px #4FD1B8;
  animation: pulse 2.4s ease-in-out infinite;
}
.ai-text h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}
.ai-text h2 .gradient-text {
  background: linear-gradient(115deg, #5EEAD4 0%, #38BDF8 50%, #818CF8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ai-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1.06rem;
  max-width: 480px;
  margin-top: 18px;
}
.ai-points {
  list-style: none; margin-top: 30px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px;
}
.ai-points li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.93rem; color: rgba(255,255,255,0.82);
  line-height: 1.5;
}
.ai-points .ap-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(94,234,212,0.18); color: #5EEAD4;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.ai-points .ap-check svg { width: 12px; height: 12px; }

/* Chat mock */
.ai-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.chat-mock {
  width: 100%; max-width: 380px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  padding: 22px 20px 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(10,15,44,0.5);
}
.chat-header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.chat-ai-avatar {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, #5EEAD4, #38BDF8 60%, #818CF8);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Unica One', sans-serif; font-size: 0.78rem;
  color: #0A0F2C; font-weight: 700; letter-spacing: 0.06em;
  box-shadow: 0 4px 14px rgba(94,234,212,0.36);
}
.chat-ai-name { font-weight: 700; font-size: 0.92rem; color: #fff; line-height: 1.2; }
.chat-ai-meta { font-size: 0.74rem; color: rgba(94,234,212,0.85); margin-top: 2px;
  display: flex; align-items: center; gap: 6px; }
.chat-ai-meta::before { content:''; width:6px; height:6px; border-radius:50%; background:#34D399;
  box-shadow:0 0 8px #34D399; }
.chat-list { display: flex; flex-direction: column; gap: 10px; }
.chat-msg { display: flex; gap: 8px; max-width: 88%; }
.chat-msg.from-ai { align-self: flex-start; }
.chat-msg.from-you { align-self: flex-end; flex-direction: row-reverse; }
.chat-bubble {
  padding: 10px 14px; border-radius: 16px;
  font-size: 0.88rem; line-height: 1.45;
}
.chat-msg.from-ai .chat-bubble {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.94);
  border-bottom-left-radius: 6px;
}
.chat-msg.from-you .chat-bubble {
  background: linear-gradient(135deg, #38BDF8, #5570D1);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.chat-meta {
  margin-top: 4px;
  font-size: 0.66rem; color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}
.chat-msg.from-ai .chat-meta { padding-left: 14px; }
.chat-msg.from-you .chat-meta { padding-right: 14px; text-align: right; }
.chat-typing {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 2px;
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.7);
  animation: typingDot 1.3s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }
.chat-input {
  margin-top: 16px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 8px 8px 8px 14px;
}
.chat-input-mic {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #5EEAD4, #38BDF8);
  display: flex; align-items: center; justify-content: center;
  color: #0A0F2C;
  box-shadow: 0 4px 14px rgba(94,234,212,0.35);
}
.chat-input-mic svg { width: 16px; height: 16px; }
.chat-input-wave {
  flex: 1; height: 22px;
  display: flex; align-items: center; gap: 3px;
}
.chat-input-wave span {
  flex: 1; max-width: 5px; background: rgba(255,255,255,0.45);
  border-radius: 4px;
  animation: wave 1.4s ease-in-out infinite;
}
.chat-input-wave span:nth-child(1) { animation-delay: 0.00s; }
.chat-input-wave span:nth-child(2) { animation-delay: 0.10s; }
.chat-input-wave span:nth-child(3) { animation-delay: 0.20s; }
.chat-input-wave span:nth-child(4) { animation-delay: 0.30s; }
.chat-input-wave span:nth-child(5) { animation-delay: 0.40s; }
.chat-input-wave span:nth-child(6) { animation-delay: 0.50s; }
.chat-input-wave span:nth-child(7) { animation-delay: 0.60s; }
.chat-input-wave span:nth-child(8) { animation-delay: 0.70s; }
.chat-input-wave span:nth-child(9) { animation-delay: 0.80s; }
.chat-input-wave span:nth-child(10){ animation-delay: 0.90s; }
.chat-input-wave span:nth-child(11){ animation-delay: 1.00s; }
.chat-input-wave span:nth-child(12){ animation-delay: 1.10s; }
.chat-input-hint { font-size: 0.72rem; color: rgba(255,255,255,0.42); margin-left: auto; padding-right: 4px; }

@keyframes typingDot { 0%,60%,100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes wave { 0%,100% { height: 4px; } 50% { height: 18px; } }

/* ── How it works ── */
.how-bg { background: var(--bg); position: relative; overflow: hidden; }
.how-bg::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 50% at 92% 0%, rgba(85,112,209,0.10), transparent 60%),
    radial-gradient(ellipse 38% 45% at 8% 100%, rgba(78,205,196,0.10), transparent 60%);
}
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; position: relative; z-index: 1;
}
.how-step {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 30px 32px;
  position: relative;
  transition: transform 0.28s cubic-bezier(.22,.68,0,1.2), box-shadow 0.28s, border-color 0.28s;
}
.how-step:hover {
  transform: translateY(-4px);
  border-color: rgba(85,112,209,0.25);
  box-shadow: var(--shadow-md);
}
.how-num {
  font-family: 'Unica One', sans-serif;
  font-size: 3.1rem; line-height: 1; letter-spacing: 0.04em;
  background: linear-gradient(140deg, var(--icon-top) 0%, var(--icon-bot) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 18px; display: block;
}
.how-step h3 { margin-bottom: 9px; font-size: 1.2rem; }
.how-step p  { font-size: 0.95rem; }
.how-step .step-icon {
  position: absolute; top: 30px; right: 30px;
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(85,112,209,0.10); color: var(--accent);
}
.how-step .step-icon svg { width: 18px; height: 18px; }

/* ── Preview / iPhone mockup ── */
.preview-bg { background: var(--bg3); }
.preview-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px;
  align-items: center;
}
.preview-text h2 { margin-bottom: 18px; }
.preview-text p { max-width: 460px; font-size: 1.04rem; }
.preview-points {
  list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 16px;
}
.preview-points li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 0.95rem; color: var(--text-2);
}
.preview-points .pp-check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(78,205,196,0.16); color: #009B93;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.preview-points .pp-check svg { width: 13px; height: 13px; }

.phone-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative; perspective: 1200px;
}
.phone-glow {
  position: absolute; inset: -40px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 35%, rgba(0,184,217,0.20), transparent 65%),
    radial-gradient(ellipse 55% 50% at 50% 80%, rgba(243,112,90,0.16), transparent 70%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: 286px; aspect-ratio: 286 / 580;
  background: #0D1128;
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.04) inset,
    0 30px 70px rgba(13,17,40,0.30),
    0 12px 24px rgba(13,17,40,0.18);
  transform: rotate(-3deg);
  transition: transform 0.4s;
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(170deg, #F4F6FE 0%, #E8ECFF 100%);
  border-radius: 36px; overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 95px; height: 26px; background: #0D1128; border-radius: 14px;
  z-index: 3;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 0; font-size: 0.66rem; font-weight: 700; color: var(--text);
  letter-spacing: 0.02em;
}
.phone-status-r { display: flex; gap: 5px; align-items: center; }
.phone-status-r svg { width: 12px; height: 12px; }
.phone-content { flex: 1; padding: 32px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.phone-eyebrow {
  font-size: 0.6rem; font-weight: 700; color: #009B93;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.phone-greeting {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
}
.phone-card {
  background: #fff; border-radius: 20px;
  padding: 14px; margin-top: 4px;
  box-shadow: 0 6px 20px rgba(13,17,40,0.06);
}
.phone-card-img {
  width: 100%; aspect-ratio: 16 / 11;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(243,112,90,0.18), rgba(255,209,92,0.22) 40%, rgba(0,184,217,0.20)),
    linear-gradient(45deg, #FFD3B6 0%, #FFAAA5 50%, #FF8B94 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 10px;
}
.phone-card-img::after {
  content: '🥐'; font-size: 56px;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -52%);
  filter: drop-shadow(0 4px 10px rgba(13,17,40,0.15));
}
.phone-card-word {
  margin-top: 12px; font-size: 1.1rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--text);
}
.phone-card-pron {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; color: var(--muted); margin-top: 2px;
}
.phone-card-pron svg { width: 13px; height: 13px; }
.phone-card-tr {
  margin-top: 10px; font-size: 0.78rem; color: var(--text-2);
  padding-top: 10px; border-top: 1px solid var(--border);
}
.phone-actions {
  display: flex; gap: 8px; margin-top: 6px;
}
.phone-action {
  flex: 1; padding: 9px 10px;
  background: var(--bg);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 0.68rem; font-weight: 700; color: var(--text-2);
}
.phone-action svg { width: 13px; height: 13px; }
.phone-action.primary {
  background: var(--text); color: #fff;
}
.phone-dock {
  margin-top: auto; padding-top: 8px;
  display: flex; justify-content: space-around;
  border-top: 1px solid var(--border);
}
.phone-dock-item {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.phone-dock-item.active { color: var(--accent); }
.phone-dock-item svg { width: 17px; height: 17px; }

/* ── Languages ── */
.lang-bg { background: var(--bg); }
.lang-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-top: 52px;
}
.lang-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 50px; padding: 8px 18px 8px 10px;
  font-size: 0.875rem; font-weight: 500; color: var(--text-2);
  cursor: default;
  transition: border-color 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.lang-pill:hover {
  border-color: rgba(78,205,196,0.42); color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(13,17,40,0.08);
}
.lang-flag {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

/* ── CTA ── */
.cta-bg { background: var(--bg); position: relative; overflow: hidden; text-align: center; }
.cta-glow {
  position: absolute; width: 760px; height: 540px; border-radius: 50%;
  background:
    radial-gradient(ellipse, rgba(85,112,209,0.13) 0%, transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.cta-bg::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 30% 24% at 18% 25%, rgba(243,112,90,0.10), transparent 70%),
    radial-gradient(ellipse 30% 28% at 82% 78%, rgba(0,184,217,0.12), transparent 70%);
}
.cta-inner { position: relative; z-index: 1; padding: 30px 0; }
.cta-inner h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.cta-note { margin-top: 18px; font-size: 0.84rem; color: var(--muted); }

/* ── Footer (dark) ── */
footer {
  background: #0A0D22; border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 40px; color: #fff;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 44px;
  margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo-wrap { display: flex; flex-direction: column; gap: 14px; max-width: 280px; }
.footer-logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: #fff;
}
.footer-logo .logo-icon { width: 32px; height: 32px; }
.footer-logo .brand { font-size: 1.12rem; color: #fff; }
.footer-tagline { color: rgba(255,255,255,0.42); font-size: 0.86rem; }

.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-nav-group h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.32); margin-bottom: 14px;
}
.footer-nav-group ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav-group a {
  color: rgba(255,255,255,0.58); text-decoration: none;
  font-size: 0.88rem; transition: color 0.18s;
}
.footer-nav-group a:hover { color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { color: rgba(255,255,255,0.32); font-size: 0.82rem; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: rgba(255,255,255,0.32); text-decoration: none; font-size: 0.82rem; transition: color 0.18s; }
.footer-legal a:hover { color: rgba(255,255,255,0.72); }

/* ── Inner pages ── */
.page-hero {
  padding: 148px 0 66px; background: var(--bg3);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 75% at 15% 50%, rgba(78,205,196,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem,4.2vw,3.1rem); margin-bottom: 10px; }
.page-meta { color: var(--muted); font-size: 0.84rem; margin-top: 8px; }

.page-body { padding: 72px 0 120px; }
.page-prose { max-width: 740px; }
.page-prose h2 { font-size: 1.4rem; margin: 52px 0 12px; color: var(--text); font-weight: 700; }
.page-prose h3 { font-size: 1.04rem; margin: 28px 0 8px; color: var(--text); font-weight: 600; }
.page-prose p  { margin-bottom: 16px; font-size: 0.98rem; line-height: 1.8; }
.page-prose ul { padding-left: 22px; margin-bottom: 16px; }
.page-prose li { color: var(--text-2); font-size: 0.98rem; line-height: 1.8; margin-bottom: 5px; }
.page-prose a  { color: #009B93; text-decoration: none; border-bottom: 1px solid rgba(0,155,147,0.25); transition: border-color 0.18s; }
.page-prose a:hover { border-bottom-color: #009B93; }

.callout {
  background: rgba(78,205,196,0.07); border: 1px solid rgba(78,205,196,0.22);
  border-left: 3px solid var(--teal); border-radius: var(--radius);
  padding: 20px 24px; margin: 28px 0;
}
.callout p { margin: 0; color: var(--text); font-size: 0.96rem; }
.callout p + p { margin-top: 10px; }

/* Legal documents: table of contents */
.legal-toc {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin: 36px 0 44px;
}
.legal-toc h4 {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.legal-toc ol {
  margin: 0; padding: 0; list-style: none;
  column-count: 2; column-gap: 32px;
}
.legal-toc li {
  padding: 0; margin: 0 0 7px 0;
  font-size: 0.92rem; line-height: 1.45;
  break-inside: avoid;
  color: var(--text-2);
  counter-increment: legal-item;
}
.legal-toc ol { counter-reset: legal-item; }
.legal-toc li::before {
  content: counter(legal-item, decimal-leading-zero) "  ";
  color: var(--muted);
  font-family: 'Unica One', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.06em;
  margin-right: 4px;
}
.legal-toc a {
  color: var(--text-2); text-decoration: none;
  border-bottom: none !important;
}
.legal-toc a:hover { color: #009B93; }

/* Anchored section headings */
.page-prose h2 { scroll-margin-top: 100px; }
.page-prose h2 .anchor {
  display: inline-block; opacity: 0;
  color: var(--muted); margin-left: 8px;
  font-size: 0.8em; font-weight: 400;
  text-decoration: none;
  transition: opacity 0.18s, color 0.18s;
  border-bottom: none !important;
}
.page-prose h2:hover .anchor { opacity: 1; }
.page-prose h2 .anchor:hover { color: var(--teal); }

.legal-note {
  font-size: 0.86rem; color: var(--muted);
  background: var(--bg);
  border-left: 3px solid var(--border-hi);
  padding: 14px 20px; margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.legal-note strong { color: var(--text); }

@media (max-width: 640px) {
  .legal-toc ol { column-count: 1; }
}

/* Support */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 32px 0; }
.support-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 26px;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.support-card:hover {
  border-color: rgba(78,205,196,0.36); transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(13,17,40,0.08);
}
.s-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(78,205,196,0.10); color: #3AB5AC;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.s-icon svg { width: 21px; height: 21px; }
.support-card h3 { margin-bottom: 7px; }
.support-card p  { margin: 0; font-size: 0.91rem; }
.support-card .s-link {
  display: inline-block; margin-top: 12px; font-size: 0.875rem;
  font-weight: 600; color: #009B93; text-decoration: none;
  border-bottom: 1px solid rgba(0,155,147,0.25);
}

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; }
.faq-item {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-q {
  padding: 18px 22px; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; font-size: 0.96rem; color: var(--text);
  user-select: none; transition: background 0.18s; gap: 16px;
}
.faq-q:hover { background: var(--bg); }
.faq-arrow { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); transition: transform 0.22s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 18px; font-size: 0.93rem; line-height: 1.75; color: var(--text-2); }
.faq-a p { margin-bottom: 8px; }
.faq-a p:last-child { margin: 0; }
.faq-a ul { padding-left: 18px; margin: 6px 0 8px; }
.faq-a li { margin-bottom: 4px; }
.faq-a a { color: #009B93; text-decoration: none; }
.faq-item.open .faq-a { display: block; }

/* ── Keyframes ── */
@keyframes floatIcon  { 0%,100%{transform:translate(-50%,-50%) translateY(-3px)} 50%{transform:translate(-50%,-50%) translateY(3px)} }
@keyframes spin       { from{transform:translate(-50%,-50%) rotate(0deg)} to{transform:translate(-50%,-50%) rotate(360deg)} }
@keyframes counter-spin{ from{transform:rotate(0deg)} to{transform:rotate(-360deg)} }
@keyframes pulse      { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.35;transform:scale(0.7)} }

/* Scroll reveal (no-JS fallback: visible by default; JS adds .js-on to body to enable hiding) */
.js-on .reveal { opacity:0; transform:translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-on .reveal.visible { opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-on .reveal { opacity:1 !important; transform:none !important; transition:none !important; }
}
.d1{transition-delay:.08s} .d2{transition-delay:.16s} .d3{transition-delay:.24s}
.d4{transition-delay:.32s} .d5{transition-delay:.40s}

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 56px; }
  .hero-visual { order: -1; height: 420px; }
  .hero-sub, .hero-actions { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .preview-inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .preview-text p, .preview-points { margin-left: auto; margin-right: auto; }
  .preview-points li { text-align: left; }
  .ai-inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .ai-text p { margin-left: auto; margin-right: auto; }
  .ai-points { max-width: 540px; margin-left: auto; margin-right: auto; }
  .ai-points li { text-align: left; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stats-strip .stat-cell:last-child { grid-column: span 2; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .nav-links li:not(:last-child) { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .stats-strip .stat-cell:last-child { grid-column: span 1; }
  .support-grid { grid-template-columns: 1fr; }
  .orbit-3 { display: none; }
  .footer-nav { gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-visual { height: 360px; }
  .phone { width: 250px; transform: rotate(0deg); }
  .ai-points { grid-template-columns: 1fr; }
}
