/* ─────────────────────────────────────────────────────────
   Go board · smoke-test landing page.
   Dark gallery palette tuned to the renders (charcoal studio bg).
   Inter + Space Mono. The product and the color do the work.
   ───────────────────────────────────────────────────────── */

:root {
  --bg:        #0E0F11;        /* near-black, cool, matches render gradient */
  --bg-2:      #15171A;        /* raised section */
  --panel:     #1B1E22;        /* card / input fields */
  --text:      #F3F2EE;        /* soft white */
  --muted:     #8C9097;        /* cool stone gray */
  --muted-2:   #C3C6CB;        /* brighter secondary text */
  --line:      rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.24);
  --light:     #FFFFFF;

  --sans:    "Inter", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:    "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad-x:   clamp(20px, 4vw, 56px);
  --pad-y:   clamp(96px, 12vw, 176px);

  --rule-w:  1px;

  /* Subtle Go-grid texture (see .grid-bg). */
  --grid-line: rgba(255, 255, 255, 0.05);
  --grid-cell: 46px;
}

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

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  animation: page-enter 600ms ease-out both;
}

@keyframes page-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { animation: none; }
  .gallery__strip { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Subtle Go-grid texture. Drawn behind content via a masked ::before so it
   fades out at the section edges and never interferes with text or images. */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-cell) var(--grid-cell);
  background-position: center;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}


/* ── Type primitives ───────────────────────────────────── */

/* Emphasis: tone shift, no italic. */
em {
  font-style: normal;
  font-weight: inherit;
  font-family: inherit;
  color: var(--muted-2);
}

.section-title {
  font-size: clamp(32px, 4.2vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0 0 clamp(40px, 5vw, 72px) 0;
  color: var(--text);
}
.section-title em { color: var(--muted); }

.mono {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Wordmark placeholder. Swapped for an <img> once the brand exists. */
.wordmark {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
}


/* ─────────────────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────────────────── */
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px var(--pad-x);
  background: var(--bg);
  border-bottom: var(--rule-w) solid var(--line);
}
.nav__brand { display: block; }


/* ─────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 6fr 6fr;
  align-items: stretch;
  min-height: calc(100vh - 73px);
  border-bottom: var(--rule-w) solid var(--line);
}

.hero__copy {
  padding: clamp(28px, 4vw, 56px) var(--pad-x) clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 40px;
}

.hero__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 720px;
}
.hero__title {
  font-size: clamp(48px, 6.2vw, 92px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.94;
  margin: 0;
}
.hero__title em { color: var(--muted-2); }
.hero__pitch {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-2);
  margin: 0;
  max-width: 42ch;
}

.hero__art {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ── Signup form ───────────────────────────────────── */
.signup { max-width: 480px; }

.signup__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: var(--rule-w) solid var(--line-strong);
}
.signup__price-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.signup__price-num {
  font-family: var(--mono);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.signup__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  background: var(--panel);
  border: var(--rule-w) solid var(--line-strong);
  transition: border-color .15s, background .15s;
}
.signup__row:focus-within {
  border-color: var(--text);
  background: #20242a;
}

.signup__input {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 18px 16px;
  outline: none;
  min-width: 0;
}
.signup__input::placeholder { color: rgba(243, 242, 238, 0.32); }

.signup__micro {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 0 0;
  line-height: 1.6;
}
.signup__success {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin: 14px 0 0 0;
}
.signup__error {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e88;
  margin: 14px 0 0 0;
  line-height: 1.6;
}
.signup__error[hidden] { display: none; }

/* ── Buttons ───────────────────────────────────── */
.btn {
  border: 0;
  background: var(--light);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 28px;
  align-self: stretch;
  min-height: 56px;
  white-space: nowrap;
  transition: opacity .15s, transform .15s;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn:active { opacity: 0.74; transform: translateY(0); }


/* ─────────────────────────────────────────────────────────
   WHAT THIS IS: claims strip
   ───────────────────────────────────────────────────────── */
.claims {
  background: var(--bg-2);
  border-bottom: var(--rule-w) solid var(--line);
  padding: clamp(56px, 7vw, 96px) var(--pad-x);
}
.claims__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.claims__list li {
  padding: 0 clamp(20px, 2.4vw, 36px);
  border-left: var(--rule-w) solid var(--line);
}
.claims__list li:first-child { padding-left: 0; border-left: 0; }
.claims__num {
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}
.claims__list p {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
}


/* ─────────────────────────────────────────────────────────
   WAVE DIAGRAM
   ───────────────────────────────────────────────────────── */
.diagram {
  background: var(--bg);
  border-bottom: var(--rule-w) solid var(--line);
  padding: var(--pad-y) var(--pad-x);
}
.diagram .section-title { margin-bottom: clamp(20px, 2.5vw, 32px); }
.diagram__intro {
  max-width: 58ch;
  margin: 0 0 clamp(40px, 5vw, 64px) 0;
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--muted-2);
}
.diagram__views {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 32px);
}
.diagram__views figure {
  margin: 0;
  background: #000;
  border: var(--rule-w) solid var(--line);
  padding: 0;
}
.diagram__views img { width: 100%; height: auto; display: block; }


/* ─────────────────────────────────────────────────────────
   CRAFT: shots + captions
   ───────────────────────────────────────────────────────── */
.craft {
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 72px);
}
.craft figure { margin: 0; }
.craft img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-2);
  border: var(--rule-w) solid var(--line);
}
.craft__cap {
  margin: 18px 0 0 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
}
.craft__cap .mono {
  color: var(--muted);
  margin-right: 12px;
}
.craft__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}


/* ─────────────────────────────────────────────────────────
   MAKER STORY
   ───────────────────────────────────────────────────────── */
.story {
  background: var(--bg-2);
  border-top: var(--rule-w) solid var(--line);
  border-bottom: var(--rule-w) solid var(--line);
  padding: var(--pad-y) var(--pad-x);
  display: grid;
  justify-items: center;
}
.story__body {
  max-width: 58ch;
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--muted-2);
}
.story__body p { margin: 0 0 1.1em 0; }
.story__body p:last-child { margin-bottom: 0; }
.story__body p:first-child { color: var(--text); }
.story__founder { color: var(--muted); }


/* ─────────────────────────────────────────────────────────
   COLORWAY GALLERY (swatch filter + masonry + lightbox)
   ───────────────────────────────────────────────────────── */
.gallery {
  padding: var(--pad-y) var(--pad-x);
}
.gallery .section-title { margin-bottom: clamp(20px, 2.5vw, 32px); }
.gallery__micro {
  margin: 0 0 clamp(28px, 3.5vw, 44px) 0;
  max-width: 52ch;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.5;
  color: var(--muted-2);
}

.gallery__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 clamp(28px, 3.5vw, 44px) 0;
}
.swatch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  background: var(--bg-2);
  border: var(--rule-w) solid var(--line-strong);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.swatch:hover { color: var(--text); }
.swatch[aria-selected="true"] {
  border-color: var(--text);
  color: var(--text);
  background: var(--panel);
}
.swatch__chip {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}

/* Horizontal filmstrip: fixed height, natural widths, scroll-snap.
   Mixed aspect ratios stay clean because the height is constant. */
.gallery__viewport { position: relative; }
.gallery__strip {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.gallery__strip::-webkit-scrollbar { height: 8px; }
.gallery__strip::-webkit-scrollbar-track { background: transparent; }
.gallery__strip::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }
.gallery__strip figure {
  flex: 0 0 auto;
  height: clamp(240px, 44vh, 460px);
  margin: 0;
  scroll-snap-align: start;
  border: var(--rule-w) solid var(--line);
  background: var(--bg-2);
  cursor: zoom-in;
  transition: border-color .15s;
}
.gallery__strip figure:hover { border-color: var(--line-strong); }
.gallery__strip figure:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
  border-color: var(--line-strong);
}
.gallery__strip img { height: 100%; width: auto; display: block; }

/* Scroll buttons (hidden for touch, which swipes) */
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 15, 17, 0.82);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border: var(--rule-w) solid var(--line-strong);
  color: var(--text);
  font-family: var(--mono);
  font-size: 18px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.gallery__nav:hover { background: rgba(20, 22, 26, 0.96); border-color: var(--text); }
.gallery__nav--prev { left: 8px; }
.gallery__nav--next { right: 8px; }
@media (hover: none) {
  .gallery__nav { display: none; }
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 64px);
  background: rgba(8, 9, 10, 0.93);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: var(--rule-w) solid var(--line);
}
.lightbox__btn {
  position: absolute;
  background: transparent;
  border: var(--rule-w) solid var(--line-strong);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
}
.lightbox__btn:hover { background: rgba(255,255,255,0.08); border-color: var(--text); }
.lightbox__btn--close { top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); }
.lightbox__btn--prev  { left: clamp(12px, 3vw, 28px);  top: 50%; transform: translateY(-50%); }
.lightbox__btn--next  { right: clamp(12px, 3vw, 28px); top: 50%; transform: translateY(-50%); }


/* ─────────────────────────────────────────────────────────
   IN THE BOX
   ───────────────────────────────────────────────────────── */
.box {
  background: var(--bg-2);
  border-top: var(--rule-w) solid var(--line);
  padding: var(--pad-y) var(--pad-x);
}
.box__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
}
.box__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-top: var(--rule-w) solid var(--line);
  font-size: clamp(16px, 1.7vw, 20px);
  letter-spacing: -0.01em;
}
.box__list li:first-child { border-top: var(--rule-w) solid var(--line-strong); }
.box__n { color: var(--muted); }
.box__note {
  color: var(--muted);
  margin: 28px 0 0 0;
}


/* ─────────────────────────────────────────────────────────
   PRICING + EDITION
   ───────────────────────────────────────────────────────── */
.pricing {
  padding: var(--pad-y) var(--pad-x);
  border-top: var(--rule-w) solid var(--line);
}
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 880px;
}
.pricing__sku {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 0 36px 0;
  border-top: var(--rule-w) solid var(--line-strong);
  padding-top: 28px;
}
.pricing__sku + .pricing__sku { border-left: var(--rule-w) solid var(--line); padding-left: clamp(24px, 4vw, 56px); }
.pricing__label { color: var(--muted); }
.pricing__num {
  font-family: var(--mono);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.pricing__line {
  max-width: 56ch;
  margin: clamp(28px, 3.5vw, 44px) 0 0 0;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.5;
  color: var(--muted-2);
}


/* ─────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────── */
.faq {
  background: var(--bg-2);
  padding: var(--pad-y) var(--pad-x);
  border-top: var(--rule-w) solid var(--line);
}
.faq__list { margin: 0; padding: 0; }
.faq__list > div {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(24px, 5vw, 80px);
  padding: 28px 0;
  border-top: var(--rule-w) solid var(--line);
  align-items: baseline;
}
.faq__list > div:first-child { border-top: var(--rule-w) solid var(--line-strong); }
.faq__list dt {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.faq__list dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}


/* ─────────────────────────────────────────────────────────
   SECOND CAPTURE
   ───────────────────────────────────────────────────────── */
.capture {
  border-top: var(--rule-w) solid var(--line);
  padding: var(--pad-y) var(--pad-x);
  display: grid;
  justify-items: start;
}
.capture__inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.capture .section-title { margin-bottom: clamp(28px, 3.5vw, 44px); }
.capture__price-block { margin: 0 0 clamp(28px, 3.5vw, 44px) 0; }
.capture__price {
  font-family: var(--mono);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 12px 0;
  color: var(--text);
}
.capture__line { color: var(--muted); margin: 0; }
.capture__form { width: 100%; max-width: 520px; margin: 0; }


/* ─────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  color: var(--muted);
  border-top: var(--rule-w) solid var(--line);
  padding: clamp(80px, 10vw, 140px) var(--pad-x) 32px;
  display: grid;
  gap: clamp(56px, 7vw, 96px);
}

.footer__mark {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}
.footer__wordmark { font-size: clamp(15px, 2.4vw, 22px); }
.footer__tagline { margin: 0; color: var(--muted-2); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 48px);
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  border-top: var(--rule-w) solid var(--line);
  border-bottom: var(--rule-w) solid var(--line);
  padding: clamp(36px, 5vw, 56px) 0;
}
.footer__col-label {
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}
.footer__cols p {
  margin: 0 0 6px 0;
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: -0.005em;
}
.footer__cols a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}


/* ─────────────────────────────────────────────────────────
   SMOKE-TEST CONVERSION + UX COMPONENTS
   ───────────────────────────────────────────────────────── */

/* Waitlist momentum line (hidden until the count is worth showing). */
.proof {
  margin: 14px 0 0 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.proof[hidden] { display: none; }
.proof::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #6fcf86;
  vertical-align: middle;
}

/* Edition / scarcity module. */
.edition {
  max-width: 520px;
  margin: 0 0 clamp(28px, 3.5vw, 44px) 0;
}
.edition__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.edition__label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.edition__count {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.edition__track {
  height: 2px;
  margin: 12px 0 10px;
  background: linear-gradient(90deg, var(--text) 0%, var(--line-strong) 60%, transparent 100%);
}
.edition__note {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Persistent mobile CTA bar. */
.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;            /* shown only on small screens (media query below) */
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--pad-x);
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(14, 15, 17, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: var(--rule-w) solid var(--line-strong);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.cta-bar--show { transform: translateY(0); }
.cta-bar__price {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.cta-bar__btn {
  background: var(--light);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 22px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .cta-bar { display: flex; }
}

/* Gallery edge fades: signal there is more of the strip to scroll. */
.gallery__viewport::before,
.gallery__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 14px;            /* clear the scrollbar gutter */
  width: clamp(32px, 6vw, 64px);
  z-index: 2;
  pointer-events: none;
  transition: opacity .2s ease;
}
.gallery__viewport::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.gallery__viewport::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.gallery__viewport.is-start::before { opacity: 0; }
.gallery__viewport.is-end::after   { opacity: 0; }

/* Scroll-reveal. Only active once JS adds .reveal-ready, which it skips for
   reduced-motion and when IntersectionObserver is unavailable, so content
   is never left hidden. */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
}
.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* ─────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__art {
    aspect-ratio: 16 / 10;
    order: -1;
  }
  .hero__art img { aspect-ratio: 16 / 10; }
  .hero__copy {
    padding: 28px var(--pad-x) 44px;
    justify-content: flex-start;
    gap: 28px;
  }
  .hero__body { gap: 22px; }

  .claims__list { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .claims__list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .claims__list li:nth-child(3) { padding-left: 0; }

  .craft__pair { grid-template-columns: 1fr; }
  .diagram__views { grid-template-columns: 1fr; }

  .pricing__grid { grid-template-columns: 1fr; }
  .pricing__sku + .pricing__sku { border-left: 0; padding-left: 0; border-top: var(--rule-w) solid var(--line); }

  .faq__list > div { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 520px) {
  .signup__row { grid-template-columns: 1fr; }
  .btn { width: 100%; min-height: 52px; }
  .claims__list { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
}
