:root {
  color-scheme: dark;
  --bg: #050913;
  --bg-2: #081322;
  --card: rgba(255,255,255,.075);
  --card-strong: rgba(255,255,255,.105);
  --line: rgba(255,255,255,.13);
  --line-strong: rgba(92,235,255,.30);
  --text: #f6fbff;
  --muted: rgba(232,244,255,.74);
  --soft: rgba(232,244,255,.58);
  --cyan: #5cecff;
  --teal: #55ffe1;
  --green: #66f28c;
  --violet: #9d8bff;
  --gold: #ffd66b;
  --danger: #ff7676;
  --shadow: 0 24px 70px rgba(0,0,0,.42);
  --radius-xl: 34px;
  --radius-lg: 25px;
  --radius-md: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(92,236,255,.18), transparent 34%),
    radial-gradient(circle at 86% 10%, rgba(157,139,255,.15), transparent 35%),
    linear-gradient(180deg, #07101f 0%, var(--bg) 42%, #03060d 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cyan); }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 10; padding: 10px 14px; border-radius: 999px; background: var(--cyan); color: #001116; font-weight: 900; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(22px);
  background: rgba(4,8,16,.72);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 230px; }
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  box-shadow: 0 10px 28px rgba(92,236,255,.20), 0 0 0 1px rgba(255,255,255,.18) inset;
}
.brand strong { display: block; font-size: 16px; line-height: 1.08; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 2px; color: var(--soft); font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}
.nav-links a.active, .nav-links a:hover { color: var(--text); background: rgba(255,255,255,.095); }

main { max-width: var(--max); margin: 0 auto; padding: 54px 22px 74px; }
.glass-xl, .legal-card, .card-link, .notice-card, .toc {
  background: linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.048));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.hero-shell { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(340px, .74fr); gap: 22px; align-items: stretch; }
.hero-copy { border-radius: var(--radius-xl); padding: clamp(30px, 5.2vw, 66px); position: relative; overflow: hidden; }
.hero-copy::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92,236,255,.16), transparent 68%);
}
.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 950; margin-bottom: 12px; }
h1 { font-size: clamp(46px, 7.2vw, 84px); line-height: .94; letter-spacing: -.075em; margin: 0 0 20px; }
h2 { font-size: clamp(26px, 3.3vw, 42px); line-height: 1.06; letter-spacing: -.055em; margin: 34px 0 12px; }
h3 { font-size: 20px; line-height: 1.2; margin: 0 0 8px; }
p { margin: 0 0 15px; color: var(--muted); }
.lede { font-size: clamp(18px, 2.1vw, 23px); line-height: 1.45; color: rgba(255,255,255,.78); max-width: 780px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 18px; border-radius: 999px; font-weight: 950; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.075); color: var(--text); transition: transform .18s ease, background .18s ease; }
.button.primary { background: linear-gradient(135deg, var(--cyan), var(--teal)); color: #001114; border-color: rgba(255,255,255,.26); box-shadow: 0 20px 52px rgba(53,216,255,.21); }
.button:hover { transform: translateY(-1px); }
.badge-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.badge { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.068); border: 1px solid rgba(255,255,255,.10); color: var(--muted); font-size: 13px; font-weight: 850; }
.badge.green { color: var(--green); background: rgba(102,242,140,.105); border-color: rgba(102,242,140,.24); }
.badge.gold { color: var(--gold); background: rgba(255,214,107,.105); border-color: rgba(255,214,107,.24); }
.badge.violet { color: #c8bfff; background: rgba(157,139,255,.105); border-color: rgba(157,139,255,.24); }

.hero-visual {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.2vw, 36px);
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -90px -120px auto;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92,236,255,.16), transparent 68%);
  pointer-events: none;
}
.hero-brand-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-app-icon {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.18) inset;
}
.eyebrow.compact { margin-bottom: 7px; }
.hero-panel-title { font-size: clamp(25px, 3vw, 34px); margin: 0 0 8px; letter-spacing: -.05em; }
.trust-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}
.trust-item {
  padding: 15px 16px;
  border-radius: 20px;
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.10);
}
.trust-item strong { display: block; color: var(--text); font-size: 15px; line-height: 1.2; margin-bottom: 4px; }
.trust-item span { display: block; color: var(--muted); font-size: 14px; line-height: 1.42; }
.device-mini { position: absolute; right: 30px; bottom: 26px; width: 118px; height: 218px; border-radius: 26px; border: 1px solid rgba(255,255,255,.15); background: linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.026)); box-shadow: 0 20px 58px rgba(0,0,0,.34); opacity: .42; }
.device-mini::before { content: ""; position: absolute; inset: 30px 20px 84px; border: 2px solid rgba(102,242,140,.64); border-radius: 17px; }
.device-mini::after { content: ""; position: absolute; left: 30px; right: 30px; bottom: 50px; height: 22px; border-radius: 999px; background: rgba(92,236,255,.11); border: 1px solid rgba(92,236,255,.26); }

.section-grid { display: grid; gap: 18px; margin-top: 18px; }
.section-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.section-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card-link, .notice-card { border-radius: var(--radius-lg); padding: 24px; }
.card-link { display: block; transition: transform .18s ease, border-color .18s ease; }
.card-link:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; color: var(--cyan); background: rgba(92,236,255,.10); border: 1px solid rgba(92,236,255,.22); font-weight: 950; margin-bottom: 18px; }
.card-link h2, .notice-card h2 { font-size: 28px; margin-top: 0; }
.wide { margin-top: 18px; }

.document-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.document-layout.single { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.toc { position: sticky; top: 92px; border-radius: var(--radius-lg); padding: 18px; }
.toc p { color: var(--text); font-weight: 950; margin-bottom: 10px; }
.toc a { display: block; color: var(--muted); padding: 9px 0; font-weight: 780; border-bottom: 1px solid rgba(255,255,255,.065); }
.toc a:hover { color: var(--cyan); }
.legal-card { border-radius: var(--radius-xl); padding: clamp(26px, 4vw, 54px); }
.legal-card h1 { font-size: clamp(40px, 6vw, 68px); }
.legal-card h2:first-of-type { margin-top: 22px; }
.legal-card a { color: var(--cyan); font-weight: 850; text-decoration-thickness: 1px; }
ul { color: var(--muted); padding-left: 22px; }
li { margin: 8px 0; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 950; }
.callout { border: 1px solid rgba(92,236,255,.25); background: rgba(92,236,255,.085); border-radius: var(--radius-md); padding: 17px 18px; color: rgba(255,255,255,.80); margin: 24px 0; }
.callout.success { border-color: rgba(102,242,140,.28); background: rgba(102,242,140,.085); }
.callout.warning { border-color: rgba(255,214,107,.30); background: rgba(255,214,107,.085); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,.10); margin: 20px 0; }
table { width: 100%; border-collapse: collapse; min-width: 760px; background: rgba(255,255,255,.035); }
th, td { text-align: left; vertical-align: top; padding: 14px; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--muted); }
th { color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; background: rgba(255,255,255,.055); }
table.privacy-data { min-width: 0; table-layout: fixed; }
table.privacy-data th:nth-child(1), table.privacy-data td:nth-child(1) { width: 22%; }
table.privacy-data th:nth-child(2), table.privacy-data td:nth-child(2) { width: 43%; }
table.privacy-data th:nth-child(3), table.privacy-data td:nth-child(3) { width: 35%; }
table.privacy-data td { overflow-wrap: anywhere; word-break: normal; }
.footer { border-top: 1px solid rgba(255,255,255,.08); background: rgba(2,4,8,.35); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 26px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--soft); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 34px; height: 34px; border-radius: 10px; }
.footer-inner span { display: block; font-size: 13px; margin-top: 2px; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; font-weight: 850; font-size: 14px; }

@media (max-width: 920px) {
  .hero-shell, .document-layout, .section-grid.three, .section-grid.two { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  .hero-visual { min-height: auto; }
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .table-wrap { overflow: visible; border: 0; border-radius: 0; margin: 18px 0 22px; }
  table.privacy-data, table.privacy-data thead, table.privacy-data tbody, table.privacy-data tr, table.privacy-data td { display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
  table.privacy-data { background: transparent; border-collapse: separate; border-spacing: 0; }
  table.privacy-data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.privacy-data tr { margin: 0 0 12px; padding: 16px; border: 1px solid rgba(255,255,255,.10); border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.060), rgba(255,255,255,.028)); box-shadow: 0 16px 40px rgba(0,0,0,.22); }
  table.privacy-data td { padding: 8px 0 10px; border-bottom: 1px solid rgba(255,255,255,.065); overflow-wrap: break-word; hyphens: auto; }
  table.privacy-data td:last-child { border-bottom: 0; padding-bottom: 2px; }
  table.privacy-data td::before { content: attr(data-label); display: block; margin-bottom: 3px; color: var(--cyan); font-size: 11px; font-weight: 950; text-transform: uppercase; letter-spacing: .10em; }
}
@media (max-width: 560px) {
  main { padding-top: 34px; padding-left: 14px; padding-right: 14px; }
  .hero-copy, .legal-card { padding: 24px 19px; }
  h1 { font-size: 42px; }
  .hero-visual { min-height: auto; }
  .hero-brand-card { align-items: flex-start; padding: 16px; }
  .hero-app-icon { width: 76px; height: 76px; border-radius: 20px; }
  .device-mini { display: none; }
  .brand { white-space: normal; align-items: flex-start; }
  .logo-img { width: 44px; height: 44px; border-radius: 12px; }
  .nav-links a { padding: 7px 9px; font-size: 13px; }
  .legal-card h1 { font-size: 36px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
