:root {
  --bg: #f8f8fb;
  --surface: #ffffff;
  --surface-2: #f2f1ff;
  --text: #111217;
  --muted: #686b78;
  --line: #e7e7ee;
  --brand: #6758f3;
  --brand-dark: #5142d9;
  --brand-soft: #eeecff;
  --dark: #15151d;
  --shadow: 0 24px 70px rgba(24, 24, 42, .10);
  --shadow-sm: 0 12px 36px rgba(24, 24, 42, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: none; }
img, svg { display: block; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,248,251,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231,231,238,.82);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 850;
  letter-spacing: -.025em;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #7868ff, #4e3bd8);
  box-shadow: 0 9px 22px rgba(103,88,243,.27);
}
.brand-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-links a {
  color: #525662;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 11px;
}
.nav-links a:hover, .nav-links a.active { background: #fff; color: var(--text); }
.nav-download { margin-left: 5px; background: var(--dark)!important; color: #fff!important; padding-inline: 15px!important; }

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 92px;
}
.home-hero:before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  right: -180px;
  top: -190px;
  background: radial-gradient(circle, rgba(103,88,243,.16), rgba(103,88,243,0) 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.04fr) minmax(390px,.96fr);
  align-items: center;
  gap: 70px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
h1 {
  margin: 18px 0 20px;
  font-size: clamp(46px, 6.3vw, 78px);
  line-height: .99;
  letter-spacing: -.055em;
  max-width: 760px;
}
.hero-copy {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 8px 18px 8px 15px;
  border-radius: 15px;
  background: #0d0d12;
  color: #fff;
  box-shadow: 0 14px 30px rgba(13,13,18,.15);
  transition: transform .18s ease, box-shadow .18s ease;
}
.app-store-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(13,13,18,.2); }
.app-store-btn svg { width: 29px; height: 29px; flex: 0 0 auto; }
.app-store-copy { display: flex; flex-direction: column; line-height: 1.05; }
.app-store-copy small { font-size: 10px; font-weight: 650; letter-spacing: .02em; opacity: .82; text-transform: uppercase; }
.app-store-copy strong { margin-top: 4px; font-size: 20px; letter-spacing: -.025em; }
.secondary-link { color: var(--text); font-weight: 750; padding: 12px 4px; }
.hero-note { margin-top: 16px; color: #8a8d98; font-size: 13px; }

.phone-stage { position: relative; min-height: 620px; display: grid; place-items: center; }
.phone-stage:before {
  content: "";
  position: absolute;
  width: 410px;
  height: 410px;
  background: linear-gradient(145deg, #eeeaff, #ddd8ff);
  border-radius: 42% 58% 56% 44% / 45% 41% 59% 55%;
  transform: rotate(-7deg);
}
.phone {
  position: relative;
  z-index: 2;
  width: 302px;
  border: 9px solid #17171d;
  border-radius: 48px;
  background: #fff;
  padding: 13px 13px 18px;
  box-shadow: 0 34px 80px rgba(28,26,56,.25);
  transform: rotate(3deg);
}
.phone-notch { width: 96px; height: 25px; background: #17171d; border-radius: 0 0 17px 17px; margin: -13px auto 12px; }
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 14px; }
.phone-top strong { font-size: 18px; letter-spacing: -.025em; }
.circle-icon { width: 32px; height: 32px; border-radius: 50%; background: #f1f1f5; display: grid; place-items: center; }
.search-ui { background: #f4f4f7; color: #9496a1; font-size: 12px; border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; }
.story-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin-bottom: 18px; }
.story { text-align: center; font-size: 9px; color: #777a84; }
.story-ring { width: 48px; height: 48px; margin: 0 auto 6px; border-radius: 50%; padding: 3px; background: linear-gradient(145deg,#7868ff,#d26cff); }
.story-ring span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; background: linear-gradient(145deg,#d8d9e3,#aeb1c1); }
.feed-card { border: 1px solid #ececf1; border-radius: 17px; padding: 11px; margin-top: 10px; }
.feed-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.avatar { width: 31px; height: 31px; border-radius: 50%; background: linear-gradient(145deg,#c5c7d3,#e5e5eb); }
.lines { flex: 1; }
.lines span { display: block; height: 6px; border-radius: 999px; background: #e7e7ec; margin: 4px 0; }
.lines span:first-child { width: 55%; background: #c7c8d0; }
.media { height: 142px; border-radius: 13px; background: linear-gradient(135deg,#cfcbff,#8d81f7 47%,#6358d9); position: relative; overflow: hidden; }
.media:before { content: ""; position: absolute; width: 130px; height: 130px; background: rgba(255,255,255,.17); border-radius: 50%; right: -28px; top: -38px; }
.media:after { content: ""; position: absolute; width: 70px; height: 70px; background: rgba(255,255,255,.16); border-radius: 20px; left: 26px; bottom: -22px; transform: rotate(25deg); }
.feed-actions { display: flex; gap: 7px; padding-top: 10px; }
.pill { height: 27px; border-radius: 9px; background: #f1f1f5; flex: 1; }
.float-card { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 13px 15px; }
.float-card strong { display: block; font-size: 13px; }
.float-card span { color: var(--muted); font-size: 11px; }
.float-one { left: 0; top: 150px; transform: rotate(-5deg); }
.float-two { right: -2px; bottom: 126px; transform: rotate(4deg); }
.float-icon { width: 29px; height: 29px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 7px; font-weight: 900; }

.section { padding: 94px 0; }
.section-white { background: #fff; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-kicker { color: var(--brand); font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.section h2 { margin: 10px 0 13px; font-size: clamp(34px,4.5vw,54px); line-height: 1.05; letter-spacing: -.045em; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-sm); }
.feature-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 20px; }
.feature-icon svg { width: 23px; height: 23px; }
.feature-card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.step { padding: 5px 0; }
.step-num { font-size: 13px; color: var(--brand); font-weight: 850; margin-bottom: 10px; }
.step h3 { margin: 0 0 8px; font-size: 21px; }
.step p { margin: 0; color: var(--muted); }

.download-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg,#5d50e5,#7768ff);
  border-radius: 30px;
  padding: 50px;
  color: #fff;
  box-shadow: 0 28px 60px rgba(92,79,225,.25);
}
.download-panel h2 { color: #fff; margin: 0 0 12px; font-size: clamp(34px,4.5vw,52px); }
.download-panel p { margin: 0; color: rgba(255,255,255,.8); max-width: 650px; font-size: 17px; }
.download-panel .app-store-btn { box-shadow: none; white-space: nowrap; }

.page-hero { padding: 72px 0 38px; }
.page-hero h1 { font-size: clamp(42px,6vw,66px); }
.page-hero p { max-width: 740px; margin: 0; color: var(--muted); font-size: 18px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 34px; align-items: start; padding-bottom: 86px; }
.toc { position: sticky; top: 98px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.toc strong { display: block; margin-bottom: 8px; }
.toc a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0; }
.toc a:hover { color: var(--brand); }
.legal { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px,5vw,52px); box-shadow: var(--shadow-sm); }
.legal h2 { font-size: 27px; line-height: 1.25; letter-spacing: -.025em; margin-top: 42px; scroll-margin-top: 105px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: #464955; }
.legal li { margin: 7px 0; }
.meta { margin: 0 0 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.notice { border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 14px 14px 0; padding: 16px 18px; margin: 24px 0; color: #3d376c; }
.support-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; padding-bottom: 86px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.card h2, .card h3 { margin-top: 0; letter-spacing: -.025em; }
.card p { color: var(--muted); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 17px 18px; margin: 10px 0; }
.faq summary { font-weight: 760; cursor: pointer; }
.faq details p { margin-bottom: 0; }
.contact-box { background: var(--dark); color: #fff; border: 0; }
.contact-box p { color: #cfd0d8; }
.contact-box a { color: #fff; text-decoration: underline; }
.small { font-size: 14px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 30px 0 42px; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 17px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .phone-stage { min-height: 560px; }
  .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
  .download-panel { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 26px,1160px); }
  .nav { min-height: 68px; }
  .brand span:last-child { display: none; }
  .nav-links a { padding: 8px 8px; font-size: 13px; }
  .nav-download { display: none; }
  .home-hero { padding: 56px 0 64px; }
  h1 { font-size: 48px; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .phone-stage { min-height: 510px; }
  .phone { width: 270px; }
  .phone-stage:before { width: 330px; height: 330px; }
  .float-one { left: -5px; top: 105px; }
  .float-two { right: -3px; bottom: 75px; }
  .section { padding: 70px 0; }
  .download-panel { padding: 32px 24px; border-radius: 24px; }
  .page-hero { padding-top: 52px; }
}
@media (max-width: 410px) {
  .nav-links a { padding: 7px 6px; }
  .phone { width: 248px; }
  .float-card { padding: 10px 11px; }
  .float-one { left: -7px; }
  .float-two { right: -6px; }
}