/* ============================================================
   Peakward — landing page styles (loaded after styles.css)
   ============================================================ */

/* ---- top nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: var(--border);
}
.nav__in { display: flex; align-items: center; gap: var(--s5); height: 64px; }
.logo {
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .04em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.logo .mark {
  width: 24px; height: 24px; background: var(--red); display: inline-block;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.nav__links { display: flex; gap: var(--s5); margin-left: auto; align-items: center; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav__links a:hover { color: var(--red); }
.nav__toggle { display: none; }
@media (max-width: 860px) {
  /* Row 1: logo + theme + CTA (always visible). Row 2: section links, scrollable. */
  .nav__in { flex-wrap: wrap; height: auto; padding-block: 10px; gap: 10px var(--s3); }
  .nav__in .themebtn { margin-left: auto; }
  .nav__links {
    order: 3; width: 100%; margin-left: 0; gap: var(--s5);
    overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px;
  }
  .nav__links a { font-size: .88rem; white-space: nowrap; }
}

/* ---- hero ---- */
.hero { padding: var(--s9) 0 var(--s8); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s7); align-items: center; }
.hero__art { position: relative; }
.hero__art::before {
  content: ""; position: absolute; inset: 18px -14px -14px 18px;
  background: var(--red); border: 2px solid var(--line); z-index: 0;
}
.hero__art .preview { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  text-transform: uppercase; letter-spacing: -.03em;
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); margin: var(--s5) 0 var(--s6); max-width: 36ch; }
.hero__cta { display: flex; gap: var(--s3); flex-wrap: wrap; }
.hero__note { margin-top: var(--s4); font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) {
  .hero { padding: var(--s7) 0; }
  .hero__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .hero__art { order: -1; }
}

/* diagonal band */
.band {
  background: var(--ink); color: var(--paper);
  padding: var(--s6) 0; margin: var(--s8) 0;
  border-block: var(--border);
}
.band .wrap { display: flex; flex-wrap: wrap; gap: var(--s6); align-items: baseline; justify-content: space-between; }
.band .stat b { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.8rem); display: block; }
.band .stat span { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }

/* ---- generic section ---- */
main { counter-reset: sec; }
.section { padding: var(--s8) 0; }
.section__head { max-width: 60ch; margin-bottom: var(--s6); counter-increment: sec; position: relative; }
.section__head::before {
  content: counter(sec, decimal-leading-zero);
  position: absolute; right: 0; top: -.35em;
  font-family: var(--display); font-weight: 700; font-size: clamp(3.2rem, 9vw, 6rem);
  line-height: 1; color: var(--ink); opacity: .07; pointer-events: none;
}
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; margin-top: var(--s3); }
.section__head p { color: var(--ink-soft); font-size: 1.05rem; margin-top: var(--s3); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); counter-reset: step; }
.step { border: var(--border); border-radius: var(--r-lg); padding: var(--s5); background: var(--surface); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--red);
  display: block; margin-bottom: var(--s3);
}
.step h3 { font-size: 1.15rem; margin-bottom: var(--s2); text-transform: uppercase; }
.step p { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* method pillars */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
.pillar {
  border: var(--border); border-radius: var(--r-lg); padding: var(--s5);
  background: var(--surface); position: relative; transition: transform .12s, box-shadow .12s;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pillar h3 { font-size: 1.1rem; margin-bottom: var(--s2); }
.pillar p { color: var(--ink-soft); font-size: .93rem; }
.pillar .n { position: absolute; top: var(--s4); right: var(--s5); font-family: var(--display); color: var(--hair); font-size: 1.4rem; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* audience row */
.aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.aud div {
  border: var(--border); border-radius: var(--r); padding: var(--s5) var(--s4);
  text-align: center; font-family: var(--display); font-weight: 700;
  text-transform: uppercase; font-size: .9rem; letter-spacing: .03em; background: var(--surface);
  box-shadow: 4px 4px 0 var(--line);
}
.aud__sub {
  display: block; margin-top: 6px; font-family: var(--serif); font-style: italic;
  font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--muted);
}
@media (max-width: 760px) { .aud { grid-template-columns: 1fr 1fr; } }

/* preview mock */
.preview { border: var(--border); border-radius: var(--r-lg); background: var(--surface); padding: var(--s5); box-shadow: var(--shadow-lg); }
.preview h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s3); }

/* FAQ */
.faq details {
  border-bottom: var(--border); padding: var(--s4) 0;
}
.faq summary {
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-soft); margin-top: var(--s3); }

/* community CTA */
.cta-band {
  border: var(--border); border-radius: var(--r-lg); background: var(--red); color: #fff;
  padding: var(--s7); text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); text-transform: uppercase; }
.cta-band p { margin: var(--s3) auto var(--s5); max-width: 44ch; opacity: .95; }
.cta-band .btn { --bg: #fff; --fg: var(--ink); border-color: #fff; }

/* footer */
.foot { border-top: var(--border); padding: var(--s7) 0 var(--s8); margin-top: var(--s8); font-size: .9rem; }
.foot__grid { display: flex; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; display: block; margin-top: var(--s2); }
.foot a:hover { color: var(--red); }
.foot .disclaimer { max-width: 52ch; color: var(--muted); }

/* article list on landing */
.reads { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.reads a {
  border: var(--border); border-radius: var(--r-lg); padding: var(--s5);
  text-decoration: none; background: var(--surface); font-family: var(--display); font-weight: 700;
  transition: transform .12s, box-shadow .12s;
}
.reads a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--red); }
@media (max-width: 760px) { .reads { grid-template-columns: 1fr; } }
