/* A public page, so it commits to one look rather than following the reader's
   theme: a marketing page that changes colour between visitors is one nobody
   can describe to a colleague. */

:root {
  --bg: #ffffff; --fg: #14161a; --mut: #5b6270; --line: #e6e8ec;
  --accent: #0d9488; --accent-dark: #0b7c72; --soft: #f6f8f9;
  --live: #16a34a;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bar { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
       max-width: 64rem; margin: 0 auto; padding: 1rem 1.5rem; }
header { border-bottom: 1px solid var(--line); position: sticky; top: 0;
         background: rgba(255,255,255,.92); backdrop-filter: blur(8px); z-index: 5; }
.brand { font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em;
         text-decoration: none; color: var(--fg); }
header nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
header nav a { color: var(--mut); text-decoration: none; font-size: .95rem; }
header nav a:hover { color: var(--fg); }

.button { display: inline-block; background: var(--accent); color: #fff;
          padding: .55rem 1.1rem; border-radius: .45rem; text-decoration: none;
          font-weight: 600; font-size: .95rem; border: none; cursor: pointer;
          font-family: inherit; }
.button:hover { background: var(--accent-dark); }
.button.big { padding: .8rem 1.6rem; font-size: 1.05rem; margin-top: 1.4rem; }
.ghost { background: none; border: 1px solid var(--line); color: var(--mut);
         border-radius: .4rem; padding: .35rem .6rem; cursor: pointer;
         font: inherit; font-size: .85rem; }

main { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4rem 0; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: none; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.1; margin: 0 0 1rem;
     letter-spacing: -.03em; max-width: 18ch; }
h2 { font-size: 1.7rem; margin: 0 0 1.2rem; letter-spacing: -.02em; }
h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.lead { font-size: 1.15rem; color: var(--fg); max-width: 46rem; margin: 0 0 1rem; }
.sub { color: var(--mut); font-size: .95rem; max-width: 46rem; }

.hero { padding-top: 5rem; }

.steps { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.step { position: relative; padding-left: 2.6rem; }
.step .n { position: absolute; left: 0; top: -.1rem; width: 1.9rem; height: 1.9rem;
           border-radius: 50%; background: var(--soft); color: var(--accent);
           display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.step p { color: var(--mut); margin: 0; font-size: .98rem; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem;
         grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.cards li { background: var(--soft); border-radius: .7rem; padding: 1.3rem; }
.cards p { color: var(--mut); margin: 0; font-size: .98rem; }

.chips { list-style: none; padding: 0; margin: 0 0 1rem; display: flex;
         flex-wrap: wrap; gap: .6rem; }
.chips li { border: 1px solid var(--line); border-radius: 2rem;
            padding: .45rem 1rem; font-size: .95rem; color: var(--mut); }
.chips li.live { color: var(--fg); border-color: var(--live); }
.chips li span { font-size: .8rem; margin-left: .4rem; color: var(--mut); }
.chips li.live span { color: var(--live); }

.plans { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.plan { border: 1px solid var(--line); border-radius: .7rem; padding: 1.5rem; }
.plan p { color: var(--mut); margin: 0; font-size: .98rem; }
.price { font-size: 1.5rem !important; font-weight: 700; color: var(--fg) !important;
         margin: 0 0 .6rem !important; }

form { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.2rem 0 .6rem; }
input { font: inherit; font-size: 1rem; padding: .6rem .8rem; border-radius: .45rem;
        border: 1px solid var(--line); min-width: 15rem; flex: 1; }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

footer { border-top: 1px solid var(--line); padding: 1rem 0 3rem; }
footer a { color: var(--mut); text-decoration: none; font-size: .95rem; margin-left: 1.2rem; }
footer a:hover { color: var(--fg); }

/* ── Documentation ───────────────────────────────────────────────────────
   Narrower than the marketing pages: prose is read line by line, and a
   64rem line of body text makes the eye lose its place on the way back. */

.doc { max-width: 44rem; }
.doc section { padding: 2.5rem 0; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); max-width: none; margin-bottom: .8rem; }
.doc h2 { font-size: 1.35rem; margin-top: 2.4rem; }
.doc h3 { font-size: 1.02rem; margin-top: 1.6rem; }
.doc p, .doc li { color: var(--fg); }
.doc .sub, .doc .note { color: var(--mut); }
.doc ul, .doc ol { padding-left: 1.2rem; }
.doc li { margin: .4rem 0; }

/* The step a reader is most likely to get wrong, called out rather than
   buried in a paragraph they will skim. */
.note { border-left: 3px solid var(--accent); background: var(--soft);
        padding: .9rem 1.1rem; border-radius: 0 .5rem .5rem 0; margin: 1.2rem 0;
        font-size: .96rem; }

code { background: var(--soft); padding: .12rem .35rem; border-radius: .3rem;
       font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em;
       /* A setting name or a URL is one long unbreakable word; on a phone it
          would otherwise push the whole page sideways. */
       overflow-wrap: anywhere; }
pre { background: var(--soft); padding: 1rem 1.1rem; border-radius: .6rem;
      overflow-x: auto; font-size: .9rem; line-height: 1.5; }
pre code { background: none; padding: 0; }

table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; font-size: .96rem; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line);
         vertical-align: top; overflow-wrap: anywhere; }
th { font-weight: 600; }

/* Two columns of prose in 375px are two columns of single words. Stacking
   them keeps the pairing readable instead of merely fitting. */
@media (max-width: 32rem) {
  table, tbody, tr, th, td { display: block; width: 100%; }
  tr { border-bottom: 1px solid var(--line); padding: .2rem 0 .6rem; }
  th, td { border: none; padding: .2rem 0; }
  th { color: var(--fg); }
}

/* The other pages, offered where a reader finishes rather than only in the
   header they scrolled past several screens ago. */
.next { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
        margin-top: 1.2rem; }
.next a { display: block; border: 1px solid var(--line); border-radius: .6rem;
          padding: .9rem 1.1rem; text-decoration: none; color: var(--fg); }
.next a:hover { border-color: var(--accent); }
.next span { display: block; color: var(--mut); font-size: .9rem; margin-top: .2rem; }
