/* The public pages — the landing page and About us.

   Deliberately not a SaaS landing page. The register is that of a set of
   chambers: a serif for anything that reads as a statement, generous measure,
   restrained colour, and no stock photography of people pointing at laptops. The
   palette is shared with the workspace so that signing in is not a change of
   product. */

:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-2: #fbfbfa;
  --border: #e3e2de;
  --border-strong: #cfcec8;
  --text: #1c1b19;
  --text-2: #5c5a54;
  --text-3: #8a8780;
  --accent: #1f5c4d;
  --accent-soft: #e8f1ee;
  --accent-text: #164338;
  --warn: #8a5a17;
  --warn-bg: #fbf1df;
  --radius: 10px;
  --radius-sm: 6px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  --serif: "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17181a;
    --surface: #1e2022;
    --surface-2: #232527;
    --border: #2f3235;
    --border-strong: #41454a;
    --text: #eceae6;
    --text-2: #a8a5a0;
    --text-3: #7c7975;
    --accent: #6fb3a0;
    --accent-soft: #1d2b28;
    --accent-text: #8fc9b8;
    --warn: #d9a75a;
    --warn-bg: #2d2519;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-text); text-decoration-color: var(--border-strong); text-underline-offset: 2px; }
a:hover { text-decoration-color: currentColor; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* ---------- Header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-head .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.brand-mark svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-family: var(--serif); font-size: 16px; line-height: 1.2; }
.brand-name small { display: block; font-family: var(--sans); font-size: 11px; color: var(--text-3); letter-spacing: 0.04em; text-transform: uppercase; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 7px 11px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500; color: var(--text-2); text-decoration: none;
}
.site-nav a:hover { background: var(--surface-2); color: var(--text); }
.site-nav a.cta {
  background: var(--accent); color: #fff; font-weight: 600;
  border: 1px solid var(--accent);
}
.site-nav a.cta:hover { filter: brightness(1.08); background: var(--accent); color: #fff; }

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

section { padding: 64px 0; }
section + section { border-top: 1px solid var(--border); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.005em; }
h1 { font-size: 42px; line-height: 1.12; margin: 0 0 18px; }
h2 { font-size: 27px; line-height: 1.2; margin: 0 0 14px; }
h3 { font-size: 17px; line-height: 1.3; margin: 0 0 6px; }

.lede { font-size: 18px; line-height: 1.58; color: var(--text-2); max-width: 62ch; margin: 0 0 26px; }
.eyebrow {
  font-size: 11.5px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-text); margin: 0 0 12px;
}
.note { font-size: 13.5px; color: var(--text-3); }

.hero { padding: 84px 0 68px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.btn {
  display: inline-block; padding: 10px 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text);
  font-size: 14px; font-weight: 550; text-decoration: none;
}
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); background: var(--accent); color: #fff; }

/* ---------- Grids and cards ---------- */

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card p:last-child { margin-bottom: 0; }
.card-ico {
  width: 24px; height: 24px; margin-bottom: 12px; display: block;
  fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* The numbered walk-through. */
.steps { counter-reset: step; display: grid; gap: 2px; }
.step {
  display: grid; grid-template-columns: 38px 1fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--serif); font-size: 19px; color: var(--accent-text);
  border: 1px solid var(--border-strong); border-radius: 50%;
  width: 34px; height: 34px; display: grid; place-items: center;
}
.step p { margin: 0; color: var(--text-2); }

/* The list of checks. Set as a list of conditions, because that is what it is. */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14.5px; }
.checks svg {
  width: 15px; height: 15px; margin-top: 4px;
  fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

blockquote {
  margin: 0; padding: 18px 22px;
  border-left: 2px solid var(--accent);
  background: var(--surface);
  font-family: var(--serif); font-size: 16px; line-height: 1.6;
}
blockquote cite { display: block; margin-top: 8px; font-family: var(--sans); font-size: 12.5px; font-style: normal; color: var(--text-3); }

.plain { color: var(--text-2); }
.plain strong { color: var(--text); }

.callout {
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--warn);
  background: var(--warn-bg);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14px;
}
.callout b { color: var(--text); }

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

.site-foot {
  border-top: 1px solid var(--border);
  padding: 32px 0 44px;
  font-size: 13px; color: var(--text-3);
}
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.site-foot a { color: var(--text-2); }
.site-foot .spacer { flex: 1; }

@media (max-width: 640px) {
  h1 { font-size: 32px; }
  h2 { font-size: 23px; }
  section { padding: 44px 0; }
  .hero { padding: 52px 0 40px; }
  .site-nav a:not(.cta) { display: none; }
}
