:root {
  --bg: #071116;
  --bg-deep: #02070a;
  --bg-soft: #0f2228;
  --panel: rgba(18, 34, 41, 0.8);
  --panel-strong: rgba(20, 41, 49, 0.94);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(241, 198, 106, 0.42);
  --text: #eef6ef;
  --muted: #b7c8c2;
  --gold: #f1c66a;
  --gold-strong: #ffaf43;
  --mint: #41d5a4;
  --coral: #ff8766;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 175, 67, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(65, 213, 164, 0.16), transparent 24%),
    linear-gradient(180deg, #081217 0%, #0a1820 40%, #091218 100%);
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
}

body::before {
  width: 18rem;
  height: 18rem;
  left: -5rem;
  bottom: 6rem;
  background: rgba(255, 135, 102, 0.14);
}

body::after {
  width: 22rem;
  height: 22rem;
  right: -6rem;
  top: 5rem;
  background: rgba(65, 213, 164, 0.1);
}

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

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

p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.2rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", serif;
  line-height: 1.1;
}

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

.narrow {
  width: min(760px, 100%);
}

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

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

.header-row {
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo,
.footer-logo {
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 28px rgba(255, 175, 67, 0.24);
}

.brand-logo {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 1rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.brand-copy small,
.site-footer p,
.download-panel__meta small,
.download-button__meta,
.hero-points,
.section-header p,
.surface-card p,
.surface-card li,
.faq-item p,
.page-copy p {
  color: var(--muted);
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.site-nav-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-left: auto;
}

.site-nav {
  justify-content: flex-end;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a,
.footer-nav a {
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
  outline: none;
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  color: #1f1203;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
}

.nav-menu {
  position: relative;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  gap: 0.28rem;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
.nav-menu.has-current-page .menu-toggle,
.nav-menu.is-open .menu-toggle {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.menu-toggle__line {
  display: block;
  width: 1.2rem;
  height: 0.14rem;
  border-radius: 999px;
  background: var(--gold);
}

.menu-dropdown {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  z-index: 25;
  display: grid;
  gap: 0.35rem;
  min-width: 14.5rem;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.15rem;
  background: linear-gradient(180deg, rgba(18, 34, 41, 0.97), rgba(10, 18, 24, 0.98));
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav-menu.is-open .menu-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-dropdown a {
  padding: 0.8rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 0.9rem;
  color: var(--muted);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.menu-dropdown a:hover,
.menu-dropdown a:focus-visible {
  color: var(--gold);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
  transform: translateY(-1px);
}

.menu-dropdown a[aria-current="page"] {
  color: #1f1203;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
}

.hero,
.page-hero {
  position: relative;
}

.hero {
  padding: clamp(1.5rem, 4vw, 3rem) 0 2.4rem;
}

.page-hero {
  padding: 4.5rem 0 2.8rem;
}

.hero-grid,
.split-layout,
.page-intro-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(260px, 0.78fr);
  align-items: center;
  gap: 1.25rem;
}

.page-intro-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
}

.hero-copy,
.page-copy,
.info-panel,
.policy-card {
  align-self: center;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 0.95rem;
}

.hero-copy .eyebrow {
  margin-bottom: 0;
}

.hero-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-download-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #221302;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong), var(--coral));
  box-shadow: 0 14px 30px rgba(255, 175, 67, 0.24);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.hero-download-chip:hover,
.hero-download-chip:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(255, 175, 67, 0.32);
  filter: saturate(1.06);
  outline: none;
}

.hero-copy h1,
.page-copy h1 {
  font-size: clamp(2.25rem, 4.9vw, 4.35rem);
  max-width: 12ch;
}

.page-copy h1 {
  font-size: clamp(2.35rem, 5vw, 4.3rem);
  max-width: 14ch;
}

.hero-lead,
.page-copy p + p,
.page-copy h1 + p {
  margin-top: 0;
}

.hero-lead {
  max-width: 58ch;
  font-size: 1rem;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.download-panel,
.surface-card,
.visual-frame {
  background: linear-gradient(180deg, rgba(22, 42, 50, 0.95), rgba(13, 24, 30, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-top: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
}

.mini-label,
.feature-card__tag {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-panel__meta strong {
  display: block;
  font-size: 1.1rem;
}

.download-button {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 16rem;
  padding: 1rem 1.35rem;
  border-radius: 1.15rem;
  color: #221302;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong), var(--coral));
  box-shadow: 0 16px 40px rgba(255, 175, 67, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.download-button:hover,
.download-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(255, 175, 67, 0.36);
  filter: saturate(1.08);
  outline: none;
}

.download-button.is-starting {
  transform: scale(0.99);
}

.download-button__label {
  font-size: 1.05rem;
  font-weight: 800;
}

.download-button__meta {
  color: rgba(34, 19, 2, 0.86);
  font-size: 0.88rem;
}

.download-button--compact {
  min-width: 13rem;
  padding: 0.9rem 1.1rem;
}

.download-button--compact .download-button__label {
  font-size: 0.98rem;
}

.hero-points,
.clean-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.45rem;
}

.hero-points {
  list-style: none;
  padding-left: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.hero-points li,
.clean-list li {
  position: relative;
  padding-left: 1.4rem;
}

.hero-points li {
  font-size: 0.94rem;
  line-height: 1.45;
}

.hero-points li::before,
.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--mint));
  box-shadow: 0 0 0 4px rgba(65, 213, 164, 0.08);
}

.clean-list {
  list-style: none;
  padding-left: 0;
}

.compact-list {
  margin-top: 0.9rem;
  gap: 0.55rem;
}

.hero-visual,
.page-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual {
  align-items: flex-start;
  margin-top: -2rem;
}

.hero-visual-stack {
  display: grid;
  justify-items: end;
  gap: 1.15rem;
}

.hero-side-download {
  min-width: 16.5rem;
  padding: 1.1rem 1.35rem;
}

.hero-side-download .download-button__label {
  font-size: 1.08rem;
}

.hero-side-download .download-button__meta {
  font-size: 0.92rem;
}

.visual-frame,
.page-visual {
  position: relative;
  padding: 1rem;
  border-radius: calc(var(--radius-lg) + 0.5rem);
}

.visual-frame {
  width: min(100%, 390px);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: calc(var(--radius-lg) - 0.15rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 175, 67, 0.14), transparent 42%);
  pointer-events: none;
}

.visual-frame img,
.page-visual img {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

.visual-frame img {
  aspect-ratio: 1 / 1;
}

.page-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.floating-note {
  position: absolute;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  background: rgba(7, 17, 22, 0.74);
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.floating-note--one {
  top: 1.75rem;
  right: -1rem;
}

.floating-note--two {
  left: -1rem;
  bottom: 7.2rem;
}

.floating-note--three {
  right: 0.8rem;
  bottom: 1.2rem;
}

.stats-strip,
.section {
  padding: 1rem 0 4.5rem;
}

.section--alt {
  position: relative;
}

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

.stats-grid,
.feature-grid,
.steps-grid,
.faq-grid,
.policy-grid {
  display: grid;
  gap: 1.2rem;
}

.stats-grid,
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

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

.app-directory {
  display: grid;
  gap: 1rem;
}

.app-row {
  display: grid;
  grid-template-columns: minmax(150px, 200px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem;
}

.app-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.app-thumb--wide {
  aspect-ratio: 16 / 10;
}

.app-body h3 {
  font-size: 1.45rem;
}

.surface-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.surface-card h2,
.surface-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
}

.surface-card h2 + p,
.surface-card h3 + p,
.surface-card h2 + ul,
.surface-card h3 + ul,
.surface-card p + p,
.surface-card p + ul,
.surface-card ul + p {
  margin-top: 0.9rem;
}

.media-card {
  padding: 0;
  overflow: hidden;
}

.wide-media {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
}

.wide-media--square {
  aspect-ratio: 1 / 1;
}

.stat-card__value,
.step-card__number {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.95rem;
  border-radius: 50%;
  color: #241507;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
}

.section-header {
  max-width: 48rem;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 0.8rem;
}

.faq-item,
.info-panel,
.banner-note,
.policy-card,
.feature-card,
.step-card {
  height: 100%;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.3rem;
}

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

.faq-item p {
  margin-top: 0.85rem;
}

.faq-item[open] {
  border-color: var(--line-strong);
}

.page-link-grid,
.blog-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.page-link-card {
  display: block;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-link-card:hover,
.page-link-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.4);
  outline: none;
}

.page-link-card__arrow {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.showcase-card {
  padding: 0;
  overflow: hidden;
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.showcase-card__body {
  padding: 1.25rem 1.35rem 1.45rem;
}

.showcase-card__body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}

.article-meta span {
  display: inline-flex;
  padding: 0.36rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-links-section {
  padding-top: 0;
}

.quick-links-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr) auto;
  align-items: center;
  gap: 1.2rem;
}

.quick-links-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.chip-link:hover,
.chip-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  outline: none;
}

.site-footer {
  padding: 1.2rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 9, 12, 0.58);
}

.footer-row {
  align-items: flex-start;
  padding: 0.8rem 0 1rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 30rem;
}

.footer-logo {
  width: 4rem;
  height: 4rem;
  border-radius: 1.15rem;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .page-intro-grid,
  .stats-grid,
  .feature-grid,
  .steps-grid,
  .faq-grid,
  .split-layout,
  .policy-grid,
  .page-link-grid,
  .blog-grid,
  .contact-grid,
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-copy h1,
  .page-copy h1 {
    max-width: none;
  }

  .hero-visual {
    margin-top: -1rem;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .app-row {
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  }

  .app-row .download-button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .hero-side-download {
    width: 100%;
    min-width: 0;
    padding: 1rem 1.2rem;
  }

  .quick-links-banner .download-button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 820px) {
  .footer-row,
  .footer-bottom,
  .download-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-row {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .site-nav-shell {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
  }

  .site-nav {
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0.35rem;
  }

  .site-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.45rem 0.62rem;
    font-size: 0.78rem;
  }

  .site-nav a[aria-current="page"] {
    padding-left: 0.62rem;
    padding-right: 0.62rem;
  }

  .brand-logo {
    width: 2.8rem;
    height: 2.8rem;
  }

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand-copy small {
    display: none;
  }

  .menu-toggle {
    width: 2.8rem;
    height: 2.8rem;
  }

  .quick-links-banner {
    grid-template-columns: 1fr;
  }

  .download-button {
    width: 100%;
    min-width: 0;
  }

  .floating-note--one {
    right: 0.6rem;
  }

  .floating-note--two {
    left: 0.6rem;
    bottom: 6.4rem;
  }
}

@media (max-width: 720px) {
  .hero,
  .page-hero,
  .stats-strip,
  .section {
    padding-bottom: 3rem;
  }

  .hero-grid,
  .page-intro-grid,
  .stats-grid,
  .feature-grid,
  .steps-grid,
  .faq-grid,
  .split-layout,
  .policy-grid,
  .page-link-grid,
  .blog-grid,
  .contact-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .header-row {
    padding: 0.9rem 0;
  }

  .hero-visual {
    margin-top: 0;
  }

  .site-nav-shell {
    align-items: center;
  }

  .footer-nav {
    width: 100%;
    gap: 0.45rem 1rem;
  }

  .footer-nav a {
    padding-left: 0;
    padding-right: 0;
  }

  .nav-menu {
    align-self: center;
  }

  .menu-dropdown {
    right: 0;
    left: auto;
    min-width: min(18rem, calc(100vw - 2rem));
  }

  .visual-frame {
    width: min(100%, 250px);
  }

  .hero-visual-stack {
    width: 100%;
    justify-items: center;
  }

  .app-row {
    grid-template-columns: 1fr;
  }

  .app-thumb,
  .app-thumb--wide {
    aspect-ratio: 16 / 10;
  }

  .page-copy h1,
  .hero-copy h1 {
    max-width: none;
  }

  .hero-copy {
    gap: 0.85rem;
  }

  .hero-eyebrow-row {
    gap: 0.55rem;
  }

  .hero-points {
    margin-top: 0.85rem;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 1.2rem, 1120px);
  }

  .header-row {
    gap: 0.5rem;
  }

  .hero-download-chip {
    padding: 0.58rem 0.82rem;
    font-size: 0.74rem;
  }

  .hero-copy h1,
  .page-copy h1 {
    font-size: clamp(2rem, 9.6vw, 3.15rem);
  }

  .brand-logo {
    width: 2.45rem;
    height: 2.45rem;
  }

  .brand-copy strong {
    font-size: 0.86rem;
  }

  .site-nav {
    gap: 0.28rem;
  }

  .site-nav a {
    padding: 0.36rem 0.5rem;
    font-size: 0.71rem;
  }

  .site-nav a[aria-current="page"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .menu-toggle {
    width: 2.45rem;
    height: 2.45rem;
  }

  .surface-card {
    padding: 1.25rem;
  }

  .floating-note {
    font-size: 0.74rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body.js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
