:root {
  --bg: #0b1220;
  --bg-2: #0e1930;
  --text: #e9effa;
  --muted: #9db0cc;
  --accent: #4f8cff;
  --accent-2: #22d3ee;
  --card: rgba(255, 255, 255, 0.055);
  --card-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.11);
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #fb7185;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --radius: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { height: 100%; margin: 0; }

body {
  background:
    radial-gradient(1100px 700px at 8% -12%, rgba(79, 140, 255, 0.16), transparent 60%),
    radial-gradient(900px 650px at 108% 108%, rgba(34, 211, 238, 0.10), transparent 58%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

h1, h2, h3, p { margin: 0; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(79, 140, 255, 0.13);
  border: 1px solid rgba(79, 140, 255, 0.22);
  color: #cfe0ff;
  padding: 1px 6px;
  border-radius: 6px;
  white-space: nowrap;
}
b { font-weight: 650; }

.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 30;
}
#progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.35s ease;
}

.deck { height: 100dvh; }

.slide {
  display: none;
  height: 100%;
  overflow-y: auto;
  padding: clamp(18px, 5vh, 56px) clamp(16px, 4vw, 32px) calc(104px + var(--safe-bottom));
  -webkit-overflow-scrolling: touch;
}
.slide.is-active { display: flex; align-items: center; justify-content: center; }
.slide-inner { width: min(1040px, 100%); margin: auto; }

.anim { opacity: 0; }
.slide.is-active .anim {
  animation: rise 0.62s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--d, 0s);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 12px;
}
h1 { font-size: clamp(30px, 6vw, 56px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 750; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(23px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 18px; }
h3 { font-size: 17px; letter-spacing: -0.01em; }
.lead { color: var(--muted); font-size: clamp(15px, 1.7vw, 18px); margin-top: 16px; max-width: 46ch; }
.hint { color: var(--muted); font-size: 13.5px; margin-top: 14px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 36px; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.badges span {
  font-size: 12.5px;
  font-weight: 600;
  color: #cfe0ff;
  background: rgba(79, 140, 255, 0.12);
  border: 1px solid rgba(79, 140, 255, 0.26);
  padding: 6px 12px;
  border-radius: 999px;
}
.hero-visual { display: flex; align-items: center; justify-content: center; gap: 8px; }

.phone {
  width: 186px;
  height: 372px;
  border-radius: 32px;
  background: #050a13;
  border: 2px solid #2a3a55;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 6px #0a1322;
  position: relative;
  flex: 0 0 auto;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 14px;
  border-radius: 999px;
  background: #050a13;
  border: 1px solid #253349;
  z-index: 2;
}
.phone-screen { padding: 30px 11px 12px; height: 100%; display: flex; flex-direction: column; gap: 9px; }
.mini-head { font-size: 11.5px; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; flex: 1; align-content: start; }
.tile { border-radius: 7px; aspect-ratio: 1; display: block; }
.t1 { background: linear-gradient(140deg, #3b82f6, #1e3a8a); }
.t2 { background: linear-gradient(140deg, #22d3ee, #0e7490); }
.t3 { background: linear-gradient(140deg, #a78bfa, #5b21b6); }
.t4 { background: linear-gradient(140deg, #34d399, #065f46); }
.t5 { background: linear-gradient(140deg, #fbbf24, #b45309); }
.t6 { background: linear-gradient(140deg, #fb7185, #9f1239); }
.mini-new {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: #052e1b;
  background: var(--ok);
  border-radius: 999px;
  padding: 4px 10px;
  animation: blink 2.6s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.flow { position: relative; width: 74px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); flex: 0 0 auto; }
.packet {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 3px;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
  animation: fly 2.4s linear infinite;
}
.p2 { animation-delay: 0.8s; background: var(--accent); }
.p3 { animation-delay: 1.6s; }
@keyframes fly {
  0% { left: -4px; opacity: 0; transform: scale(0.7); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 68px; opacity: 0; transform: scale(0.7); }
}

.disk-tower { display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; }
.disk-plate {
  width: 132px;
  padding: 13px 14px;
  border-radius: 13px;
  background: linear-gradient(160deg, #1a2740, #121c2f);
  border: 1px solid #2c3f60;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 9px;
}
.disk-plate b {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.disk-plate span { font-size: 11px; color: var(--muted); line-height: 1.2; }
.disk-light { height: 4px; margin: 0 16px; border-radius: 999px; background: var(--ok); opacity: 0.7; animation: blink 1.8s ease-in-out infinite; }

/* ---------- steps ---------- */
.steps { display: flex; align-items: stretch; gap: 10px; margin-top: 8px; }
.step {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  position: relative;
}
.step-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(79, 140, 255, 0.35);
  border-radius: 999px;
  padding: 2px 9px;
}
.step-ico { display: inline-flex; width: 34px; height: 34px; margin-bottom: 12px; color: var(--accent-2); }
.step-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }
.step-arrow { align-self: center; color: var(--muted); font-size: 20px; }

.callout {
  margin-top: 22px;
  padding: 15px 18px;
  border-radius: 14px;
  background: rgba(79, 140, 255, 0.09);
  border: 1px solid rgba(79, 140, 255, 0.24);
  border-left: 3px solid var(--accent);
  font-size: 14.5px;
  color: #cfdcf3;
}
.callout.warn { background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.25); border-left-color: var(--warn); }

/* ---------- checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.checklist li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.checklist b { font-size: 15px; }
.checklist p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.checklist.compact li { padding: 11px 14px; }
.tick {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.14);
  color: var(--ok);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

/* ---------- two columns ---------- */
.two-col { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 34px; align-items: center; }
.numbers { padding-left: 20px; margin: 8px 0 0; display: grid; gap: 10px; color: #d6e2f6; font-size: 15px; }
.numbers li::marker { color: var(--accent); font-weight: 700; }

/* ---------- mock app ---------- */
.mock-app, .mock-shortcuts, .mock-clock, .mock-folder {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}
.mock-logo {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(140deg, #3b82f6, #1d4ed8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
}
.mock-ring {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: ring 2s ease-out infinite;
}
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(79, 140, 255, 0.55); opacity: 1; }
  70% { box-shadow: 0 0 0 12px rgba(79, 140, 255, 0); opacity: 0.9; }
  100% { box-shadow: 0 0 0 0 rgba(79, 140, 255, 0); opacity: 0.9; }
}
.mock-body { padding: 18px; display: grid; gap: 12px; }
.mock-panel { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); border-radius: 13px; padding: 14px; }
.mock-panel-title { font-size: 13px; font-weight: 650; margin-bottom: 11px; }
.mock-line { display: flex; gap: 8px; flex-wrap: wrap; }
.mock-input, .mock-button {
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 12.5px;
}
.mock-input { border: 1px solid var(--border); background: rgba(0, 0, 0, 0.22); color: #cdd9ec; }
.mock-button { background: var(--accent); color: #fff; font-weight: 600; animation: pulseBtn 2.4s ease-in-out infinite; }
@keyframes pulseBtn { 0%, 100% { box-shadow: 0 0 0 0 rgba(79, 140, 255, 0.45); } 50% { box-shadow: 0 0 0 8px rgba(79, 140, 255, 0); } }
.mock-secret {
  margin-top: 11px;
  border-radius: 9px;
  border: 1px dashed rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.07);
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #b8f3fb;
}
.mock-copy { font-family: inherit; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.mock-caption { font-size: 11.5px; color: var(--muted); text-align: center; }

/* ---------- shortcuts mock ---------- */
.mock-shortcuts { padding: 16px; }
.sc-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 650; margin-bottom: 16px; }
.sc-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  animation: pulseBtn 2.4s ease-in-out infinite;
}
.sc-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "ico name" "ico sub";
  gap: 2px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 14px;
}
.sc-icon {
  grid-area: ico;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-self: center;
  background: linear-gradient(140deg, var(--accent), #1e40af);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}
.sc-name { grid-area: name; font-weight: 650; font-size: 14.5px; align-self: end; }
.sc-sub { grid-area: sub; color: var(--muted); font-size: 12px; }
.sc-hint { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }

/* ---------- chain ---------- */
.chain { display: flex; flex-direction: column; align-items: stretch; max-width: 680px; margin: 4px 0 0; }
.action-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 15px 17px;
}
.action-card b { font-size: 15px; }
.action-card p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.action-card.upload { border-color: rgba(79, 140, 255, 0.4); background: rgba(79, 140, 255, 0.08); }
.ac-ico {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.ac-ico.photos { background: rgba(251, 113, 133, 0.16); color: #fda4af; }
.ac-ico.photos::before { content: "▦"; }
.ac-ico.repeat { background: rgba(251, 191, 36, 0.16); color: var(--warn); }
.ac-ico.repeat::before { content: "↻"; }
.ac-ico.net { background: rgba(34, 211, 238, 0.16); color: var(--accent-2); }
.ac-ico.net::before { content: "↑"; }
.chain-line { width: 2px; height: 18px; margin-left: 36px; background: linear-gradient(180deg, rgba(79, 140, 255, 0.6), rgba(79, 140, 255, 0.1)); }

/* ---------- params ---------- */
.param-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.param-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.param-row:last-child { border-bottom: 0; }
.param-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 650; }
.param-value { min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
.param-value.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: #d9e6ff; }
.url { color: #a8c7ff !important; }
.copy-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
  cursor: pointer;
}
.copy-btn:hover { color: var(--text); border-color: var(--accent); }

.form-fields { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.field-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 13px;
  flex-wrap: wrap;
}
.field-chip .k { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--accent-2); }
.field-chip .v { font-weight: 650; font-size: 13.5px; }
.field-chip .note { color: var(--muted); font-size: 11.5px; }

/* ---------- clock ---------- */
.mock-clock { padding: 22px; display: grid; justify-items: center; gap: 14px; }
.clock-face {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.22) 0 1deg, transparent 1deg 30deg),
    radial-gradient(circle at 50% 45%, #182740, #0c1424);
  position: relative;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}
.hand { position: absolute; left: 50%; bottom: 50%; transform-origin: 50% 100%; border-radius: 999px; }
.hand.hour { width: 5px; height: 42px; margin-left: -2.5px; background: #dbe7fb; animation: spin 48s linear infinite; }
.hand.minute { width: 3px; height: 60px; margin-left: -1.5px; background: var(--accent); animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.clock-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
}
.clock-time { font-size: 30px; font-weight: 750; letter-spacing: -0.02em; }
.toggle-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.toggle { width: 44px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); display: inline-flex; align-items: center; padding: 3px; }
.toggle.on { background: var(--ok); justify-content: flex-end; }
.toggle span { width: 20px; height: 20px; border-radius: 50%; background: #fff; display: block; animation: toggleNudge 3s ease-in-out infinite; }
@keyframes toggleNudge { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(-2px); } }
.clock-days { display: flex; gap: 5px; font-size: 10.5px; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.clock-days span { padding: 4px 7px; border: 1px solid var(--border); border-radius: 7px; }

/* ---------- folder ---------- */
.mock-folder { padding: 0; }
.folder-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #cfe0ff;
  background: rgba(255, 255, 255, 0.03);
}
.folder-icon {
  width: 16px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  position: relative;
}
.folder-icon::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 4px;
  border-radius: 2px 2px 0 0;
  background: var(--accent);
}
.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.file-row:last-child { border-bottom: 0; }
.file-ico { width: 20px; height: 24px; border-radius: 4px; flex: 0 0 auto; }
.file-ico.img { background: linear-gradient(140deg, #22d3ee, #0e7490); }
.file-ico.vid { background: linear-gradient(140deg, #a78bfa, #5b21b6); }
.file-size { margin-left: auto; color: var(--muted); font-size: 11.5px; }
.slide.is-active .file-row { animation: rise 0.5s ease both; }
.slide.is-active .f1 { animation-delay: 0.5s; }
.slide.is-active .f2 { animation-delay: 0.68s; }
.slide.is-active .f3 { animation-delay: 0.86s; }
.slide.is-active .f4 { animation-delay: 1.04s; }

/* ---------- errors ---------- */
.errors { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.error-card {
  display: flex;
  gap: 13px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 15px;
}
.error-card b { font-size: 14.5px; }
.error-card p { color: var(--muted); font-size: 13px; margin-top: 3px; }
.code-badge {
  flex: 0 0 auto;
  min-width: 44px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(251, 113, 133, 0.14);
  color: var(--danger);
  border: 1px solid rgba(251, 113, 133, 0.35);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- alternative ---------- */
.alt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.alt-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.alt-card h3 { margin-bottom: 8px; }
.alt-card p { color: #cfdcf3; font-size: 14px; }
.alt-card .hint { margin-top: 10px; font-size: 12.5px; }
.finish {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(79, 140, 255, 0.1);
  border: 1px solid rgba(79, 140, 255, 0.28);
}
.finish p { font-size: 15px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: 14.5px;
  padding: 11px 18px;
  border-radius: 11px;
  white-space: nowrap;
}
.btn-primary:hover { background: #6ba0ff; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: auto 0 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px clamp(12px, 4vw, 24px) calc(10px + var(--safe-bottom));
  background: rgba(9, 15, 26, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-top: 1px solid var(--border);
}
.nav-center { flex: 1; display: flex; align-items: center; justify-content: center; gap: 14px; min-width: 0; }
.nav-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 11px;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.nav-btn:hover { background: rgba(255, 255, 255, 0.1); }
.nav-btn:disabled { opacity: 0.35; cursor: default; }
.nav-btn.next { background: var(--accent); border-color: var(--accent); }
.nav-btn.next:hover { background: #6ba0ff; }
.dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}
.dot.active { background: var(--accent); width: 20px; border-radius: 999px; }
.counter { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + var(--safe-bottom));
  transform: translateX(-50%);
  background: #e9effa;
  color: #0b1220;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 10px;
  z-index: 40;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}

@media (max-width: 860px) {
  .hero, .two-col { grid-template-columns: 1fr; gap: 26px; }
  .hero-visual { order: 2; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
  .errors, .alt-grid { grid-template-columns: 1fr; }
  .param-row { grid-template-columns: 1fr auto; }
  .param-label { grid-column: 1 / -1; }
  .param-row .copy-btn { grid-column: 2; }
  .slide { padding-top: 22px; }
  h1 { font-size: clamp(28px, 8.4vw, 42px); }
  .nav-btn { padding: 9px 12px; }
}

@media (max-width: 520px) {
  .phone { width: 152px; height: 306px; }
  .disk-plate { width: 112px; padding: 10px 11px; }
  .flow { width: 42px; }
  .dots { display: none; }
  .nav-center { justify-content: flex-end; }
  .mock-clock { padding: 16px; }
  .clock-face { width: 132px; height: 132px; }
  .hand.hour { height: 34px; }
  .hand.minute { height: 48px; }
  .field-chip { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; }
}
