/* Bulud AI marketing site.
   No external requests: system font stack, no CDN, no webfonts. The site's
   job is to be UP during a Paddle review, so it has no dependencies to fail. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-card: #ffffff;
  --text: #14181f;
  --text-soft: #4d5766;
  --text-faint: #6b7686;
  --line: #e3e8ef;
  --accent: #1b5fa8;
  --accent-soft: #eaf2fb;
  --warn-bg: #fff8e8;
  --warn-line: #e8c874;
  --radius: 10px;
  --measure: 68ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1116;
    --bg-soft: #141922;
    --bg-card: #151a22;
    --text: #e8ecf2;
    --text-soft: #a9b4c2;
    --text-faint: #8d97a5;
    --line: #262e3a;
    --accent: #6fa8e8;
    --accent-soft: #16202c;
    --warn-bg: #211c0e;
    --warn-line: #6b5623;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--measure); }

/* ---- header / nav ---- */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px;
}
.brand {
  font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.brand span { color: var(--accent); }
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.94rem; }
.site-nav a { color: var(--text-soft); text-decoration: none; }
.site-nav a:hover, .site-nav a:focus { color: var(--accent); text-decoration: underline; }

/* ---- type ---- */
h1 { font-size: 2.1rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 14px; }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 40px 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; margin: 26px 0 8px; }
p { margin: 0 0 14px; }
a { color: var(--accent); }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 7px; }
small, .small { font-size: 0.88rem; color: var(--text-faint); }
.lede { font-size: 1.12rem; color: var(--text-soft); }

main { padding: 44px 0 64px; }
.page-title { margin-bottom: 6px; }
.updated { color: var(--text-faint); font-size: 0.88rem; margin-bottom: 30px; }

/* ---- hero ---- */
.hero { padding: 20px 0 8px; }
.hero h1 { font-size: 2.5rem; max-width: 20ch; }
.hero .lede { max-width: 56ch; }

/* ---- cards / grid ---- */
.grid { display: grid; gap: 18px; margin: 22px 0 8px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; background: var(--bg-card);
}
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

/* ---- steps ---- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 20px 0; }
.steps li {
  counter-increment: step; position: relative;
  padding-left: 42px; margin-bottom: 16px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-size: 0.85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---- pricing ---- */
.tier { display: flex; flex-direction: column; }
.tier .price { font-size: 1.85rem; font-weight: 700; letter-spacing: -0.02em; margin: 2px 0 2px; }
.tier .per { color: var(--text-faint); font-size: 0.88rem; font-weight: 400; }
.tier .videos { color: var(--accent); font-weight: 600; margin: 10px 0 12px; }
.tier ul { padding-left: 18px; font-size: 0.95rem; color: var(--text-soft); }

table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 0.95rem; }
.table-scroll { overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }

/* ---- notes ---- */
.note {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; margin: 20px 0;
}
.note p:last-child { margin-bottom: 0; }
.note-title { font-weight: 600; margin-bottom: 6px; }

.legal-review {
  background: var(--warn-bg); border: 1px solid var(--warn-line);
  border-radius: var(--radius); padding: 14px 16px; margin: 18px 0;
  font-size: 0.92rem;
}
.legal-review p:last-child { margin-bottom: 0; }

/* ---- footer ---- */
.site-foot {
  border-top: 1px solid var(--line); background: var(--bg-soft);
  padding: 28px 0 40px; font-size: 0.9rem; color: var(--text-faint);
}
.site-foot .foot-links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.site-foot a { color: var(--text-soft); }
.site-foot p { margin: 0 0 6px; }

.contact-line { font-size: 1.05rem; margin-bottom: 6px; }
