/* ═══════════════════════════════════════════════
   GRAMA DO VIZINHO — styles.css
   ════════════════════════════════════════════════ */

/* ─── CUSTOMIZE COLORS HERE ─────────────────────
   Change these variables to retheme the entire site
   ─────────────────────────────────────────────── */
:root {
  --accent:          #5a7f47;
  --accent-light:    #7aad61;
  --accent-dark:     #3d5c2e;
  --accent-subtle:   rgba(90, 127, 71, 0.18);
  --accent-glow:     rgba(90, 127, 71, 0.35);

  --bg:              #0f110d;
  --bg-alt:          #161a13;
  --bg-card:         #1c2118;
  --surface:         rgba(28, 33, 24, 0.8);
  --smoke-1:         rgba(90, 127, 71, 0.24);
  --smoke-2:         rgba(122, 173, 97, 0.16);
  --smoke-3:         rgba(61, 92, 46, 0.20);
  --smoke-noise:     0.036;

  --text-primary:    #ede9e0;
  --text-secondary:  #9a9a8e;
  --text-muted:      #6a6a60;
  --text-on-accent:  #ffffff;

  --border:          rgba(255,255,255,0.07);
  --border-strong:   rgba(255,255,255,0.14);

  --shadow-sm:       0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:       0 6px 24px rgba(0,0,0,0.4);
  --shadow-lg:       0 16px 48px rgba(0,0,0,0.5);

  --radius:          12px;
  --radius-sm:       8px;
  --radius-full:     9999px;

  --transition:      200ms cubic-bezier(0.4, 0, 0.2, 1);
  --font-display:    'Playfair Display', Georgia, serif;
  --font-body:       'DM Sans', system-ui, sans-serif;

  --topbar-h:        58px;
}

/* ─── RESET & BASE ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 16px);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 700px at 10% -10%, var(--smoke-1), transparent 60%),
    radial-gradient(900px 580px at 88% 18%, var(--smoke-2), transparent 62%),
    radial-gradient(1100px 740px at 45% 112%, var(--smoke-3), transparent 64%),
    linear-gradient(180deg, rgba(90, 127, 71, 0.035) 0%, var(--bg) 58%, rgba(61, 92, 46, 0.05) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 88px;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--smoke-noise);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

body > header,
body > main,
body > footer,
body > a {
  position: relative;
  z-index: 1;
}

h1,h2,h3 {
  font-family: var(--font-display);
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
code { font-family: 'Courier New', monospace; font-size: 0.875em; background: var(--accent-subtle); padding: 0.1em 0.35em; border-radius: 4px; }

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

/* ─── FOCUS RING ─────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ─── REDUCED MOTION ─────────────────────────── */
@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;
  }
}

/* ─── LAYOUT ─────────────────────────────────── */
.container {
  width: min(100%, 1140px);
  margin-inline: auto;
  padding-inline: 16px;
}

.section {
  padding-block: 56px;
}

/* ─── SECTION HEADER ─────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-header--left { text-align: left; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text-primary);
  max-width: 26ch;
  margin-inline: auto;
}

.section-header--left h2 { margin-inline: 0; }

#features-heading,
#shop-heading,
#how-heading,
#safety-heading,
#faq-heading {
  scroll-margin-top: calc(var(--topbar-h) + 28px);
}

/* ─── CTA PRIMARY (hero button) ──────────────── */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--text-on-accent);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px var(--accent-glow);
  white-space: nowrap;
}

.cta-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.cta-primary:active { transform: translateY(0); }

/* ─── TOPBAR ─────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--topbar-h);
  background: var(--surface);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.topbar.is-visible {
  transform: translateY(0);
}

.topbar[aria-hidden="true"] { pointer-events: none; }
.topbar[aria-hidden="false"] { pointer-events: auto; }

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: 16px;
  gap: 12px;
}

.topbar__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.topbar__menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.topbar__menu-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.topbar.is-menu-open .topbar__menu-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.topbar.is-menu-open .topbar__menu-line:nth-child(2) {
  opacity: 0;
}

.topbar.is-menu-open .topbar__menu-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.topbar__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  max-height: 0;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: max-height 260ms ease, opacity var(--transition), transform var(--transition), visibility var(--transition);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  pointer-events: none;
}

.topbar.is-menu-open .topbar__nav {
  max-height: calc(100svh - var(--topbar-h));
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  padding: 12px 16px 16px;
  pointer-events: auto;
}

/* ─── TOPBAR LINKS ───────────────────────────── */
.topbar__link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
  min-height: 44px;
}

.topbar__link:hover,
.topbar__link:focus-visible {
  color: var(--text-primary);
  background: var(--accent-subtle);
  outline: none;
}

.topbar__auth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar__auth-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar__auth-name {
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.topbar__auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 500;
  background: var(--bg-card);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.topbar__auth-link:hover,
.topbar__auth-link:focus-visible {
  background: var(--accent-subtle);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.topbar__auth-link--subtle {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 0.8rem;
}

/* ─── HERO ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  --hero-vpad-top: calc(var(--topbar-h) + 6px);
  --hero-vpad-bottom: 12px;
  padding: var(--hero-vpad-top) 14px var(--hero-vpad-bottom);
  overflow: hidden;
}

/* decorative background */
.hero__bg {
  display: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(68px);
  opacity: 0.24;
}

.hero__orb--1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -120px; right: -130px;
  animation: orb-drift 18s ease-in-out infinite alternate;
}

.hero__orb--2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--accent-light), transparent 70%);
  bottom: -80px; left: -110px;
  animation: orb-drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  display: grid;
  justify-items: center;
  align-content: stretch;
  align-items: start;
  gap: clamp(8px, 1.25vh, 14px);
  grid-template-rows: minmax(0, 1fr) auto auto auto auto;
  height: calc(100vh - var(--hero-vpad-top) - var(--hero-vpad-bottom));
  height: calc(100dvh - var(--hero-vpad-top) - var(--hero-vpad-bottom));
  height: calc(100svh - var(--hero-vpad-top) - var(--hero-vpad-bottom));
  max-height: calc(100vh - var(--hero-vpad-top) - var(--hero-vpad-bottom));
  max-height: calc(100dvh - var(--hero-vpad-top) - var(--hero-vpad-bottom));
  max-height: calc(100svh - var(--hero-vpad-top) - var(--hero-vpad-bottom));
  overflow: hidden;
  animation: hero-fade-in 0.8s ease both;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}

.hero__brand-image {
  grid-row: 1;
  align-self: end;
  width: min(100%, clamp(300px, 82vw, 1200px));
  height: auto;
  max-width: min(100%, clamp(320px, 92vw, 1280px));
  max-height: min(100%, clamp(260px, 62vh, 760px));
  margin: 0;
  object-fit: contain;
}

.hero__title {
  font-size: clamp(2.3rem, 13vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero__title-line { display: block; }

.hero__title-line--italic {
  font-style: italic;
  color: var(--accent);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: normal;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.hero__sub {
  grid-row: 2;
  font-size: clamp(1rem, 1.9vh, 1.28rem);
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0;
  margin-top: clamp(4px, 0.7vh, 10px);
  line-height: 1.58;
}

.hero-metrics {
  grid-row: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(8px, 1.2vh, 14px);
  max-width: min(100%, clamp(460px, 74vw, 900px));
  margin: 0 auto;
  margin-top: clamp(8px, 1.2vh, 14px);
}

.hero-metric {
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: clamp(8px, 1.1vh, 14px) clamp(12px, 1.5vw, 18px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hero-metric__label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-metric__value {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vh, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.hero-metrics__status {
  grid-row: 4;
  font-size: clamp(0.82rem, 1.25vh, 0.96rem);
  color: var(--text-muted);
  margin-top: -2px;
  margin-bottom: 0;
}

.hero .cta-primary {
  grid-row: 5;
  padding: clamp(11px, 1.4vh, 16px) clamp(20px, 2.5vw, 34px);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  margin-top: clamp(10px, 1.5vh, 16px);
}

@media (max-width: 767px) {
  .hero__tagline {
    font-size: calc(clamp(1.1rem, 2.5vw, 1.4rem) - 2pt);
  }

  .hero__sub {
    font-size: clamp(0.7rem, 3.1vw, 0.94rem);
    line-height: 1.4;
    letter-spacing: -0.01em;
    white-space: nowrap;
    max-width: 100%;
  }
}

@media (max-height: 760px) {
  .hero {
    --hero-vpad-top: calc(var(--topbar-h) + 4px);
    --hero-vpad-bottom: 8px;
    padding-inline: 12px;
  }

  .hero__content {
    gap: clamp(6px, 1vh, 9px);
  }

  .hero__brand-image {
    max-width: min(100%, clamp(260px, 90vw, 860px));
    max-height: min(100%, clamp(200px, 48vh, 500px));
  }

  .hero__sub {
    font-size: clamp(0.92rem, 1.5vh, 1.02rem);
    line-height: 1.45;
    margin-bottom: 0;
    margin-top: clamp(3px, 0.6vh, 8px);
  }

  .hero-metric {
    padding: 6px 10px;
  }

  .hero-metrics__status {
    margin-bottom: 0;
  }

  .hero-metrics {
    margin-top: clamp(6px, 1vh, 10px);
  }

  .hero .cta-primary {
    margin-top: clamp(8px, 1.1vh, 12px);
  }
}

@media (max-width: 767px) and (max-height: 760px) {
  .hero__tagline {
    font-size: calc(clamp(1.1rem, 2.5vw, 1.4rem) - 2pt);
  }

  .hero__sub {
    font-size: clamp(0.64rem, 2.9vw, 0.82rem);
    line-height: 1.35;
    letter-spacing: -0.01em;
    white-space: nowrap;
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  .hero__sub {
    font-size: clamp(0.62rem, 2.7vw, 0.78rem);
  }
}

.hero__scroll-hint {
  display: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ─── FEATURES ───────────────────────────────── */
.features { background: transparent; }

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.feature-card__icon {
  width: 44px; height: 44px;
  background: var(--accent-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── SHOP ───────────────────────────────────── */
.shop__intro {
  max-width: 72ch;
  margin: 0 auto;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.75;
}

.shop__actions {
  display: flex;
  justify-content: center;
  margin: 22px 0 18px;
}

.shop__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.shop-product {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.shop-product__link {
  display: grid;
}

.shop-product__media {
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  overflow: hidden;
}

.shop-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-product__body {
  padding: 14px;
  display: grid;
  gap: 6px;
}

.shop-product__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.shop-product__meta {
  font-size: 0.86rem;
  color: var(--accent);
  font-weight: 500;
}

.shop__status {
  margin-top: 12px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── HOW IT WORKS ───────────────────────────── */
.how__steps {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how__step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.how__step:last-child { border-bottom: none; }

.how__step-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.6;
  padding-top: 2px;
  line-height: 1;
}

.how__step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.how__step-body p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── SAFETY ─────────────────────────────────── */
.safety { background: transparent; }

.safety__inner {
  max-width: 760px;
  margin-inline: auto;
}

.safety .section-header {
  text-align: center;
}

.safety .section-header h2 {
  margin-inline: auto;
}

.safety__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.safety__item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.safety__item svg { margin-top: 4px; flex-shrink: 0; }

.safety__item p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.safety__item strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ─── FAQ / ACCORDION ────────────────────────── */
.accordion {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion__item {
  border-bottom: 1px solid var(--border);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition);
  min-height: 44px;
}

.accordion__trigger:hover { color: var(--accent); }
.accordion__trigger[aria-expanded="true"] { color: var(--accent); }

.accordion__trigger .chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.accordion__trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.accordion__panel {
  overflow: hidden;
}

.accordion__panel[hidden] { display: none; }

.accordion__panel p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  padding-bottom: 18px;
  line-height: 1.75;
}

/* ─── FOOTER ─────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 28px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.footer__note {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ─── STICKY CTA ─────────────────────────────── */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  min-height: 56px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--text-on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px var(--accent-glow), 0 2px 8px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, background var(--transition), box-shadow var(--transition);
  padding: 10px 16px;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta:hover {
  background: var(--accent-light);
  box-shadow: 0 8px 28px var(--accent-glow), 0 2px 8px rgba(0,0,0,0.2);
}

.sticky-cta__label {
  font-size: 0.95rem;
  font-weight: 500;
}

.sticky-cta[aria-hidden="true"] { pointer-events: none; }

/* ─── LOGIN (future auth route) ──────────────── */
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.login-card {
  width: min(100%, 560px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 12px;
}

.login-card h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.login-card p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.login-card__note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── MOBILE FIRST BREAKPOINTS ───────────────── */
@media (min-width: 480px) {
  .container { padding-inline: 20px; }
  .section { padding-block: 64px; }
  .hero { padding-inline: 20px; }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
  }
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how__step { grid-template-columns: 50px 1fr; gap: 18px; }
}

@media (min-width: 768px) {
  :root { --topbar-h: 62px; }

  body { padding-bottom: 0; }

  .container {
    padding-inline: clamp(24px, 4vw, 48px);
  }

  .section {
    padding-block: clamp(72px, 8vw, 108px);
  }

  .topbar__inner {
    padding-inline: clamp(20px, 4vw, 48px);
  }

  .topbar__brand {
    font-size: 1.08rem;
  }

  .topbar__menu-toggle {
    display: none;
  }

  .topbar__nav {
    position: static;
    flex-direction: row;
    align-items: center;
    max-height: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-bottom: none;
    background: transparent;
    padding: 0;
    pointer-events: auto;
    gap: 6px;
  }

  .topbar__link {
    width: auto;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    padding: 8px 16px;
    border-radius: var(--radius-full);
  }

  .topbar__link:hover,
  .topbar__link:focus-visible {
    border-color: var(--border-strong);
    transform: translateY(-1px);
  }

  .topbar__link:active {
    transform: translateY(0);
  }

  .hero {
    justify-content: flex-start;
    --hero-vpad-top: calc(var(--topbar-h) + 8px);
    --hero-vpad-bottom: 18px;
    padding: var(--hero-vpad-top) clamp(24px, 4vw, 56px) var(--hero-vpad-bottom);
  }

  .hero__content {
    gap: clamp(8px, 1.1vh, 14px);
  }

  .hero__orb {
    filter: blur(80px);
    opacity: 0.35;
  }

  .hero__orb--1 {
    width: 560px;
    height: 560px;
    top: -180px;
    right: -180px;
  }

  .hero__orb--2 {
    width: 360px;
    height: 360px;
    bottom: -90px;
    left: -130px;
  }

  .hero__brand-image {
    max-width: min(100%, clamp(520px, 84vw, 1400px));
    max-height: min(100%, clamp(320px, 66vh, 900px));
  }

  .hero-metrics {
    margin-bottom: 0;
    margin-top: clamp(10px, 1.2vh, 16px);
  }

  .hero-metric {
    padding: 12px 16px;
  }

  .hero-metric__value {
    font-size: clamp(1.6rem, 2.3vh, 2.3rem);
  }

  .hero-metrics__status {
    font-size: 0.86rem;
    margin-top: -4px;
    margin-bottom: 0;
  }

  .hero .cta-primary {
    padding: clamp(12px, 1.4vh, 16px) clamp(24px, 2.3vw, 36px);
    font-size: clamp(0.98rem, 1vw, 1.08rem);
    margin-top: clamp(12px, 1.6vh, 20px);
    margin-bottom: clamp(36px, 5vh, 62px);
  }

  .hero__scroll-hint {
    display: block;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: var(--text-muted);
    animation: bounce 2.4s ease-in-out infinite;
    opacity: 0.7;
  }

  .features__grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 20px;
  }

  .feature-card {
    padding: 28px;
  }

  .shop__actions {
    margin-top: 26px;
  }

  .shop__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .shop-product__body {
    padding: 16px;
  }

  .how__step {
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 28px 0;
  }

  .safety__item {
    padding: 20px 24px;
    gap: 14px;
  }

  .accordion__trigger {
    padding: 22px 0;
  }

  .accordion__panel p {
    padding-bottom: 22px;
  }

  .footer {
    padding-block: 40px;
  }

  .footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: center;
    justify-content: space-between;
  }

  .sticky-cta {
    left: auto;
    right: 24px;
    bottom: 28px;
    width: 60px;
    min-height: 60px;
    padding: 0;
    border-radius: 50%;
    transform: scale(0.7);
    transition: opacity 240ms ease, transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1), background var(--transition), box-shadow var(--transition);
  }

  .sticky-cta.is-visible {
    transform: scale(1);
  }

  .sticky-cta:hover {
    transform: scale(1.07);
  }

  .sticky-cta__label {
    display: none;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: clamp(28px, 4vw, 64px);
  }

  .section {
    padding-block: clamp(84px, 8vw, 128px);
  }
}
