:root {
  --bg: #0b0c10;
  --bg2: #090a0d;
  --text: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.68);
  --muted2: rgba(255, 255, 255, 0.55);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke2: rgba(255, 255, 255, 0.18);
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.36);

  --accent: #ffcc66;
  --accent2: #7be7c3;
  --accent3: #8aa6ff;

  --radius: 18px;
  --radius-sm: 12px;

  --font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbfaf7;
    --bg2: #ffffff;
    --text: rgba(15, 18, 26, 0.92);
    --muted: rgba(15, 18, 26, 0.7);
    --muted2: rgba(15, 18, 26, 0.58);
    --stroke: rgba(15, 18, 26, 0.12);
    --stroke2: rgba(15, 18, 26, 0.18);
    --card: rgba(15, 18, 26, 0.04);
    --card2: rgba(15, 18, 26, 0.06);
    --shadow: rgba(15, 18, 26, 0.16);

    --accent: #b85a00;
    --accent2: #007a5a;
    --accent3: #1d3cff;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: radial-gradient(1200px 700px at 10% -10%, rgba(138, 166, 255, 0.22), transparent 60%),
    radial-gradient(900px 600px at 110% 20%, rgba(123, 231, 195, 0.18), transparent 55%),
    radial-gradient(900px 900px at 60% 120%, rgba(255, 204, 102, 0.18), transparent 60%), linear-gradient(var(--bg), var(--bg2));
  overflow-x: hidden;
}

.bg-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.22;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg2) 70%, transparent);
  border-bottom: 1px solid var(--stroke);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
}

.brand:hover {
  background: var(--card);
}

.brand-mark {
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--shadow);
}

.brand-name {
  font-weight: 750;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.nav-link:hover {
  color: var(--text);
  background: var(--card);
  border-color: var(--stroke);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 36px 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--text);
  font-weight: 650;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted2) 50%),
    linear-gradient(135deg, var(--muted2) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px), 100% 0;
  background-size: 6px 6px, 6px 6px, 2.5em 2.5em;
  background-repeat: no-repeat;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1px;
  cursor: pointer;
  user-select: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--stroke2);
}

.btn:active {
  transform: translateY(0px);
}

.btn-primary {
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 84%, transparent), color-mix(in srgb, var(--accent3) 22%, transparent));
  color: color-mix(in srgb, var(--text) 95%, white);
  border-color: color-mix(in srgb, var(--accent) 34%, var(--stroke));
}

.btn-primary:hover {
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 92%, transparent), color-mix(in srgb, var(--accent3) 26%, transparent));
}

.btn-secondary {
  background: var(--card2);
}

.btn-ghost {
  background: transparent;
}

.hero {
  padding: 56px 0 26px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.hero-title {
  margin: 16px 0 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.6px;
  font-weight: 850;
}

.hero-subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.hero-cta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card) 55%, transparent);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.device-card {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card2) 74%, transparent);
  box-shadow: 0 30px 80px var(--shadow);
  overflow: hidden;
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card2) 74%, transparent);
}

.dots {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
}

.dot-r {
  background: color-mix(in srgb, #ff5f57 80%, transparent);
}

.dot-y {
  background: color-mix(in srgb, #ffbd2e 82%, transparent);
}

.dot-g {
  background: color-mix(in srgb, #28c840 78%, transparent);
}

.device-title {
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
}

.device-body {
  padding: 14px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 12px;
}

.mock-panel {
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  overflow: hidden;
}

.mock-section {
  padding: 10px 10px;
  font-weight: 750;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--stroke);
}

.mock-tree {
  padding: 10px;
  display: grid;
  gap: 8px;
}

.mock-reader {
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card) 56%, transparent);
  overflow: hidden;
  min-height: 290px;
}

.mock-tabs {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--stroke);
}

.pill {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-weight: 800;
  font-size: 12px;
  background: color-mix(in srgb, var(--accent3) 22%, var(--card));
}

.pill-muted {
  background: var(--card);
  color: var(--muted);
}

.mock-paragraphs {
  padding: 12px;
}

.para {
  border-radius: 14px;
  border: 1px solid var(--stroke);
  padding: 10px;
  background: color-mix(in srgb, var(--card2) 60%, transparent);
}

.para + .para {
  margin-top: 10px;
}

.para-title {
  font-weight: 800;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.mock-toolbar {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px dashed var(--stroke2);
  color: var(--muted);
  font-weight: 750;
  font-size: 12px;
}

.mock-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--card2) 80%, transparent), transparent);
  border: 1px solid color-mix(in srgb, var(--stroke) 70%, transparent);
}

.w-44 {
  width: 44%;
}
.w-48 {
  width: 48%;
}
.w-55 {
  width: 55%;
}
.w-58 {
  width: 58%;
}
.w-62 {
  width: 62%;
}
.w-70 {
  width: 70%;
}
.w-84 {
  width: 84%;
}
.w-88 {
  width: 88%;
}
.w-92 {
  width: 92%;
}
.w-95 {
  width: 95%;
}

.trust-strip {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trust-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card) 60%, transparent);
  padding: 12px;
}

.trust-k {
  font-weight: 850;
  font-size: 12px;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.trust-v {
  margin-top: 6px;
  font-weight: 750;
  font-size: 13px;
  color: var(--muted);
}

.section {
  padding: 58px 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--card) 60%, transparent), transparent);
  border-top: 1px solid color-mix(in srgb, var(--stroke) 70%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--stroke) 70%, transparent);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.section-title {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.2px;
  font-weight: 850;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 70ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  padding: 16px 16px 18px;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--shadow) 60%, transparent);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--stroke2);
  background: color-mix(in srgb, var(--card2) 70%, transparent);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--accent2) 16%, var(--card));
  font-weight: 900;
}

.card-title {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.1px;
}

.card-text {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.screen-card {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  overflow: hidden;
}

.screen-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--stroke);
}

.screen-label {
  font-weight: 900;
  letter-spacing: -0.1px;
}

.screen-meta {
  color: var(--muted2);
  font-weight: 700;
  font-size: 13px;
}

.screen-body {
  padding: 16px;
}

.screen-illus {
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card2) 70%, transparent);
  height: 170px;
  position: relative;
  overflow: hidden;
}

.illus-desktop .illus-panel {
  position: absolute;
  inset: 14px auto 14px 14px;
  width: 30%;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card) 72%, transparent);
}

.illus-desktop .illus-main {
  position: absolute;
  inset: 14px 14px 14px auto;
  width: 62%;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent3) 18%, var(--card)), color-mix(in srgb, var(--accent) 16%, var(--card)));
}

.illus-desktop .illus-cols {
  position: absolute;
  left: 44%;
  right: 20px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.illus-desktop .illus-cols span {
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card2) 80%, transparent);
}

.illus-tablet .illus-main,
.illus-mobile .illus-main {
  position: absolute;
  inset: 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent2) 16%, var(--card)), color-mix(in srgb, var(--accent3) 14%, var(--card)));
}

.illus-tablet .illus-lines,
.illus-mobile .illus-lines {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 46px;
  display: grid;
  gap: 10px;
}

.illus-tablet .illus-lines span,
.illus-mobile .illus-lines span {
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: linear-gradient(90deg, color-mix(in srgb, var(--card2) 80%, transparent), transparent);
}

.illus-mobile .illus-main {
  inset: 18px 54px;
  border-radius: 22px;
}

.note {
  margin-top: 16px;
  color: var(--muted2);
  font-size: 13px;
}

.download-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  align-items: start;
}

.download-card {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  padding: 18px;
}

.download-title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.1px;
}

.steps {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.download-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platforms {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.platforms li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card2) 60%, transparent);
  padding: 10px 12px;
}

.platforms .k {
  font-weight: 850;
}

.platforms .v {
  color: var(--muted2);
  font-family: var(--font-mono);
  font-size: 12px;
}

.muted {
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.6;
  margin: 10px 0 0;
}

.faq {
  display: grid;
  gap: 10px;
}

.qa {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  padding: 14px 16px;
}

.qa summary {
  cursor: pointer;
  font-weight: 900;
  letter-spacing: -0.1px;
}

.qa p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  border-top: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--bg2) 70%, transparent);
}

.footer-inner {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-title {
  font-weight: 950;
}

.footer-sub {
  color: var(--muted2);
  font-size: 13px;
}

.footer-right {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-link {
  color: var(--muted);
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.footer-link:hover {
  color: var(--text);
  border-color: var(--stroke);
  background: var(--card);
}

.footer-bottom {
  padding: 0 0 18px;
  color: var(--muted2);
  font-size: 12px;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .screens-grid {
    grid-template-columns: 1fr;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(1120px, calc(100% - 32px));
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }
}
