/* Theme Remediation site styles. Shared by all pages. */

:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --ink: #16202a;
  --fg: #1d2832;
  --muted: #55606b;
  --line: #e2ddd4;
  --accent: #0c5c6e;
  --accent-ink: #083f4c;
  --accent-fg: #ffffff;
  --accent-soft: #e3f0f2;
  --warn: #8a4b00;
  --warn-soft: #fbefdd;
  --focus: #b8860b;
  --shadow: 0 1px 2px rgba(22, 32, 42, .06), 0 8px 24px rgba(22, 32, 42, .08);
  --radius: 12px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1418;
    --surface: #171d23;
    --ink: #f3f1ec;
    --fg: #e6e3dd;
    --muted: #b3b0a9;
    --line: #2a333b;
    --accent: #7fcbdc;
    --accent-ink: #a9dde9;
    --accent-fg: #06252c;
    --accent-soft: #15303a;
    --warn: #f0b36b;
    --warn-soft: #2d2217;
    --focus: #ffd166;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: .15em; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p, li { max-width: 62ch; }
strong { color: var(--ink); }

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-fg); padding: .6rem 1rem; z-index: 10; border-radius: 6px; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 46rem; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.25rem; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }
.brand .mark { width: 1.6rem; height: 1.6rem; border-radius: 6px; background: var(--accent); display: inline-grid; place-items: center; color: var(--accent-fg); font-family: var(--sans); font-weight: 700; font-size: .85rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; flex-wrap: wrap; align-items: center; }
.site-nav a { text-decoration: none; color: var(--fg); padding: .45rem .7rem; border-radius: 6px; font-weight: 500; font-size: .95rem; }
.site-nav a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.site-nav a.nav-cta { background: var(--accent); color: var(--accent-fg); font-weight: 600; }
.site-nav a.nav-cta:hover { background: var(--accent-ink); color: var(--accent-fg); }
@media (prefers-color-scheme: dark) { .site-nav a.nav-cta:hover { background: var(--accent-ink); } }

/* Hero */
.hero { padding: 4rem 0 3.5rem; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 3rem; align-items: center; }
.hero .kicker { color: var(--accent-ink); font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 1rem; }
.hero .lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 1.75rem; }
.hero .note { font-size: .95rem; color: var(--muted); margin: 1rem 0 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; box-shadow: var(--shadow); }
.facts .big { display: block; font-family: var(--serif); font-size: 1.75rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.facts .small { display: block; color: var(--muted); font-size: .95rem; margin-top: .2rem; }

/* Buttons */
.cta, .btn { display: inline-block; background: var(--accent); color: var(--accent-fg); text-decoration: none; font-weight: 600; padding: .85rem 1.35rem; border-radius: 8px; border: 0; font: inherit; font-weight: 600; cursor: pointer; line-height: 1.2; }
.cta:hover, .btn:hover { background: var(--accent-ink); color: var(--accent-fg); }

/* Sections */
.section { padding: 3.5rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 1.75rem; }
.section-head p { color: var(--muted); margin: 0; }

/* Callout (widget argument) */
.callout { background: var(--warn-soft); border-left: 5px solid var(--warn); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.5rem 1.75rem; max-width: 52rem; }
.callout h2 { margin-bottom: .5rem; }
.callout p { margin: 0; }

/* Steps grid */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.35rem 1.35rem 1.35rem; box-shadow: var(--shadow); counter-increment: step; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--accent-ink); margin-bottom: .5rem; letter-spacing: .04em; }
.steps strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: .3rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan h3 { margin-bottom: .35rem; }
.plan .price { font-family: var(--serif); font-size: 2.25rem; font-weight: 600; color: var(--ink); line-height: 1.1; margin: .25rem 0 .2rem; }
.plan .per { font-family: var(--sans); font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan .scope { color: var(--muted); margin: 0 0 1rem; }
.plan .tag { align-self: flex-start; background: var(--accent-soft); color: var(--accent-ink); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; margin-bottom: .75rem; }
.terms { color: var(--muted); margin-top: 1.5rem; }

/* Why us */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.why p { margin: 0 0 1rem; }
.why .pull { font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; color: var(--ink); border-left: 4px solid var(--accent); padding-left: 1.25rem; margin: 0; }

/* Audit band + form */
.band { background: var(--ink); color: #e9e6df; padding: 3.5rem 0; }
.band h2, .band strong { color: #fff; }
.band p { color: #cfcac0; }
.band a { color: #9fdcea; }
.band a:hover { color: #c8ecf4; }
.band .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.band .btn { background: #9fdcea; color: #06252c; }
.band .btn:hover { background: #c8ecf4; color: #06252c; }
form { display: grid; gap: 1rem; background: var(--surface); color: var(--fg); padding: 1.6rem; border-radius: var(--radius); box-shadow: var(--shadow); }
form label { font-weight: 600; display: block; margin-bottom: .35rem; color: var(--ink); }
form .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
form input, form textarea { width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid var(--muted); border-radius: 8px; background: var(--bg); color: var(--fg); }
form input:focus-visible, form textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
form textarea { min-height: 6.5rem; resize: vertical; }
form .btn { justify-self: start; }
.band form .btn { background: var(--accent); color: var(--accent-fg); }
.band form .btn:hover { background: var(--accent-ink); }
.band form p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; font-size: .95rem; color: var(--muted); }
.site-footer .row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer p { max-width: none; margin: 0 0 .5rem; }

/* Secondary pages */
.page { padding: 3.5rem 0 4rem; }
.page p, .page li { font-size: 1.0625rem; }

@media (max-width: 52rem) {
  .hero { padding: 2.5rem 0 2.5rem; }
  .hero .wrap, .band .wrap, .why { grid-template-columns: 1fr; gap: 1.75rem; }
  .section { padding: 2.5rem 0; }
  .site-nav a:not(.nav-cta) { display: none; }
  .brand { font-size: 1.05rem; }
}
