@import url("/assets/palmera-brand.css");
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.58 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); }
main { max-width: 1160px; margin: 0 auto; padding: 0 24px 88px; }
h1, h2 { font-family: var(--heading); font-weight: 600; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(32px, 4vw, 48px); margin: 0; }
h2 { font-size: clamp(24px, 3vw, 32px); }
p { margin: 0 0 18px; }
.eyebrow { margin: 0 0 12px; color: var(--ink-2); font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.lede { max-width: 70ch; font: 24px/1.4 var(--serif); }
nav.site { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); border-bottom: 1px solid var(--rule); backdrop-filter: blur(10px); }
nav.site .bar, footer.site .bar { max-width: 1160px; min-height: 56px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
nav.site .brand { color: var(--ink); text-decoration: none; font: 600 14px/1 var(--heading); white-space: nowrap; }
nav.site .brand small { color: var(--ink-2); font: 400 12px/1 var(--sans); margin-left: 6px; }
nav.site .links, footer.site .links { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; }
nav.site .links a, footer.site .links a { color: var(--ink-2); text-decoration: none; font-size: 14px; padding: 7px 10px; border-radius: var(--radius-sm); }
nav.site .links a:hover, nav.site .links a:focus-visible, footer.site .links a:hover { color: var(--ink); background: var(--paper-2); }
nav.site .links a.on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px var(--teal); border-radius: 0; }
nav.site .links a.app-link { background: var(--teal); color: var(--paper); font-weight: 600; }
nav.site .links a.app-link:hover, nav.site .links a.app-link:focus-visible { color: var(--paper); filter: brightness(.94); }
footer.site { border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 14px; }
footer.site .bar { padding-top: 18px; padding-bottom: 18px; }
.product-path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin: 34px 0; border: 1px solid var(--rule); background: var(--rule); }
.product-path > div { background: var(--paper); padding: 19px; min-height: 150px; }
.product-path b { display: block; color: var(--teal); font: 500 12px/1.3 var(--mono); letter-spacing: .08em; margin-bottom: 10px; }
.product-path strong { display: block; font-size: 18px; margin-bottom: 8px; }
.product-path span { display: block; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.role-card { border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 25px; background: var(--paper); }
.role-card h3 { margin: 0 0 10px; font-size: 21px; }
.role-card p { color: var(--ink-2); margin-bottom: 12px; }
.role-card ul { margin-bottom: 0; }
.callout { border-left: 4px solid var(--teal); background: var(--teal-soft); padding: 18px 22px; margin: 28px 0; max-width: 84ch; }
.callout p:last-child { margin-bottom: 0; }
.steps { counter-reset: help-step; list-style: none; padding: 0; margin: 28px 0; max-width: 82ch; }
.steps > li { counter-increment: help-step; position: relative; padding: 4px 0 28px 58px; border-left: 1px solid var(--rule); margin-left: 19px; }
.steps > li::before { content: counter(help-step); position: absolute; left: -20px; top: 0; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: var(--teal); color: var(--paper); font: 600 14px var(--mono); }
.steps h3 { margin: 0 0 7px; font-size: 21px; }
.steps p { color: var(--ink-2); }
.term { border-top: 1px solid var(--rule); padding: 18px 0; max-width: 82ch; }
.term dt { font-weight: 600; }
.term dd { color: var(--ink-2); margin: 5px 0 0; }
.video-frame { margin: 30px 0; border: 1px solid var(--rule); border-radius: 9px; overflow: hidden; background: #07191f; }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #07191f; }
.video-frame figcaption { padding: 15px 18px; color: var(--ink-2); background: var(--paper-2); font-size: 14px; }
.chapter-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; padding-left: 22px; }
.chapter-list li { padding: 5px 0; }
.button-link { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: var(--radius-md); background: var(--teal); color: var(--paper); text-decoration: none; font-weight: 600; }
.button-link:hover { filter: brightness(.94); }
.fact-line { display: flex; gap: 10px 20px; flex-wrap: wrap; color: var(--ink-2); font: 13px/1.5 var(--mono); }
@media (max-width: 900px) {
  .product-path { grid-template-columns: 1fr 1fr; }
  .product-path > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  main { padding: 0 16px 64px; }
  nav.site .bar, footer.site .bar { padding-left: 16px; padding-right: 16px; }
  nav.site .bar { align-items: flex-start; padding-top: 12px; padding-bottom: 10px; }
  nav.site .links { justify-content: flex-end; }
  nav.site .links a { font-size: 13px; padding: 5px 7px; }
  .role-grid, .chapter-list, .product-path { grid-template-columns: 1fr; }
  .product-path > div:last-child { grid-column: auto; }
  .lede { font-size: 21px; }
}
