/* SecondSpace — site styles
   Тёмная база, два акцента из самого приложения (фиолетовый → голубой),
   стеклянные панели и мягкие свечения. Без внешних шрифтов и без зависимостей. */

:root {
  --bg: #050a18;
  --bg-2: #081029;
  --ink: #eaf0ff;
  --ink-soft: #c3cfe8;
  --muted: #8d9cbe;
  --line: rgba(255, 255, 255, .085);
  --line-strong: rgba(255, 255, 255, .16);
  --glass: rgba(14, 24, 52, .58);
  --brand: #7a5cff;
  --brand-2: #34d3ff;
  --btn: linear-gradient(100deg, #7a5cff 0%, #4f8dff 52%, #34d3ff 100%);
  --radius: 22px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.62 "Segoe UI Variable Text", "Segoe UI", Roboto, Inter, system-ui, -apple-system, sans-serif;
  letter-spacing: .001em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.028em; line-height: 1.1; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

kbd {
  display: inline-block;
  padding: .1em .42em;
  margin: 0 .06em;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .045);
  font: 600 .82em/1.35 "Segoe UI", system-ui, sans-serif;
  color: var(--ink-soft);
  vertical-align: .06em;
}

/* ---------------------------------------------------------------- backdrop */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 78% -12%, #12245a 0%, transparent 62%),
    radial-gradient(900px 620px at 6% 4%, #1a1450 0%, transparent 58%),
    linear-gradient(180deg, #050a18 0%, #040814 48%, #060b1c 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}

.orb-a {
  width: 620px; height: 620px;
  right: -140px; top: -190px;
  background: radial-gradient(circle, rgba(78, 141, 255, .55), transparent 68%);
}

.orb-b {
  width: 520px; height: 520px;
  left: -180px; top: 34%;
  background: radial-gradient(circle, rgba(122, 92, 255, .42), transparent 70%);
}

.orb-c {
  width: 700px; height: 480px;
  right: 4%; bottom: -180px;
  background: radial-gradient(circle, rgba(52, 211, 255, .22), transparent 70%);
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
  opacity: .5;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: .045;
  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'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- layout */

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.narrow { width: min(100% - 48px, 860px); }

.section {
  position: relative;
  z-index: 2;
  padding: 96px 0;
  scroll-margin-top: 84px;
}

.section + .section { padding-top: 24px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font: 600 12px/1 "Segoe UI", system-ui, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #7fd0ff;
}

.section h2 { font-size: clamp(28px, 3.6vw, 44px); }

.head { max-width: 720px; margin-bottom: 46px; }
.head .sub { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* ---------------------------------------------------------------- header */

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}

.top.scrolled {
  padding: 8px 0;
  background: rgba(5, 10, 24, .72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.top-inner {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
  flex: none;
}

.brand b { font-weight: 700; color: #a8c2ff; }

.brand-mark { width: 30px; height: 30px; flex: none; }

.nav {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}

.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14.5px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}

.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .28s var(--ease), background .22s, border-color .22s, opacity .2s;
}

.btn svg { width: 16px; height: 16px; flex: none; }

.btn-primary {
  background: var(--btn);
  color: #041027;
  box-shadow: 0 10px 34px -12px rgba(79, 141, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -12px rgba(88, 160, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .45);
}

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

.btn-ghost {
  background: rgba(255, 255, 255, .045);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover { background: rgba(255, 255, 255, .09); transform: translateY(-2px); }

.btn-lg { padding: 15px 26px; font-size: 16.5px; }
.btn-sm { padding: 9px 18px; font-size: 14.5px; }

.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; z-index: 2; padding: 64px 0 8px; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: 48px;
  min-height: min(74vh, 660px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(122, 92, 255, .1);
  color: #cfdcff;
  font-size: 13.5px;
  font-weight: 500;
}

.badge svg { width: 15px; height: 15px; color: #7fd0ff; }

.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(52px, 8.6vw, 124px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .94;
}

.hero h1 .grad {
  background: linear-gradient(96deg, #8f7bff 6%, #5f9bff 46%, #46d8ff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 26px;
  max-width: 540px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.66;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.meta-line {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------------------------------------------------------------- hero art */

.hero-art {
  position: relative;
  aspect-ratio: 1 / .88;
  min-height: 430px;
}

.art-glow {
  position: absolute;
  inset: 8% -6% 12% 2%;
  background:
    radial-gradient(closest-side at 58% 46%, rgba(70, 130, 255, .42), transparent 72%),
    radial-gradient(closest-side at 30% 72%, rgba(122, 92, 255, .3), transparent 74%);
  filter: blur(26px);
}

.screen {
  position: absolute;
  border-radius: 18px;
  padding: 9px 9px 0;
  background: linear-gradient(170deg, rgba(24, 38, 78, .92), rgba(9, 15, 34, .96));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow:
    0 34px 70px -30px rgba(0, 0, 0, .9),
    inset 0 1px 0 rgba(255, 255, 255, .1);
}

.screen-back {
  width: 72%;
  right: 0;
  top: 4%;
  transform: rotate(3.2deg);
  opacity: .85;
}

.screen-front {
  width: 82%;
  left: 0;
  top: 20%;
  transform: rotate(-2.4deg);
  z-index: 2;
  border-color: rgba(140, 180, 255, .28);
  box-shadow:
    0 40px 90px -34px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(90, 140, 255, .16),
    inset 0 1px 0 rgba(255, 255, 255, .14);
}

.screen-body {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px 12px 4px 4px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(90, 140, 255, .3), transparent 60%),
    linear-gradient(155deg, #0e1a3d 0%, #142a5c 46%, #0b1430 100%);
}

.screen-back .screen-body {
  background:
    radial-gradient(120% 90% at 30% 10%, rgba(122, 92, 255, .26), transparent 62%),
    linear-gradient(155deg, #101331 0%, #171a3f 50%, #0a0d22 100%);
}

.mini-win {
  position: absolute;
  border-radius: 7px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 16px 30px -20px #000, inset 0 1px 0 rgba(255, 255, 255, .16);
}

.mini-win::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 18%;
  border-radius: 7px 7px 0 0;
  background: rgba(255, 255, 255, .1);
}

.w1 { width: 54%; height: 46%; left: 8%; top: 12%; }
.w2 { width: 44%; height: 38%; right: 7%; bottom: 16%; }

.w3 {
  width: 58%; height: 52%; left: 7%; top: 12%;
  background: linear-gradient(160deg, rgba(122, 92, 255, .48), rgba(52, 211, 255, .2));
  border-color: rgba(160, 190, 255, .28);
}

.w4 { width: 40%; height: 34%; right: 6%; top: 34%; background: rgba(255, 255, 255, .16); }

.mini-task {
  height: 13px;
  margin: 8px 2px 0;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .05);
}

.screen-tag {
  position: absolute;
  left: 4px;
  top: -24px;
  z-index: 6;
  padding: 0;
  border: 0;
  background: none;
  font: 600 10.5px/1.5 "Segoe UI", system-ui, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8fa3cc;
}

.screen-front .screen-tag { top: -23px; left: 6px; color: #a9c0ee; }
.screen-back .screen-tag { left: auto; right: 6px; }

.island {
  position: absolute;
  z-index: 5;
  left: -3%;
  bottom: 3%;
  width: 106%;
  display: flex;
  align-items: center;
  gap: .8em;
  padding: .62em 1.05em .62em 1.25em;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(21, 25, 34, .97), rgba(8, 10, 16, .98));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow:
    0 34px 70px -30px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 255, 255, .07);
  font: 500 11.2px/1.3 "Segoe UI", system-ui, sans-serif;
  color: #eef2fa;
  white-space: nowrap;
}

.is-dot {
  flex: none;
  width: .62em;
  height: .62em;
  margin-right: .8em;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #8ef7c0, #22c07d 62%, #10915c);
  box-shadow:
    0 0 0 .3em rgba(45, 210, 140, .13),
    0 0 .9em rgba(50, 225, 150, .5);
}

.is-state {
  display: flex;
  flex-direction: column;
  gap: .14em;
  flex: 1 1 auto;
  min-width: 0;
}

.is-label {
  font-size: .71em;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8b95a8;
}

.is-value {
  font-size: 1.02em;
  font-weight: 500;
  letter-spacing: -.004em;
  color: #eef2fa;
  overflow: hidden;
  text-overflow: ellipsis;
}

.is-go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .6em 1.12em;
  border-radius: 999px;
  background: linear-gradient(100deg, #7a5cff 0%, #4f8dff 54%, #34d3ff 100%);
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: -.012em;
  box-shadow:
    0 .55em 1.5em -.55em rgba(79, 141, 255, .95),
    inset 0 1px 0 rgba(255, 255, 255, .35);
}

.is-go svg { width: 1.02em; height: 1.02em; flex: none; }

.is-ghost {
  flex: none;
  font-size: 1.05em;
  color: rgba(228, 234, 246, .68);
}

.is-chip {
  flex: none;
  padding: .58em .92em;
  border-radius: 999px;
  background: rgba(126, 118, 205, .16);
  border: 1px solid rgba(150, 150, 255, .14);
  color: #dfe5f5;
  font-size: 1.02em;
}

.chip {
  position: absolute;
  z-index: 6;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 18, 40, .82);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  font: 600 12.5px/1.4 "Segoe UI", system-ui, sans-serif;
  color: #d5e0f7;
  white-space: nowrap;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9);
}

.chip-a { right: -4%; top: 30%; }
.chip-b { right: 2%; bottom: 21%; }
.chip-b kbd { font-size: 11px; }

/* ---------------------------------------------------------------- facts */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.fact-ico {
  width: 26px;
  height: 26px;
  color: #7fb3ff;
  margin-bottom: 14px;
}

.fact h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; }
.fact p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------------------------------------------------------------- split */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: start;
}

.split-copy h2 { margin-bottom: 22px; }
.split-copy p { margin-top: 14px; color: var(--ink-soft); }
.split-copy p:first-of-type { margin-top: 0; }

.spec-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(20, 32, 66, .7), rgba(8, 14, 32, .7));
  padding: 8px 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.spec-row:last-child { border-bottom: 0; }
.spec-row span { color: var(--muted); }
.spec-row b { font-weight: 600; text-align: right; color: #dce6fb; }

.fine { margin-top: 14px; color: #6f7f9f; font-size: 12.5px; line-height: 1.5; }

/* ---------------------------------------------------------------- cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(19, 30, 62, .62), rgba(7, 12, 28, .62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 160, 255, .34);
  box-shadow: 0 26px 50px -30px rgba(40, 90, 220, .70), inset 0 1px 0 rgba(255, 255, 255, .09);
}

.card h3 { font-size: 17.5px; letter-spacing: -.02em; }
.card p { margin-top: 12px; color: var(--muted); font-size: 14.6px; line-height: 1.6; }

/* ---------------------------------------------------------------- rows */

.rows { border-top: 1px solid var(--line); }

.row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.row-num {
  font: 600 13px/1 "Segoe UI", system-ui, sans-serif;
  letter-spacing: .16em;
  color: #5f7dbb;
  padding-top: 8px;
}

.row h3 { font-size: 20px; }
.row p { margin-top: 10px; max-width: 760px; color: var(--muted); font-size: 15.2px; }

/* ---------------------------------------------------------------- steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  padding: 26px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 20, 44, .5);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--btn);
  color: #041027;
  font-weight: 700;
  font-size: 14px;
}

.step h3 { font-size: 16.5px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 14.3px; line-height: 1.55; }

.req {
  margin-top: 22px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 17, 38, .45);
}

.req h3 { font-size: 15px; letter-spacing: 0; color: #b9c9ec; }

.req ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 14px;
}

.req li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
}

.req li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
}

/* ---------------------------------------------------------------- download */

.dl {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .56fr);
  gap: 40px;
  align-items: center;
  padding: 46px 46px;
  border-radius: 28px;
  border: 1px solid rgba(130, 165, 255, .22);
  background:
    radial-gradient(120% 160% at 90% 0%, rgba(52, 211, 255, .14), transparent 60%),
    linear-gradient(150deg, rgba(28, 46, 96, .72), rgba(8, 13, 30, .86));
  box-shadow: 0 40px 90px -50px rgba(20, 60, 180, .9), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.dl-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 150, 255, .38), transparent 66%);
  filter: blur(20px);
  pointer-events: none;
}

.dl h2 { font-size: clamp(26px, 3.1vw, 38px); }

.dl p {
  margin-top: 16px;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.dl-stats { color: var(--muted); font-size: 13.5px; }

.rel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(6, 11, 26, .42);
}

.rel-label {
  font: 600 10.5px/1.4 "Segoe UI", system-ui, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7fb3ff;
}

.rel-name {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.012em;
  overflow-wrap: anywhere;
}

.rel-meta { color: var(--ink-soft); font-size: 13.5px; }

.rel-note {
  margin-top: auto;
  padding-top: 6px;
  color: #6f7f9f;
  font-size: 12px;
  line-height: 1.45;
}

/* ---------------------------------------------------------------- faq */

.qa {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.qa summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 2px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
  transition: color .2s;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid #7fb3ff;
  border-bottom: 2px solid #7fb3ff;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .28s var(--ease);
}

.qa[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.qa summary:hover { color: #fff; }

.qa p {
  padding: 0 40px 22px 2px;
  color: var(--muted);
  font-size: 15.2px;
  max-width: 780px;
}

/* ---------------------------------------------------------------- footer */

.foot {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
}

.foot-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
}

.foot-brand b { color: #a8c2ff; }
.foot-note { color: #6f7f9f; font-size: 13.5px; margin-inline: auto; }

.foot-link { color: var(--muted); font-size: 13.5px; }
.foot-link:hover { color: #fff; }

/* ---------------------------------------------------------------- reveal */

.reveal {
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
}

.js .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; min-height: 0; }
  .hero-art { max-width: 620px; width: 100%; margin-inline: auto; aspect-ratio: 1 / .8; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .dl { grid-template-columns: 1fr; padding: 34px 28px; }
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .top-inner { justify-content: space-between; }
  .section { padding: 72px 0; }
  .section + .section { padding-top: 12px; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .row-num { padding-top: 0; }
}

@media (max-width: 620px) {
  .wrap, .top-inner { width: min(100% - 32px, var(--wrap)); }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: clamp(40px, 13vw, 64px); }
  .facts, .cards, .steps { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .chip-a, .chip-b { display: none; }
  .screen-back { display: none; }
  .screen-front { width: 92%; left: 4%; top: 12%; }
  .island { left: 4%; width: 92%; }
  .is-ghost, .is-chip { display: none; }
  .island { font-size: 8px; }
  .hero-art { aspect-ratio: 1 / .95; min-height: 0; }
  .qa p { padding-right: 0; }
}

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