:root {
  color-scheme: dark;
  --bg: #080b12;
  --surface: #111722;
  --surface-2: #171e2b;
  --line: rgba(255, 255, 255, .1);
  --text: #f5f7fb;
  --muted: #a6afbf;
  --blue: #68a7ff;
  --violet: #a58aff;
  --pink: #ff82ba;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 76% 10%, rgba(70, 92, 180, .15), transparent 30rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: auto;
  padding: 0 28px;
  background: rgba(8, 11, 18, .72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; }
.brand img { border-radius: 10px; }
nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--text); }
.nav-cta { color: var(--text); padding: 9px 15px; border: 1px solid var(--line); border-radius: 99px; }

.hero {
  min-height: 760px;
  max-width: var(--max);
  margin: auto;
  padding: 100px 28px 120px;
  display: grid;
  grid-template-columns: .9fr 1.35fr;
  align-items: center;
  gap: 76px;
}
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: balance; }
h1 { margin: 0; font-size: clamp(58px, 7vw, 92px); line-height: .94; letter-spacing: -.065em; }
h1 span { color: transparent; background: linear-gradient(105deg, var(--blue), var(--violet), var(--pink)); background-clip: text; }
.lede { max-width: 600px; margin: 30px 0; color: var(--muted); font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border-radius: 12px; font-size: 14px; font-weight: 650; }
.button.primary { color: #09101d; background: linear-gradient(120deg, #bcd9ff, #b7a8ff); box-shadow: 0 10px 35px rgba(116, 142, 255, .2); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.button.disabled { cursor: default; opacity: .85; }
.compatibility { margin-top: 18px; color: #727d8e; font-size: 12px; }

.app-stage { position: relative; perspective: 1000px; }
.glow { position: absolute; inset: 10% 10% -5%; background: linear-gradient(120deg, var(--blue), var(--pink)); filter: blur(100px); opacity: .17; }
.app-window { position: relative; overflow: hidden; aspect-ratio: 1.28; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: #171b24; box-shadow: 0 45px 100px rgba(0,0,0,.58), 0 1px 0 rgba(255,255,255,.2) inset; transform: rotateY(-3deg) rotateX(1deg); }
.titlebar { height: 48px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 0 14px; background: linear-gradient(#323743, #292e38); border-bottom: 1px solid #10131a; font-size: 12px; text-align: center; }
.traffic { display: flex; gap: 7px; }
.traffic i { width: 11px; height: 11px; border-radius: 50%; background: #ff625b; }
.traffic i:nth-child(2) { background: #ffbd44; }.traffic i:nth-child(3) { background: #00ca4e; }
.toolbar-icons { display: flex; justify-content: flex-end; gap: 8px; }
.toolbar-icons b { display: block; width: 28px; height: 22px; border: 1px solid #515866; border-radius: 5px; }
.app-body { height: calc(100% - 48px); display: grid; grid-template-columns: 23% 1fr; }
.filmstrip { padding: 12px; overflow: hidden; background: rgba(255,255,255,.045); border-right: 1px solid #090b10; }
.thumb { height: 23%; margin-bottom: 9px; border-radius: 5px; border: 1px solid transparent; background-size: cover; box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.thumb.selected { border-color: #83adff; box-shadow: 0 0 0 2px rgba(86,143,255,.4); }
.t1 { background: linear-gradient(155deg, #9ec5dd 0 40%, #315671 41% 62%, #13293a 63%); }
.t2 { background: linear-gradient(165deg, #ee9cb7 0 35%, #7e5da5 36% 47%, #263e74 48% 65%, #101b36 66%); }
.t3 { background: linear-gradient(145deg, #96c8ad 0 40%, #396754 41% 70%, #172c25 71%); }
.t4 { background: linear-gradient(165deg, #d7af74 0 44%, #7c5244 45% 66%, #322534 67%); }
.viewer { display: grid; place-items: center; padding: 7%; background: #10131a; }
.demo-image { position: relative; overflow: hidden; width: 100%; aspect-ratio: 1.42; background: linear-gradient(#162c68 0, #795da9 44%, #ef92a6 68%, #f8b36d 100%); box-shadow: 0 10px 35px #05060a; }
.sun { position: absolute; left: 58%; top: 52%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: #ffe7a0; box-shadow: 0 0 25px #ffd996; }
.mountain { position: absolute; bottom: -20%; rotate: 45deg; background: #263362; }
.mountain.far { left: 5%; width: 62%; aspect-ratio: 1; opacity: .75; }.mountain.near { right: -5%; width: 66%; aspect-ratio: 1; background: #101c38; }

.intro { max-width: 850px; margin: 0 auto; padding: 130px 28px 70px; text-align: center; }
h2 { margin: 0; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; letter-spacing: -.055em; }
.intro > p:last-child, .privacy p, .download > p:not(.eyebrow) { color: var(--muted); font-size: 19px; line-height: 1.6; }
.intro > p:last-child { max-width: 650px; margin: 28px auto; }
.feature-grid { max-width: var(--max); margin: auto; padding: 20px 28px 140px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { min-height: 290px; padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); }
.feature.wide { grid-column: span 2; min-height: 330px; background: radial-gradient(circle at 80% 30%, rgba(101,126,245,.16), transparent 35%), var(--surface); }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 45px; color: #dbe7ff; border: 1px solid rgba(145,174,255,.3); border-radius: 12px; background: rgba(95,129,224,.13); font-size: 21px; }
.feature h3 { margin: 0 0 10px; font-size: 25px; letter-spacing: -.025em; }
.feature p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.6; }
.key-row { display: flex; align-items: center; gap: 7px; margin-top: 34px; color: #7f899a; font-size: 13px; }
kbd { display: grid; place-items: center; width: 34px; height: 32px; color: #dce3ee; border: 1px solid #404858; border-bottom-width: 3px; border-radius: 7px; background: #242b37; font: inherit; }

.privacy { max-width: var(--max); margin: 0 auto 140px; padding: 80px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: center; border: 1px solid rgba(133,169,255,.18); border-radius: 28px; background: radial-gradient(circle at 85% 50%, rgba(104,139,255,.16), transparent 35%), #0e141f; }
.privacy p { max-width: 700px; }
.privacy-mark { display: grid; justify-items: center; gap: 12px; color: #9ba6b8; font-size: 13px; text-transform: uppercase; letter-spacing: .13em; }
.privacy-mark img { width: 150px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.download { max-width: 900px; margin: auto; padding: 80px 28px 150px; text-align: center; }
.download > img { margin-bottom: 28px; border-radius: 26px; box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.download .button { margin-top: 20px; }
footer { max-width: var(--max); margin: auto; padding: 28px; display: flex; justify-content: space-between; align-items: center; color: #737d8e; border-top: 1px solid var(--line); font-size: 12px; }
.footer-brand { color: #c9d0dd; }
footer p a:hover { color: var(--text); }

.policy { max-width: 940px; min-height: 80vh; margin: auto; padding: 110px 28px 140px; }
.policy h1 { font-size: clamp(52px, 7vw, 82px); }
.policy-updated { margin: 28px 0 70px; color: #747f91; font-size: 14px; }
.policy-body { max-width: 740px; }
.policy-body section { padding: 34px 0; border-top: 1px solid var(--line); }
.policy-body h2 { margin-bottom: 15px; font-size: 27px; letter-spacing: -.035em; }
.policy-body p { margin: 0 0 14px; color: var(--muted); font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.policy-body p:last-child { margin-bottom: 0; }
.policy-body a { color: #bdd6ff; text-decoration: underline; text-underline-offset: 3px; }

.support-page { max-width: 760px; min-height: 78vh; margin: auto; padding: 115px 28px 150px; text-align: center; }
.support-page > img { margin-bottom: 32px; border-radius: 25px; box-shadow: 0 22px 50px rgba(0,0,0,.42); }
.support-page h1 { font-size: clamp(54px, 8vw, 88px); }
.support-page > p:not(.eyebrow) { max-width: 630px; margin: 28px auto; color: var(--muted); font-size: 19px; line-height: 1.65; }
.support-page .support-email { margin-top: 8px; }
.support-page .support-hint { font-size: 14px !important; color: #788395 !important; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; gap: 60px; }
  .app-stage { max-width: 700px; }
  .privacy { margin-inline: 20px; padding: 55px 38px; grid-template-columns: 1fr; }
  .privacy-mark { display: none; }
}
@media (max-width: 620px) {
  .site-header { padding-inline: 18px; }
  nav a:not(.nav-cta) { display: none; }
  .hero { padding: 55px 20px 80px; }
  h1 { font-size: 56px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .app-window { border-radius: 12px; transform: none; }
  .titlebar { height: 36px; }
  .app-body { height: calc(100% - 36px); }
  .feature-grid { grid-template-columns: 1fr; padding-inline: 20px; }
  .feature.wide { grid-column: auto; }
  .feature { min-height: 250px; padding: 30px; }
  .privacy { border-radius: 20px; }
  footer { align-items: flex-start; gap: 20px; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .app-window { animation: settle .8s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes settle { from { opacity: 0; transform: translateY(30px) rotateY(-5deg); } }
}
