:root{
  --bg:#f4f7fb;
  --surface:#ffffff;
  --surface-soft:#edf4ff;
  --text:#101828;
  --muted:#667085;
  --line:#dfe7f2;
  --primary:#0f62fe;
  --primary-dark:#0947c9;
  --accent:#22c55e;
  --accent-soft:#dcfce7;
  --dark:#0b1220;
  --shadow:0 18px 55px rgba(15,35,80,.10);
  --radius:24px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at top left,rgba(15,98,254,.10),transparent 34rem),
    linear-gradient(180deg,#f8fbff 0%,var(--bg) 100%);
  color:var(--text);
  line-height:1.7;
}

a{
  color:inherit;
}

.page-shell{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
}

.site-header{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-bottom:1px solid rgba(223,231,242,.8);
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  font-size:20px;
  font-weight:900;
  letter-spacing:-.02em;
}

.brand-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(145deg,var(--primary),#2dd4bf);
  color:white;
  box-shadow:0 12px 28px rgba(15,98,254,.25);
}

.top-nav{
  display:flex;
  align-items:center;
  gap:8px;
}

.top-nav a{
  text-decoration:none;
  color:var(--muted);
  font-weight:700;
  padding:10px 14px;
  border-radius:12px;
}

.top-nav a:hover,
.top-nav a.active{
  color:var(--primary);
  background:var(--surface-soft);
}

.hero{
  min-height:650px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
  gap:70px;
  padding:72px 0;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--primary);
  background:var(--surface-soft);
  border:1px solid #d7e5ff;
  padding:7px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.hero h1,
.legal-hero h1{
  margin:22px 0 18px;
  font-size:clamp(46px,7vw,78px);
  line-height:1.02;
  letter-spacing:-.055em;
}

.hero h1 span{
  color:var(--primary);
}

.hero-copy>p{
  max-width:650px;
  color:var(--muted);
  font-size:19px;
}

.hero-actions,
.cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.button{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:50px;
  padding:0 20px;
  border-radius:15px;
  text-decoration:none;
  font-weight:900;
  transition:.2s ease;
}

.button:hover{
  transform:translateY(-2px);
}

.button.primary{
  background:var(--primary);
  color:white;
  box-shadow:0 14px 30px rgba(15,98,254,.25);
}

.button.primary:hover{
  background:var(--primary-dark);
}

.button.secondary{
  background:var(--surface);
  color:var(--primary);
  border:1px solid var(--line);
}

.button.light{
  background:white;
  color:var(--dark);
}

.button.ghost{
  color:white;
  border:1px solid rgba(255,255,255,.35);
}

.button.full{
  width:100%;
}

.trust-row{
  margin-top:26px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.trust-row span{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
  padding:8px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
}

.hero-panel{
  display:grid;
  place-items:center;
}

.app-card{
  width:min(100%,430px);
  padding:24px;
  border-radius:32px;
  background:linear-gradient(160deg,#0f62fe 0%,#0b1739 100%);
  color:white;
  box-shadow:0 35px 90px rgba(9,41,102,.28);
  transform:rotate(2deg);
}

.app-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:28px;
}

.app-card-top strong{
  display:block;
  font-size:25px;
  margin-top:4px;
}

.mini-label{
  color:#bdd2ff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}

.icon-chip{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:rgba(255,255,255,.15);
  font-size:24px;
}

.streak-card{
  background:white;
  color:var(--dark);
  border-radius:24px;
  padding:20px;
}

.streak-card span{
  color:var(--muted);
  font-size:14px;
}

.streak-card strong{
  display:block;
  font-size:34px;
  margin:4px 0 14px;
}

.progress-line{
  height:10px;
  border-radius:999px;
  background:#e8eef8;
  overflow:hidden;
}

.progress-line span{
  display:block;
  width:72%;
  height:100%;
  background:linear-gradient(90deg,var(--primary),var(--accent));
}

.mini-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:14px;
}

.mini-grid>div{
  padding:18px;
  border-radius:20px;
  background:rgba(255,255,255,.11);
}

.mini-grid span{
  display:block;
  color:#bfd0ef;
  font-size:13px;
}

.mini-grid strong{
  display:block;
  font-size:22px;
  margin-top:4px;
}

.section{
  padding:90px 0;
}

.section-heading{
  max-width:760px;
  margin-bottom:36px;
}

.section-heading h2,
.split-copy h2,
.cta h2{
  margin:16px 0 14px;
  font-size:clamp(34px,5vw,52px);
  line-height:1.1;
  letter-spacing:-.04em;
}

.section-heading p,
.split-copy p{
  color:var(--muted);
  font-size:18px;
}

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

.feature-card{
  background:rgba(255,255,255,.88);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  box-shadow:var(--shadow);
}

.feature-icon{
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:var(--surface-soft);
  color:var(--primary);
  font-weight:900;
}

.feature-card h3{
  margin:18px 0 8px;
  font-size:20px;
}

.feature-card p{
  margin:0;
  color:var(--muted);
}

.split-section{
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:40px;
  align-items:center;
  padding:80px 0;
}

.check-list{
  list-style:none;
  padding:0;
  margin:24px 0 0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.check-list li{
  padding:14px 16px;
  border-radius:16px;
  background:white;
  border:1px solid var(--line);
  font-weight:800;
}

.check-list li::before{
  content:"✓";
  color:var(--accent);
  margin-right:9px;
}

.privacy-panel{
  min-height:340px;
  border-radius:32px;
  padding:34px;
  background:linear-gradient(145deg,#0a152d,#0f62fe);
  color:white;
  display:grid;
  place-items:center;
  text-align:center;
  box-shadow:0 30px 80px rgba(15,98,254,.22);
}

.privacy-ring{
  width:190px;
  height:190px;
  border-radius:50%;
  border:18px solid rgba(255,255,255,.2);
  display:grid;
  place-content:center;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.12);
}

.privacy-ring span{
  font-size:44px;
  font-weight:900;
  line-height:1;
}

.privacy-ring small{
  color:#c9dbff;
  font-weight:800;
  margin-top:8px;
}

.privacy-panel p{
  max-width:360px;
  margin:20px 0 0;
  color:#d8e5ff;
}

.cta{
  margin:60px 0 90px;
  padding:42px;
  border-radius:32px;
  background:linear-gradient(135deg,#0b1739,#0f62fe);
  color:white;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.cta .eyebrow{
  color:white;
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.2);
}

.cta h2{
  margin-bottom:0;
}

.site-footer{
  display:grid;
  grid-template-columns:1fr auto;
  gap:20px;
  padding:40px 0 28px;
  border-top:1px solid var(--line);
  color:var(--muted);
}

.footer-brand{
  color:var(--text);
}

.site-footer p{
  margin:10px 0 0;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:16px;
}

.footer-links a{
  color:var(--muted);
  text-decoration:none;
  font-weight:700;
}

.footer-links a:hover{
  color:var(--primary);
}

.copyright{
  grid-column:1/-1;
  font-size:14px;
}

.legal-main{
  padding:55px 0 90px;
}

.legal-hero{
  padding:56px;
  border-radius:32px;
  background:
    radial-gradient(circle at top right,rgba(34,197,94,.18),transparent 25rem),
    linear-gradient(145deg,#07142f,#0f62fe);
  color:white;
  box-shadow:0 28px 75px rgba(15,98,254,.22);
}

.legal-hero h1{
  font-size:clamp(46px,7vw,72px);
  margin-bottom:16px;
}

.legal-hero>p{
  max-width:730px;
  color:#d8e5ff;
  font-size:18px;
}

.legal-hero .eyebrow{
  color:white;
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.18);
}

.terms-hero{
  background:
    radial-gradient(circle at top right,rgba(15,98,254,.28),transparent 28rem),
    linear-gradient(145deg,#102218,#13844b);
}

.updated-badge{
  display:inline-block;
  margin-top:18px;
  padding:9px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.18);
  color:white;
  font-size:14px;
  font-weight:800;
}

.legal-layout{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:28px;
  align-items:start;
  margin-top:32px;
}

.legal-aside{
  position:sticky;
  top:20px;
}

.aside-card{
  background:white;
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  box-shadow:var(--shadow);
  margin-bottom:14px;
}

.aside-card strong{
  font-size:18px;
}

.aside-card ul{
  margin:14px 0 0;
  padding-left:20px;
  color:var(--muted);
}

.legal-content{
  display:grid;
  gap:16px;
}

.legal-card{
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px;
  box-shadow:0 12px 36px rgba(15,35,80,.06);
}

.legal-card h2{
  margin:0 0 12px;
  color:var(--primary);
  font-size:23px;
  letter-spacing:-.02em;
}

.legal-card p{
  margin:0 0 12px;
  color:var(--muted);
}

.legal-card p:last-child{
  margin-bottom:0;
}

.legal-card ul{
  color:var(--muted);
  padding-left:22px;
}

.legal-card li{
  margin-bottom:7px;
}

.contact-card{
  background:linear-gradient(145deg,#eef5ff,#ffffff);
  border-color:#cfe0ff;
}

.contact-link{
  display:inline-block;
  margin-top:8px;
  color:var(--primary);
  text-decoration:none;
  font-weight:900;
  font-size:18px;
  word-break:break-word;
}

@media (max-width:900px){
  .hero,
  .split-section{
    grid-template-columns:1fr;
  }

  .hero{
    gap:35px;
    padding:55px 0;
  }

  .feature-grid{
    grid-template-columns:1fr 1fr;
  }

  .legal-layout{
    grid-template-columns:1fr;
  }

  .legal-aside{
    position:static;
  }

  .cta{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media (max-width:640px){
  .page-shell{
    width:min(100% - 20px,1180px);
  }

  .site-header{
    min-height:auto;
    padding:18px 0;
    align-items:flex-start;
    flex-direction:column;
  }

  .top-nav{
    width:100%;
    overflow-x:auto;
  }

  .top-nav a{
    white-space:nowrap;
  }

  .hero h1,
  .legal-hero h1{
    font-size:44px;
  }

  .feature-grid,
  .check-list{
    grid-template-columns:1fr;
  }

  .legal-hero{
    padding:30px 22px;
  }

  .legal-card{
    padding:22px;
  }

  .cta{
    padding:28px 22px;
  }

  .site-footer{
    grid-template-columns:1fr;
  }

  .footer-links{
    justify-content:flex-start;
  }
}
