/* Panaleads — public marketing landing page.
 *
 * Two fields alternate down the page: a deep pine-slate "night" and the warm
 * canvas. One accent hue (pine) in two values, one type family, no images and
 * no JavaScript. Colour tokens are declared per band so every component reads
 * --text / --text-soft / --accent / --rule and works on either field.
 */

/* ---------------------------------------------------------------- base --- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0F1A17;
  color: #EDEFE9;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

h1, h2, h3 { text-wrap: balance; }

p { margin: 0; }

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

.band--night {
  --bg: #0F1A17;
  --text: #EDEFE9;
  --text-soft: #A9B4AE;
  --accent: #6FBFA3;
  --rule: #2A3A35;
  background: var(--bg);
  color: var(--text);
}

.band--canvas {
  --bg: #ECEDE9;
  --text: #15181A;
  --text-soft: #4A5054;
  --accent: #1A6A57;
  --rule: #D3D5CE;
  --surface: #FFFFFF;
  background: var(--bg);
  color: var(--text);
}

.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

main > section { padding-block: clamp(64px, 9vw, 112px); }

/* The control panel belongs to the canvas region above it, so it does not
   restate that region's opening space. */
main > section.band--tight { padding-block-start: 0; }

section[id] { scroll-margin-top: 92px; }

/* ------------------------------------------------------- focus and skip --- */

/* Every focusable element sits on the night field, where --text is the bone
   ring; on canvas the same token is ink and stays legible. */
a:focus-visible {
  outline: 2px solid var(--text, #EDEFE9);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 4px;
  background: #EDEFE9;
  color: #0F1A17;
  font-weight: 600;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: 14px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.wordmark__mark { flex: none; }

.wordmark__text {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 0.9375rem;
}

.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.16s ease;
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.hero { padding-block: clamp(76px, 12vw, 150px) clamp(72px, 9vw, 116px); }

.hero__title { margin: 0; }

/* The two opening lines sit off the left edge — messages arriving out of
   order — and the payoff snaps flush to it. The indent is the argument. */
.hero__setup {
  display: block;
  max-width: 34ch;
  color: var(--text-soft);
  font-size: clamp(1rem, 2.1vw, 1.375rem);
  font-weight: 400;
  line-height: 1.45;
}

.hero__setup--far { padding-left: clamp(16px, 7vw, 92px); }

.hero__setup--near {
  padding-left: clamp(8px, 3.4vw, 46px);
  margin-top: 0.3em;
}

.hero__payoff {
  display: block;
  max-width: 15ch;
  margin-top: clamp(18px, 2.6vw, 30px);
  color: var(--text);
  font-size: clamp(2.3rem, 7vw, 4.4rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.028em;
}

.hero__lead {
  max-width: 56ch;
  margin-top: clamp(26px, 3.4vw, 40px);
  color: var(--text-soft);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.4vw, 40px);
}

/* ------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding-inline: 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn--solid {
  background: var(--text);
  color: var(--bg);
}

.btn--solid:hover { background: #FFFFFF; }

.btn--ghost {
  border-color: var(--text-soft);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--text);
  background: rgba(237, 239, 233, 0.08);
}

/* ---------------------------------------------------- two-column blocks --- */

.split {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.split__aside h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.split__note {
  max-width: 40ch;
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 1rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
    gap: clamp(48px, 6vw, 96px);
  }

  .split__aside {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

/* -------------------------------------------------------------- thread --- */

.thread {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--rule);
}

.thread > li {
  position: relative;
  padding: 0 0 clamp(24px, 3vw, 34px) clamp(20px, 3vw, 32px);
}

.thread > li:last-child { padding-bottom: 0; }

.thread > li::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0.4em;
  width: 3px;
  height: 1.15em;
  background: var(--accent);
}

.thread h3 {
  margin: 0 0 6px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.008em;
}

.thread p {
  max-width: 58ch;
  color: var(--text-soft);
  font-size: 1rem;
}

/* --------------------------------------------------------------- steps --- */

.section-title {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
}

.section-intro {
  max-width: 58ch;
  margin-top: clamp(16px, 2vw, 20px);
  color: var(--text-soft);
}

.steps {
  display: grid;
  gap: clamp(24px, 3vw, 32px);
  margin: clamp(36px, 5vw, 60px) 0 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.step__n {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
}

.step__title {
  margin: 0 0 6px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.008em;
}

.step p {
  color: var(--text-soft);
  font-size: 1rem;
}

.steps__always {
  max-width: 62ch;
  margin-top: clamp(32px, 4vw, 44px);
  padding-top: clamp(20px, 2.4vw, 24px);
  border-top: 1px solid var(--rule);
  color: var(--text-soft);
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(20px, 2.4vw, 30px);
  }
}

/* -------------------------------------------------------- capabilities --- */

.caps { margin: 0; }

.cap {
  display: grid;
  gap: 8px;
  padding-block: clamp(20px, 2.4vw, 26px);
  border-top: 1px solid var(--rule);
}

.cap:last-child { border-bottom: 1px solid var(--rule); }

.cap dt {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.008em;
}

.cap dd {
  max-width: 54ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

@media (min-width: 900px) {
  .cap {
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 40px);
  }
}

/* --------------------------------------------------------------- panel --- */

.panel {
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--rule);
  background: var(--surface);
}

.panel__title {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.018em;
}

.panel__cols {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(22px, 2.6vw, 32px);
}

.panel__cols p {
  color: var(--text-soft);
  font-size: 1rem;
}

@media (min-width: 900px) {
  .panel__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------ audience --- */

.kinds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.kinds li {
  padding-block: 14px;
  border-top: 1px solid var(--rule);
  font-size: 1.0625rem;
}

.kinds__note {
  max-width: 62ch;
  margin-top: clamp(28px, 3.2vw, 40px);
  color: var(--text-soft);
}

/* ----------------------------------------------------------- closing cta --- */

.cta { max-width: 46rem; }

.cta__title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.024em;
}

.cta__body {
  max-width: 56ch;
  margin-top: clamp(16px, 2vw, 22px);
  color: var(--text-soft);
}

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

.site-footer {
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--rule);
}

.site-footer__inner {
  display: grid;
  gap: 24px;
}

.site-footer p {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 0.9375rem;
}

.site-footer__brand p { max-width: 46ch; }

.site-footer__meta p { margin-top: 0; }

.site-footer__meta p + p { margin-top: 4px; }

@media (min-width: 760px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .site-footer__meta { text-align: right; }
}

/* ----------------------------------------------------- reduced motion --- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; }
}
