:root {
  color-scheme: light dark;
  --bg: #f4f6fa;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --text: #171a22;
  --muted: #626979;
  --line: rgba(23, 26, 34, 0.12);
  --accent: #6657e8;
  --accent-strong: #4938ce;
  --glow: rgba(102, 87, 232, 0.22);
  --shadow: 0 24px 70px rgba(37, 36, 65, 0.12);
  --radius: 22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101116;
    --surface: rgba(29, 31, 39, 0.76);
    --surface-solid: #1c1e26;
    --text: #f5f6fa;
    --muted: #a9aebe;
    --line: rgba(255, 255, 255, 0.11);
    --accent: #9b8cff;
    --accent-strong: #b7adff;
    --glow: rgba(131, 112, 255, 0.2);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 280px;
  background:
    radial-gradient(circle at 18% 6%, var(--glow), transparent 28rem),
    radial-gradient(circle at 86% 30%, rgba(51, 178, 203, 0.12), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #7565ef, #4432c4);
  box-shadow: 0 8px 24px var(--glow);
}

.brand-mark svg { width: 21px; height: 21px; }

.site-nav { display: flex; gap: 6px; }

.site-nav a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 580;
  text-decoration: none;
}

.site-nav a:hover { color: var(--text); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 8vw, 96px);
  padding: clamp(76px, 11vw, 136px) 0 clamp(74px, 10vw, 120px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.035em; }

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 7.2vw, 6.2rem);
  font-weight: 790;
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 670;
  text-decoration: none;
  backdrop-filter: blur(16px);
}

.button.primary {
  border-color: transparent;
  background: var(--text);
  color: var(--bg);
}

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

.display-stage {
  position: relative;
  min-height: 430px;
}

.display-glow {
  position: absolute;
  inset: 14% 2% 0;
  border-radius: 50%;
  background: var(--glow);
  filter: blur(46px);
}

.display-frame {
  position: relative;
  margin: 30px auto 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #22242c;
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateY(-7deg) rotateX(2deg);
}

.display-screen {
  overflow: hidden;
  min-height: 292px;
  padding: 24px;
  border-radius: 17px;
  background:
    radial-gradient(circle at 20% 20%, rgba(152, 133, 255, 0.46), transparent 35%),
    linear-gradient(145deg, #171922, #262a39);
  color: #f7f7fb;
}

.window {
  width: 80%;
  margin: 26px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(50, 52, 62, 0.82);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(24px);
}

.window-bar { display: flex; gap: 6px; padding: 11px 13px; border-bottom: 1px solid rgba(255,255,255,.1); }
.window-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); }
.window-body { padding: 20px; }
.mode-line { height: 8px; margin-bottom: 12px; border-radius: 8px; background: rgba(255,255,255,.16); }
.mode-line.accent { width: 72%; background: linear-gradient(90deg, #a99cff, #6bc9dd); }
.mode-line.short { width: 48%; }

.stand { width: 24%; height: 62px; margin: 0 auto; background: linear-gradient(#555863, #2d2f37); clip-path: polygon(35% 0, 65% 0, 78% 100%, 22% 100%); }
.stand-base { width: 46%; height: 9px; margin: 0 auto; border-radius: 50%; background: #292b32; }

.section { padding: clamp(64px, 9vw, 108px) 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 650px; margin-bottom: 42px; }
.section h2 { margin: 0; font-size: clamp(2rem, 4.6vw, 3.7rem); }
.section-heading p { color: var(--muted); font-size: 1.08rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  min-height: 220px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 45px rgba(27, 25, 55, 0.06);
  backdrop-filter: blur(18px);
}
.feature-card h3 { margin: 20px 0 10px; font-size: 1.28rem; }
.feature-card p { margin: 0; color: var(--muted); }
.feature-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--glow); color: var(--accent-strong); font-weight: 800; }

.privacy-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}
.privacy-panel h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); }
.check-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-strong); font-weight: 800; }

.page-hero { max-width: 760px; padding: 86px 0 50px; }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.page-hero p { color: var(--muted); font-size: 1.12rem; }

.document {
  max-width: 820px;
  margin-bottom: 90px;
  padding: clamp(25px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}
.document h2 { margin-top: 2.2em; font-size: 1.55rem; }
.document h2:first-child { margin-top: 0; }
.document p, .document li { color: var(--muted); }
.document strong { color: var(--text); }
.document a { color: var(--accent-strong); }
.document code { padding: 2px 5px; border-radius: 5px; background: var(--glow); }

.faq { display: grid; gap: 12px; }
.faq details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq summary { cursor: pointer; font-weight: 680; }
.faq p { margin-bottom: 0; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 820px) {
  .hero, .privacy-panel { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .display-stage { min-height: 370px; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1120px); }
  .site-header { align-items: flex-start; padding: 17px 0; }
  .site-nav { flex-direction: column; align-items: flex-end; gap: 0; }
  .hero { gap: 28px; }
  .display-stage { min-height: 315px; }
  .display-screen { min-height: 225px; padding: 10px; }
  .window { width: 90%; margin-top: 18px; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
