/* breathmark.team
   Plain, fast, no dependencies.

   THE PALETTE IS THE CLIENT'S, PICKED DELIBERATELY (2026-10-16).
   Toxx asked the question the stylesheet had been dodging: "should we do the site in the full
   client colors? we never actually picked site colors if I recall." They were right. The first
   version used a quieter cousin of the app's palette, chosen on the fly while building.

   So the site now speaks the instrument's language, with a rule about how much of it it uses:

     --indigo   #5C63E6   the client mark's first color. DECORATION ONLY - a gradient stop.
     --teal     #2AA198   the client mark's second color. The accent: links, buttons, rules.
     --bg       #0A0914   the client's near-black (it carries a faint violet cast, not neutral).
     --ink      #E8E6E1   warm off-white, unchanged - it is the one thing that needed no work.

   The rule, so this does not drift into a landing page: THE GRADIENT IS THE BRAND, THE FLAT TEAL
   IS THE INTERFACE. Body text is never gradient, buttons are never gradient, and the mark appears
   once per page. Indigo on near-black fails contrast as text, which is why it is a stop and not a
   color you can type in. */

:root {
  --bg: #0a0914;
  --panel: #12111d;
  --ink: #e8e6e1;
  --dim: #9a9da4;
  --line: #23222e;

  --indigo: #5c63e6;
  --teal: #2aa198;
  --teal-dim: #1c6f69;
  --accent: var(--teal);
  --accent-dim: var(--teal-dim);
  --grad: linear-gradient(120deg, var(--indigo), var(--teal));

  --max: 46rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  /* the ground, with one soft bloom of the client's indigo at the top. This is the thing that
     makes the page feel like the instrument rather than a dark document - and it is a background,
     so it costs nothing, needs no markup, and cannot fight the type. */
  background:
    radial-gradient(120% 55% at 50% -12%, rgba(92, 99, 230, 0.20), rgba(42, 161, 152, 0.06) 42%, transparent 68%) fixed,
    var(--bg);
  color: var(--ink);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.005em;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 3.5rem 1.25rem 5rem; }

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-dim); }
a:hover { border-bottom-color: var(--accent); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 0.6rem; }
h1 { font-size: 2.1rem; font-weight: 650; }
h2 { font-size: 1.25rem; font-weight: 600; margin-top: 3rem; }
h3 { font-size: 1.05rem; font-weight: 500; color: var(--dim); margin-top: 0.4rem; }

p { margin: 0 0 1.05rem; }
strong { font-weight: 620; }

.lede { font-size: 1.05rem; }

.sub { color: var(--dim); }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

ul { padding-left: 1.15rem; margin: 0 0 1.05rem; }
li { margin: 0 0 0.7rem; }

/* the header: the mark, once, beside the name */
.top { display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 3.5rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 650; letter-spacing: 0.02em; }
/* the mark is the emblem, not a footnote (Toxx, 2026-10-16: "make the mark about 2x size").
   At 30px against ~17px type it is deliberately taller than the name and sits on the same center
   line, so it leads the header instead of whispering beside it. */
.brand svg { display: block; width: 30px; height: 30px; margin-top: 0; }
.top nav a { margin-left: 1.1rem; border-bottom: 0; color: var(--dim); }
.top nav a:hover { color: var(--ink); }

.cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 2rem 0 0; }
.btn {
  display: inline-block; padding: 0.7rem 1.15rem; border: 1px solid var(--line);
  border-radius: 8px; background: var(--panel); color: var(--ink); border-bottom: 1px solid var(--line);
}
.btn:hover { border-color: var(--accent-dim); }
.btn.primary { background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 600; }

.card { border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.25rem; margin: 0 0 0.9rem; background: var(--panel); }
.card p:last-child { margin-bottom: 0; }

/* the gradient, where the brand is allowed to show. Two places and no more: a rule that appears
   under every h1 (no markup needed), and the hairline under the header. The first version of this
   file defined a .rule class and then put no .rule on any page - so the palette changed and the
   page looked identical. A style nobody applies is not a decision. */
h1::after { content: ""; display: block; height: 3px; width: 72px; border-radius: 2px; background: var(--grad); margin-top: 1.1rem; }

.top { position: relative; padding-bottom: 1.1rem; }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); opacity: 0.5; }

.foot { border-top: 1px solid var(--line); margin-top: 3.5rem; padding-top: 1.25rem; color: var(--dim); font-size: 0.95rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot a { color: var(--dim); border-bottom-color: var(--line); }
.foot a:hover { color: var(--ink); }

.todo { color: var(--accent-dim); }

@media (max-width: 30rem) {
  .wrap { padding: 2.5rem 1rem 4rem; }
  h1 { font-size: 1.75rem; }
  .top nav { display: flex; gap: 0.9rem; }
  .top nav a { margin-left: 0; }
}
