:root {
  color-scheme: light;
  --ink: #17243d;
  --muted: #60708d;
  --paper: #fffdf9;
  --cream: #fff8ec;
  --purple: #7656cf;
  --purple-dark: #5535a9;
  --blue: #4b8fec;
  --teal: #28a59d;
  --orange: #f49a42;
  --line: rgba(34, 49, 78, 0.12);
  --shadow: 0 22px 70px rgba(44, 35, 92, 0.14);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(118, 86, 207, 0.13), transparent 28rem),
    radial-gradient(circle at 92% 30%, rgba(40, 165, 157, 0.12), transparent 24rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  background: rgba(255, 253, 249, 0.82);
  border-bottom: 1px solid rgba(34, 49, 78, 0.08);
  backdrop-filter: blur(18px) saturate(145%);
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 750; }
.brand img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 7px 20px rgba(84, 53, 169, .2); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 9px 13px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--purple-dark); background: rgba(118, 86, 207, .1); }

.hero { min-height: 720px; padding: 88px 0 76px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; overflow: hidden; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--purple-dark); font-size: .88rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 9px; background: linear-gradient(90deg, var(--purple), var(--teal)); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 760px; font-size: clamp(3.2rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
h3 { font-size: 1.25rem; }
.hero h1 span { color: var(--purple); }
.lede { max-width: 650px; margin: 25px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; border-radius: 15px; text-decoration: none; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: linear-gradient(135deg, var(--purple), var(--blue)); box-shadow: 0 12px 26px rgba(91, 77, 190, .25); }
.button.secondary { background: white; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(38, 48, 78, .08); }
.privacy-note { display: flex; gap: 10px; align-items: center; margin-top: 25px; color: var(--muted); font-size: .95rem; }
.privacy-note svg { flex: 0 0 auto; color: var(--teal); }

.phone-stage { position: relative; min-height: 620px; display: grid; place-items: center; }
.glow { position: absolute; width: 480px; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(145deg, rgba(118,86,207,.22), rgba(40,165,157,.16)); filter: blur(12px); }
.phone { position: absolute; width: min(278px, 74%); border-radius: 38px; box-shadow: var(--shadow); border: 8px solid #20283b; background: #20283b; overflow: hidden; }
.phone img { width: 100%; display: block; border-radius: 29px; }
.phone.back { transform: translate(-92px, 20px) rotate(-7deg); opacity: .92; }
.phone.front { transform: translate(92px, -14px) rotate(6deg); }

.section { padding: 92px 0; }
.section-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: end; margin-bottom: 42px; }
.section-intro p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.78); box-shadow: 0 14px 36px rgba(39,48,78,.07); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 38px; border-radius: 14px; color: white; font-size: 1.35rem; font-weight: 800; }
.feature:nth-child(1) .feature-icon { background: var(--purple); }
.feature:nth-child(2) .feature-icon { background: var(--teal); }
.feature:nth-child(3) .feature-icon { background: var(--orange); }
.feature p { margin: 13px 0 0; color: var(--muted); }

.story { padding: 44px; border-radius: 38px; background: #202943; color: white; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; overflow: hidden; }
.story p { color: #cbd4e9; font-size: 1.12rem; }
.story-list { display: grid; gap: 17px; margin-top: 28px; }
.story-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.story-item b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.13); }
.story-visual img { width: min(310px, 80%); display: block; margin: -2px auto -100px; border-radius: 34px; border: 7px solid rgba(255,255,255,.8); box-shadow: 0 24px 70px rgba(0,0,0,.34); }

.cta { padding: 90px 0 110px; text-align: center; }
.cta-card { padding: 68px 34px; border-radius: 36px; background: linear-gradient(135deg, #f1eaff, #e8f7f5 58%, #fff2df); }
.cta-card p { max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: 1.1rem; }
.cta-card .actions { justify-content: center; }

.page-hero { padding: 84px 0 36px; text-align: center; }
.page-hero h1 { margin: 0 auto; font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero p { max-width: 680px; margin: 22px auto 0; color: var(--muted); font-size: 1.12rem; }
.document { width: min(780px, calc(100% - 40px)); margin: 26px auto 100px; padding: 42px; border-radius: 30px; background: white; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(39,48,78,.08); }
.document h2 { margin-top: 34px; font-size: 1.7rem; }
.document h2:first-child { margin-top: 0; }
.document h3 { margin-top: 28px; font-size: 1.12rem; }
.document p, .document li { color: #52617d; }
.document a { color: var(--purple-dark); font-weight: 650; }
.document ul { padding-left: 22px; }
.contact-card { padding: 24px; margin-top: 28px; border-radius: 20px; background: var(--cream); }

footer { padding: 30px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--purple-dark); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 64px; text-align: center; }
  .hero .eyebrow, .privacy-note { justify-content: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .actions { justify-content: center; }
  .phone-stage { min-height: 560px; }
  .section-intro, .story { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .story-visual img { margin-bottom: -110px; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .site-header { position: static; }
  .brand span { display: none; }
  .nav-links a { padding: 8px 9px; font-size: .9rem; }
  .hero { min-height: auto; padding: 54px 0 40px; }
  h1 { font-size: clamp(3rem, 16vw, 4.3rem); }
  .phone-stage { min-height: 450px; }
  .phone { width: 205px; border-width: 6px; border-radius: 29px; }
  .phone img { border-radius: 23px; }
  .phone.back { transform: translate(-55px, 15px) rotate(-6deg); }
  .phone.front { transform: translate(55px, -12px) rotate(6deg); }
  .section { padding: 68px 0; }
  .section-intro { gap: 18px; }
  .story { padding: 30px 24px; border-radius: 28px; }
  .document { width: min(100% - 28px, 780px); padding: 28px 22px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
