/* ============================================================
   CredentiaIQ — landing page
   Design tokens mirror @credentiaiq/web-ui (admin-web).
   Fonts: Plus Jakarta Sans (display) + Atkinson Hyperlegible Next (body)
   ============================================================ */

:root {
  --bg: #fafbf9;
  --surface: #ffffff;
  --fg: #171b18;
  --muted: #6f7671;
  --faint: #9aa09b;
  --border: #eaece7;
  --secondary: #f4f5f2;
  --primary: #006d5b;
  --primary-deep: #005446;
  --primary-tint: #e1f0ed;
  --primary-foreground: #ffffff;
  --accent: #fbefd6;
  --accent-fg: #b07a12;
  --destructive: #b3423a;
  --ring: #006d5b;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", system-ui, sans-serif;

  --radius: 15px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(23, 27, 24, 0.06);
  --shadow-md: 0 10px 30px rgba(23, 27, 24, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 84, 70, 0.14);

  --maxw: 1160px;
  --gutter: 24px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
button {
  font-family: var(--font-display);
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow {
  max-width: 820px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Typography ---------- */
h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  font-weight: 800;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.3;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Eyebrows ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.eyebrow-tint {
  color: var(--primary);
  background: var(--primary-tint);
  padding: 6px 14px;
  border-radius: 999px;
}

.eyebrow-tint::before {
  display: none;
}

.eyebrow-on-dark {
  color: #fff;
}

.eyebrow-on-dark::before {
  background: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--ring) 40%, transparent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--secondary);
  border-color: var(--faint);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(23, 27, 24, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-lockup {
  display: block;
  height: 30px;
  width: auto;
}

.brand-wordmark {
  display: block;
  height: 26px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 26px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.98rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: right 0.2s ease;
}

.site-nav a:hover {
  color: var(--fg);
  text-decoration: none;
}

.site-nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--gutter) 20px;
  border-top: 1px solid var(--border);
}

.mobile-nav a {
  padding: 12px 4px;
  color: var(--fg);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-nav .btn {
  margin-top: 12px;
}

.mobile-nav[hidden] {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 0;
  background:
    radial-gradient(1000px 500px at 85% -10%, color-mix(in srgb, var(--primary-tint) 70%, transparent), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 56px;
}

.hero-copy .lead {
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 20px;
}

.hero-note {
  color: var(--faint);
  font-size: 0.95rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

/* Profile / credential card */
.profile-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--secondary);
}

.profile-avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.profile-id {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.profile-id strong {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
}

.profile-id span {
  color: var(--muted);
  font-size: 0.86rem;
}

.profile-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--primary);
  background: var(--primary-tint);
  border-radius: 999px;
  padding: 5px 11px;
  white-space: nowrap;
}

.profile-verified svg {
  width: 13px;
  height: 13px;
}

.profile-body {
  padding: 22px 24px 24px;
}

.profile-section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.badge-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge-tile {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.badge-check {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.badge-check svg {
  width: 14px;
  height: 14px;
}

.badge-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.3;
}

.badge-tile em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.profile-progress {
  margin-top: 4px;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--secondary);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: calc(var(--p) * 1%);
  border-radius: 999px;
  background: var(--primary);
}

/* Panel card (institutions / government hero) */
.panel-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--secondary);
}

.panel-icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.panel-icon svg {
  width: 18px;
  height: 18px;
}

.panel-id {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.panel-id strong {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
}

.panel-id span {
  color: var(--muted);
  font-size: 0.86rem;
}

.panel-body {
  padding: 22px 24px 24px;
}

.panel-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 500;
}

.panel-list li > span:nth-child(2) {
  color: var(--fg);
}

.panel-list li > span:last-child {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
}

.panel-bar {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 999px;
  background: var(--secondary);
  overflow: hidden;
}

.panel-bar::before {
  content: "";
  display: block;
  height: 100%;
  width: calc(var(--w) * 1%);
  border-radius: 999px;
  background: var(--primary);
}

.panel-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Benefit strip */
.benefit-strip {
  list-style: none;
  margin: 0;
  padding: 0 0 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit-strip li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px 16px 34px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
}

.benefit-strip li::before {
  content: "";
  position: absolute;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}

.section-tint {
  background: var(--secondary);
}

.section-cta {
  background:
    radial-gradient(900px 420px at 15% 0%, color-mix(in srgb, var(--primary) 55%, transparent), transparent 60%),
    var(--primary-deep);
  color: #fff;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 24px;
}

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

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card p {
  color: var(--muted);
  margin: 0;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary);
  margin-bottom: 16px;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--accent-fg);
  background: var(--accent);
  width: fit-content;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.step p {
  color: var(--muted);
  margin: 0;
}

/* ---------- CTA + lead form ---------- */
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.cta-copy h2 {
  color: #fff;
}

.cta-copy p {
  color: color-mix(in srgb, #fff 76%, transparent);
  margin: 0;
}

.lead-form {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  color: var(--fg);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-wide {
  grid-column: 1 / -1;
}

.lead-form .btn,
.form-status,
.form-legal {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
}

.field-optional {
  color: var(--faint);
  font-weight: 400;
}

.field input,
.field select {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 22%, transparent);
}

.form-status {
  margin: 0;
  font-size: 0.92rem;
  min-height: 1.2em;
}

.form-status.error {
  color: var(--destructive);
}

.form-status.success {
  color: var(--primary);
}

.form-legal {
  color: var(--faint);
  font-size: 0.8rem;
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  padding-right: 56px;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq summary:hover {
  background: var(--secondary);
}

.faq p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--muted);
}

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-hero {
  padding: 72px 0 40px;
}

.legal-hero h1 {
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 8px;
}

.legal-body {
  padding: 0 0 24px;
}

.legal-body h2 {
  font-size: 1.5rem;
  margin: 44px 0 14px;
}

.legal-body h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
}

.legal-body strong {
  color: var(--fg);
}

.legal-body a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body ul,
.legal-body ol {
  padding-left: 22px;
  margin: 0 0 16px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-toc {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 16px 0 8px;
}

.legal-toc h2 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
  margin: 0 0 10px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
}

.legal-toc li {
  margin-bottom: 6px;
}

.legal-toc a {
  color: var(--primary);
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--fg);
  color: color-mix(in srgb, #fff 72%, transparent);
  padding: 56px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand .brand-lockup {
  height: 32px;
}

.footer-tagline {
  margin: 16px 0 0;
  max-width: 320px;
  color: color-mix(in srgb, #fff 60%, transparent);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 6px;
}

.footer-col a {
  color: color-mix(in srgb, #fff 66%, transparent);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 20px;
  border-top: 1px solid color-mix(in srgb, #fff 14%, transparent);
  color: color-mix(in srgb, #fff 50%, transparent);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .site-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    justify-content: flex-start;
  }
  .benefit-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .card-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-actions .btn {
    display: none;
  }
  .benefit-strip,
  .steps,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
  .lead-form {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 60px 0;
  }
}

/* ---------- Compact hero (institutions / government) ---------- */
.hero-compact {
  padding-top: 56px;
}

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

.hero-copy {
  animation: fade-up 0.6s ease both;
}

.hero-visual {
  animation: fade-up 0.6s ease 0.12s both;
}

.benefit-strip li {
  animation: fade-up 0.5s ease both;
}

.benefit-strip li:nth-child(2) {
  animation-delay: 0.06s;
}
.benefit-strip li:nth-child(3) {
  animation-delay: 0.12s;
}
.benefit-strip li:nth-child(4) {
  animation-delay: 0.18s;
}

/* Scroll-reveal (content stays visible if JS is unavailable) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .card-grid [data-reveal]:nth-child(2) {
  transition-delay: 0.06s;
}
.js .card-grid [data-reveal]:nth-child(3) {
  transition-delay: 0.12s;
}
.js .card-grid [data-reveal]:nth-child(4) {
  transition-delay: 0.18s;
}
.js .card-grid [data-reveal]:nth-child(5) {
  transition-delay: 0.24s;
}
.js .card-grid [data-reveal]:nth-child(6) {
  transition-delay: 0.3s;
}

.js .steps [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}
.js .steps [data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}
.js .steps [data-reveal]:nth-child(4) {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
