:root {
  --bg: #07080d;
  --bg-2: #0c0e16;
  --surface: #11131d;
  --surface-2: #171a27;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef0f7;
  --text-2: #a4a9bd;
  --text-3: #6d7288;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --magenta: #e040fb;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--violet) 50%, var(--magenta) 100%);
  --radius: 18px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --font: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-en: "Space Grotesk", "Noto Sans JP", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.3; word-break: auto-phrase; text-wrap: balance; }
p { margin: 0; }

.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.container--narrow { max-width: 820px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--text-3); }

kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: 0.1em 0.5em;
  margin: 0 0.12em;
  font-family: var(--font-en);
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: var(--text);
  background: linear-gradient(#232739, #181b28);
  border: 1px solid var(--line-strong);
  border-bottom-width: 3px;
  border-radius: 7px;
}

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
  padding: 0.12em 0.45em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 30px -8px rgba(139, 92, 246, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(224, 64, 251, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25); }

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); }

.btn--sm { padding: 0.6em 1.15em; font-size: 13px; }
.btn--lg { padding: 1em 2em; font-size: 17px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 13, 0.6);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 8, 13, 0.82); }

.nav__inner {
  width: min(100% - 32px, var(--maxw));
  margin-inline: auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--grad);
  position: relative;
  box-shadow: 0 0 20px -4px rgba(139, 92, 246, 0.8);
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 7px 6px 6px;
  background: #fff;
  clip-path: polygon(0 0, 22% 0, 50% 68%, 78% 0, 100% 0, 58% 100%, 42% 100%);
}
.brand__name { font-family: var(--font-en); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; }

.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

.lang {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-left: -8px;
}
.lang__btn {
  padding: 4px 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-3);
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.lang__btn:hover { color: var(--text); }
.lang__btn[aria-pressed="true"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.lang__btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 78% 30%, rgba(224, 64, 251, 0.22), transparent 70%),
    radial-gradient(700px 500px at 60% 70%, rgba(34, 211, 238, 0.16), transparent 70%),
    radial-gradient(500px 400px at 10% 10%, rgba(139, 92, 246, 0.14), transparent 70%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s;
}
.pill:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(34, 211, 238, 0.04); }
}

.hero__title {
  margin-top: 24px;
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.hero__lead {
  margin-top: 24px;
  max-width: 34em;
  color: var(--text-2);
  font-size: 17px;
}
.hero__lead strong { color: var(--text); font-weight: 700; }

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.hero__points li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}
.hero__points b { font-size: 15px; font-weight: 700; color: var(--text); }
.hero__points span { font-size: 12px; color: var(--text-2); line-height: 1.5; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 44px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__stats dt { font-size: 12px; color: var(--text-3); letter-spacing: 0.08em; }
.hero__stats dd { margin: 2px 0 0; font-family: var(--font-en); color: var(--text-2); font-size: 15px; }
.hero__stats dd b { font-size: 28px; color: var(--text); margin-right: 3px; }

.hero__visual { position: relative; }
.device {
  position: relative;
  max-width: 400px;
  margin-inline: auto;
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 40px 100px -30px rgba(139, 92, 246, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
.device::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  background: var(--grad);
  filter: blur(70px);
  opacity: 0.28;
  border-radius: 50%;
}
.device .ba { border-radius: 16px; }
.hint {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.1em;
}

/* ---------- Before / After slider ---------- */
.ba {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba__img--after { clip-path: inset(0 0 0 var(--pos)); }

.ba__tag {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 3px 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
.ba__tag--l { left: 12px; background: rgba(0, 0, 0, 0.6); color: #ddd; }
.ba__tag--r { right: 12px; background: var(--grad); color: #fff; }

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  z-index: 3;
  background: #fff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
  pointer-events: none;
}
.ba__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(10, 11, 18, 0.75);
  border: 2px solid #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}
.ba__handle span::before,
.ba__handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0; height: 0;
  border: 6px solid transparent;
  transform: translateY(-50%);
}
.ba__handle span::before { left: 5px; border-right-color: #fff; }
.ba__handle span::after { right: 5px; border-left-color: #fff; }

.ba__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- Compat strip ---------- */
.compat {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.compat__inner {
  display: flex;
  align-items: center;
  gap: 16px 40px;
  padding-block: 22px;
  flex-wrap: wrap;
}
.compat__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-3);
  white-space: nowrap;
}
.compat__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.compat__list li {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-2);
}
.compat__list small { font-weight: 500; font-size: 12px; color: var(--text-3); margin-left: 4px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--alt {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(139, 92, 246, 0.08), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.section__head { max-width: 720px; margin-bottom: 64px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__head h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; letter-spacing: -0.01em; }
.section__lead { margin-top: 18px; color: var(--text-2); font-size: 17px; }

/* ---------- Compare ---------- */
.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 56px;
  align-items: center;
}
.compare__stage { display: flex; flex-direction: column; gap: 18px; }
.ba--lg {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  transition: aspect-ratio 0.3s;
}
.ba--lg.is-wide { max-width: 100%; }

.tabs {
  display: inline-flex;
  align-self: center;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.tab {
  padding: 8px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.points { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.points li { display: flex; gap: 18px; }
.points h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.points p { color: var(--text-2); font-size: 15px; }
.points__icon {
  flex: none;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.16), rgba(224, 64, 251, 0.16));
  border: 1px solid var(--line-strong);
}
.points__icon svg,
.card__icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.points__icon .fill { fill: rgba(255, 255, 255, 0.85); stroke: none; }

/* ---------- Features ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding-block: 48px;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature--rev .feature__media { order: 2; }

.feature__media {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #000;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.feature__media img { width: 100%; height: auto; }
.feature__media--narrow { max-width: 360px; justify-self: center; }
.feature__media--dbd { max-width: 460px; justify-self: center; }
.feature__media figcaption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.feature__media figcaption span { padding: 10px 8px; color: var(--text-2); }
.feature__media figcaption span + span { border-left: 1px solid var(--line); }

.feature__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 10px;
}
.feature__num::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--grad);
}
.feature__body h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; margin-bottom: 18px; }
.feature__body h3.feature__title--long { font-size: clamp(18px, 1.9vw, 24px); }
.feature__body p { color: var(--text-2); }
.feature__body p + p { margin-top: 12px; }
.feature__body b { color: var(--text); }
.feature__body h3 .tag { vertical-align: middle; position: relative; top: -0.15em; }
.note a { color: var(--cyan); }

.note {
  margin-top: 18px !important;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-2);
  background: rgba(34, 211, 238, 0.06);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.card {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.16), rgba(224, 64, 251, 0.16));
  border: 1px solid var(--line-strong);
}
.card__icon svg { width: 22px; height: 22px; }
.card__icon .dim { opacity: 0.4; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card p { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.tag {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.4);
}

/* ---------- Spec ---------- */
.spec {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 20px;
}
.spec__stat,
.spec__table {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.spec__stat:first-child {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
}
.spec__label { font-size: 13px; color: var(--text-3); }
.spec__value {
  margin: 10px 0 12px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.spec__value small { font-size: 20px; margin-left: 4px; color: var(--text-2); }
.spec__desc { font-size: 14px; color: var(--text-2); }
.spec__table dl { margin: 0; display: grid; gap: 18px; }
.spec__table dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; }
.spec__table dl > div + div { padding-top: 18px; border-top: 1px solid var(--line); }
.spec__table dt { font-size: 13px; color: var(--text-3); padding-top: 2px; }
.spec__table dd { margin: 0; font-size: 15px; font-weight: 400; color: var(--text); }

.interp {
  margin-top: 20px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.interp__title { font-size: 17px; font-weight: 700; margin-bottom: 18px; }
.interp__scroll { overflow-x: auto; }
.interp__table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.interp__table th { text-align: left; font-size: 13px; font-weight: 400; color: var(--text-3); padding: 0 16px 10px 0; border-bottom: 1px solid var(--line-strong); }
.interp__table td { padding: 12px 16px 12px 0; color: var(--text-2); border-bottom: 1px solid var(--line); }
.interp__table tr:last-child td { border-bottom: 0; }
.interp__table td b { color: var(--text); font-size: 16px; }
.interp__note { margin-top: 12px; font-size: 13px; color: var(--text-3); }

/* ---------- Help ---------- */
.help {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}
.help__title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.keys {
  margin: 0;
  padding: 8px 24px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.keys li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  font-size: 15px;
  color: var(--text-2);
}
.keys li + li { border-top: 1px solid var(--line); }
.keys li > span { flex: none; min-width: 9.5em; color: var(--text-3); }

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none;
  position: relative;
  padding: 18px 56px 18px 22px;
  font-weight: 700;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: var(--radius-sm); }
.faq__body { padding: 0 22px 22px; color: var(--text-2); font-size: 15px; }
.faq__body p + p, .faq__body p + ul, .faq__body ul + p { margin-top: 10px; }
.faq__body ul, .faq__body ol { margin: 0; padding-left: 1.2em; }
.faq__body li + li { margin-top: 6px; }
.faq__body b { color: var(--text); }

/* ---------- Timeline ---------- */
.timeline { margin: 0; padding: 0; list-style: none; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--violet), var(--line) 30%);
}
.timeline > li { position: relative; padding: 0 0 36px 44px; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-strong);
}
.timeline > li.is-latest::before {
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.2);
}
.timeline__meta { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.ver { font-family: var(--font-en); font-weight: 700; font-size: 20px; }
.is-latest .ver { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline time { font-family: var(--font-en); font-size: 14px; color: var(--text-3); }
.timeline > li > ul { margin: 0; padding-left: 1.1em; color: var(--text-2); font-size: 15px; }
.timeline > li > ul li + li { margin-top: 4px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1000px;
  height: 600px;
  transform: translate(-50%, -55%);
  background: var(--grad);
  filter: blur(120px);
  opacity: 0.3;
  border-radius: 50%;
  z-index: -1;
}
.cta h2 { font-size: clamp(28px, 4.2vw, 52px); font-weight: 900; letter-spacing: -0.01em; }
.cta__inner > p { margin-top: 16px; color: var(--text-2); font-size: 17px; }
.cta .btn { margin-top: 36px; }
.cta__contact { margin-top: 40px !important; font-size: 14px !important; color: var(--text-3) !important; }
.cta__contact a { color: var(--text-2); }
.cta__contact a:hover { color: var(--text); }

/* ---------- Footer ---------- */
.footer { padding: 36px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { font-size: 13px; color: var(--text-3); }
.footer .footer__legal { flex-basis: 100%; font-size: 12px; line-height: 1.7; }
.footer .brand__name { font-size: 16px; }
.footer .brand__mark { width: 22px; height: 22px; border-radius: 7px; }
.footer .brand__mark::after { inset: 6px 5px 5px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pill__dot { animation: none; }
  .card:hover, .btn--primary:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .spec { grid-template-columns: 1fr 1fr; }
  .spec__table { grid-column: 1 / -1; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__inner { gap: 12px; }
  .lang { margin-left: auto; }

  .hero { padding: 48px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .device { max-width: 340px; }

  .section { padding: 88px 0; }
  .section__head { margin-bottom: 44px; }

  .compare { grid-template-columns: 1fr; gap: 44px; }

  .feature,
  .feature--rev { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .feature--rev .feature__media { order: 0; }

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

@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero__lead, .section__lead { font-size: 15px; }
  .hero__stats { gap: 12px 28px; }
  .hero__stats dd b { font-size: 24px; }
  .compat__list { gap: 6px 22px; }
  .compat__list li { font-size: 15px; }
  .cards { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .spec__value { font-size: 46px; }
  .spec__table dl > div { grid-template-columns: 1fr; gap: 4px; }
  .keys { padding: 4px 18px; }
  .keys li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tab { padding: 8px 12px; font-size: 13px; }
  .btn--lg { padding: 0.9em 1.6em; font-size: 16px; }
}

/* Click-to-zoom */
img[data-zoom] { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4, 5, 9, 0.92);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  image-rendering: auto;
}
