:root {
  --ink: #17152c;
  --muted: #66657a;
  --surface: #ffffff;
  --canvas: #f7f7fc;
  --purple: #5d45e8;
  --purple-dark: #4330ba;
  --purple-pale: #efedff;
  --line: #e5e3ee;
  --mint: #dff8ed;
  --radius: 24px;
  font-family: "Montserrat", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; line-height: 1.55; }

a { color: inherit; text-decoration: none; }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar { padding: 22px 0; }

.nav { align-items: center; display: flex; justify-content: space-between; }

.brand { align-items: center; display: inline-flex; font-size: 27px; font-weight: 800; letter-spacing: -1.3px; }

.brand-mark { background: var(--purple); border-radius: 10px; color: white; display: inline-grid; font-size: 18px; height: 31px; margin-right: 9px; place-items: center; transform: rotate(-7deg); width: 31px; }

.nav-links { align-items: center; color: #4e4d61; display: flex; font-size: 14px; font-weight: 650; gap: 28px; }

.nav-links a:hover, .footer a:hover { color: var(--purple); }

.nav-app { background: var(--ink); border-radius: 999px; color: white; padding: 10px 16px; }

.hero { overflow: hidden; padding: 60px 0 92px; position: relative; }

.hero::before { background: radial-gradient(circle, rgba(112, 84, 244, .16), transparent 66%); content: ""; height: 680px; position: absolute; right: -250px; top: -220px; width: 680px; }

.hero-grid { align-items: center; display: grid; gap: 56px; grid-template-columns: 1.03fr .97fr; position: relative; }

.eyebrow { color: var(--purple); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

h1, h2, h3, p { margin-top: 0; }

h1 { font-size: clamp(44px, 5.1vw, 70px); letter-spacing: -.055em; line-height: 1.01; margin: 15px 0 25px; max-width: 660px; }

.lede { color: var(--muted); font-size: 19px; max-width: 560px; }

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

.button { align-items: center; border: 1px solid transparent; border-radius: 13px; display: inline-flex; font-size: 15px; font-weight: 750; gap: 9px; justify-content: center; min-height: 50px; padding: 0 19px; transition: transform .16s ease, box-shadow .16s ease; }

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

.button.primary { background: var(--purple); box-shadow: 0 12px 24px rgba(93, 69, 232, .22); color: white; }

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

.button.ghost { background: rgba(255,255,255,.65); border-color: var(--line); color: var(--ink); }

.note { color: var(--muted); font-size: 13px; margin: 16px 0 0; }

.product-illustration { background: #242047; border-radius: 30px; box-shadow: 0 32px 70px rgba(31, 24, 74, .26); min-height: 470px; overflow: hidden; padding: 21px; position: relative; transform: rotate(2.5deg); }

.product-illustration::after { background: linear-gradient(145deg, transparent 25%, rgba(255,255,255,.13)); content: ""; inset: 0; pointer-events: none; position: absolute; }

.preview-bar { display: flex; gap: 7px; margin-bottom: 20px; }
.preview-bar span { background: rgba(255,255,255,.36); border-radius: 50%; height: 8px; width: 8px; }

.preview-main { background: #fbfbff; border-radius: 16px; display: grid; grid-template-columns: 130px 1fr; min-height: 390px; overflow: hidden; }

.preview-side { background: #f0effa; padding: 26px 16px; }
.preview-side strong { color: var(--purple); display: block; font-size: 13px; margin-bottom: 28px; }
.preview-side div { border-radius: 7px; height: 9px; margin: 17px 0; width: 90%; }
.preview-side div:nth-child(2) { background: var(--purple); }
.preview-side div:nth-child(n+3) { background: #d5d3e2; }

.preview-content { padding: 34px 30px; }
.preview-kicker { color: #8b899d; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.preview-content h3 { font-size: 25px; letter-spacing: -.04em; margin: 5px 0 22px; }
.preview-card { background: white; border: 1px solid #e8e7f0; border-radius: 12px; margin-bottom: 12px; padding: 15px; }
.preview-card b { display: block; font-size: 13px; margin-bottom: 7px; }
.preview-line { background: #ecebf2; border-radius: 7px; height: 8px; margin-top: 8px; width: 87%; }
.preview-line.short { width: 54%; }
.status { background: var(--mint); border-radius: 999px; color: #18744e; display: inline-block; font-size: 11px; font-weight: 750; padding: 4px 8px; }
.illustration-caption { bottom: 14px; color: rgba(255,255,255,.72); font-size: 11px; left: 21px; position: absolute; }

.section { padding: 88px 0; }
.section.white { background: var(--surface); }
.section-heading { display: flex; gap: 30px; justify-content: space-between; margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.045em; line-height: 1.08; margin: 0; max-width: 590px; }
.section-heading p { color: var(--muted); margin: 6px 0 0; max-width: 360px; }

.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.feature { background: var(--canvas); border: 1px solid #ebeaf2; border-radius: var(--radius); padding: 28px; }
.feature-number { color: var(--purple); font-size: 13px; font-weight: 800; }
.feature h3 { font-size: 21px; letter-spacing: -.025em; margin: 38px 0 10px; }
.feature p { color: var(--muted); font-size: 15px; margin-bottom: 0; }

.app-section { background: var(--ink); color: white; overflow: hidden; padding: 82px 0; position: relative; }
.app-section::after { background: radial-gradient(circle, rgba(99,74,238,.58), transparent 66%); content: ""; height: 600px; position: absolute; right: -130px; top: -300px; width: 600px; }
.app-grid { align-items: center; display: grid; gap: 54px; grid-template-columns: 1fr .9fr; position: relative; }
.app-section h2 { font-size: clamp(32px, 3.6vw, 50px); letter-spacing: -.05em; line-height: 1.05; margin: 12px 0 20px; }
.app-section p { color: #d5d2ed; max-width: 570px; }
.store-row { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.store { background: white; border-radius: 12px; color: var(--ink); display: inline-flex; font-size: 13px; font-weight: 780; padding: 13px 17px; }
.store span { color: #797687; font-size: 10px; font-weight: 650; margin-right: 8px; text-transform: uppercase; }
.store.placeholder { cursor: default; opacity: .68; }

.device { background: linear-gradient(160deg, #eceaff, #aea2ff); border: 8px solid #353051; border-radius: 34px; box-shadow: 14px 22px 40px rgba(0,0,0,.3); margin: 0 auto; max-width: 290px; padding: 18px 13px 13px; transform: rotate(-5deg); }
.device-notch { background: #353051; border-radius: 0 0 12px 12px; height: 15px; margin: -18px auto 18px; width: 105px; }
.device-screen { background: white; border-radius: 18px; min-height: 360px; padding: 18px; }
.device-screen small { color: var(--purple); font-weight: 800; }
.device-screen h3 { font-size: 21px; letter-spacing: -.04em; margin: 13px 0 22px; }
.device-check { align-items: center; border-bottom: 1px solid #eceaf3; display: flex; font-size: 12px; gap: 9px; padding: 12px 0; }
.tick { background: var(--mint); border-radius: 50%; color: #18744e; display: inline-grid; font-size: 10px; font-weight: 900; height: 19px; place-items: center; width: 19px; }

.info-grid { display: grid; gap: 18px; grid-template-columns: 1.1fr .9fr; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.info-card.purple { background: var(--purple-pale); border: 0; }
.info-card h3 { font-size: 23px; letter-spacing: -.03em; margin-bottom: 12px; }
.info-card p { color: var(--muted); margin-bottom: 22px; }
.text-link { color: var(--purple); font-weight: 750; }

.footer { background: #111023; color: #d9d7e5; padding: 45px 0 26px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.footer .brand { color: white; }
.footer p { color: #aaa8bb; font-size: 14px; margin: 13px 0 0; max-width: 390px; }
.footer-links { display: flex; flex-wrap: wrap; font-size: 14px; gap: 20px; }
.copyright { border-top: 1px solid #2a283d; color: #918ea5; font-size: 12px; margin-top: 34px; padding-top: 20px; }

.legal { background: var(--canvas); min-height: 100vh; }
.legal main { padding: 55px 0 90px; }
.legal-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); margin: 0 auto; max-width: 780px; padding: clamp(28px, 6vw, 64px); }
.legal-card h1 { font-size: clamp(35px, 5vw, 56px); }
.legal-card h2 { font-size: 24px; letter-spacing: -.025em; margin-top: 38px; }
.legal-card p, .legal-card li { color: var(--muted); }
.poc-note { background: #fff3d6; border-radius: 12px; color: #6f531a; font-size: 14px; margin: 24px 0 34px; padding: 14px 16px; }

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1120px); }
  .nav-links a:not(.nav-app) { display: none; }
  .hero { padding: 36px 0 62px; }
  .hero-grid, .app-grid, .info-grid { grid-template-columns: 1fr; }
  .product-illustration { min-height: 390px; transform: none; }
  .preview-main { grid-template-columns: 92px 1fr; }
  .preview-content { padding: 25px 18px; }
  .preview-side { padding: 21px 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 16px; }
  .section { padding: 62px 0; }
  .device { transform: none; }
}
