:root {
  --accent: #ff5a36;
  --bg: #07080c;
  --bg-soft: #0d0f15;
  --panel: rgba(18, 21, 30, 0.72);
  --panel-solid: #12151e;
  --text: #f5f6f9;
  --muted: #9aa1af;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --radius: 22px;
  --sheet-radius: 28px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100svh;
  overscroll-behavior-y: none;
}

body.ar-active {
  overflow: hidden;
  background: #000;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.screen {
  position: relative;
  min-height: 100svh;
}

/* ------------------------------------------------------------------ intro */

.intro {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(120% 75% at 50% -10%, rgba(255, 255, 255, 0.07), transparent 60%),
    var(--bg);
}

.intro__glow {
  position: absolute;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.5;
  border-radius: 999px;
}

.intro__glow--one {
  width: 520px;
  height: 520px;
  right: -220px;
  top: -160px;
  background: color-mix(in srgb, var(--accent) 42%, transparent);
}

.intro__glow--two {
  width: 420px;
  height: 420px;
  left: -220px;
  bottom: -160px;
  background: rgba(70, 100, 255, 0.24);
}

.intro__nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(var(--safe-top) + 20px) 22px 12px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #7a1dff));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--accent) 80%, transparent);
  flex: none;
}

.brand__mark--small {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 10px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__subtitle {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-link {
  font-size: 13px;
  color: var(--muted);
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex: none;
}

.nav-link:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.intro__main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 26px 22px 20px;
  flex: 1;
}

.hero {
  max-width: 760px;
  padding: 24px 0 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 70%, #fff);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent);
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 9.2vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, #b9bec9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 30px;
  max-width: 560px;
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  line-height: 1.55;
  color: #b7bdc9;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: transform 0.16s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.975);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--accent) 95%, transparent);
}

.btn--primary:hover {
  filter: brightness(1.07);
}

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

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

.btn--wide {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.hero__fineprint {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #737b89;
  max-width: 440px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 36px 0 0;
}

.step {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}

.step__num {
  position: absolute;
  right: 14px;
  top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.22);
}

.step__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
}

.step h2 {
  margin: 2px 0 5px;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 240px;
}

.targets {
  margin-top: 40px;
}

.targets__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.targets__head h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfd3dc;
}

.targets__count {
  font-size: 12px;
  color: var(--muted);
}

.targets__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  padding: 2px;
  margin: 0;
}

.targets__empty {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
  font-size: 13px;
  width: 100%;
}

.target-card {
  position: relative;
  width: auto;
  padding: 0;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-solid);
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.target-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.target-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #171a23;
}

.target-card__body {
  padding: 9px 10px 10px;
}

.target-card__title {
  display: -webkit-box;
  min-height: 2.5em;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.target-card__type {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.error-box {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 92, 92, 0.35);
  border-radius: 16px;
  background: rgba(255, 70, 70, 0.08);
  color: #ffc9c9;
  font-size: 13px;
  line-height: 1.5;
}

.intro__footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 22px calc(var(--safe-bottom) + 22px);
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  font-size: 11px;
  color: #656c79;
}

.intro__footer-sep {
  opacity: 0.5;
}

/* --------------------------------------------------------------------- AR */

.ar {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #000;
  touch-action: none;
  user-select: none;
}

.ar__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.ar__stage video,
.ar__stage canvas {
  position: absolute;
}

.ar__stage canvas {
  touch-action: none;
}

.topbar {
  position: absolute;
  z-index: 12;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(var(--safe-top) + 12px) 14px 30px;
  background: linear-gradient(180deg, rgba(4, 5, 8, 0.82), rgba(4, 5, 8, 0.36) 62%, transparent);
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 18, 0.55);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.2s, transform 0.15s;
}

.icon-btn:hover {
  background: rgba(30, 34, 46, 0.72);
}

.icon-btn:active {
  transform: scale(0.94);
}

.status-pill {
  position: absolute;
  z-index: 11;
  top: calc(var(--safe-top) + 68px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 32px);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 10, 15, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 12px;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.25s, border-color 0.25s;
}

.status-pill__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  animation: pulse 1.6s ease-in-out infinite;
}

.status-pill[data-state="found"] {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  background: color-mix(in srgb, var(--accent) 24%, rgba(8, 10, 15, 0.78));
}

.status-pill[data-state="found"] .status-pill__dot {
  background: #67f5a2;
  animation: none;
  box-shadow: 0 0 0 4px rgba(103, 245, 162, 0.16);
}

.scan-overlay {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: calc(var(--safe-top) + 72px) 24px calc(var(--safe-bottom) + 90px);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s ease;
}

body.is-found .scan-overlay {
  opacity: 0;
}

.scan-frame {
  position: relative;
  width: min(68vw, 320px);
  height: min(46vh, 400px);
  max-height: 52vh;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.015);
  box-shadow: 0 0 0 9999px rgba(3, 4, 7, 0.18);
  overflow: hidden;
}

.corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid var(--accent);
  border-radius: 6px;
}

.corner.tl {
  left: -1px;
  top: -1px;
  border-right: 0;
  border-bottom: 0;
}

.corner.tr {
  right: -1px;
  top: -1px;
  border-left: 0;
  border-bottom: 0;
}

.corner.bl {
  left: -1px;
  bottom: -1px;
  border-right: 0;
  border-top: 0;
}

.corner.br {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.scan-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 80%, #fff), transparent);
  box-shadow: 0 0 22px 4px color-mix(in srgb, var(--accent) 45%, transparent);
  animation: scan 2.8s ease-in-out infinite;
}

.scan-caption {
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scan-caption strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.scan-caption span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.ar-hint {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: calc(var(--safe-bottom) + 26px);
  transform: translateX(-50%);
  max-width: calc(100vw - 40px);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(9, 11, 16, 0.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.sheet {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 0;
  width: min(100%, 560px);
  max-height: min(62vh, 540px);
  transform: translate(-50%, calc(100% + 32px));
  visibility: hidden;
  border-radius: var(--sheet-radius) var(--sheet-radius) 0 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(24, 27, 38, 0.96), rgba(13, 15, 21, 0.99));
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  box-shadow: 0 -24px 70px -20px rgba(0, 0, 0, 0.8);
  transition: transform 0.38s cubic-bezier(0.2, 0.9, 0.2, 1), visibility 0.38s;
  padding-bottom: var(--safe-bottom);
  touch-action: pan-y;
}

.sheet.is-open {
  transform: translate(-50%, 0);
  visibility: visible;
}

.sheet__handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  margin: 10px auto 2px;
}

.sheet__close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
}

.sheet__scroll {
  padding: 14px 22px 22px;
  overflow-y: auto;
  max-height: calc(min(62vh, 540px) - 12px);
  scrollbar-width: thin;
}

.sheet__badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: color-mix(in srgb, var(--accent) 72%, #fff);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sheet__title {
  margin: 12px 0 8px;
  padding-right: 34px;
  font-size: clamp(1.35rem, 5.6vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 750;
  text-wrap: balance;
}

.sheet__desc {
  margin: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #b4bac6;
  white-space: pre-line;
  text-wrap: pretty;
}

.sheet__actions {
  display: grid;
  gap: 10px;
}

.btn--sound {
  min-height: 48px;
  font-size: 14px;
  font-weight: 550;
}

.btn--sound[data-muted="true"] .ico-sound-on,
.btn--sound[data-muted="false"] .ico-sound-off,
.icon-btn[data-muted="false"] .ico-sound-off,
.icon-btn[data-muted="true"] .ico-sound-on {
  display: none;
}

.sheet__hint {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #6f7684;
}

.toast {
  position: fixed;
  z-index: 40;
  top: calc(var(--safe-top) + 116px);
  left: 50%;
  transform: translate(-50%, -8px);
  max-width: calc(100vw - 36px);
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(14, 16, 24, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 12.5px;
  line-height: 1.4;
  color: #eef0f5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.loading {
  position: absolute;
  z-index: 30;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  background: rgba(5, 6, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
}

.loading__spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, transparent, var(--accent));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: spin 0.9s linear infinite;
}

.loading__title {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
}

.loading__text {
  margin: 0;
  max-width: 300px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ------------------------------------------------------------------ modal */

.modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 7, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal__card {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100svh - 44px);
  overflow-y: auto;
  padding: 26px 24px 24px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: #12151e;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  animation: modal-in 0.25s ease both;
}

.modal__card h2 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.03em;
  padding-right: 28px;
}

.modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
}

.modal__list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  counter-reset: help;
  display: grid;
  gap: 14px;
}

.modal__list li {
  counter-increment: help;
  position: relative;
  padding-left: 34px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #b7bdc9;
}

.modal__list li::before {
  content: counter(help);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: color-mix(in srgb, var(--accent) 75%, #fff);
  font-size: 11px;
  font-weight: 700;
}

.modal__list strong {
  color: #fff;
  font-weight: 650;
}

.modal__note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.unsupported {
  display: none;
  position: fixed;
  z-index: 80;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: var(--bg);
}

.no-modules .unsupported {
  display: flex;
}

.unsupported__card {
  max-width: 420px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: var(--panel-solid);
  text-align: center;
}

.unsupported__card h1 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.unsupported__card p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ------------------------------------------------------------- animations */

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

@keyframes scan {
  0% { top: 8%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 92%; opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(1turn); }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@media (min-width: 700px) {
  .intro__nav {
    padding-left: 34px;
    padding-right: 34px;
  }

  .intro__main {
    padding: 38px 34px 26px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 44px;
  }

  .step {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    min-height: 170px;
  }

  .step p {
    max-width: none;
  }

  .targets {
    margin-top: 46px;
  }

  .targets__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    overflow: visible;
  }

  .intro__footer {
    padding-left: 34px;
    padding-right: 34px;
  }

  .sheet {
    bottom: 22px;
    border-radius: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .sheet.is-open {
    transform: translate(-50%, 0);
  }

  .sheet__scroll {
    padding: 16px 24px 24px;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 2.25rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .btn {
    padding: 0 18px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .sheet {
    max-height: 80vh;
  }

  .sheet__scroll {
    max-height: calc(80vh - 12px);
  }

  .status-pill {
    top: calc(var(--safe-top) + 58px);
  }
}

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