/* ─────────────────────────────────────────────
   POWDER — measured design tokens
   bg #000 · text #fff3f0 · muted rgba(255,255,255,.65)
   layers #171717d9 #262626d9 · hairline #ffffff1a
   dusk hero: radial-gradient(200% 83% at 50% 0,
     #1b2228 0%, #353f44 42%, #d39794 100%)
   accent teal #177275 · salmon #d39794
   Inter (H1 56px/500/-2.24px) · Inter Display · Fragment Mono
   ───────────────────────────────────────────── */

@font-face { font-family: Inter; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/UjlFhCnUjxhNfep4oYBPqnEssyo.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/yDtI2UI8XcEg1W2je9XPN3Noo.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/bHYNJqzTyl2lqvmMiRRS6Y16Es.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/iwWTDc49ENF2tCHbqlNARXw6Ug.woff2") format("woff2"); }
@font-face { font-family: "Fragment Mono"; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/4iCr6K5wfMRRjxp0DA6-2CLnB4NHhg.woff2") format("woff2"); }

:root {
  --bg: #000;
  --ink: #fff3f0;
  --muted: rgba(255, 255, 255, .65);
  --layer-1: rgba(23, 23, 23, .85);
  --layer-2: rgba(38, 38, 38, .85);
  --hairline: rgba(255, 255, 255, .1);
  --hairline-2: rgba(255, 255, 255, .25);
  --teal: #177275;
  --salmon: #d39794;
  --dusk: radial-gradient(200% 83% at 50% 0px, #1b2228 0%, #353f44 42%, #d39794 100%);
  --radius: 16px;
  --font: Inter, sans-serif;
  --font-display: "Inter Display", Inter, sans-serif;
  --mono: "Fragment Mono", monospace;
  --ease: cubic-bezier(.44, 0, .16, 1);
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; background: none; border: 0; }
img, video { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-weight: 500; letter-spacing: -.04em; }
.h1 { font-size: clamp(40px, 4.6vw, 56px); line-height: 1.3; font-weight: 500; letter-spacing: -.04em; }
.h2 { font-size: clamp(32px, 3.4vw, 40px); line-height: 1.3; font-weight: 400; }
.h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.35; font-weight: 400; letter-spacing: -.03em; }
.mono-label { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- nav (transparent, 48px, sticky) ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s var(--ease), backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(0,0,0,.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 36px; font-size: 15px; }
.nav-links a { color: var(--ink); opacity: .9; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .3s var(--ease), background .3s, opacity .3s;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff3f0; color: #111; }
.btn-light:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--hairline-2); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-play {
  width: 46px; height: 46px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid var(--hairline-2);
  backdrop-filter: blur(8px);
}

/* ---------- hero (dusk gradient) ---------- */
.hero {
  position: relative;
  background: var(--dusk);
  padding: 150px 0 0;
  text-align: center;
  overflow: hidden;
}
.hero .ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,.28);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 7px 8px 7px 16px;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 34px;
}
.hero .ticker .go {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.16);
  border-radius: 50%;
}
.hero h1 { max-width: 760px; margin: 0 auto 22px; }
.hero .sub { color: rgba(255,243,240,.85); max-width: 400px; margin: 0 auto 34px; font-size: 18px; }
.hero .cta-row { display: flex; gap: 10px; justify-content: center; margin-bottom: 84px; }

/* app mockup composite */
.hero-mockup {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: rgba(15,15,15,.85);
  border: 1px solid var(--hairline);
  border-bottom: 0;
  backdrop-filter: blur(20px);
  box-shadow: 0 -20px 80px rgba(0,0,0,.35);
  padding: 56px 64px 0;
  text-align: center;
}
.hero-mockup .m-logo { width: 34px; height: 34px; margin: 0 auto 60px; }
.hero-mockup h2 { font-family: var(--font-display); font-size: 34px; font-weight: 400; margin-bottom: 10px; }
.hero-mockup .m-sub { color: var(--muted); margin-bottom: 40px; }
.chat-box {
  background: rgba(23,23,23,.9);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 18px;
  text-align: left;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 26px;
  min-height: 96px;
}
.chip-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding-bottom: 56px; }
.m-chip {
  border: 1px solid var(--hairline);
  background: rgba(38,38,38,.7);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ink);
}

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head .mono-label { display: block; margin-bottom: 18px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* intro: big statement lines */
.intro p {
  font-size: clamp(24px, 2.6vw, 32px);
  font-family: var(--font-display);
  line-height: 1.35;
  letter-spacing: -.03em;
  color: var(--muted);
  max-width: 900px;
  margin: 0 auto 28px;
  text-align: center;
}
.intro p strong { color: var(--ink); font-weight: 400; }

/* tabs (Ask/Verify/Execute/Measure) */
.tabs-bar { display: flex; justify-content: center; gap: 6px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.tab-btn.is-active { background: var(--layer-2); border-color: var(--hairline); color: var(--ink); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade-in .5s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } }
.tab-panel img { border-radius: var(--radius); border: 1px solid var(--hairline); margin: 0 auto; }

/* why powder: feature cards */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card {
  background: var(--layer-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px;
}
.why-card h3 { font-size: 19px; font-weight: 500; margin-bottom: 8px; letter-spacing: -.02em; }
.why-card p { color: var(--muted); font-size: 15px; }

/* what you get: alternating rows */
.get-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.get-row.flip .get-media { order: 2; }
.get-media img { border-radius: var(--radius); border: 1px solid var(--hairline); }
.get-copy h3 { font-size: clamp(24px, 2.4vw, 28px); margin-bottom: 14px; }
.get-copy p { color: var(--muted); margin-bottom: 16px; font-size: 17px; }
.get-copy .mono-label { color: var(--salmon); }

/* integrations */
.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.int-card { background: var(--layer-1); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; }
.int-card h3 { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.int-card p { color: var(--muted); font-size: 14px; }

/* changelog preview */
.log-item { border-top: 1px solid var(--hairline); padding: 44px 0; display: grid; grid-template-columns: 200px 1fr; gap: 40px; }
.log-item .date { color: var(--muted); font-size: 14px; }
.log-item h3 { margin-bottom: 12px; }
.log-item p { color: var(--muted); margin-bottom: 12px; max-width: 65ch; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  background: var(--layer-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.price-card.is-featured { background: linear-gradient(180deg, rgba(23,114,117,.25), rgba(23,23,23,.85)); border-color: rgba(23,114,117,.6); }
.price-card .plan { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-bottom: 18px; }
.price-card .price { font-size: 40px; font-weight: 500; letter-spacing: -.04em; }
.price-card .per { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.price-card .desc { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.price-card li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); border-bottom: 1px dashed var(--hairline); padding-bottom: 8px; }
.price-card li span:last-child { color: var(--ink); }
.price-card .btn { margin-top: auto; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq-cats { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.faq-item { border: 1px solid var(--hairline); border-radius: 12px; background: var(--layer-1); overflow: hidden; margin-bottom: 10px; }
.faq-q { width: 100%; text-align: left; padding: 18px 20px; font-size: 16px; font-weight: 500; display: flex; justify-content: space-between; gap: 14px; cursor: pointer; }
.faq-q::after { content: "+"; color: var(--muted); font-size: 20px; transition: transform .3s var(--ease); }
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* testimonials */
.quote-row { display: grid; grid-template-columns: 378px 1fr; gap: 56px; align-items: center; }
.quote-row img { border-radius: var(--radius); }
.quote-row blockquote { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; letter-spacing: -.03em; margin-bottom: 24px; }
.quote-row figcaption { color: var(--muted); }
.quote-nav { display: flex; gap: 8px; margin-top: 28px; }
.quote-nav button {
  width: 40px; height: 40px;
  border: 1px solid var(--hairline-2);
  border-radius: 50%;
  cursor: pointer;
  transition: background .3s;
}
.quote-nav button:hover { background: rgba(255,255,255,.1); }

/* blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; background: var(--layer-1); transition: transform .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); }
.post-card img { aspect-ratio: 373/279; object-fit: cover; width: 100%; }
.post-card .post-body { padding: 20px; }
.post-card h3 { font-size: 18px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 12px; }
.post-card .meta { display: flex; gap: 12px; color: var(--muted); font-size: 13px; }

/* CTA + footer */
.cta {
  position: relative;
  text-align: center;
  padding: 140px 24px 120px;
  background: var(--dusk);
  border-radius: 24px;
  max-width: 1600px;
  margin: 0 auto 0;
  overflow: hidden;
}
.cta h2 { max-width: 620px; margin: 0 auto 18px; }
.cta p { color: rgba(255,243,240,.85); margin-bottom: 30px; }

.footer { max-width: 1600px; margin: 0 auto; padding: 72px 24px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer h4 { font-size: 14px; color: var(--muted); font-weight: 400; margin-bottom: 14px; }
.footer a { display: block; color: var(--ink); opacity: .85; font-size: 15px; padding: 4px 0; }
.footer a:hover { opacity: 1; }
.footer-img { width: 100%; border-radius: var(--radius); margin-top: 40px; opacity: .9; }
.footer-bottom { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; padding-top: 24px; }

/* article */
.article { max-width: 720px; margin: 0 auto; padding: 150px 24px 90px; }
.article h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.25; margin-bottom: 16px; }
.article .meta { color: var(--muted); margin-bottom: 32px; font-size: 14px; }
.article img { border-radius: var(--radius); margin-bottom: 32px; }
.article p { color: var(--muted); margin-bottom: 16px; font-size: 17px; }
.article h2 { font-size: 24px; margin: 30px 0 12px; }

.page-hero { padding: 150px 0 60px; text-align: center; }

/* prose/legal */
.prose { max-width: 680px; margin: 0 auto; padding: 150px 24px 90px; color: var(--muted); }
.prose h1 { color: var(--ink); font-size: 36px; margin-bottom: 24px; }
.prose h2 { color: var(--ink); font-size: 20px; margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; }

/* responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .why-grid, .int-grid, .price-grid, .post-grid { grid-template-columns: 1fr; }
  .get-row, .faq-wrap, .quote-row { grid-template-columns: 1fr; gap: 28px; }
  .get-row.flip .get-media { order: 0; }
  .log-item { grid-template-columns: 1fr; gap: 8px; }
  .section { padding: 70px 0; }
  .hero-mockup { padding: 32px 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
