/* Shared styling for the product's public pages and the setup wizard.
   Deliberately small: 04_UX_SPEC's real console arrives with its own design;
   these pages exist so the funnel is walkable end to end, and a stylesheet
   nobody has to maintain is worth more here than a design system nobody has
   agreed to yet. */

:root {
  color-scheme: light dark;
  --ink: light-dark(#141414, #f2f2f2);
  --paper: light-dark(#ffffff, #131313);
  --muted: light-dark(#5c5c5c, #a8a8a8);
  --line: light-dark(#d9d9d9, #333333);
  --accent: light-dark(#7b2d6b, #e0a6d4);
  --ok: light-dark(#1c6b3f, #6ede9f);
  --warn: light-dark(#8a4b00, #f0b566);
}

* { box-sizing: border-box; }

body {
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  margin: 0;
  padding: 2.5rem 1.5rem 5rem;
}

main, header, footer { max-width: 62rem; margin-inline: auto; }

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 .5rem; }
h2 { font-size: 1.3rem; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
p  { margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 44rem; }
.muted { color: var(--muted); }
small { color: var(--muted); }

a { color: var(--accent); }

.row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }

.card {
  border: 1px solid var(--line);
  border-radius: .75rem;
  padding: 1.25rem;
  background: var(--paper);
}

.price { font-size: 1.6rem; font-weight: 600; margin: .25rem 0; }
.price small { font-size: .8rem; font-weight: 400; }

button, .button {
  font: inherit;
  padding: .65rem 1.1rem;
  border: 1px solid var(--accent);
  border-radius: .5rem;
  background: var(--accent);
  color: var(--paper);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button.secondary, .button.secondary { background: transparent; color: var(--accent); }
button[disabled] { opacity: .45; cursor: not-allowed; }

label { display: block; margin-bottom: .85rem; }
label span { display: block; font-size: .875rem; margin-bottom: .25rem; }
input, select, textarea {
  font: inherit; width: 100%; padding: .55rem .7rem;
  border: 1px solid var(--line); border-radius: .5rem;
  background: var(--paper); color: var(--ink);
}
/* Accessibility is not a quality target here — it is Disability
   Discrimination Act exposure (NFR_4.1). Focus must stay visible. */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.notice { border: 1px solid var(--line); border-left-width: 4px; border-radius: .5rem; padding: .8rem 1rem; margin: 1rem 0; }
.notice.ok { border-left-color: var(--ok); }
.notice.warn { border-left-color: var(--warn); }
.notice.error { border-left-color: #c0392b; }
.hidden { display: none; }

.steps { list-style: none; padding: 0; margin: 1.5rem 0; }
.steps li { display: flex; gap: .75rem; align-items: baseline; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.steps .state { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; min-width: 6.5rem; }
.steps .complete .state { color: var(--ok); }
.steps .skipped .state { color: var(--muted); }
.steps .incomplete .state { color: var(--warn); }

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

footer { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
