/* ============================================================
   bulka.ai — landing page styles
   Design system: geometric, hard-edged, flat color.
   No border-radius. No shadows. No gradients.
   ============================================================ */

/* --- Tokens ------------------------------------------------ */
:root {
  --bg:        #FFFFFF;
  --bg-alt:    #FAFAF7;
  --bg-dark:   #0F1B3D;
  --fg:        #0A0A0A;
  --fg-muted:  #4A4A4A;
  --fg-soft:   #6E6E6E;
  --rule:      #0A0A0A;
  --rule-soft: #E2E2DC;

  --blue:      #1B3A8B;
  --blue-dark: #122560;
  --orange:    #F26B1F;
  --orange-dk: #C8520F;
  --green:     #1A8A3F;
  --yellow:    #FFC400;
  --turquoise: #1FC8C8;
  --red:       #E03131;

  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  --container:    1200px;
  --pad-x:        24px;
  --pad-sec-y:    96px;
}

/* --- Reset ------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1,h2,h3,h4 {
  font-family: var(--font-display);
  color: var(--fg);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  line-height: 1.12;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
ul li { margin-bottom: 0.4em; }

/* --- Layout ------------------------------------------------ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--pad-sec-y) 0;
  border-top: 1px solid var(--rule);
}
.section-alt { background: var(--bg-alt); }

.section h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  max-width: 800px;
  margin-bottom: 0.4em;
}

.section-lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--fg-muted);
  max-width: 720px;
  margin-bottom: 2.4em;
}

/* --- Header ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark:hover { color: var(--blue-dark); }
.nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
}
.nav a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
}
.nav a:hover { color: var(--blue); }

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--rule);
}
.btn-ghost:hover { background: var(--fg); color: #fff; }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-ghost-light:hover { background: #fff; color: var(--bg-dark); }

/* --- Hero -------------------------------------------------- */
.hero {
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4em;
}
.hero-text .lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--fg-muted);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art img {
  width: 100%;
}

/* --- Problem ----------------------------------------------- */
.problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.problem-list li {
  padding: 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  margin-bottom: 0;
  position: relative;
}
.problem-list li::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 8px solid var(--orange);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-right: 10px;
  vertical-align: middle;
}

/* --- Capabilities ----------------------------------------- */
.capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.capability {
  padding: 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.capability h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 0.4em;
}
.capability p {
  color: var(--fg-muted);
  font-size: 16px;
}
.capability-accent {
  width: 36px;
  height: 6px;
  margin-bottom: 18px;
}
.capability-accent-blue      { background: var(--blue); }
.capability-accent-orange    { background: var(--orange); }
.capability-accent-green     { background: var(--green); }
.capability-accent-turquoise { background: var(--turquoise); }

/* --- Roles ------------------------------------------------- */
.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.role {
  padding: 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: relative;
}
.role-tag {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  transform: rotate(45deg);
}
.role h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5em;
}
.role p {
  color: var(--fg-muted);
  font-size: 15px;
}

/* --- Chat card (example query) ----------------------------- */
.chat-card {
  border: 1px solid var(--rule);
  max-width: 880px;
  background: var(--bg);
}
.chat-header {
  background: var(--blue);
  color: #fff;
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
}
.chat-logo { font-weight: 700; letter-spacing: -0.01em; font-size: 18px; }
.chat-status {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  opacity: 0.9;
}
.chat-status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
}
.chat-body { padding: 0; }
.chat-msg {
  padding: 24px 28px;
  border-bottom: 1px solid var(--rule-soft);
}
.chat-msg:last-child { border-bottom: 0; }
.chat-msg-user { background: var(--bg-alt); }
.chat-msg-ai   { background: var(--bg); }
.chat-who {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  color: var(--fg-soft);
}
.chat-msg-ai .chat-who { color: var(--blue); }
.chat-text { font-size: 16px; line-height: 1.6; }
.chat-text h4 {
  font-size: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 16px;
  margin-bottom: 6px;
  color: var(--fg);
}
.chat-text ul { margin-bottom: 8px; }
.chat-note {
  background: #FFF7E0;
  border-left: 4px solid var(--yellow);
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 15px;
}
.chat-source {
  font-size: 13px;
  color: var(--fg-soft);
  margin-top: 14px;
  font-style: italic;
}

/* --- Pilots ----------------------------------------------- */
.pilots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin-bottom: 1.8em;
}
.pilot {
  padding: 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.pilot-segment {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--blue);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue);
}
.pilot-meta {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  font-size: 14px;
}
.pilot-meta dt {
  color: var(--fg-soft);
  font-weight: 500;
}
.pilot-meta dd {
  margin: 0;
  color: var(--fg);
}

.footnote {
  font-size: 14px;
  color: var(--fg-soft);
  font-style: italic;
  max-width: 760px;
}

/* --- Bullets (generic) ------------------------------------- */
.bullets {
  list-style: none;
  padding: 0;
  margin: 1.4em 0 0;
}
.bullets li {
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
}
.bullets li:last-child { border-bottom: 0; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 0;
  height: 0;
  border-left: 9px solid var(--blue);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* --- Pilot terms ------------------------------------------- */
.pilot-terms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin-top: 2em;
}
.pilot-terms > div {
  padding: 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pilot-terms h3 {
  font-size: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--fg);
  margin-bottom: 0.5em;
}
.pilot-terms p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.55;
}

.pilot-subhead {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin: 2.4em 0 1.2em;
}

.closing-line {
  text-align: center;
  font-style: italic;
  color: var(--fg-muted);
  font-size: 16px;
  max-width: 720px;
  margin: 2.4em auto 0;
}

/* --- Founders --------------------------------------------- */
.founders {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 2em;
}
.founder {
  display: flex;
  flex-direction: column;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--rule);
  margin-bottom: 16px;
  background: var(--bg-alt);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.02);
}
.founder h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 0.1em;
}
.founder-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--blue);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.founder p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}
.founder-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  color: var(--blue);
  margin-top: auto;
}
.founder-link:hover { color: var(--orange); }

/* --- Expertise -------------------------------------------- */
.expertise-list {
  list-style: none;
  padding: 0;
  margin: 1.6em 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.expertise-list li {
  padding: 22px 28px 22px 56px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  position: relative;
  background: var(--bg);
  margin-bottom: 0;
}
.expertise-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 26px;
  width: 14px;
  height: 14px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* --- Closing CTA ------------------------------------------ */
.section-closing {
  background: var(--bg-dark);
  color: #fff;
  border-top: 0;
  padding: 120px 0;
  text-align: center;
}
.section-closing h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 0.4em;
}
.closing-lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: #C7CEE0;
  margin: 0 auto 36px;
  max-width: 520px;
}
.closing-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 24px 0;
  background: var(--bg);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue);
  font-size: 16px;
}
.footer-meta {
  display: flex;
  gap: 20px;
  color: var(--fg-soft);
  align-items: center;
}
.footer-meta a {
  color: var(--fg-soft);
  text-decoration: none;
}
.footer-meta a:hover { color: var(--blue); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
  :root { --pad-sec-y: 72px; }

  .nav { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .capabilities,
  .problem-list,
  .pilot-terms,
  .expertise-list {
    grid-template-columns: 1fr;
  }

  .roles {
    grid-template-columns: repeat(2, 1fr);
  }

  .pilots {
    grid-template-columns: 1fr;
  }

  .founders {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  :root { --pad-sec-y: 56px; --pad-x: 18px; }

  body { font-size: 16px; }

  .header-row { padding-top: 12px; padding-bottom: 12px; }
  .wordmark { font-size: 19px; }
  .header-row .btn { padding: 9px 16px; font-size: 14px; }

  .hero { padding: 48px 0 64px; }

  .roles,
  .founders {
    grid-template-columns: 1fr;
  }

  .pilot-terms > div,
  .capability,
  .problem-list li,
  .role,
  .pilot,
  .expertise-list li {
    padding: 22px;
  }
}
