:root {
  --ink: #17233b;
  --muted: #66738a;
  --blue: #3977f6;
  --blue-dark: #245ad0;
  --ice: #f2f7ff;
  --line: #dce6f4;
  --paper: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fbfdff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.topbar {
  width: min(1180px, calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; font-size: 20px; }
.brand img { width: 42px; height: 42px; border-radius: 13px; object-fit: cover; box-shadow: 0 5px 16px #6e8fbd25; }
.top-download { color: var(--blue); font-weight: 700; padding: 11px 17px; border-radius: 12px; transition: .2s ease; }
.top-download:hover { background: #eaf1ff; }

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 58px;
  padding: 48px 0 76px;
}
.eyebrow, .section-kicker { color: var(--blue); font-size: 13px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; background: #edf3ff; border-radius: 999px; }
.eyebrow span, .status-pill span { display: inline-block; width: 8px; height: 8px; background: #43c77b; border-radius: 50%; box-shadow: 0 0 0 5px #43c77b1b; }
h1 { margin: 22px 0 20px; font-size: clamp(48px, 5vw, 72px); line-height: 1.01; letter-spacing: -.055em; font-weight: 820; }
.product-name, .product-tagline { display: block; }
.product-name { color: var(--blue); }
.product-tagline { color: var(--ink); font-size: .76em; margin-top: .1em; letter-spacing: -.045em; }
.hero-lead { max-width: 620px; margin: 0; color: var(--muted); font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 31px; flex-wrap: wrap; }
.primary-button, .secondary-button {
  min-height: 54px; display: inline-flex; align-items: center; justify-content: center; border-radius: 15px; padding: 0 24px; font-size: 16px; font-weight: 750;
}
.primary-button { background: var(--blue); color: white; box-shadow: 0 12px 28px #3977f63b; transition: .2s ease; }
.primary-button:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 15px 32px #3977f64c; }
.apple { font-size: 20px; margin-right: 9px; }
.secondary-button { color: #5f6d82; background: #edf1f6; }
.windows-button { transition: .2s ease; }
.windows-button:hover { color: var(--blue-dark); background: #e2eaff; transform: translateY(-2px); }
.download-note { margin-top: 14px; color: #8792a4; font-size: 12px; }
.download-note span { margin: 0 7px; color: #bdc6d2; }

.hero-visual { min-height: 520px; position: relative; display: grid; place-items: center; }
.soft-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-one { width: 460px; height: 460px; background: radial-gradient(circle at 45% 35%, #e4f0ff, #d9e7fc 62%, #f7faff 70%); }
.orb-two { width: 250px; height: 250px; right: -10px; top: 10px; background: #f0e7ff; opacity: .6; filter: blur(45px); }
.mascot-card {
  position: relative; z-index: 2; width: 390px; height: 432px; padding: 22px; border: 1px solid #ffffffad; border-radius: 38px;
  background: linear-gradient(145deg, #ffffffeb, #eef4fcdb); box-shadow: 0 35px 80px #4c6e9b32, inset 0 1px 0 white; backdrop-filter: blur(18px);
  display: flex; flex-direction: column; align-items: center;
}
.mascot-card > img { width: 270px; height: 270px; object-fit: cover; border-radius: 29px; margin-top: 5px; }
.status-pill { align-self: flex-start; display: flex; align-items: center; gap: 9px; color: #536176; background: white; border: 1px solid #e5ecf5; border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 650; box-shadow: 0 5px 16px #435f8520; }
.status-pill span { width: 7px; height: 7px; }
.speech-card { width: calc(100% - 28px); margin-top: -4px; background: white; border: 1px solid #e0e8f3; border-radius: 17px; padding: 13px 16px; box-shadow: 0 11px 25px #526d9226; display: flex; flex-direction: column; gap: 3px; }
.speech-card strong { font-size: 14px; }
.speech-card span { color: #758196; font-size: 12px; }
.floating-note { position: absolute; z-index: 3; background: white; border: 1px solid #e4ebf4; border-radius: 13px; padding: 11px 14px; color: #5f6d82; font-size: 12px; font-weight: 680; box-shadow: 0 14px 34px #526d922b; }
.note-left { left: -15px; bottom: 105px; transform: rotate(-3deg); }
.note-right { right: -12px; top: 130px; transform: rotate(3deg); color: #248653; }

.download-modal { display: none; position: fixed; z-index: 1000; inset: 0; padding: 24px; place-items: center; overflow-y: auto; }
.download-modal:target { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: #15213ab8; backdrop-filter: blur(10px); }
.modal-card { position: relative; z-index: 1; width: min(520px, 100%); padding: 32px; background: white; border-radius: 28px; box-shadow: 0 30px 90px #101a2f66; text-align: center; }
.modal-card > img { width: 92px; height: 92px; border-radius: 24px; object-fit: cover; box-shadow: 0 10px 26px #526d9230; }
.modal-kicker { display: block; margin-top: 16px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.modal-card h2 { margin-top: 7px; font-size: 34px; }
.modal-card ol { margin: 24px 0 18px; padding: 0; list-style: none; counter-reset: modalsteps; display: grid; gap: 10px; text-align: left; }
.modal-card li { counter-increment: modalsteps; position: relative; padding: 13px 14px 13px 52px; background: #f4f7fc; border-radius: 14px; color: #46546b; font-size: 14px; line-height: 1.4; }
.modal-card li::before { content: counter(modalsteps); position: absolute; left: 14px; top: 10px; width: 28px; height: 28px; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 9px; font-size: 12px; font-weight: 800; }
.modal-card p { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.modal-close { position: absolute; top: 14px; right: 17px; width: 34px; height: 34px; display: grid; place-items: center; color: #8290a5; background: #f0f3f8; border-radius: 50%; font-size: 24px; line-height: 1; }
.modal-download { width: 100%; }

.trust-strip { width: min(1180px, calc(100% - 48px)); margin: 0 auto 115px; padding: 26px 32px; display: grid; grid-template-columns: repeat(3, 1fr); background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 35px #45618112; }
.trust-strip div { padding: 2px 28px; display: flex; flex-direction: column; gap: 7px; border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { font-size: 15px; }
.trust-strip span { color: var(--muted); font-size: 13px; }

.how { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 10px 0 120px; }
.section-heading { text-align: center; max-width: 650px; margin: 0 auto 46px; }
.section-heading > span { color: var(--blue); font-weight: 750; font-size: 13px; text-transform: uppercase; letter-spacing: .09em; }
h2 { margin: 12px 0 0; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.04em; line-height: 1.08; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 24px; min-height: 310px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 13px 38px #45618110; }
.step-top { display: flex; align-items: flex-start; justify-content: space-between; height: 130px; }
.step-number { color: #a8b5c8; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.step img { width: 118px; height: 118px; border-radius: 25px; object-fit: cover; }
.step h3 { margin: 18px 0 10px; font-size: 21px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }

.cta { width: min(1180px, calc(100% - 48px)); margin: 0 auto 60px; padding: 38px 42px; border-radius: 30px; color: white; background: linear-gradient(115deg, #2866e7, #5e8df5); display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; box-shadow: 0 22px 50px #3977f638; }
.cta > img { width: 94px; height: 94px; border-radius: 24px; object-fit: cover; }
.cta > div > span { opacity: .8; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.cta h2 { font-size: 31px; max-width: 630px; margin-top: 8px; }
.primary-button.light { background: white; color: var(--blue-dark); box-shadow: none; white-space: nowrap; }
.primary-button.light:hover { background: #f2f6ff; }
.cta-actions { display: flex; gap: 10px; }

footer { width: min(1180px, calc(100% - 48px)); min-height: 105px; margin: 0 auto; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { font-size: 17px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 10px; }
footer p { color: #8994a6; font-size: 12px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 34px; text-align: center; }
  .hero-lead { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: -10px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 6px; }
  .trust-strip div:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .cta { grid-template-columns: auto 1fr; }
  .cta .primary-button { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .topbar, .hero, .trust-strip, .how, .cta, footer { width: min(100% - 28px, 1180px); }
  .topbar { height: 70px; }
  .top-download { display: none; }
  .hero { padding-top: 24px; gap: 26px; }
  h1 { font-size: 43px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions > * { width: 100%; }
  .hero-visual { min-height: 420px; transform: scale(.88); margin: -20px -30px; }
  .mascot-card { width: 340px; height: 405px; }
  .mascot-card > img { width: 245px; height: 245px; }
  .note-left { left: -5px; }
  .note-right { right: -5px; }
  .trust-strip { margin-bottom: 80px; }
  .modal-card { padding: 28px 18px 22px; }
  .modal-card h2 { font-size: 29px; }
  .how { padding-bottom: 80px; }
  .cta { padding: 28px 24px; grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta > img { width: 82px; height: 82px; }
  .cta h2 { font-size: 27px; }
  footer { flex-direction: column; justify-content: center; text-align: center; padding: 28px 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .mascot-card { animation: breathe 3.2s ease-in-out infinite; }
  .floating-note { animation: float 3.8s ease-in-out infinite; }
  .note-right { animation-delay: -1.5s; }
  @keyframes breathe { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.008); } }
  @keyframes float { 0%,100% { margin-top: 0; } 50% { margin-top: -8px; } }
}
