/* ==========================================================
   Lleverage site — shared styles (tokens, nav, page patterns, footer)
   Extracted from platform.html/index.html design system. Used by
   /platform and all Phase-3 subpages. index.html still carries its
   own inline copy (fold in during the cleanup pass).
   ========================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:           #F8F8F6;
  --bg-warm:      #E7E7E3;
  --surface:      #E7E7E3;
  --white:        #ffffff;
  --sand:         #D8D8D3;
  --sand-light:   #E7E7E3;
  --dark:         #252820;
  --text:         #252820;
  --text-2:       #4f4f4c;
  --muted:        #787868;
  --muted-2:      #b9b9a9;
  --olive:        #787868;
  --orange:       #EC7523;
  --orange-bright:#FF9626;
  --success:      #4A6741;
  --border:       #E7E7E3;
  --border-2:     #D8D8D3;
  --r-1: 6px; --r-2: 10px; --r-3: 16px; --r-4: 22px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(37,40,32,.05), 0 1px 1px rgba(37,40,32,.04);
  --sh-2: 0 2px 6px rgba(37,40,32,.05), 0 6px 14px rgba(37,40,32,.06);
  --sh-3: 0 6px 14px rgba(37,40,32,.06), 0 16px 32px rgba(37,40,32,.08);
  --ease: cubic-bezier(.22,1,.36,1);
  --dur-1: .16s; --dur-2: .26s; --dur-3: .5s; --dur-4: .7s;
  --f-display:    'Abhaya Libre', Georgia, serif;
  --f-body:       'Public Sans', system-ui, sans-serif;
  --f-mono:       'Roboto Mono', 'Fragment Mono', monospace;
  /* design master tokens */
  --paper:      #F9F7F0;
  --sage-200:   #EDEDE5;
  --sage-600:   #B9B9A9;
  --sage-900:   #696954;
  --sand-brand: #D2D2C2;
  --sand-tint:  #F0F0E0;
  --ink:        #141E28;
  --ink-soft:   #2C353E;
  --hairline:   #E7E7E3;
  --r-0: 0px;
  --r-slight: 4px;
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
::selection { background: rgba(236,117,35,.20); color: var(--text); }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

.bp-label { font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.bp-label.accent { color: var(--orange); }
.bp-hatch { display: inline-block; width: 54px; height: 12px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 1.3px, transparent 1.3px 4.6px); }

.h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.4vw, 58px);
  font-weight: 400; letter-spacing: -0.035em;
  line-height: 1.04; color: var(--ink);
}
.h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400; letter-spacing: -0.025em;
  line-height: 1.1; color: var(--ink);
}
.h1 .accent, .h2 .accent { color: inherit !important; font-weight: inherit !important; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 18px;
  font-family: var(--f-body); font-size: 13px; font-weight: 500;
  color: var(--dark); background: var(--orange-bright);
  border-radius: var(--r-1);
  box-shadow: var(--sh-1);
  transition: background var(--dur-2) var(--ease), transform var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.btn-primary:hover { background: var(--orange); transform: translateY(-1px); box-shadow: var(--sh-3); }
.btn-primary:active { transform: translateY(0); box-shadow: var(--sh-1); transition-duration: var(--dur-1); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 18px;
  font-family: var(--f-body); font-size: 13px; font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border-2); border-radius: var(--r-1);
  background: white;
  box-shadow: var(--sh-1);
  transition: border-color var(--dur-2) var(--ease), transform var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.btn-secondary:hover { border-color: var(--text); transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-body); font-size: 14.5px; font-weight: 500;
  color: var(--text); padding: 4px 0;
  transition: color 0.15s;
}
.btn-text:hover { color: var(--orange); }
.btn-text .arrow { font-family: var(--f-mono); font-size: 13px; transition: transform 0.2s; }
.btn-text:hover .arrow { transform: translateX(3px); }

/* ── NAV (shared with homepage) ── */
nav.top {
  position: sticky; top: 14px; z-index: 100;
  margin: 14px 24px 0;
  background: rgba(251, 251, 250, 0.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--border-2);
  border-radius: var(--r-2);
  box-shadow: 0 8px 26px rgba(20, 30, 40, 0.06);
  padding: 11px 0;
  display: flex; align-items: center;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
nav.top.scrolled { background: rgba(251, 251, 250, 0.96); box-shadow: 0 12px 30px rgba(20, 30, 40, 0.09); }
nav.top .container { display: flex; align-items: center; gap: 24px; max-width: none; width: 100%; padding: 0 22px; }
.nav-logo { display: inline-flex; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 8px; margin-right: auto; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--text); border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-item > a:hover { color: var(--text); background: rgba(37,40,32,0.03); }
.chevron { font-family: var(--f-mono); font-size: 10px; opacity: 0.5; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--hairline);
  border-radius: var(--r-2); padding: 12px; min-width: 328px;
  box-shadow: 0 18px 44px rgba(20,30,40,.10), 0 4px 12px rgba(20,30,40,.05);
  margin-top: 8px;
}
.nav-item::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 9px 10px; font-size: 13.5px;
  color: var(--text-2); border-radius: var(--r-slight);
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: var(--bg); color: var(--text); }
.dd-ic { flex: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline); border-radius: var(--r-slight); background: #fff; color: var(--ink);
  transition: border-color 0.15s, color 0.15s; }
.dd-ic svg { width: 16px; height: 16px; display: block; }
.dd-ic img { width: 18px; height: 19px; display: block; }
.dropdown a:hover .dd-ic { border-color: rgba(20,30,40,.3); color: var(--orange); }
.dd-t { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.dd-d { display: block; font-family: var(--f-mono); font-size: 9px; font-weight: 500; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.dropdown.dd-compact { min-width: 218px; }
.dropdown.dd-compact a { align-items: center; }
.dd-sep { height: 1px; background: var(--hairline); margin: 8px 6px; }
.nav-ctas { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-login { font-size: 14px; font-weight: 500; color: var(--text); padding: 8px 14px; white-space: nowrap; }
.nav-login:hover { color: var(--text-2); }
.nav-cta {
  padding: 9px 16px; font-size: 13px; font-weight: 500; white-space: nowrap;
  color: var(--dark); background: var(--orange-bright); border-radius: var(--r-1);
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--orange); }
.nav-burger {
  display: none;
  align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--border-2); border-radius: var(--r-1);
  background: white; color: var(--text);
  cursor: pointer; flex-shrink: 0;
  transition: background 0.15s;
}
.nav-burger svg { transition: transform 0.25s ease; }
nav.top.nav-open .nav-burger svg { transform: rotate(45deg); }
.nav-mobile {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--r-2) var(--r-2);
  box-shadow: 0 18px 34px rgba(20,30,40,0.12);
  padding: 10px 18px 18px;
  max-height: calc(100vh - 90px); overflow-y: auto;
}
nav.top.nav-open .nav-mobile { display: block; }
.nav-mobile a { display: block; padding: 11px 10px; font-size: 15px; color: var(--text-2); border-radius: 8px; }
.nav-mobile a:hover { color: var(--text); background: rgba(37,40,32,0.04); }
.nav-mobile-signup { font-weight: 500; color: var(--text); }
.nav-mobile-label {
  display: block; padding: 14px 10px 4px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-burger { display: flex; }
}

/* ── reveal on scroll ── */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--dur-4) var(--ease), transform var(--dur-4) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── page head ── */
.phead {
  margin: -84px 0 0;
  background: linear-gradient(180deg, #EDEDE5 0%, #EDEDE5 52%, #EEEEE8 76%, #F8F8F6 100%);
  padding: 196px 0 96px;
  text-align: center;
}
.phead .bp-kick { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.phead .h1 { max-width: 760px; margin: 0 auto; }
.phead-sub { max-width: 640px; margin: 20px auto 30px; font-size: 17px; line-height: 1.58; color: rgba(27,38,48,.75); }
.phead-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── element sections ── */
.pel { padding: 96px 0; }
.pel + .pel { border-top: 1px solid var(--hairline); }
.pel-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.pel-vis { display: flex; justify-content: center; }
@media (min-width: 901px) {
  .pel.alt .pel-txt { order: 2; }
  .pel.alt .pel-vis { order: 1; }
}
.pel-sub { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 480px; }
.pel-points { margin: 20px 0 26px; display: flex; flex-direction: column; gap: 10px; }
.pel-pt { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--text-2); max-width: 460px; }
.pel-pt::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; background: var(--orange); }
.ps-kick { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.ps-kick svg { width: 15px; height: 15px; color: var(--ink); flex: none; }
.ps-kick img { width: 19px; height: 20px; flex: none; display: block; }
@media (max-width: 900px) {
  .pel-grid { grid-template-columns: 1fr; gap: 36px; }
  .pel { padding: 64px 0; }
  .phead { padding: 170px 0 70px; }
}

/* ── real product slices: framed window on dot-grid field ── */
.shot-wrap { position: relative; width: 100%; max-width: 620px; padding: 26px 0; }
.shot-field { position: absolute; inset: -18px -22px; background-image: radial-gradient(rgba(27,38,48,.07) 1px, transparent 1.2px); background-size: 16px 16px; background-position: center;
  -webkit-mask-image: radial-gradient(85% 90% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(85% 90% at 50% 50%, #000 55%, transparent 100%); }
.shot { position: relative; background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-2); box-shadow: var(--sh-3); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--hairline); background: #FBFBF9; }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); }
.shot-bar span { margin-left: auto; font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.shot img { display: block; width: 100%; height: auto; }

/* ── CTA band + footer (shared with homepage) ── */
.wend { background: var(--bg); padding: 0; }
.wend-dark { background: linear-gradient(180deg, #F8F8F6 0%, #F8F5EE 14%, #F7F2E8 36%, #F7F2E8 100%); padding: 8px 0 0; }
.wend-cta { text-align: center; max-width: 760px; margin: 0 auto; padding: 104px 24px 8px; position: relative; z-index: 2; }
.wend-cta .h2 { color: #1B2630; }
.wend-cta .h2 .accent { color: var(--orange) !important; font-style: italic; font-weight: 500; }
.eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(27,38,48,.55); display: inline-block;
}
.wend-sub { margin: 16px auto 30px; font-size: 16.5px; color: rgba(27,38,48,.72); }
.wend-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

footer.bottom { position: relative; z-index: 2; margin: 96px 0 0; background: #F8F8F6; border-radius: 0; padding: 58px 0 26px; }
.foot-frame { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.fl { position: absolute; background: var(--hairline); pointer-events: none; }
.fl-top { top: 0; left: 0; right: 0; height: 1px; }
.fl-bot { bottom: 0; left: 0; right: 0; height: 1px; }
.fl-l { left: 0; top: 0; bottom: 0; width: 1px; }
.fl-r { right: 0; top: 0; bottom: 0; width: 1px; }
.fl-c { left: 50%; top: 0; bottom: 0; width: 1px; }
/* "+" marks on section-divider lines, aligned to the container content edges */
.pel.has-marks { position: relative; }
.pel-marks { position: absolute; inset: 0; max-width: 1200px; margin: 0 auto; pointer-events: none; }
.pel-marks .bp-c { width: 11px; height: 11px; color: rgba(20,30,40,.38); }
.pel-marks .pmk-tl { top: -5.5px; left: 32px; }
.pel-marks .pmk-tr { top: -5.5px; right: 32px; }
.pel-marks .pmk-bl { bottom: -5.5px; left: 32px; }
.pel-marks .pmk-br { bottom: -5.5px; right: 32px; }
.bp-c { position: absolute; width: 9px; height: 9px; pointer-events: none; color: rgba(20,30,40,.30);
  background: linear-gradient(currentColor 0 0) center / 100% 1.2px no-repeat,
              linear-gradient(currentColor 0 0) center / 1.2px 100% no-repeat; }
.foot-frame .bp-c { width: 13px; height: 13px; color: rgba(20,30,40,.42); }
.ffc-tl { top: 0; left: 0; transform: translate(-50%,-50%); }
.ffc-tc { top: 0; left: 50%; transform: translate(-50%,-50%); }
.ffc-tr { top: 0; right: 0; transform: translate(50%,-50%); }
.ffc-bl { bottom: 0; left: 0; transform: translate(-50%,50%); }
.ffc-br { bottom: 0; right: 0; transform: translate(50%,50%); }
.footer-brand { display: flex; flex-direction: column; padding: 56px 48px 56px 56px; }
.footer-brand .nav-logo { display: inline-block; }
.footer-tagline { margin-top: auto; padding-top: 48px; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.55; max-width: 360px; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 40px; padding: 56px 24px 56px 56px; align-content: start; }
.footer-col-title { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 14px; }
.foot-cols > div > a { display: block; font-size: 13px; color: var(--text-2); margin-top: 11px; transition: color 0.15s; }
.foot-cols > div > a:hover { color: var(--orange); }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted-2); flex-wrap: wrap; gap: 16px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom a { color: var(--muted-2); white-space: nowrap; }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 900px) {
  .foot-frame { grid-template-columns: 1fr; }
  .fl-c, .ffc-tc { display: none; }
  .footer-brand { padding: 40px 28px 8px; }
  .footer-tagline { margin-top: 18px; padding-top: 0; }
  .foot-cols { padding: 28px; }
}
