/* asondy marketing site: light paper, monochrome ink accents (no indigo, no gradient soup) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter-fallback";
  font-weight: 100 900;
  src: local("Arial");
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}
:root {
  --radius: 12px;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-pill: 999px;
  /* warm paper surface, ink text, hero-art.webp accents */
  --bg: #f7f3ea;
  --surface: #fffdf8;
  --text: #1e1b16;
  --text-muted: #5b5646;
  /* Monochrome accent: same ink as --text, for the focus ring, selection tint, footer grade */
  --accent: #1e1b16;
  --accent-rgb: 30, 27, 22;
  /* Hover shade for the ink auth button */
  --btn-primary-bg-hover: #100e0a;
  --font-body: "Inter", "Inter-fallback", ui-sans-serif, system-ui, -apple-system, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
}
/* Clip horizontal overflow on body, never html, so no scrollbox traps the fixed nav here */
html {
  scroll-behavior: smooth;
  max-width: 100%;
  background: var(--bg);
  margin: 0;
  /* Contains the invo-style ±150px pre-reveal offsets inside the viewport */
  overflow-x: clip;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
a {
  color: inherit;
  text-decoration: none;
}
/* Clear the fixed nav when jumping to an anchor */
#top,
#install {
  scroll-margin-top: 6rem;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
h1,
h2,
h3 {
  font-family: var(--font-body);
  letter-spacing: -0.02em;
}
::selection {
  background: rgba(var(--accent-rgb), 0.22);
}
/* Nav: fixed glass card over the hero; tightens once the page scrolls */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1.25rem 0;
  transition: padding 0.25s ease;
}
.nav.is-scrolled {
  padding: 0.7rem 0;
}
.nav.is-scrolled .nav-inner {
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 8px 28px rgba(18, 14, 8, 0.12);
}
/* Glass nav card: invo geometry (radius 16, blur 8, inset padding), cream tint for this brand */
.nav-shell {
  max-width: 66rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 64rem;
  width: 100%;
  margin: 0 auto;
  padding: 8px 20px;
  border-radius: var(--radius-card);
  background: rgba(255, 253, 248, 0.55);
  border: 1px solid rgba(30, 27, 22, 0.08);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 6px 24px rgba(18, 14, 8, 0.08);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.nav-inner .brand-wordmark {
  justify-self: start;
}
.nav-inner .nav-auth {
  justify-self: end;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(30, 27, 22, 0.5);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(30, 27, 22, 0.05);
}
/* Logo ships as an outlined SVG (public/images/wordmark.svg) so it renders the same everywhere */
.brand-wordmark {
  display: inline-flex;
  align-items: center;
}
.nav .wordmark-img {
  display: block;
  height: 1.5rem;
  width: auto;
}
/* Auth button base */
.btn-auth {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
/* Auth buttons in the nav */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-auth {
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  background: var(--text);
  color: var(--surface);
  border-color: var(--text);
}
.btn-auth:hover {
  background: var(--btn-primary-bg-hover);
  color: var(--surface);
  transform: translateY(-1px);
}
/* Logout sits beside Dashboard, so keep it quiet: transparent on the dark nav */
.btn-auth-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(30, 27, 22, 0.25);
}
.btn-auth-ghost:hover {
  background: rgba(30, 27, 22, 0.05);
  border-color: rgba(30, 27, 22, 0.5);
}
/* Nav is a cream glass card now, so the ink focus ring reads on it */
.btn-auth:focus-visible,
.btn-auth-ghost:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* Hero: full-bleed painting at full unmasked size, much taller and more dominant than a band */
.hero {
  position: relative;
  /* dvh/svh fall back to the vh above on older browsers, so this fills the true viewport */
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 0;
  text-align: center;
  overflow: hidden;
}
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
}
/* Hero and footer share one painting grade to harmonize with the cream/ink palette */
.hero-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(1.75) contrast(1.06) brightness(1.04);
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-repeat: repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Light cream wash lifts and softens the painting so the hero reads bright, melts into page */
.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 72% 62% at 50% 46%,
      rgba(247, 243, 234, 0.46),
      rgba(247, 243, 234, 0.26) 60%,
      rgba(247, 243, 234, 0.1) 100%
    ),
    linear-gradient(to bottom, rgba(247, 243, 234, 0.18), rgba(247, 243, 234, 0.03) 44%, rgba(247, 243, 234, 0.1));
}
/* Vertical mirror of the footer's top feather (.footer-blend): blurs painting into cream */
.hero-blend {
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 8%,
    rgba(0, 0, 0, 0.001) 13%,
    rgba(0, 0, 0, 0.011) 18%,
    rgba(0, 0, 0, 0.033) 23%,
    rgba(0, 0, 0, 0.072) 28%,
    rgba(0, 0, 0, 0.128) 33%,
    rgba(0, 0, 0, 0.199) 38%,
    rgba(0, 0, 0, 0.284) 43%,
    rgba(0, 0, 0, 0.379) 48%,
    rgba(0, 0, 0, 0.48) 53%,
    rgba(0, 0, 0, 0.581) 58%,
    rgba(0, 0, 0, 0.679) 63%,
    rgba(0, 0, 0, 0.768) 68%,
    rgba(0, 0, 0, 0.845) 73%,
    rgba(0, 0, 0, 0.908) 78%,
    rgba(0, 0, 0, 0.953) 83%,
    rgba(0, 0, 0, 0.982) 88%,
    rgba(0, 0, 0, 0.996) 93%,
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 8%,
    rgba(0, 0, 0, 0.001) 13%,
    rgba(0, 0, 0, 0.011) 18%,
    rgba(0, 0, 0, 0.033) 23%,
    rgba(0, 0, 0, 0.072) 28%,
    rgba(0, 0, 0, 0.128) 33%,
    rgba(0, 0, 0, 0.199) 38%,
    rgba(0, 0, 0, 0.284) 43%,
    rgba(0, 0, 0, 0.379) 48%,
    rgba(0, 0, 0, 0.48) 53%,
    rgba(0, 0, 0, 0.581) 58%,
    rgba(0, 0, 0, 0.679) 63%,
    rgba(0, 0, 0, 0.768) 68%,
    rgba(0, 0, 0, 0.845) 73%,
    rgba(0, 0, 0, 0.908) 78%,
    rgba(0, 0, 0, 0.953) 83%,
    rgba(0, 0, 0, 0.982) 88%,
    rgba(0, 0, 0, 0.996) 93%,
    #000 100%
  );
}
.hero-blend::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 30%,
    rgba(247, 243, 234, 0.003) 35%,
    rgba(247, 243, 234, 0.023) 40%,
    rgba(247, 243, 234, 0.069) 45%,
    rgba(247, 243, 234, 0.145) 50%,
    rgba(247, 243, 234, 0.246) 55%,
    rgba(247, 243, 234, 0.368) 60%,
    rgba(247, 243, 234, 0.5) 65%,
    rgba(247, 243, 234, 0.632) 70%,
    rgba(247, 243, 234, 0.754) 75%,
    rgba(247, 243, 234, 0.855) 80%,
    rgba(247, 243, 234, 0.931) 85%,
    rgba(247, 243, 234, 0.977) 90%,
    rgba(247, 243, 234, 0.997) 95%,
    var(--bg) 100%
  );
}
.hero .container {
  position: relative;
  z-index: 2;
}
h1 {
  font-size: clamp(2rem, 7.4vw, 6rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: none;
  margin: 0 auto;
  color: #100e0a;
  white-space: nowrap;
  text-shadow: 0 1px 18px rgba(247, 243, 234, 0.72);
}
.lede {
  color: var(--text);
  max-width: 40rem;
  margin: 1.75rem auto 0;
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(247, 243, 234, 0.9), 0 1px 16px rgba(247, 243, 234, 0.7);
}
/* Harness logos: static row, every mark sits in the same optical box */
.logo-band {
  padding: 2.75rem 0;
  text-align: center;
}
.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.25rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}
.logo-img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.logo-img:hover {
  opacity: 1;
}
/* Sections: tight enough to feel connected, airy enough to breathe */
.section {
  padding: 4.25rem 0;
  text-align: center;
}
h2 {
  font-size: clamp(2.1rem, 2.6vw + 1rem, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-lede {
  color: var(--text-muted);
  margin: 0.9rem auto 0;
  max-width: 38rem;
  font-size: 1.1rem;
}
/* Install: wide ink terminal block, rectangular like the cards, with a copy affordance */
.install-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 44rem;
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.5rem;
  background: var(--text);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(18, 14, 8, 0.18);
  text-align: left;
}
.install-cmd {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--surface);
  overflow-wrap: anywhere;
}
.copy-btn {
  flex-shrink: 0;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--surface);
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.copy-btn:hover {
  background: rgba(255, 253, 248, 0.16);
  border-color: rgba(255, 253, 248, 0.5);
}
.copy-btn:focus-visible {
  outline: 2px solid var(--surface);
  outline-offset: 2px;
}
/* CTA + footer: flat, single background, no gradient, small and direct */
.cta {
  padding: 3.75rem 0 2rem;
}
/* Footer = the bottom banner: misty green landscape painting, feathered into the cream above */
.footer {
  position: relative;
  overflow: hidden;
  /* Taller than a typical band so less of the painting crops away; top feather covers less */
  min-height: clamp(32rem, 56vw, 48rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  text-align: center;
}
.footer-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
}
.footer-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Biased down toward the vivid pine/grass ledge rather than the hazy distant plain */
  object-position: center 50%;
  /* Raised saturation, no sepia, so the painting's greens read instead of muting to gray */
  filter: saturate(1.4) contrast(1.05) brightness(1.0);
}
/* Nudges the grade toward monochrome ink; color blend keeps the light/dark structure */
.footer-tint {
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0.22;
  mix-blend-mode: color;
}
/* Top feather: cream fades into the painting via a blurred smootherstep mask as it emerges */
.footer-blend {
  position: absolute;
  inset: 0 0 auto 0;
  height: 34%;
  backdrop-filter: blur(44px);
  -webkit-backdrop-filter: blur(44px);
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 14%,
    rgba(0, 0, 0, 0.998) 19%,
    rgba(0, 0, 0, 0.987) 24%,
    rgba(0, 0, 0, 0.96) 29%,
    rgba(0, 0, 0, 0.914) 34%,
    rgba(0, 0, 0, 0.849) 39%,
    rgba(0, 0, 0, 0.767) 44%,
    rgba(0, 0, 0, 0.67) 49%,
    rgba(0, 0, 0, 0.565) 54%,
    rgba(0, 0, 0, 0.456) 59%,
    rgba(0, 0, 0, 0.35) 64%,
    rgba(0, 0, 0, 0.252) 69%,
    rgba(0, 0, 0, 0.166) 74%,
    rgba(0, 0, 0, 0.097) 79%,
    rgba(0, 0, 0, 0.048) 84%,
    rgba(0, 0, 0, 0.017) 89%,
    rgba(0, 0, 0, 0.003) 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 14%,
    rgba(0, 0, 0, 0.998) 19%,
    rgba(0, 0, 0, 0.987) 24%,
    rgba(0, 0, 0, 0.96) 29%,
    rgba(0, 0, 0, 0.914) 34%,
    rgba(0, 0, 0, 0.849) 39%,
    rgba(0, 0, 0, 0.767) 44%,
    rgba(0, 0, 0, 0.67) 49%,
    rgba(0, 0, 0, 0.565) 54%,
    rgba(0, 0, 0, 0.456) 59%,
    rgba(0, 0, 0, 0.35) 64%,
    rgba(0, 0, 0, 0.252) 69%,
    rgba(0, 0, 0, 0.166) 74%,
    rgba(0, 0, 0, 0.097) 79%,
    rgba(0, 0, 0, 0.048) 84%,
    rgba(0, 0, 0, 0.017) 89%,
    rgba(0, 0, 0, 0.003) 94%,
    transparent 100%
  );
}
/* Holds cream higher and fades it out gradually so the dark upper edge emerges softly */
.footer-blend::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    var(--bg) 8%,
    rgba(247, 243, 234, 0.998) 13%,
    rgba(247, 243, 234, 0.986) 18%,
    rgba(247, 243, 234, 0.957) 23%,
    rgba(247, 243, 234, 0.909) 28%,
    rgba(247, 243, 234, 0.84) 33%,
    rgba(247, 243, 234, 0.754) 38%,
    rgba(247, 243, 234, 0.653) 43%,
    rgba(247, 243, 234, 0.545) 48%,
    rgba(247, 243, 234, 0.433) 53%,
    rgba(247, 243, 234, 0.326) 58%,
    rgba(247, 243, 234, 0.228) 63%,
    rgba(247, 243, 234, 0.145) 68%,
    rgba(247, 243, 234, 0.08) 73%,
    rgba(247, 243, 234, 0.035) 78%,
    rgba(247, 243, 234, 0.01) 83%,
    rgba(247, 243, 234, 0.001) 88%,
    transparent 92%,
    transparent 100%
  );
}
/* Progressive darken: clear at top, sinking to near-black so the band ends in dark */
.footer-darken {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 34%,
    rgba(8, 7, 5, 0.2) 58%,
    rgba(8, 7, 5, 0.42) 82%,
    rgba(5, 4, 2, 0.58) 100%
  );
}
/* Footer content rides the darkened ledge: wordmark, links, one quiet line */
.footer-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 0 1.5rem 3.5rem;
}
/* Wordmark SVG fills ink by default; invert it to paper for the dark art */
.footer-wordmark {
  display: block;
  height: 2.6rem;
  width: auto;
  filter: invert(1);
  opacity: 0.95;
}
.footer-links {
  display: flex;
  gap: 1.9rem;
}
.footer-links a {
  font-size: 0.95rem;
  color: rgba(255, 253, 248, 0.8);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--surface);
}
.footer-note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 253, 248, 0.55);
}
.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 253, 248, 0.4);
}
/* Docs / legal pages: one narrow readable column, same brand */
.doc-page {
  padding: 8rem 0 4rem;
}
.doc-page .container {
  max-width: 44rem;
  text-align: left;
}
.doc-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.3px;
  line-height: 1;
  margin: 0 0 1.6rem;
}
.doc-page h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.2px;
  margin: 2.2rem 0 0.6rem;
}
.doc-page p, .doc-page li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.doc-page ul {
  padding-left: 1.2rem;
}
.doc-page code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: rgba(30, 27, 22, 0.06);
  border-radius: 6px;
  padding: 0.1em 0.35em;
}
.doc-code-row {
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
}
.doc-code {
  flex: 1 1 auto;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95rem;
  line-height: 1.6;
  background: var(--text);
  color: var(--surface);
  border-radius: var(--radius-card);
  padding: 1.15rem 1.4rem;
  overflow-wrap: anywhere;
  display: flex;
  align-items: center;
}
.doc-code-row .copy-btn {
  align-self: center;
}
.doc-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.doc-link:hover {
  color: var(--text-muted);
}
/* Motion */

/* Shared card surface: one definition for proof strip, features, evidence core */
.card-surface {
  background: var(--surface);
  border: 1px solid rgba(30, 27, 22, 0.08);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 18px rgba(18, 14, 8, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
/* feature + evidence-core sections */
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 auto 0.9rem;
  max-width: 46rem;
  text-align: center;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 44rem;
  margin: 0 auto 2.4rem;
  text-align: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.feature-card {
  padding: 2rem;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 27, 22, 0.16);
  box-shadow: 0 10px 28px rgba(18, 14, 8, 0.09);
}
.feature-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}
/* Reveal: gentle rise + fade on scroll; horizontal slides made grid cards collide */
[data-reveal] {
  opacity: 0.001;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.44, 0, 0.39, 1), transform 0.9s cubic-bezier(0.44, 0, 0.39, 1);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.feature-grid [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}
.feature-grid [data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}
.feature-grid [data-reveal]:nth-child(4) {
  transition-delay: 0.24s;
}
[data-hero] {
  opacity: 0.001;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.44, 0, 0.39, 1), transform 0.9s cubic-bezier(0.44, 0, 0.39, 1);
}
html.is-loaded [data-hero] {
  opacity: 1;
  transform: none;
}
html.is-loaded [data-hero="2"] {
  transition-delay: 0.12s;
}
html.is-loaded [data-hero="3"] {
  transition-delay: 0.24s;
}
@media (max-width: 56rem) {
  .nav-inner {
    gap: 1rem;
  }
  .nav-link {
    padding: 10px;
    font-size: 14px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 40rem) {
  .nav-links {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-hero] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
  body {
    transition: none;
  }
  .nav,
  .nav-inner,
  .btn-auth,
  .btn-auth:hover,
  .copy-btn {
    transition: none;
    transform: none;
  }
}
/* Mobile */
@media (max-width: 48rem) {
  /* Wrap the headline on phones so nowrap does not force horizontal overflow */
  h1 {
    white-space: normal;
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }
  .lede {
    font-size: 1.1rem;
    margin-top: 1rem;
  }
  h2 {
    font-size: 1.85rem;
  }
  /* Fit the nav on narrow screens */
  .nav-inner {
    gap: 1rem;
    padding: 0.6rem 1.5rem;
  }
  .nav-auth {
    gap: 0.4rem;
  }
  .btn-auth {
    padding: 0.7rem 1.3rem;
    font-size: 0.9rem;
  }
  .hero {
    /* No min-height override: inherit the base dvh/svh/vh chain so the banner fills fully */
    padding: 6.5rem 0;
  }
  .section {
    padding: 4.5rem 0;
  }
  .install-block {
    flex-direction: column;
    align-items: stretch;
    margin-top: 2rem;
    padding: 1.1rem 1.2rem;
  }
  .install-cmd {
    font-size: 0.9rem;
  }
  .copy-btn {
    align-self: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  .footer-content {
    padding-bottom: 2.5rem;
  }
}
/* Last so it wins over the earlier 48rem hero rules on phones */
@media (max-width: 40rem) {
  h1 {
    font-size: clamp(2rem, 10.5vw, 2.6rem);
  }
}
