/* baudwick.com (D157), on the Lamplight tokens: /assets/tokens.css is design/tokens.css,
   copied there when the site is published. Lamplight by default, Daylight when the system
   is light (site.js sets data-theme before the page draws). */

* { box-sizing: border-box; }

html { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

body {
  margin: 0;
  background: var(--surface-chrome);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Ubuntu", "Cantarell", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--info); text-decoration: none; }
a:hover { text-decoration: underline; }
code, kbd, pre { font-family: "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace; font-size: 0.9em; }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }

header.site {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-chrome);
}
header.site .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
header.site .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 17px; }
header.site .brand:hover { text-decoration: none; }
header.site .brand img { width: 28px; height: 28px; border-radius: 7px; }
header.site nav { margin-left: auto; display: flex; gap: 20px; font-size: 15px; }
header.site nav a { color: var(--ink-secondary); }
header.site nav a[aria-current="page"] { color: var(--ink); }

main { padding: 48px 0 64px; }

h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 650; }
h2 { font-size: 24px; line-height: 1.25; margin: 48px 0 12px; font-weight: 620; }
h3 { font-size: 17px; margin: 24px 0 6px; font-weight: 620; }
p, li { color: var(--ink-secondary); }
p.lead { font-size: 19px; color: var(--ink-secondary); max-width: 680px; margin: 0 0 28px; }
strong { color: var(--ink); font-weight: 600; }

figure { margin: 32px 0; }
figure img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border-subtle); display: block; }
figure figcaption { color: var(--ink-muted); font-size: 14px; margin-top: 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px 22px;
}
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 8px;
  border: 1px solid var(--border-strong); background: var(--surface-raised);
  color: var(--ink); font: inherit; font-size: 15px; font-weight: 550; cursor: pointer;
}
.button:hover { background: var(--surface-hover); text-decoration: none; }
.button.primary { background: var(--lamp); border-color: var(--lamp); color: var(--on-lamp); }
.button.primary:hover { filter: brightness(1.06); }
.button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.button[disabled] { opacity: 0.55; cursor: default; }

.price { font-size: 34px; font-weight: 650; color: var(--ink); margin: 4px 0; }
.price small { font-size: 15px; font-weight: 450; color: var(--ink-secondary); }
.plan ul { padding-left: 20px; }
.plan .actions { margin-top: 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.seats { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-secondary); font-size: 15px; }
.seats input {
  width: 76px; height: 40px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--border-strong); background: var(--surface-input); color: var(--ink); font: inherit;
}

.downloads { list-style: none; padding: 0; margin: 0; }
.downloads li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.downloads li span { color: var(--ink-muted); font-size: 14px; }

pre.license {
  background: var(--surface-terminal); color: var(--ink);
  border: 1px solid var(--border-subtle); border-radius: 10px;
  padding: 16px 18px; overflow-x: auto; font-size: 14px; line-height: 1.5;
}
.note { color: var(--ink-muted); font-size: 14px; }
.notice {
  background: var(--surface-raised); border: 1px solid var(--border-subtle); border-left: 3px solid var(--info);
  border-radius: 8px; padding: 12px 16px; margin: 16px 0;
}
.todo { background: var(--lamp-soft); color: var(--lamp-ink); padding: 0 4px; border-radius: 3px; }

.legal h2 { font-size: 20px; margin-top: 32px; }
.legal p, .legal li { max-width: 720px; }

footer.site { border-top: 1px solid var(--border-subtle); padding: 24px 0 40px; color: var(--ink-muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.site a { color: var(--ink-muted); }
footer.site .spacer { flex: 1; }

@media (max-width: 640px) {
  h1 { font-size: 30px; }
  header.site nav { gap: 14px; }
  main { padding-top: 32px; }
}
