/* ============================================================
   Pons — buy PNS, earn real PONS
   ============================================================ */

:root {
  --paper:      #f6f7f3;
  --paper-2:    #eef1ea;
  --paper-3:    #e4e8de;
  --rule:       #d5dbcf;
  --ink:        #16201c;
  --ink-soft:   #5b6a62;
  --brand:      #0f2f4f;
  --brand-deep: #0a2137;
  --accent:     #2c9d79;
  --accent-hi:  #63c79e;
  --ember:      #b3610e;
  --alarm:      #d92f2f;

  --sans: "Gabarito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1120px;
  --r: 14px;
  --shadow: 0 1px 0 rgba(22, 32, 28, .04), 0 12px 32px -20px rgba(15, 47, 79, .35);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #0d1512;
    --paper-2:    #121c18;
    --paper-3:    #17231e;
    --rule:       #253128;
    --ink:        #eaf0ea;
    --ink-soft:   #97a89e;
    --brand:      #9fd8ff;
    --brand-deep: #cfe9ff;
    --accent:     #63c79e;
    --accent-hi:  #93e0bb;
    --ember:      #e8a34a;
    --shadow: 0 1px 0 rgba(0,0,0,.4), 0 16px 40px -24px rgba(0,0,0,.9);
  }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1100px 520px at 12% -8%, rgba(23, 181, 152, .13), transparent 62%),
    radial-gradient(900px 480px at 92% 2%, rgba(15, 47, 79, .12), transparent 60%);
  background-repeat: no-repeat;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------------- header ---------------- */

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.head-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 66px; flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.brand-lockup {
  display: block;
  height: 34px; width: auto;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 45%, transparent));
}

.pill {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .06em; text-transform: lowercase;
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--rule));
  color: color-mix(in srgb, var(--accent) 78%, var(--ink));
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  white-space: nowrap;
}

.head-nav {
  display: flex; gap: 20px; margin-left: auto;
  font-size: 14.5px; color: var(--ink-soft);
}
.head-nav a { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.head-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.head-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--brand); color: #f4f7f4;
  font-weight: 600; font-size: 14.5px;
  padding: 9px 16px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition: transform .15s ease, background .15s ease;
}
.cta:hover { transform: translateY(-1px); background: var(--brand-deep); }
@media (prefers-color-scheme: dark) { .cta { color: #06110d; } }

.ghost {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; color: var(--ink-soft); text-decoration: none;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper-2) 70%, transparent);
}
.ghost:hover { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 50%, var(--rule)); }

.big { font-size: 16px; padding: 13px 24px; }

/* ---------------- hero ---------------- */

.hero { padding: 74px 0 24px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .1em; text-transform: lowercase;
  color: var(--ink-soft); margin: 0 0 22px;
}

.display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.03em;
  margin: 0 0 24px;
  max-width: 16ch;
}
.display em { font-style: italic; color: var(--brand); }
@media (prefers-color-scheme: dark) { .display em { color: var(--accent-hi); } }

.tick {
  font-family: var(--mono);
  font-size: .74em; font-weight: 600;
  letter-spacing: -.02em;
  padding: 0 .16em;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 8px;
}

.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.55; color: var(--ink-soft);
  max-width: 62ch; margin: 0 0 30px;
}
.lede strong, .note strong, .empty strong, .card p strong, .faq p strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }

/* ---------------- hero campaign art ---------------- */

.hero-campaign {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 480px;
  border-radius: var(--r);
  border: 1px solid var(--rule);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34%;
  padding: 40px 28px 40px 8px;
}
.hero-copy .display { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: none; }
.hero-copy .lede { font-size: clamp(.88rem, 1.3vw, 1rem); max-width: none; margin-bottom: 22px; }
.hero-copy .eyebrow { margin-bottom: 16px; }

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  border-radius: inherit;
  overflow: hidden;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.headline-stat {
  border-top: 1px solid var(--rule);
  padding-top: 26px;
  margin-top: 48px;
}
.headline-stat .label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  color: var(--ink-soft); margin: 0 0 6px;
}
.big-number {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 12vw, 6.4rem);
  line-height: 1; font-weight: 600; letter-spacing: -.04em;
  margin: 0; color: var(--brand);
  font-variant-numeric: tabular-nums;
}
@media (prefers-color-scheme: dark) { .big-number { color: var(--accent-hi); } }
.headline-stat .sub { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; }

.stat-strip {
  list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
}
.stat-strip li { background: var(--paper-2); padding: 20px 18px; }
.stat-strip .k {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em;
  color: var(--ink-soft); margin: 0 0 8px; text-transform: lowercase;
}
.stat-strip .v {
  font-family: var(--serif); font-size: 2rem; font-weight: 600;
  letter-spacing: -.02em; margin: 0; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-strip .n { margin: 6px 0 0; font-size: 13px; color: var(--ink-soft); }

@media (max-width: 860px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stat-strip { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .hero-campaign {
    display: block;
    position: static;
    isolation: auto;
    overflow: visible;
    min-height: 0;
    border: 0;
    border-radius: 0;
  }
  .hero-copy { max-width: none; padding: 0; }
  .hero-cta { margin-bottom: 0; }
  .hero-art {
    position: static;
    display: block;
    margin-top: 28px;
    border: 1px solid var(--rule);
    border-radius: var(--r);
    overflow: hidden;
  }
  .hero-art img {
    width: 100%;
    height: auto;
    object-fit: initial;
    object-position: initial;
  }
  .headline-stat { margin-top: 40px; }
}

/* ---------------- bands ---------------- */

.band { padding: 78px 0; border-top: 1px solid var(--rule); }
.band.alt { background: color-mix(in srgb, var(--paper-2) 60%, var(--paper)); }

.band-head { max-width: 68ch; margin-bottom: 34px; }
.band-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  font-weight: 600; letter-spacing: -.028em; line-height: 1.05;
  margin: 0 0 12px;
}
.note { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }

.flywheel-art {
  display: block;
  width: 100%;
  aspect-ratio: 32 / 15;
  border-radius: var(--r);
  border: 1px solid var(--rule);
  overflow: hidden;
  margin: 0 0 20px;
}
.flywheel-art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- stages ---------------- */

.stages {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: stage;
}
.stage {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 22px 20px 24px;
  position: relative;
  box-shadow: var(--shadow);
}
.band.alt .stage { background: var(--paper); }
.stage.is-live { border-color: color-mix(in srgb, var(--accent) 55%, var(--rule)); }
.stage.is-live::before {
  content: ""; position: absolute; inset: -1px -1px auto -1px; height: 3px;
  border-radius: var(--r) var(--r) 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
}
.stage-no {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em;
  color: var(--ink-soft); margin: 0 0 14px;
}
.stage-no span { opacity: .62; }

.stage-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  overflow: hidden;
  margin: 0 0 16px;
}
.stage-image img { width: 100%; height: 100%; object-fit: cover; }
.stage h3 {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
  letter-spacing: -.02em; margin: 0 0 8px;
}
.stage p:last-child { margin: 0; color: var(--ink-soft); font-size: 14.8px; line-height: 1.55; }

@media (max-width: 940px) { .stages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stages { grid-template-columns: 1fr; } }

.idle-note {
  margin: 26px 0 0; padding: 16px 18px;
  border: 1px dashed var(--rule); border-radius: var(--r);
  color: var(--ink-soft); font-size: 14.8px;
  background: color-mix(in srgb, var(--paper-2) 55%, transparent);
}

/* ---------------- cards ---------------- */

.cards { display: grid; gap: 16px; grid-template-columns: 1.15fr 1fr; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow);
}
.card-tag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em;
  text-transform: lowercase; color: var(--accent); margin: 0 0 12px;
}
.card h3 {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600;
  letter-spacing: -.025em; line-height: 1.15; margin: 0 0 12px;
}
.card > p { margin: 0 0 20px; color: var(--ink-soft); line-height: 1.6; }

.mini { margin: 0; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.mini > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  background: var(--paper-2); padding: 11px 15px;
}
.mini dt { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.mini dd {
  margin: 0; font-family: var(--mono); font-size: 14.5px; font-weight: 500;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

.card.burn { border-color: color-mix(in srgb, var(--ember) 32%, var(--rule)); }
.card.burn .card-tag { color: var(--ember); }
.burn-figure {
  border: 1px solid color-mix(in srgb, var(--ember) 28%, var(--rule));
  border-radius: 10px; padding: 18px 18px 16px;
  background: color-mix(in srgb, var(--ember) 8%, transparent);
}
.burn-figure .k {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em;
  color: var(--ink-soft); margin: 0 0 6px;
}
.burn-figure .v {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 600;
  letter-spacing: -.03em; line-height: 1; margin: 0; color: var(--ember);
  font-variant-numeric: tabular-nums;
}
.burn-figure .n { margin: 8px 0 0; font-size: 13px; color: var(--ink-soft); }

/* ---------------- tables ---------------- */

.table-wrap {
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--paper);
  overflow-x: auto;
  box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; min-width: 620px; }
thead th {
  text-align: left; font-family: var(--mono); font-weight: 500;
  font-size: 11.5px; letter-spacing: .08em; text-transform: lowercase;
  color: var(--ink-soft); padding: 13px 16px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  white-space: nowrap;
}
tbody td {
  padding: 13px 16px; border-bottom: 1px solid var(--rule);
  font-size: 14.5px; font-variant-numeric: tabular-nums;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--accent) 6%, transparent); }
td.mono, .mono { font-family: var(--mono); }

table:not(:has(tbody tr)) { display: none; }

.empty {
  margin: 0; padding: 40px 24px; text-align: center;
  color: var(--ink-soft); font-size: 15px; line-height: 1.6;
}
.empty > strong:first-child { display: block; margin-bottom: 4px; }
.empty[hidden] { display: none; }

/* ---------------- faq ---------------- */

.faq { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.faq details { background: var(--paper); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 16px 20px; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--mono); color: var(--accent);
  font-size: 18px; line-height: 1; transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink-soft); max-width: 70ch; }

/* ---------------- footer ---------------- */

.site-foot {
  border-top: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper-2) 75%, var(--paper));
  padding-top: 54px;
}
.foot-inner {
  display: grid; gap: 32px;
  grid-template-columns: 2fr 1fr 1fr;
  padding-bottom: 40px;
}
@media (max-width: 760px) { .foot-inner { grid-template-columns: 1fr; } }

.foot-lockup { height: 44px; margin-bottom: 12px; }
.foot-brand .tag { margin: 2px 0 12px; color: var(--ink-soft); }
.foot-brand .fine { margin: 0; font-size: 13.5px; color: var(--ink-soft); max-width: 46ch; line-height: 1.6; }

.foot-h {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em;
  color: var(--ink-soft); margin: 0 0 12px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-col a { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.copy {
  appearance: none; background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 14.5px; color: var(--ink-soft); text-align: left;
  display: flex; gap: 8px; align-items: baseline;
}
.copy:hover { color: var(--ink); }
.copy .mono { font-size: 12.5px; opacity: .78; }

.foot-base {
  border-top: 1px solid var(--rule);
  padding-top: 18px; padding-bottom: 26px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-soft);
}
.foot-base p { margin: 0; }

/* ---------------- toast ---------------- */

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(8px);
  background: var(--brand); color: #f4f7f4;
  padding: 10px 18px; border-radius: 999px; font-size: 14px;
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.5);
  opacity: 0; transition: opacity .18s ease, transform .18s ease; z-index: 60;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (prefers-color-scheme: dark) { .toast { color: #06110d; } }

/* ---------------- reveal ---------------- */

.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

/* ---------------- responsive head ---------------- */

@media (max-width: 1040px) {
  .head-nav { display: none; }
}
.cta-short { display: none; }

@media (max-width: 560px) {
  .head-inner { min-height: 58px; padding-block: 8px; flex-wrap: nowrap; gap: 10px; }
  .head-actions { gap: 8px; flex: 0 0 auto; }
  .head-actions .ghost { display: none; }
  .brand { gap: 8px; min-width: 0; }
  .brand-lockup { height: 28px; }
  .pill { font-size: 10px; padding: 3px 7px; }
  .cta { font-size: 13.5px; padding: 8px 13px; gap: 5px; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .hero { padding-top: 46px; }
}

@media (max-width: 380px) {
  .brand-lockup { height: 24px; }
  .pill { display: none; }
}

/* links that have no destination yet */
.is-inert { opacity: .82; }
.is-inert:hover { opacity: 1; }
