/* BrushVector — marketing site
   Dark grey + yellow brand, matching the app. Self-contained, no JS dependencies. */

:root {
  /* semantic text/surface (dark theme) */
  --ink:        #f2efe6;   /* primary text (light on dark) */
  --ink-soft:   #a7a4ae;   /* muted text */
  --paper:      #1a191e;   /* page background */
  --paper-2:    #242329;   /* raised surface */
  --white:      #26242b;   /* card surface */
  --media:      #1f1e24;   /* art / preview panels */
  --media-dk:   #141318;   /* footer / deepest */

  /* accents */
  --yellow:     #ffd23f;
  --yellow-d:   #efbd23;
  --orange:     #ff9d52;
  --orange-d:   #ec8336;
  --off:        #ece8dd;

  /* legacy names mapped onto the new palette so existing markup keeps working */
  --violet:     #ffd23f;
  --violet-d:   #efbd23;
  --coral:      #ff9d52;
  --coral-d:    #ec8336;
  --sun:        #ffd23f;
  --mint:       #ece8dd;

  --line:       rgba(255,255,255,0.10);
  --line-2:     rgba(255,255,255,0.20);

  --shadow:     0 22px 56px -20px rgba(0,0,0,0.6);
  --shadow-sm:  0 12px 30px -16px rgba(0,0,0,0.55);

  --r:   14px;
  --r-l: 22px;
  --r-xl: 32px;

  --maxw: 1160px;
  --font-display: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
code { background: rgba(255,255,255,0.08); padding: 1px 6px; border-radius: 6px; font-size: 0.9em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255,210,63,0.14);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}
.eyebrow.coral { color: var(--orange); background: rgba(255,157,82,0.16); }
.eyebrow.mint  { color: var(--off); background: rgba(236,232,221,0.12); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26,25,30,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); }
.brand .mark { width: 34px; height: 34px; flex: 0 0 34px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 8px 14px; border-radius: 100px; font-weight: 500; font-size: 0.95rem; transition: background .15s, color .15s; color: var(--ink); }
.nav-links a:hover { background: rgba(255,255,255,0.08); }
.nav-links a.active { background: var(--yellow); color: #1a191e; }
.nav-links a.cta-link { background: var(--yellow) !important; color: #1a191e !important; font-weight: 600; }
.nav-links a.cta-link:hover { background: var(--yellow-d) !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: #1a191e; }
.btn-primary:hover { background: var(--yellow-d); }
.btn-dark { background: var(--ink); color: #1a191e; }
.btn-dark:hover { background: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); }
.btn-coral { background: var(--orange); color: #1a191e; }
.btn-coral:hover { background: var(--orange-d); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero h1 .hl { color: var(--yellow); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-note { margin-top: 1.2rem; font-size: 0.9rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,210,63,0.22); }

.hero-art { aspect-ratio: 1 / 1; border-radius: var(--r-xl); background:
   radial-gradient(120% 120% at 80% 10%, rgba(255,210,63,0.22), transparent 50%),
   radial-gradient(120% 120% at 10% 90%, rgba(255,157,82,0.16), transparent 55%),
   var(--media);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  border: 1px solid var(--line);
}

/* ---------- Marquee strip ---------- */
.strip { background: var(--yellow); color: #1a191e; padding: 16px 0; overflow: hidden; position: relative; }
.strip::before, .strip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.strip::before { left: 0; background: linear-gradient(90deg, var(--yellow), rgba(255,210,63,0)); }
.strip::after { right: 0; background: linear-gradient(270deg, var(--yellow), rgba(255,210,63,0)); }
.marquee { display: flex; width: max-content; animation: bv-marquee 36s linear infinite; }
.strip:hover .marquee { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 30px; padding-right: 30px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em; white-space: nowrap; }
.marquee-group .sep { color: rgba(26,25,30,0.45); font-size: 0.8rem; transform: translateY(-1px); }
@keyframes bv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* ---------- Cards / feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 18px; color: var(--ink);
}
.ico.v { background: rgba(255,210,63,0.16); color: var(--yellow); }
.ico.c { background: rgba(255,157,82,0.16); color: var(--orange); }
.ico.s { background: rgba(255,210,63,0.20); color: var(--yellow); }
.ico.m { background: rgba(236,232,221,0.12); color: var(--off); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.flip .fr-media { order: -1; }
.fr-media {
  aspect-ratio: 4 / 3; border-radius: var(--r-l); box-shadow: var(--shadow);
  background: var(--media); position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.fr-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.fr-list li { padding: 8px 0 8px 30px; position: relative; color: var(--ink-soft); }
.fr-list li::before { content: "→"; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }
.fr-list li strong { color: var(--ink); font-weight: 600; }

/* color block panel */
.panel { border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 4rem); }
.panel.violet { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--yellow); }
.panel.ink { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.panel.paper2 { background: var(--paper-2); border: 1px solid var(--line); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 32px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price-card.feat { border: 2px solid var(--yellow); box-shadow: 0 24px 60px -22px rgba(255,210,63,0.35); position: relative; }
.price-card .tag { position: absolute; top: -13px; left: 32px; background: var(--yellow); color: #1a191e; font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; padding: 6px 14px; border-radius: 100px; }
.price-card h3 { margin-bottom: 4px; }
.price-card .sub { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 20px; }
.price-amt { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px; color: var(--ink); }
.price-amt .big { font-size: 3rem; }
.price-amt .per { font-size: 1rem; color: var(--ink-soft); font-weight: 500; }
.price-list { list-style: none; padding: 0; margin: 22px 0 26px; flex: 1; }
.price-list li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--line); font-size: 0.95rem; }
.price-list li:first-child { border-top: none; }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow); font-weight: 800; }
.price-list li.muted { color: var(--ink-soft); }
.price-list li.muted::before { content: "–"; color: var(--line-2); }

/* glide visual */
.glide { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 150px; margin-top: 14px; }
.glide .bar { background: linear-gradient(var(--yellow), var(--yellow-d)); border-radius: 6px 6px 0 0; position: relative; }
.glide .bar.free { background: repeating-linear-gradient(45deg, rgba(236,232,221,0.35), rgba(236,232,221,0.35) 5px, rgba(236,232,221,0.12) 5px, rgba(236,232,221,0.12) 10px); border: 1px dashed var(--off); }
.glide .bar span { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 0.7rem; color: var(--ink-soft); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; color: var(--yellow); }
.stat .l { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--yellow); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--media-dk); color: var(--ink); padding: 60px 0 36px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-family: var(--font-body); font-weight: 600; }
.footer a { display: block; padding: 6px 0; color: rgba(242,239,230,0.75); font-size: 0.95rem; }
.footer a:hover { color: var(--yellow); }
.footer .brand { color: var(--ink); margin-bottom: 12px; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: var(--ink-soft); }

/* page header */
.page-head { padding: clamp(3rem, 6vw, 5rem) 0 1rem; text-align: center; }
.page-head .lead { margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .grid-3, .price-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.flip .fr-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .panel.ink, .panel.violet { display: block !important; }
  .panel.ink > div, .panel.violet > div { grid-template-columns: 1fr !important; }
}
@media (max-width: 620px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 9px; font-size: 0.85rem; }
  .nav-links a.cta-link { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
