:root {
  --ink: #23304B;
  --muted: #657180;
  --bg: #FAF7F2;
  --surface: #FFFDF9;
  --line: #E8E2DC;
  --g1: #1D2768;
  --g2: #382F86;
  --g3: #493794;
  --joy: #FAC570;
  --sadness: #9AADF1;
  --fear: #E99EAD;
  --anger: #F56C68;
  --calm: #A6CDBB;
  --pride: #C5A4EE;
  --motivation: #F7D2BC;
  --radius: 24px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; max-width: var(--max); margin: 0 auto; color: #fff;
}
.top.light { position: static; color: var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.lang { font-size: 15px; font-weight: 600; text-decoration: none; opacity: .85; padding: 6px 12px; border-radius: 999px; border: 1px solid currentColor; }
.lang:hover { opacity: 1; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(to right, var(--g1), var(--g2), var(--g3));
  padding: 96px 0 0;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; padding-bottom: 72px; }
.hero-text { padding-bottom: 0; }
.eyebrow { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; font-weight: 600; margin: 0 0 12px; }
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.02em; }
.lead { font-size: clamp(18px, 2.2vw, 21px); opacity: .88; margin: 0 0 30px; max-width: 32em; }
.hero-img { align-self: center; }
.hero-img img { width: 100%; max-width: 500px; margin-left: auto; }

.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #111; text-decoration: none;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 17px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.store svg { width: 22px; height: 22px; }
.store.soon { cursor: default; }
.store small { display: block; font-size: 12px; font-weight: 500; opacity: .65; line-height: 1.1; }
.store span { line-height: 1.15; text-align: left; }
.note { font-size: 14px; opacity: .7; margin: 14px 0 0; }

/* Sections */
section { padding: 88px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; }
.sub { color: var(--muted); font-size: 19px; margin: 0 0 40px; max-width: 36em; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .dot { width: 44px; height: 44px; border-radius: 14px; margin-bottom: 18px; display: grid; place-items: center; font-size: 22px; }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.crowd { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 2px; margin: 8px auto 0; max-width: 820px; }
.crowd img { width: 76px; height: 76px; object-fit: contain; animation: float 5s ease-in-out infinite; }
.crowd img:nth-child(2n) { animation-delay: -1.6s; }
.crowd img:nth-child(3n) { animation-delay: -3.1s; }
@keyframes float { 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .crowd img { animation: none; } html { scroll-behavior: auto; } }

.privacy { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--calm) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323304B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }

.premium {
  color: #fff; border-radius: 32px; padding: 56px 48px;
  background: linear-gradient(to right, var(--g1), var(--g2), var(--g3));
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.premium .sub { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.premium ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.premium li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.premium li i { flex: 0 0 12px; height: 12px; border-radius: 50%; }
.free { margin-top: 22px; font-size: 15px; color: rgba(255,255,255,.75); }

.cta { padding: 96px 0 104px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* Legal pages */
.doc { max-width: 760px; padding-top: 24px; padding-bottom: 88px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-top: 24px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 23px; margin: 40px 0 10px; }
.doc h3 { font-size: 18px; margin: 26px 0 6px; }
.doc p, .doc li { color: #3a465e; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; margin: 24px 0; }
.doc .box p { margin: 0; }
.mail { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 19px; color: var(--g2); }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 12px 0; }
summary { cursor: pointer; font-weight: 650; }
details p { margin: 10px 0 0; }

@media (max-width: 860px) {
  .hero { padding-top: 84px; }
  .hero-grid, .split, .premium { grid-template-columns: 1fr; }
  .hero-grid { padding-bottom: 48px; }
  .hero-text { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-img img { margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .premium { padding: 40px 24px; border-radius: 26px; }
  .crowd img { width: 58px; height: 58px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
