:root {
  color-scheme: dark;
  --bg: #030712;
  --bg-soft: #07111f;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --panel-dark: rgba(3, 7, 18, 0.72);
  --text: #f7fbff;
  --muted: #a7b4c6;
  --muted-strong: #c6d1de;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #34ead7;
  --accent-strong: #7ffff3;
  --accent-blue: #60a5fa;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 78% 3%, rgba(52, 234, 215, 0.18), transparent 28rem),
    radial-gradient(circle at 10% 18%, rgba(96, 165, 250, 0.12), transparent 26rem),
    linear-gradient(180deg, #08111f 0%, var(--bg) 48%, #02040a 100%);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 78%);
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent-strong); }
img { max-width: 100%; height: auto; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 18, 0.76);
  backdrop-filter: blur(20px) saturate(140%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  line-height: 0;
  overflow: hidden;
  text-decoration: none;
}

.brand img { display: block; width: 100%; height: 100%; object-fit: cover; }

.nav-links, .footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nav-links a, .footer-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  padding: 9px 12px;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active, .footer-links a:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero { overflow: hidden; padding: 86px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr); align-items: center; gap: clamp(32px, 6vw, 72px); }
.hero-copy { min-width: 0; }
.hero-logo { width: 178px; margin-bottom: 28px; border-radius: 22px; box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34); overflow: hidden; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }

h1, h2, h3, p, li { overflow-wrap: anywhere; }
h1, h2, h3 { color: var(--text); line-height: 1.05; }
.hero h1, .page h1 { max-width: 780px; margin: 0; font-size: clamp(42px, 7vw, 84px); font-weight: 900; letter-spacing: 0; }
.subtitle { margin: 18px 0 0; color: var(--accent-strong); font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; }
.hero-text { max-width: 690px; margin: 18px 0 32px; color: var(--muted-strong); font-size: clamp(18px, 2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid rgba(52, 234, 215, 0.62);
  border-radius: 999px;
  background: linear-gradient(135deg, #22cfc0, #79fff4);
  box-shadow: 0 18px 46px rgba(52, 234, 215, 0.22);
  color: #021014;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.button:hover { color: #021014; transform: translateY(-1px); }
.button.secondary { background: rgba(255, 255, 255, 0.055); box-shadow: none; color: var(--text); }
.button.secondary:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.24); }

.hero-device { position: relative; display: grid; place-items: center; min-height: 520px; }
.hero-device::before {
  position: absolute;
  width: min(100%, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(52, 234, 215, 0.22), rgba(96, 165, 250, 0.1) 45%, rgba(52, 234, 215, 0));
  filter: blur(12px);
}
.hero-device img { position: relative; max-height: min(650px, 74vh); object-fit: contain; filter: drop-shadow(0 34px 82px rgba(0, 0, 0, 0.68)); }

.section { padding: 66px 0; }
.section-heading { max-width: 760px; margin-bottom: 26px; }
.section-heading h2, .split h2, .notice h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); font-weight: 850; letter-spacing: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.card h3 { margin: 0 0 12px; font-size: 21px; font-weight: 800; }
.card p, .split p, .notice p, .page p, .page li { color: var(--muted); }

.split-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.032); }
.split { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); align-items: start; gap: 44px; }
.split > p { margin: 0; color: var(--muted-strong); font-size: 19px; }
.screenshots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: end; }
.screenshots img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.notice {
  padding: 30px;
  border: 1px solid rgba(52, 234, 215, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(52, 234, 215, 0.09), rgba(96, 165, 250, 0.06)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}
.notice p { max-width: 900px; margin-bottom: 0; color: var(--muted-strong); font-size: 18px; }
.support-band { padding-bottom: 86px; }

.page { max-width: 920px; padding: 72px 0 90px; }
.page h1 { font-size: clamp(40px, 7vw, 70px); font-weight: 900; }
.page h2 { margin: 38px 0 12px; font-size: clamp(24px, 3vw, 31px); font-weight: 850; }
.page h3 { margin: 28px 0 10px; font-size: 21px; }
.page p, .page li { font-size: 17px; }
.legal-page { line-height: 1.78; }
.legal-page hr { height: 1px; border: 0; margin: 28px 0; background: var(--line); }
.legal-page ul { padding-left: 22px; }
.legal-page li { margin: 7px 0; }
.support-page { min-height: 62vh; }
.large-link { font-size: clamp(21px, 5vw, 28px); font-weight: 850; }
.info-list { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.info-list p { margin: 8px 0; }

.site-footer { border-top: 1px solid var(--line); background: rgba(2, 4, 10, 0.92); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 32px 0; }
.footer-inner strong { display: block; margin-bottom: 4px; }
.footer-inner span { display: block; color: var(--muted); font-size: 14px; }

@media (max-width: 980px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .nav-links { width: 100%; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .hero-device { min-height: 0; }
  .hero-device img { max-height: 520px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screenshots { grid-template-columns: 1fr; }
  .screenshots img { max-height: 560px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1120px); }
  .site-header { position: static; }
  .brand { width: 42px; height: 42px; }
  .hero-logo { width: 138px; }
  .nav { gap: 14px; min-height: auto; }
  .nav-links, .footer-links { gap: 8px; }
  .nav-links a, .footer-links a { min-height: 32px; padding: 8px 10px; font-size: 13px; }
  .hero { padding: 42px 0 44px; }
  .hero h1, .page h1 { font-size: 40px; }
  .hero-text { font-size: 18px; }
  .actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .section { padding: 46px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .card, .notice, .info-list { border-radius: 20px; padding: 20px; }
  .page { padding: 48px 0 64px; }
}

@media (max-width: 380px) {
  .container { width: min(100% - 20px, 1120px); }
  .hero h1, .page h1 { font-size: 36px; }
  .nav-links a, .footer-links a { font-size: 12px; padding-inline: 9px; }
}
