/*
 * Estilos de joingivi.com. Sale del diseño del dueño (web.html) casi tal cual;
 * lo que cambió y por qué:
 *
 *  - Los mosaicos usan las fotos reales en vez de gradientes CSS.
 *  - El verde de TEXTO es más oscuro que el de marca: #10C795 sobre blanco da
 *    2,2:1 y AA pide 3:1 para títulos y 4,5:1 para texto normal. El verde de
 *    marca se queda en lo decorativo y sobre fondo oscuro, donde sí contrasta.
 *  - No hay estilos en línea en el HTML: la CSP no permite 'unsafe-inline'.
 */
:root {
  --ink: #0e0f13;
  --ink-soft: #454a55;
  --navy: #16233f;
  --teal: #10c795;
  /* 3,4:1 sobre blanco: solo texto grande (títulos). */
  --teal-deep: #0a9e76;
  /* 5,5:1 sobre blanco: texto de tamaño normal y enlaces. */
  --teal-ink: #087a5c;
  --mint: #e6f6f1;
  --panel: #f4f6f7;
  --line: #e6e8ec;
  --white: #fff;
  --radius: 14px;
  --maxw: 1180px;
  --shadow-soft: 0 18px 40px -22px rgba(14, 15, 19, 0.35);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    'Plus Jakarta Sans',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--teal-ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin: 0 auto;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a[aria-current='page'] {
  color: var(--ink);
  border-color: var(--teal);
}
.nav .btn {
  margin-left: auto;
}
.nav-links + .btn {
  margin-left: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #000;
}
.btn-ghost {
  border-color: #c9cdd4;
  color: var(--ink);
  background: #fff;
}
.btn-ghost:hover {
  border-color: var(--ink-soft);
}

/* ---------- Hero ---------- */
.hero {
  padding: 70px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}
h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 22px;
}
h1 .line2 {
  display: block;
  color: var(--teal-deep);
}
.hero-sub {
  font-size: clamp(19px, 1.6vw, 21px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 18px;
  max-width: 26ch;
}
.hero-sub em {
  font-style: normal;
  color: var(--teal-deep);
}
.hero-copy {
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 0 28px;
  font-size: 15.5px;
}
.badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: #fff;
  border-radius: 11px;
  padding: 10px 18px;
}
.badge svg {
  flex: none;
}
.badge-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.badge-txt small {
  font-size: 10.5px;
  font-weight: 500;
  opacity: 0.85;
}
.badge-txt strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
/* Todavía no está en las tiendas: el sello se ve, pero no es un enlace. */
.badge-soon {
  cursor: default;
  opacity: 0.9;
}
.beta-note {
  margin: 0 0 30px;
  font-size: 14px;
  color: var(--ink-soft);
}
.beta-note strong {
  color: var(--ink);
}
.proof {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatars {
  display: flex;
}
.avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -11px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.avatars img:first-child {
  margin-left: 0;
}
.proof p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink-soft);
}
.proof a {
  color: var(--teal-ink);
  font-weight: 600;
  border-bottom: 1px solid rgba(8, 122, 92, 0.4);
}

/* ---------- Mockup ---------- */
.mockup {
  position: relative;
  padding: 10px 0;
}
.mockup::before {
  content: '';
  position: absolute;
  inset: -8% -14% -12% -6%;
  background: radial-gradient(58% 62% at 62% 42%, #eaf6f3 0%, rgba(234, 246, 243, 0) 70%);
  z-index: 0;
}
.laptop {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  margin-left: auto;
}
.screen {
  border: 11px solid #1c1e24;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.base {
  height: 13px;
  background: linear-gradient(180deg, #d5d8de, #a9aeb8);
  border-radius: 0 0 12px 12px;
  margin: 0 -18px;
  position: relative;
}
.base::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 78px;
  height: 5px;
  background: #8a9098;
  border-radius: 0 0 6px 6px;
}
.mini {
  padding: 14px 16px 16px;
  font-size: 9px;
}
.mini-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
  margin-bottom: 16px;
}
.mini-links {
  display: flex;
  gap: 9px;
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 7px;
  font-weight: 500;
}
.mini-links b {
  color: var(--ink);
  font-weight: 600;
}
.mini-cta {
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 6.5px;
  font-weight: 600;
}
.mini .mini-title {
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-weight: 700;
}
.mini .mini-title span {
  color: var(--teal-deep);
}
.mini p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 8px;
  line-height: 1.5;
}
.mini-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.mini-badge {
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mini-strip {
  display: flex;
  gap: 8px;
}
.mini-card {
  flex: 1;
  height: 74px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: var(--panel);
}
.mini-card img,
.p-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-card .ic {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
}

.phone {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: -4%;
  width: 158px;
  border: 8px solid #16181d;
  border-radius: 26px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 44px -18px rgba(14, 15, 19, 0.45);
}
.notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 15px;
  background: #16181d;
  border-radius: 0 0 10px 10px;
  z-index: 3;
}
.status {
  display: flex;
  justify-content: space-between;
  font-size: 6.5px;
  font-weight: 600;
  padding: 5px 10px 0;
  color: var(--ink);
}
.p-head {
  display: flex;
  align-items: center;
  padding: 8px 10px 6px;
}
.p-head .icons {
  margin-left: auto;
  display: flex;
  gap: 5px;
  color: var(--ink-soft);
  font-size: 7px;
}
.p-title {
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 3px;
}
.p-title span {
  color: var(--teal-deep);
}
.p-sub {
  padding: 0 10px;
  margin: 0 0 8px;
  font-size: 6px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.p-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0 10px 8px;
}
.p-tile {
  height: 38px;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 4px;
  background: var(--panel);
}
.p-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}
.p-tile b {
  color: #fff;
  font-size: 5.5px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.p-tile .ic {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2;
}
.p-tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 6px 4px 9px;
}
.p-tabs i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: #d6dae0;
  display: block;
}
.p-tabs .plus {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-style: normal;
  line-height: 1;
}

/* ---------- Secciones ---------- */
.section {
  padding: 64px 0;
}
.section-tight {
  padding-top: 8px;
}
.section-head {
  text-align: center;
  margin-bottom: 34px;
}
h2 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.15;
}
h2 .accent {
  color: var(--teal-deep);
}
.section-head p {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ---------- Banda con foto ---------- */
.band {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  min-height: 260px;
  display: flex;
  align-items: center;
  background: var(--navy);
}
.band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 30, 0.78) 0%, rgba(10, 12, 30, 0.35) 55%, rgba(10, 12, 30, 0) 80%);
}
.band-copy {
  position: relative;
  z-index: 2;
  padding: 40px 44px;
  max-width: 34rem;
}
.band-copy h2,
.band-copy h3 {
  color: #fff;
  margin: 0 0 10px;
}
.band-copy h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.band-copy p {
  margin: 0;
  color: #eef0f4;
  font-size: 15.5px;
  max-width: 40ch;
}
.band-todos {
  margin-bottom: 16px;
  min-height: 220px;
}

/* ---------- Categorías ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cat {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: #fff;
  background: var(--navy);
}
.cat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.7) 100%);
}
.cat .ic {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat b {
  position: relative;
  z-index: 2;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Pasos ---------- */
.steps {
  background: var(--panel);
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  gap: 16px;
  padding: 30px 28px;
  align-items: flex-start;
}
.step + .step {
  border-left: 1px solid #e1e5e7;
}
.step .circle {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 {
  margin: 2px 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 32ch;
}

/* ---------- Características ---------- */
.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.feat .circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--teal-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feat h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  letter-spacing: -0.01em;
}
.feat p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 34ch;
}

/* ---------- Seguridad ---------- */
.safety {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 48px;
}
.safety h2 {
  color: #fff;
  margin-bottom: 14px;
}
.safety .lead {
  color: #b9bec9;
  font-size: 15.5px;
  margin: 0;
  max-width: 40ch;
}
.safety .lead a {
  color: var(--teal);
  border-bottom: 1px solid rgba(16, 199, 149, 0.5);
}
.safety ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.safety li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.safety li svg {
  flex: none;
  color: var(--teal);
  margin-top: 2px;
}
.safety li b {
  display: block;
  font-size: 15.5px;
  margin-bottom: 3px;
}
.safety li span {
  color: #a9afbb;
  font-size: 14.5px;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
details {
  border-bottom: 1px solid var(--line);
}
details summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.01em;
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 26px;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
details[open] summary::after {
  transform: rotate(-135deg);
  top: 30px;
}
details p {
  margin: -4px 0 22px;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 62ch;
}
details p a,
.contact a:not(.btn),
.doc a:not(.btn) {
  color: var(--teal-ink);
  font-weight: 600;
  border-bottom: 1px solid rgba(8, 122, 92, 0.35);
}

/* ---------- Descarga ---------- */
.download {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.g-mark {
  flex: none;
  width: 78px;
  height: 78px;
  border-radius: 18px;
  box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.4);
}
.download-copy h2 {
  margin: 0 0 4px;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.download-copy h2 span {
  display: block;
  color: var(--teal-ink);
}
.download-copy p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}
.download .badges {
  margin: 0;
}
.dev {
  margin: 0 0 0 auto;
  text-align: right;
  font-size: 13px;
  color: var(--ink-soft);
}
.dev b {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 14px;
}

/* ---------- Contacto ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.contact-lead {
  color: var(--ink-soft);
  max-width: 44ch;
}
.contact-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 32px;
}
.contact-card h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
}
.contact-card p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.contact-card p:last-child {
  margin-bottom: 0;
}
.contact-card .btn {
  width: 100%;
}

/* ---------- Páginas de texto (legales, eliminar cuenta, invitación, 404) ---------- */
.page {
  padding: 56px 0 24px;
}
.doc {
  max-width: 760px;
  margin: 0 auto;
}
.doc h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 10px;
}
.doc .updated {
  margin: 0 0 32px;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.doc h2 {
  font-size: clamp(20px, 2.2vw, 24px);
  margin: 40px 0 12px;
  scroll-margin-top: 96px;
}
.doc h3 {
  font-size: 17px;
  margin: 28px 0 8px;
}
.doc p,
.doc li {
  color: #2b2f37;
  font-size: 16px;
  line-height: 1.7;
}
.doc p {
  margin: 0 0 16px;
}
.doc ul,
.doc ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.doc li {
  margin-bottom: 8px;
}
.doc li::marker {
  color: var(--teal-ink);
}
.toc {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 12px;
}
.toc h2 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: 0;
}
.toc ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  columns: 2;
  column-gap: 28px;
}
.toc li {
  font-size: 14.5px;
  margin-bottom: 4px;
  break-inside: avoid;
}
.doc .toc a {
  font-weight: 500;
  border-bottom: none;
}
.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 0 0 20px;
  background: #fff;
}
.callout p:last-child {
  margin-bottom: 0;
}
.steps-list {
  counter-reset: paso;
  list-style: none;
  padding-left: 0;
}
.steps-list li {
  counter-increment: paso;
  position: relative;
  padding-left: 44px;
  margin-bottom: 14px;
}
.steps-list li::before {
  content: counter(paso);
  position: absolute;
  left: 0;
  top: 1px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-ink);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.invite-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.invite-card .invite-logo {
  margin: 0 auto 24px;
}
.invite-card .actions {
  justify-content: center;
}
.invite-card p {
  color: var(--ink-soft);
}
[hidden] {
  display: none !important;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  margin-top: 40px;
}
.foot {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.foot p {
  margin: 0;
}
.foot-logo {
  flex: none;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.foot-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- Movimiento ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
.reveal.d1 {
  animation-delay: 0.08s;
}
.reveal.d2 {
  animation-delay: 0.16s;
}
.reveal.d3 {
  animation-delay: 0.24s;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .cats {
    grid-template-columns: repeat(4, 1fr);
  }
  .nav-links {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .laptop {
    margin: 0 auto;
    max-width: 520px;
  }
  .phone {
    right: -4px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step + .step {
    border-left: none;
    border-top: 1px solid #e1e5e7;
  }
  .feats {
    grid-template-columns: 1fr;
  }
  .safety {
    grid-template-columns: 1fr;
    padding: 34px 26px;
    gap: 28px;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .dev {
    margin-left: 0;
    text-align: left;
    width: 100%;
  }
  .foot-links {
    margin: 0;
    order: 3;
    width: 100%;
  }
  .toc ul {
    columns: 1;
  }
}
@media (max-width: 620px) {
  .wrap {
    padding: 0 16px;
  }
  .hero {
    padding: 44px 0 30px;
  }
  .section {
    padding: 48px 0;
  }
  .section-tight {
    padding-top: 8px;
  }
  .cats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .download {
    padding: 26px 22px;
    gap: 22px;
  }
  .nav-inner {
    height: 66px;
  }
  .nav .btn {
    padding: 10px 14px;
    font-size: 14px;
  }
  .phone {
    width: 126px;
    bottom: -8%;
  }
  .band-copy {
    padding: 28px 24px;
  }
  .band::after {
    background: linear-gradient(90deg, rgba(10, 12, 30, 0.82) 0%, rgba(10, 12, 30, 0.55) 100%);
  }
}
