/* ═══════════════════════════════════════════════
   Bandanize Landing — Base Styles
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ── Design tokens ── */
:root {
  --bg: #0b0b0c;
  --panel: #151518;
  --ink: #ededed;
  --muted: #a3a3a4;
  --lime: #a3e635;
  --pink: #fd87a1;
  --line: #2b2b31;
}

/* ── Reset ── */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 5px;
}

/* ── Skip link (accessibility) ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--lime);
  color: #0b0b0c;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  left: 0;
}

/* ── Header ── */
header {
  height: 94px;
  max-width: 1440px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -1.3px;
}

.brand img {
  width: 51px;
  height: 58px;
  object-fit: contain;
  margin-left: -9px;
}

.brand > span {
  font-size: 12px;
  align-self: flex-start;
  margin-top: 14px;
  margin-left: 3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.language-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.language-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 3px;
}

.language-switch button[aria-pressed=true] {
  background: var(--ink);
  color: var(--bg);
}

nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: #d1d3cb;
}

nav a:hover, .text-link:hover { color: var(--lime); }

/* ── Buttons ── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: var(--lime);
  color: #10130b;
  padding: 19px 24px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--lime);
  border-radius: 5px;
  transition: transform .2s, background .2s;
}

.button:hover {
  transform: translateY(-3px);
  background: #b7f342;
  box-shadow: 5px 5px 0 #fd87a155;
}

.button span { font-size: 23px; line-height: 1; }
.button.small { font-size: 14px; padding: 12px 17px; }
.button [data-copy] { font-size: inherit; line-height: inherit; }

.text-link { font-size: 14px; }
.text-link span { margin-left: 12px; }
.text-link > [data-copy] { margin: 0; }

/* ── Hero ── */
.hero {
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  padding: 83px 5% 125px;
  overflow: hidden;
  min-height: 695px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.asterisk { color: var(--lime); font-size: 24px; }

h1, h2, h3, p { margin: 0; }

h1, h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
}

h1 {
  font-size: clamp(64px, 6.4vw, 98px);
  line-height: .99;
  margin: 25px 0;
  white-space: nowrap;
}

h1 > span { color: var(--lime); }
h1 > [data-copy] { color: var(--ink); }
h1 > [data-copy] > span { color: var(--lime); }

.hero-copy > p {
  color: var(--muted);
  max-width: 465px;
  font-size: 17px;
  line-height: 1.8;
}

.hero-copy p strong { font-weight: 500; color: var(--ink); }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 31px 0;
}

.text-link span { margin-left: 12px; }

.byline {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 34px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  border-left: 2px solid var(--pink);
  padding-left: 14px;
}

.byline strong { font-weight: 500; color: #dbddd4; }
.byline .mini-avatars { display: none; }

.mini-avatars {
  display: flex;
  padding-left: 5px;
}

.mini-avatars i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  margin-left: -5px;
  background: var(--pink);
  color: #20221c;
  font-style: normal;
  font-weight: 700;
}

.mini-avatars i:nth-child(2) { background: #c0b0dd; }
.mini-avatars i:nth-child(3) { background: var(--lime); }

/* ── Hero art ── */
.hero-art {
  position: relative;
  min-height: 465px;
  padding-top: 63px;
}

/* ── Ticker ── */
.ticker {
  background: var(--lime);
  color: #16200b;
  overflow: hidden;
  padding: 17px 0;
  transform: rotate(-1.4deg);
  width: 100%;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 1px;
}

.ticker > div {
  width: max-content;
  animation: marquee 35s linear infinite;
}

.ticker span { padding: 0 36px; }

/* ── Section layout ── */
.section {
  max-width: 1440px;
  margin: auto;
  padding: 105px 5%;
}

.section > .eyebrow,
.demo-intro > .eyebrow,
.how .eyebrow,
.faq .eyebrow {
  color: var(--lime);
  margin-bottom: 23px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 65px;
  align-items: end;
  margin-bottom: 49px;
}

h2 {
  font-size: 58px;
  line-height: 1.04;
}

h2 span { color: #8e9485; }
h2 > [data-copy] { color: var(--ink); }
h2 > [data-copy] > span { color: #8e9485; }

.section-title > p {
  max-width: 365px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  padding: 31px 27px 34px;
  border-right: 1px solid var(--line);
}

.feature-grid article:first-child { padding-left: 0; }
.feature-grid article:last-child { border-right: 0; padding-right: 0; }

.feature-number {
  font-size: 12px;
  color: #9ca28f;
  letter-spacing: 1.3px;
}

.feature-grid h3 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -.6px;
  margin-bottom: 19px;
  margin-top: 0;
}

.feature-grid p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
}

.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.tags > span {
  font-size: 12px;
  border: 1px solid #3a3e32;
  border-radius: 4px;
  padding: 7px 8px;
  color: #c7cbbb;
}

.tags > span span {
  border: 0;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  color: inherit;
}

/* ── Product showcase ── */
.product-showcase { padding-top: 15px; }

.product-story {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 50px;
  align-items: center;
  margin-top: 60px;
}

.story-copy h3 {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 52px;
  line-height: 1.04;
  margin: 24px 0;
  letter-spacing: -.5px;
}

.story-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.product-story.reverse {
  grid-template-columns: 1.25fr .75fr;
  margin-top: 70px;
}

.reverse .story-copy { grid-column: 2; grid-row: 1; }
.reverse .art-stage { grid-column: 1; grid-row: 1; }

/* ── How it works ── */
.how {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.mascot-panel {
  background: transparent;
  position: relative;
  overflow: visible;
  border-radius: 5px;
  transform: none;
}

.mascot-panel img {
  width: 100%;
  display: block;
  padding: 0 0 42px;
}

.mascot-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 11px;
  letter-spacing: 1.3px;
  color: var(--muted);
}

.how h2 { font-size: 54px; }

.how ol {
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.how li {
  counter-increment: step;
  position: relative;
  padding: 23px 0 20px 48px;
  border-bottom: 1px solid var(--line);
}

.how li::before {
  content: '0' counter(step);
  position: absolute;
  left: 0;
  color: var(--pink);
  font-size: 14px;
  top: 25px;
}

.how li b { font-size: 18px; }

.how li p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
  margin-top: 9px;
}

/* ── FAQ ── */
.faq {
  display: grid;
  grid-template-columns: .65fr 1fr;
  gap: 90px;
  padding-top: 20px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}

.faq summary {
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.faq summary::after {
  content: '+';
  color: var(--lime);
  font-size: 24px;
  line-height: 1;
}

.faq details[open] summary::after { content: '−'; }

.faq details p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 17px;
}

/* ── CTA / Closing ── */
.closing {
  text-align: center;
  background: var(--pink);
  color: #171b11;
  padding: 75px 24px 67px;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '✳';
  font: 400 450px/1 sans-serif;
  position: absolute;
  right: -100px;
  top: -60px;
  color: #1515180b;
  animation: vinyl-turn 40s linear infinite;
  pointer-events: none;
}

.closing > * { position: relative; }
.closing .eyebrow { justify-content: center; font-size: 11px; }

.closing h2 {
  font-size: clamp(48px, 6vw, 84px);
  margin: 26px 0 31px;
}

.closing h2 span { color: inherit; }
.closing h2 > [data-copy],
.closing h2 > [data-copy] > span { color: inherit; }

.closing .button {
  background: #171b11;
  color: var(--ink);
  border-color: #171b11;
  min-width: 230px;
}

.closing p { font-size: 13px; margin-top: 23px; }

/* ── Footer ── */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: auto;
  padding: 30px 5%;
}

footer p,
footer > a:last-child { font-size: 12px; color: var(--muted); }

.footer-copy { font-size: 11px; color: var(--muted); }

/* ── Keyframes ── */
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Responsive: Large ── */
@media (min-width: 1500px) {
  .hero { padding-top: 100px; padding-bottom: 120px; }
}

@media (min-width: 1001px) {
  .hero h1 { font-size: clamp(64px, 6.2vw, 90px); }
}

@media (min-width: 1001px) and (max-width: 1200px) {
  .hero h1 { font-size: 70px; }
}

/* ── Responsive: Tablet ── */
@media (max-width: 1050px) {
  nav { gap: 18px; }
  .hero { gap: 20px; }
  .hero-art { transform: scale(.92); transform-origin: center; }
  .hero-actions { gap: 15px; }
  .hero-actions .button { font-size: 13px; padding: 17px; }
  .hero h1 { font-size: 76px; }
  .how { gap: 40px; }
}

/* ── Responsive: Mobile ── */
@media (max-width: 1000px) {
  header { height: 77px; padding: 0 6%; }
  header nav { display: none; }
  .brand { font-size: 23px; }
  header .button { font-size: 11px; padding: 10px; gap: 9px; }
  .header-actions { gap: 12px; }

  .hero { display: block; padding: 45px 6% 55px; }
  .hero h1 { font-size: clamp(60px, 12vw, 88px); }
  .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { gap: 20px; flex-wrap: wrap; }
  .hero-art { margin: 25px auto 0; max-width: 500px; min-height: 448px; transform: scale(.97); }

  .section { padding: 65px 6%; }
  .section-title { display: block; margin-bottom: 30px; }
  .section-title p { margin-top: 24px; max-width: none; font-size: 15px; }
  h2 { font-size: 46px; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article,
  .feature-grid article:first-child,
  .feature-grid article:last-child {
    padding: 27px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature-grid article:last-child { border-bottom: 0; }
  .feature-grid h3 { margin-top: 21px; }
  .feature-grid p { max-width: 450px; }
  .feature-detail { max-width: 380px; }

  .product-story,
  .product-story.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 45px;
  }
  .reverse .story-copy,
  .reverse .art-stage { grid-column: auto; grid-row: auto; }
  .story-copy h3 { font-size: 44px; }
  .product-showcase { padding-top: 15px; }

  .how { grid-template-columns: 1fr; gap: 40px; }
  .mascot-panel { max-width: 450px; margin: auto; }
  .how h2 { font-size: 46px; }

  .faq { grid-template-columns: 1fr; gap: 24px; padding-top: 15px; }
  .faq h2 br { display: none; }
  .faq h2 span { margin-left: 8px; }

  .closing { padding: 60px 6%; }
  .closing h2 { font-size: 56px; }
  .closing .eyebrow { font-size: 9px; }

  footer { flex-wrap: wrap; gap: 15px; }
  footer p:not(.footer-copy) { display: none; }
}

/* ── Responsive: Small ── */
@media (max-width: 500px) {
  header { padding: 0 5%; }
  .brand { font-size: 20px; }
  .brand img { width: 42px; }
  .header-actions { gap: 8px; }
  .language-switch button { padding: 6px; font-size: 11px; }
  header .button { padding: 10px; font-size: 12px; gap: 7px; }
  .hero h1 { font-size: clamp(46px, 14.7vw, 59px); }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 59px; }
  .hero-art { margin-left: -8px; margin-right: -8px; }
  .hero-actions { gap: 18px; }
  .hero-actions .button { font-size: 13px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker > div { animation: none; }
  * { transition: none !important; }
}
