/* lekana - shared site stylesheet
   Design tokens and components per the website brief (§2, §10).
   Used by all generated pages. terms.html / privacy.html keep policy.css. */

:root {
  --lk-sunshine:    #F5C400;  /* canvas only - never on interactive elements */
  --lk-dark:        #1A1200;
  --lk-cream:       #F5EDE6;
  --lk-page-bg:     #F4F4F0;
  --lk-orange:      #FC6722;  /* pilot send button + Bethink dot ONLY */
  --lk-white:       #FFFFFF;
  --lk-hair:        #E5E3DC;
  --lk-muted:       #6B7280;
  --lk-error:       #B91C1C;

  /* stepper band canvases (reconciliation "how it works") */
  --lk-step-plum:   #6B2D6B;
  --lk-step-teal:   #1B7A6E;
  --lk-step-orange: #E8601C;

  --font-display:   'Nunito', system-ui, sans-serif;
  --font-body:      'Figtree', system-ui, sans-serif;

  --max-w:          1120px;
  --max-w-narrow:   880px;
  --radius:         12px;
  --dur:            200ms;
  --ease:           cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--lk-page-bg);
  color: var(--lk-dark);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--max-w-narrow); }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-weight: 300; font-size: clamp(34px, 6vw, 56px); }
h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: 20px; }
h4 { font-size: 14px; }
p { margin: 0 0 16px; }
.lead { font-size: 18px; color: var(--lk-dark); }

/* Eyebrow / section tag - Nunito 600, lowercase intent */
.tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--lk-muted);
  margin: 0 0 12px;
}

/* ---------- Top navigation ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--lk-page-bg);
  border-bottom: 1px solid var(--lk-hair);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: block; height: 34px; width: auto; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--lk-dark);
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--lk-dark);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--lk-dark); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--lk-dark); }

.nav-toggle { display: none; }

/* ---------- Mobile nav overlay ---------- */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--lk-page-bg);
  display: none;
  flex-direction: column;
  padding: 24px;
}
.nav-overlay.open { display: flex; }
.nav-overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.nav-overlay-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  padding: 12px 0;
  border-bottom: 1px solid var(--lk-hair);
}
.nav-overlay-links a[aria-current="page"] { color: var(--lk-dark); }
.nav-overlay .btn { margin-top: auto; }

@media (max-width: 820px) {
  .nav-links, .nav .btn-cream { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  padding: 13px 24px;
  transition: background var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.btn-primary { background: var(--lk-dark); color: var(--lk-cream); }
.btn-primary:hover { background: #000; }
.btn-cream { background: var(--lk-cream); color: var(--lk-dark); }
.btn-cream:hover { background: #ECE2D8; }
.btn-ghost { background: transparent; color: var(--lk-dark); padding: 13px 8px; }
.btn-ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Orange: pilot application send button ONLY */
.btn-orange { background: var(--lk-orange); color: var(--lk-white); }
.btn-orange:hover { background: #E25714; }
.btn:disabled { opacity: 0.7; cursor: default; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }

/* Dark band (pilot strip, pricing banner, CTA strips) */
.band-dark {
  background: var(--lk-dark);
  color: var(--lk-cream);
}
.band-dark h2, .band-dark h3 { color: var(--lk-cream); }
.band-dark a:not(.btn) { color: var(--lk-cream); }

/* Sunshine hero canvas - home page only */
.band-sunshine { background: var(--lk-sunshine); color: var(--lk-dark); }

/* ---------- Cards ---------- */

.card {
  background: var(--lk-white);
  border-radius: var(--radius);
  padding: 32px;
}
@media (max-width: 600px) { .card { padding: 24px; } }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--lk-dark);
  margin-bottom: 6px;
}
.form-field .req { color: var(--lk-dark); margin-left: 2px; }
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--lk-dark);
  background: var(--lk-cream);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 12px 14px;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--lk-dark); }
.form-field.has-error input,
.form-field.has-error textarea { border-color: var(--lk-error); }
.field-error { color: var(--lk-error); font-size: 14px; margin: 6px 0 0; }

/* Checkbox group (banks) + single checkbox (terms) */
.check-group { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.check input { width: 18px; height: 18px; accent-color: var(--lk-dark); }
.check--block { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; }

.form-legal { font-size: 14px; color: var(--lk-muted); margin: 16px 0 0; }

/* Callout (cream) */
.callout {
  background: var(--lk-cream);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  margin-bottom: 24px;
}
.callout strong { font-family: var(--font-display); font-weight: 600; }

/* ---------- Stat columns ---------- */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat .stat-label { font-size: 14px; color: var(--lk-muted); margin: 0 0 4px; }
.stat .stat-value { font-family: var(--font-display); font-weight: 600; font-size: 32px; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--lk-dark);
  color: var(--lk-cream);
  padding: 56px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.site-footer .brand-word { color: var(--lk-cream); }
.site-footer .footer-tagline { color: var(--lk-cream); opacity: 0.8; font-size: 15px; margin-top: 16px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.7;
  margin: 0 0 12px;
}
.footer-col a { display: block; padding: 5px 0; font-size: 15px; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 237, 230, 0.15);
  font-size: 13px;
  opacity: 0.8;
}
.footer-bottom p { margin: 0 0 4px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page sections ---------- */

.hero { padding: 80px 0 56px; }
.hero-sun { background: var(--lk-sunshine); color: var(--lk-dark); padding: 72px 0; }
.hero-sun .pilot-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 16px;
}
.hero-sun h1 { margin: 0 0 20px; }
.teaser-img { margin-top: 24px; }
.teaser-img img { border-radius: var(--radius); }
.hero .lead { margin-bottom: 28px; max-width: 62ch; }
.prose { max-width: 64ch; }
.prose p { font-size: 17px; }

.footnote { font-size: 14px; color: var(--lk-muted); }

/* Clean lists (ask/get, feature bullets) */
.list-clean { list-style: none; padding: 0; margin: 0 0 16px; }
.list-clean li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 16px;
}
.list-clean li::before {
  content: "";
  position: absolute;
  left: 4px; top: 17px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lk-dark);
}

/* Week / step blocks (pilot timeline) */
.block-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--lk-muted);
  margin: 0 0 6px;
}
.block-stack { display: grid; gap: 20px; }

/* Stepper bands (reconciliation "how it works") */
.step { margin-bottom: 32px; }
.step-band {
  background: var(--band, var(--lk-dark));
  color: var(--lk-cream);
  padding: 32px 0;
}
.step-band--light { color: var(--lk-dark); }
.step-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin: 0 0 4px;
}
.step-band h3 { color: inherit; font-size: 24px; margin: 0 0 8px; }
.step-band p { margin: 0; max-width: 60ch; }

/* Image + caption */
.shot { margin: 24px 0 0; }
.shot img { border-radius: var(--radius); width: 100%; }
.shot figcaption { font-size: 14px; color: var(--lk-muted); margin-top: 10px; }
figure { margin: 0; }

/* Pricing cards */
.price-card .price-tagline { color: var(--lk-muted); margin: 4px 0 16px; }
.price-amount { font-family: var(--font-display); font-weight: 600; font-size: 34px; }
.price-amount span { font-size: 16px; font-weight: 400; color: var(--lk-muted); }
.price-foot { font-size: 14px; color: var(--lk-muted); margin: 8px 0 20px; }
.price-card .btn { width: 100%; margin-top: 8px; }

/* FAQ */
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--lk-hair); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 8px; }
.faq-a { margin: 0; }

/* Contact cards */
.contact-card h3 { margin: 0 0 4px; }
.contact-card .role { color: var(--lk-muted); font-size: 15px; margin: 0 0 16px; }
.contact-card .row { display: flex; gap: 8px; padding: 6px 0; font-size: 16px; }
.contact-card .row .k { color: var(--lk-muted); min-width: 92px; }
.contact-card .row a { text-decoration: underline; text-underline-offset: 3px; }
.contact-card .best { margin: 16px 0 0; font-size: 15px; color: var(--lk-muted); }

/* Bethink wordmark dot (orange) */
.bethink-mark { font-weight: 600; }
.b-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lk-orange);
  margin-left: 1px;
  vertical-align: baseline;
}
