:root {
  --bg: #07111f;
  --bg-soft: #0b1830;
  --bg-accent: #102747;
  --surface: rgba(10, 23, 42, 0.78);
  --surface-strong: rgba(13, 30, 53, 0.94);
  --surface-soft: rgba(18, 39, 67, 0.66);
  --text: #f5f7fb;
  --muted: #95a7c5;
  --accent: #34d3c9;
  --accent-strong: #1ee6d8;
  --accent-dark: #163f4f;
  --gold: #f0bb6b;
  --danger: #ff7676;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --shadow-strong: 0 28px 90px rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(52, 211, 201, 0.16), transparent 25%),
    radial-gradient(circle at 88% 18%, rgba(240, 187, 107, 0.15), transparent 24%),
    radial-gradient(circle at 70% 78%, rgba(78, 121, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #0a1527 42%, #091222 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.34), transparent 85%);
  opacity: 0.3;
}

main {
  position: relative;
  z-index: 1;
}

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

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

code {
  padding: 0.22rem 0.46rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #d9fff9;
  font-size: 0.92rem;
  word-break: break-all;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 14, 26, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-row,
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-row {
  min-height: 82px;
}

.nav {
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.brand {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  color: white;
}

.section {
  padding: 4.6rem 0;
  animation: fade-up 0.75s both;
}

.soft {
  position: relative;
}

.soft::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  pointer-events: none;
}

.hero {
  padding: 5.6rem 0 4.2rem;
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
}

.hero::before {
  width: 240px;
  height: 240px;
  top: 12%;
  left: -6%;
  background: rgba(52, 211, 201, 0.18);
}

.hero::after {
  width: 260px;
  height: 260px;
  right: -5%;
  bottom: 8%;
  background: rgba(240, 187, 107, 0.14);
}

.hero-grid,
.dashboard-grid,
.pricing-grid,
.three-up,
.footer-grid,
.device-grid,
.qr-grid,
.download-grid {
  display: grid;
  gap: 1.2rem;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.dashboard-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

.three-up {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.footer-grid {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.device-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.qr-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hero-card,
.card,
.prose-card,
.form-card,
.subscription-card,
.device-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 1.6rem;
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.hero-card::before,
.card::before,
.prose-card::before,
.form-card::before,
.subscription-card::before,
.device-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255,255,255,0.08), transparent 38%, rgba(255,255,255,0.03));
  pointer-events: none;
}

.card,
.prose-card,
.form-card,
.device-card,
.subscription-card {
  padding: 1.45rem;
}

.hero-card {
  padding: 1.75rem;
  background:
    linear-gradient(160deg, rgba(52, 211, 201, 0.10), rgba(15, 31, 57, 0.9) 42%, rgba(240, 187, 107, 0.08));
  box-shadow: var(--shadow-strong);
  animation: float-card 8s ease-in-out infinite;
}

.card:hover,
.device-card:hover,
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.hero h1,
.section h1,
.section h2,
.section h3,
.card h1,
.card h2,
.card h3,
.form-card h1,
.form-card h2 {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.03em;
}

.hero h1,
.section h1 {
  font-size: clamp(2.45rem, 4.4vw, 4.8rem);
  line-height: 0.98;
  margin: 0 0 1rem;
}

.section h1 {
  font-size: clamp(2.1rem, 3.4vw, 3.3rem);
}

.section h2,
.card h2,
.prose-card h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.section h3,
.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.08rem;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--muted);
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  color: rgba(199, 227, 255, 0.68);
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head-tight {
  margin-bottom: 1.1rem;
}

.actions,
.inline-actions,
.inline-form,
.pill-row,
.trust-strip {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.trust-strip {
  margin-top: 1.15rem;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
  color: #d8e7ff;
  font-size: 0.9rem;
}

.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-family: "Manrope", sans-serif;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #041018;
  box-shadow: 0 18px 36px rgba(52, 211, 201, 0.24);
}

.button:hover,
.store-button:hover {
  transform: translateY(-2px) scale(1.01);
}

.button.small {
  min-height: 40px;
  padding: 0.62rem 1rem;
}

.button.full {
  width: 100%;
}

.button.ghost {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}

.button.ghost:hover {
  background: rgba(255,255,255,0.07);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.button.danger {
  color: #ffd8d8;
  border-color: rgba(255, 118, 118, 0.22);
}

.store-button {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  width: 100%;
}

.store-button:hover {
  border-color: rgba(52, 211, 201, 0.34);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.auth-shell {
  max-width: 560px;
}

.auth-shell-wide {
  max-width: 920px;
}

.auth-premium-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.auth-premium-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.premium-auth-intro {
  background:
    linear-gradient(160deg, rgba(52, 211, 201, 0.16), rgba(13, 30, 53, 0.92) 46%, rgba(240, 187, 107, 0.12));
  box-shadow: var(--shadow-strong);
}

.premium-auth-intro::after,
.premium-auth-panel::after,
.auth-option-card::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  filter: blur(56px);
  pointer-events: none;
  opacity: 0.22;
}

.premium-auth-intro::after {
  right: -70px;
  bottom: -70px;
  background: rgba(240, 187, 107, 0.24);
}

.premium-auth-panel {
  display: grid;
  gap: 1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(10, 23, 42, 0.72)),
    radial-gradient(circle at top right, rgba(52, 211, 201, 0.12), transparent 30%);
}

.premium-auth-panel::after {
  top: -90px;
  right: -70px;
  background: rgba(52, 211, 201, 0.18);
}

.stack {
  display: grid;
  gap: 0.85rem;
}

.auth-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.auth-option-card {
  gap: 0.9rem;
}

.premium-auth-options {
  align-items: stretch;
}

.auth-option-card {
  display: grid;
  align-content: start;
  position: relative;
  min-height: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
}

.auth-option-email {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(52, 211, 201, 0.06)),
    radial-gradient(circle at top left, rgba(52, 211, 201, 0.16), transparent 42%);
}

.auth-option-telegram {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(78, 121, 255, 0.08)),
    radial-gradient(circle at top right, rgba(78, 121, 255, 0.18), transparent 40%);
}

.auth-option-email::after {
  right: -90px;
  bottom: -90px;
  background: rgba(52, 211, 201, 0.24);
}

.auth-option-telegram::after {
  right: -90px;
  bottom: -90px;
  background: rgba(78, 121, 255, 0.24);
}

.telegram-login-box {
  min-height: 58px;
  display: flex;
  align-items: center;
}

.auth-option-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.auth-option-icon,
.auth-option-note {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
}

.auth-option-icon {
  padding: 0.45rem 0.9rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.auth-option-note {
  padding: 0.45rem 0.8rem;
  background: rgba(7, 17, 31, 0.34);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d9e8ff;
  font-size: 0.9rem;
}

.auth-benefits {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-benefits li {
  padding: 0.72rem 0.9rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #dce9ff;
  line-height: 1.55;
}

.top-gap {
  margin-top: 1rem;
}

.auth-intro-note {
  margin-top: 1.3rem;
  padding: 1rem 1.05rem;
  border-radius: 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.auth-intro-note strong {
  display: block;
  margin-bottom: 0.45rem;
}

.form-card label,
.stack label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: #eef5ff;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: #7f92b0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(52, 211, 201, 0.5);
  box-shadow: 0 0 0 4px rgba(52, 211, 201, 0.12);
  background: rgba(255,255,255,0.08);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note,
.device-meta,
.section-head p,
.site-footer p,
.mini-list,
.text-link,
.empty-state,
.muted {
  color: var(--muted);
}

.mini-list,
.ordered {
  padding-left: 1.2rem;
  line-height: 1.8;
}

.compact-list {
  margin: 0;
}

.alert {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(52, 211, 201, 0.11);
  border: 1px solid rgba(52, 211, 201, 0.18);
}

.alert.error,
.alert.danger {
  background: rgba(255, 118, 118, 0.12);
  border-color: rgba(255, 118, 118, 0.22);
  color: #ffd4d4;
}

.alert.success {
  background: rgba(52, 211, 201, 0.13);
}

.config-block {
  margin: 0;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  white-space: pre-wrap;
  word-break: break-word;
}

.subscription-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.invoice-admin-row {
  display: grid;
  gap: 0.6rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.9rem 0.72rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}

th {
  color: #dbe7fb;
  font-weight: 800;
}

.plan-badge,
.inline-badge,
.card-kicker,
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.plan-badge {
  padding: 0.38rem 0.7rem;
  background: rgba(255,255,255,0.08);
  color: #d8f8ff;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.price {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: white;
}

.featured {
  border-color: rgba(52, 211, 201, 0.28);
  background:
    linear-gradient(180deg, rgba(52, 211, 201, 0.12), rgba(255,255,255,0.03));
}

.hero-card .stat + .stat {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-card .stat span {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(215, 243, 255, 0.65);
  margin-bottom: 0.35rem;
}

.hero-card .stat strong {
  font-size: 1.02rem;
  line-height: 1.55;
  color: white;
}

.card-kicker {
  padding: 0.36rem 0.72rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d4efff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.pill-row {
  margin-top: 1rem;
}

.pill {
  min-height: 34px;
  padding: 0.45rem 0.82rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  color: #def4ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.pill-strong {
  background: linear-gradient(135deg, rgba(52, 211, 201, 0.18), rgba(240, 187, 107, 0.14));
  border-color: rgba(52, 211, 201, 0.22);
}

.premium-note {
  background:
    linear-gradient(145deg, rgba(52, 211, 201, 0.12), rgba(11, 24, 48, 0.85) 52%, rgba(240, 187, 107, 0.10));
}

.install-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  margin-top: 1rem;
}

.install-card-primary {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
}

.subscription-link-box {
  padding: 1rem;
  border-radius: 1.15rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  margin: 1rem 0;
}

.subscription-link-box code {
  display: block;
  background: none;
  border: none;
  padding: 0;
}

.subscription-qr-card {
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.subscription-qr {
  width: min(100%, 258px);
  padding: 1rem;
  border-radius: 1.5rem;
  background: white;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.26);
}

.app-setup-grid {
  margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.download-panel {
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0 2rem;
  padding: 1.3rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
}

.account-section {
  margin: 1.8rem 0;
}

.access-methods-header {
  display: grid;
  gap: 0.35rem;
}

.access-methods-grid {
  align-items: stretch;
}

.access-summary-card {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.access-card-email {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(52, 211, 201, 0.05)),
    radial-gradient(circle at top left, rgba(52, 211, 201, 0.16), transparent 38%);
}

.access-card-telegram {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(78, 121, 255, 0.07)),
    radial-gradient(circle at top right, rgba(78, 121, 255, 0.18), transparent 40%);
}

.access-card-reminders {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(240, 187, 107, 0.06)),
    radial-gradient(circle at top right, rgba(240, 187, 107, 0.16), transparent 42%);
}

.access-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.9rem;
}

.access-card-head h3 {
  margin-bottom: 0;
}

.access-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.access-status-pill.is-active {
  background: rgba(52, 211, 201, 0.12);
  border: 1px solid rgba(52, 211, 201, 0.18);
  color: #dcfffb;
}

.access-status-pill.is-pending {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #dbe6fb;
}

.status-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.75rem;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 48px;
  padding: 0.8rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.status-list span {
  color: var(--muted);
}

.status-list strong {
  color: white;
  font-weight: 800;
}

.subscription-card {
  padding: 1.45rem;
}

.device-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.pricing-card h2,
.pricing-card h3 {
  margin-top: 0;
}

.details-card {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
}

.details-card summary {
  cursor: pointer;
  font-weight: 800;
  color: white;
  list-style: none;
}

.details-card[open] summary {
  margin-bottom: 1rem;
}

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

.details-card summary::after {
  content: "Показать";
  margin-left: 0.6rem;
  color: var(--muted);
  font-weight: 600;
}

.details-card[open] summary::after {
  content: "Скрыть";
}

.slim-details {
  padding: 0.95rem 1rem;
}

.slim-details label {
  margin-top: 1rem;
}

.inline-badge {
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  background: rgba(52, 211, 201, 0.11);
  border: 1px solid rgba(52, 211, 201, 0.18);
  color: #dcfffb;
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link {
  color: #d8f8ff;
  transition: color 160ms ease;
}

.text-link:hover {
  color: white;
}

.prose-card p,
.prose-card li,
.card p,
.device-card p,
.form-card p {
  line-height: 1.75;
}

.site-footer {
  padding: 2.8rem 0 3.8rem;
}

.site-footer a {
  color: var(--muted);
  display: block;
  margin-bottom: 0.5rem;
}

.site-footer a:hover {
  color: white;
}

.footer-title {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.hero-grid > *,
.three-up > *,
.pricing-grid > *,
.dashboard-grid > *,
.download-panel,
.prose-card,
.form-card {
  animation: fade-up 0.75s both;
}

.hero-grid > *:nth-child(2),
.three-up > *:nth-child(2),
.pricing-grid > *:nth-child(2),
.dashboard-grid > *:nth-child(2) {
  animation-delay: 0.08s;
}

.three-up > *:nth-child(3),
.pricing-grid > *:nth-child(3),
.dashboard-grid > *:nth-child(3) {
  animation-delay: 0.16s;
}

.pricing-grid > *:nth-child(4),
.dashboard-grid > *:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .footer-grid,
  .install-layout,
  .auth-premium-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.8rem;
  }
}

@media (max-width: 720px) {
  .nav-row {
    align-items: flex-start;
    padding: 1rem 0;
  }

  .nav {
    gap: 0.7rem;
  }

  .section {
    padding: 3.7rem 0;
  }

  .hero h1,
  .section h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .button,
  .store-button {
    width: 100%;
  }

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

  .access-card-head,
  .auth-option-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
