:root {
  --bg: #08080b;
  --panel: #101014;
  --ink: #f7f7fa;
  --muted: #a2a2b3;
  --line: rgba(255, 255, 255, 0.12);
  --violet: #6d5bff;
  --gold: #f5c76b;
  --pad: clamp(18px, 5vw, 64px);
  --max: 1080px;
  --font: "Helvetica Neue", "PingFang SC", "PingFang TC", "Hiragino Sans",
    "Apple SD Gothic Neo", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(8, 8, 11, 0.72);
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 58px;
}

.logo {
  font-size: 13px;
  letter-spacing: 0.34em;
  font-weight: 600;
  text-decoration: none;
}

header nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 13px;
}

header nav a {
  color: var(--muted);
  text-decoration: none;
}

header nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/assets/hero.webp) center / cover no-repeat;
  opacity: 0.34;
  filter: saturate(1.15);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 18% 0%, rgba(109, 91, 255, 0.28), transparent 62%),
    linear-gradient(180deg, rgba(8, 8, 11, 0.55), var(--bg) 92%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 6vw, 72px);
  padding-top: clamp(48px, 9vw, 104px);
  padding-bottom: clamp(48px, 9vw, 104px);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero p.lead {
  margin: 0 0 32px;
  max-width: 34em;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #0b0b10;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease;
}

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

.cta svg { width: 18px; height: 18px; }

.cta-note {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.device {
  justify-self: center;
  width: min(262px, 74vw);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #000;
  padding: 7px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.6);
  transform: rotate(2.5deg);
}

.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

/* ---------- sections ---------- */
section.block {
  padding: clamp(52px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.01em;
}

.block > .wrap > p.sub,
.pro p.sub {
  margin: 0 0 38px;
  max-width: 44em;
  color: var(--muted);
  font-size: 15px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.card .mark {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), #22d3ee);
}

/* ---------- gallery ---------- */
.gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gallery img {
  flex: 0 0 auto;
  width: 196px;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

/* ---------- pro ---------- */
.pro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}

.pro ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}

.pro li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.pro li:last-child { border-bottom: 0; }

.pro li b { color: var(--ink); font-weight: 600; }

/* ---------- footer ---------- */
footer {
  padding: 40px 0 56px;
  font-size: 13px;
  color: var(--muted);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
}

footer nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- legal page ---------- */
.legal {
  padding: clamp(40px, 7vw, 72px) 0 80px;
}

.legal h1 {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 8px;
}

.legal .updated {
  margin: 0 0 36px;
  font-size: 13px;
  color: var(--muted);
}

.legal h2 {
  margin: 38px 0 10px;
  font-size: 18px;
}

.legal p, .legal li {
  font-size: 14.5px;
  color: #cfcfda;
}

.legal ul { padding-left: 20px; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 18px;
  font-size: 13.5px;
}

.legal th, .legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: #cfcfda;
}

.legal th { color: var(--muted); font-weight: 500; }

.legal a { color: var(--gold); }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .device { transform: none; order: -1; width: min(230px, 62vw); }
  .pro { grid-template-columns: 1fr; }
  footer nav { margin-left: 0; }
}
