/* ==========================================================================
   Gluesale — Marketing site styles
   Brand: #FF2500 (sampled from logo.png) · Font: Inter
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------ */
:root {
  /* Brand */
  --brand: #ff2500;
  --brand-600: #e21f00;
  --brand-700: #c01b00;
  --brand-tint: #fff1ee;
  --brand-tint-2: #ffe3dc;

  /* Ink & neutrals */
  --ink: #16100e;
  --text: #2b211e;
  --text-muted: #6d605b;
  --line: #efe6e3;
  --bg: #ffffff;
  --bg-soft: #fff7f5;
  --bg-dark: #190c08;

  /* Effects */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(25, 12, 8, .06), 0 1px 3px rgba(25, 12, 8, .08);
  --shadow: 0 10px 30px -12px rgba(25, 12, 8, .18);
  --shadow-lg: 0 30px 60px -20px rgba(192, 27, 0, .28);
  --ring: 0 0 0 3px rgba(255, 37, 0, .35);

  /* Fluid type scale (clamp: min, vw, max) */
  --step--1: clamp(.83rem, .79rem + .2vw, .94rem);
  --step-0: clamp(1rem, .95rem + .25vw, 1.13rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 4.6rem);

  --container: 1140px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; color: var(--ink); font-weight: 800; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- Layout helpers --------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--step--1); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section-head { max-width: 60ch; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: var(--step-3); margin-top: .6rem; }
.section-head p { color: var(--text-muted); margin-top: .9rem; font-size: var(--step-1); font-weight: 400; letter-spacing: -.01em; }
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 1000;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  --_bg: var(--brand); --_fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: var(--step-0); letter-spacing: -.01em;
  padding: .85rem 1.4rem; border-radius: var(--radius-pill);
  background: var(--_bg); color: var(--_fg);
  box-shadow: var(--shadow-sm);
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, background .2s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--brand-600); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: var(--step-1); }
.btn--ghost { --_bg: transparent; --_fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--bg-soft); box-shadow: inset 0 0 0 1.5px var(--brand-tint-2); }
.btn--light { --_bg: #fff; --_fg: var(--brand-700); }
.btn--light:hover { background: #fff; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header / nav ------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.03em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav-links a { font-weight: 600; font-size: var(--step--1); color: var(--text); transition: color .2s ease; }
.nav-links a:hover { color: var(--brand-700); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; box-shadow: var(--shadow); border-top: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.2rem;
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; transition: .28s ease;
  }
  .nav-links.is-open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .85rem .25rem; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
}

/* ---------- Hero -------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(7rem, 14vw, 10rem); padding-bottom: var(--section-y); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 50% at 85% 0%, var(--brand-tint) 0%, transparent 60%),
    radial-gradient(50% 40% at 5% 10%, var(--brand-tint) 0%, transparent 55%),
    var(--bg);
}
/* Soft animated brand blob */
.hero::after {
  content: ""; position: absolute; z-index: -2; inset: auto -8% -38% auto; width: 58vw; height: 58vw;
  background: radial-gradient(circle, rgba(255,37,0,.14), transparent 65%); filter: blur(8px);
  animation: blob-drift 18s ease-in-out infinite;
}
/* Faint dotted grid for depth */
.hero-grid::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(192,27,0,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 0%, transparent 75%);
}
.hero-grid { position: relative; }
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4%, 3%) scale(1.08); }
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: .4rem .85rem .4rem .5rem; font-size: var(--step--1); font-weight: 600; color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 18px; height: 18px; border-radius: 6px; background: #95bf47; display: grid; place-items: center; }
.hero-badge .dot svg { width: 11px; height: 11px; color: #fff; }
.hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); letter-spacing: -.035em; line-height: 1.08; }
.hero h1 .hl { display: inline-block; }
.hero h1 .hl {
  position: relative; white-space: nowrap;
  background: linear-gradient(100deg, var(--brand) 0%, #ff6a3c 45%, var(--brand) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hl-shimmer 6s ease-in-out infinite;
}
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .14em;
  background: var(--brand-tint-2); border-radius: 4px; z-index: -1;
}
@keyframes hl-shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero p.lead { margin-top: 1.1rem; font-size: var(--step-1); color: var(--text-muted); font-weight: 400; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: nowrap; gap: .75rem; margin-top: 1.8rem; }
.hero-actions .btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 420px) {
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 100%; }
  .btn--lg { padding: .9rem 1.4rem; font-size: var(--step-0); }
}
.hero-trust { margin-top: 1.4rem; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; color: var(--text-muted); font-size: var(--step--1); }
.hero-trust .stars { color: var(--brand); letter-spacing: 2px; }

/* Avatar stack */
.avatars { display: inline-flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px;
  display: grid; place-items: center; font-weight: 700; font-size: .82rem; color: #fff;
  background: var(--c, var(--brand)); border: 2px solid #fff; box-shadow: var(--shadow-sm);
}
.avatars span:first-child { margin-left: 0; }

/* Stats row */
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 2.4rem); margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-size: var(--step-2); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.hero-stats small { color: var(--text-muted); font-size: var(--step--1); margin-top: .3rem; }
@media (max-width: 860px) {
  .hero-trust, .hero-stats { justify-content: center; }
  .hero-stats { border-top: 0; padding-top: .6rem; }
}

/* Hero visual — product mock card */
.hero-visual { position: relative; }
.mock {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1rem; transform: rotate(.5deg); overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.hero-visual:hover .mock { transform: rotate(0deg) translateY(-4px); }
/* diagonal light sweep across the mock */
.mock-sheen {
  position: absolute; top: 0; left: -60%; width: 45%; height: 100%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  animation: sheen 5.5s ease-in-out 1.4s infinite;
}
@keyframes sheen { 0% { left: -60%; } 22%, 100% { left: 130%; } }
.mock-bar { display: flex; gap: 6px; padding: .25rem .25rem .8rem; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: block; }
.mock-bar i:first-child { background: #ff5f57; } .mock-bar i:nth-child(2){ background:#febc2e;} .mock-bar i:nth-child(3){background:#28c840;}
.mock img { border-radius: var(--radius); aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
.mock-float {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .85rem 1rem; display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: var(--step--1);
}
.mock-float small { display: block; color: var(--text-muted); font-weight: 500; font-size: .76rem; }
.mock-float .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-700); flex: none; }
.mock-float .ic svg { width: 18px; height: 18px; }
.mock-float--a { top: -18px; left: -26px; }
.mock-float--b { bottom: -22px; right: -18px; }
.mock-float--b .ic { background: #eaf6e0; color: #5a8a2c; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 1rem; max-width: 460px; margin-inline: auto; }
  .mock-float--a { left: -8px; } .mock-float--b { right: -4px; }
}

/* ---------- Logos / proof strip ---------------------------------------- */
.proof { border-block: 1px solid var(--line); background: var(--bg-soft); }
.proof .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.5rem; padding-block: 1.6rem; text-align: center; }
.proof p { color: var(--text-muted); font-size: var(--step--1); font-weight: 600; }
.proof .scopes { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.scope-chip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .35rem .8rem; font-size: var(--step--1); font-weight: 600; color: var(--text); }
.scope-chip b { color: var(--brand-700); }

/* ---------- Steps ------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); position: relative; }
.step { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.6rem; box-shadow: var(--shadow-sm); }
.step .num {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem;
  background: var(--brand); color: #fff; box-shadow: var(--shadow); margin-bottom: 1.1rem;
}
.step h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.step p { color: var(--text-muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Features ---------------------------------------------------- */
.features { background: var(--bg-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.6rem); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-tint-2); }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-700); margin-bottom: 1.1rem; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.card p { color: var(--text-muted); font-size: var(--step-0); }
@media (max-width: 920px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Showcase split */
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.showcase-grid.rev { direction: rtl; } .showcase-grid.rev > * { direction: ltr; }
.showcase-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.showcase-body h3 { font-size: var(--step-2); margin-bottom: .8rem; }
.showcase-body p { color: var(--text-muted); margin-bottom: 1.2rem; }
.tick-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .35rem 0; font-weight: 500; }
.tick-list li svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: .1rem; }
@media (max-width: 820px) { .showcase-grid, .showcase-grid.rev { grid-template-columns: 1fr; direction: ltr; } }

/* ---------- Pricing ----------------------------------------------------- */
.pricing-card {
  max-width: 560px; margin-inline: auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.pricing-top { background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; padding: 2rem; text-align: center; }
.pricing-top .tag { display: inline-block; background: rgba(255,255,255,.18); border-radius: var(--radius-pill); padding: .3rem .8rem; font-size: var(--step--1); font-weight: 700; margin-bottom: .8rem; }
.pricing-top .price { font-size: var(--step-4); font-weight: 800; letter-spacing: -.04em; color: #fff; line-height: 1; }
.pricing-top .price small { font-size: var(--step-1); font-weight: 600; opacity: .9; letter-spacing: normal; word-spacing: .12em; margin-left: .15em; }
.pricing-top .sub { opacity: .92; margin-top: .5rem; }
.pricing-body { padding: 2rem; }
.pricing-body .tick-list { margin-bottom: 1.5rem; }
.pricing-body .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--text-muted); font-size: var(--step--1); margin-top: 1rem; }

/* ---------- FAQ --------------------------------------------------------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; background: #fff; overflow: hidden; transition: box-shadow .2s ease, border-color .2s; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--brand-tint-2); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--ink); list-style: none; cursor: pointer; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q .chev { width: 22px; height: 22px; flex: none; color: var(--brand); transition: transform .25s ease; }
.faq-item[open] .faq-q .chev { transform: rotate(45deg); }
.faq-a { padding: 0 1.3rem 1.2rem; color: var(--text-muted); }

/* ---------- CTA band ---------------------------------------------------- */
.cta-band { position: relative; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: -40% -20% auto auto; width: 50%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 60%); }
.cta-band h2 { color: #fff; font-size: var(--step-3); }
.cta-band p { opacity: .92; margin: .9rem auto 1.8rem; max-width: 48ch; font-size: var(--step-1); font-weight: 400; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn--ghost-light { --_bg: transparent; --_fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px #fff; }

/* ---------- Footer ------------------------------------------------------ */
.site-footer { background: var(--bg-dark); color: #d7c9c4; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .brand { color: #fff; }
.site-footer p { color: #b6a59f; font-size: var(--step--1); margin-top: .9rem; max-width: 32ch; }
.footer-col h4 { color: #fff; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-col a { display: block; padding: .3rem 0; color: #c8b9b4; font-size: var(--step--1); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: var(--step--1); color: #9d8c87; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ------------------------------------------------- */
.legal { padding-top: clamp(7rem, 12vw, 9rem); padding-bottom: var(--section-y); }
.legal .container { max-width: 800px; }
.legal h1 { font-size: var(--step-3); margin-bottom: .4rem; }
.legal .updated { color: var(--text-muted); font-size: var(--step--1); margin-bottom: 2rem; }
.legal h2 { font-size: var(--step-1); margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--text); margin-bottom: .8rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; }
.legal a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }
.legal code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: .1rem .4rem; font-size: .9em; }

/* ---------- 404 --------------------------------------------------------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: 6rem; }
.nf .code { font-size: clamp(5rem, 18vw, 11rem); color: var(--brand); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.nf h1 { font-size: var(--step-2); margin: .5rem 0 1rem; }
.nf p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ---------- Scroll reveals (CSS) --------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero entrance (CSS) ---------------------------------------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(40px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes float-pop {
  from { opacity: 0; transform: scale(.7) translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes bob-a { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes bob-b { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.js [data-hero] { opacity: 0; animation: fade-up .8s cubic-bezier(.2,.7,.3,1) forwards; }
.js [data-hero]:nth-child(1) { animation-delay: .05s; }
.js [data-hero]:nth-child(2) { animation-delay: .17s; }
.js [data-hero]:nth-child(3) { animation-delay: .29s; }
.js [data-hero]:nth-child(4) { animation-delay: .41s; }
.js [data-hero]:nth-child(5) { animation-delay: .53s; }
.js [data-hero-visual] { opacity: 0; animation: pop-in .9s cubic-bezier(.2,.7,.3,1) .35s forwards; }
.js [data-float] { opacity: 0; animation: float-pop .5s ease .9s forwards; }
.js .mock-float--a { animation: float-pop .5s ease .9s forwards, bob-a 3s ease-in-out 1.5s infinite; }
.js .mock-float--b { animation: float-pop .5s ease 1.05s forwards, bob-b 3.4s ease-in-out 1.6s infinite; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js [data-hero],
  .js [data-hero-visual],
  .js [data-float],
  .js .mock-float--a,
  .js .mock-float--b,
  .hero::after,
  .hero h1 .hl,
  .mock-sheen {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .hero h1 .hl { color: var(--brand); }
  .mock-sheen { display: none; }
}
