/* phsdevel look B, "Signal": charcoal with one orange accent; Space
   Grotesk headings, Inter text (our own copies, OFL: static/fonts-OFL.txt).
   Mobile first: one column, wider from 760 px. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("space-grotesk-latin.woff2") format("woff2");
}

:root {
  --bg: #FFFFFF;
  --surface: #F4F4F5;
  --text: #18181B;
  --muted: #52525B;
  --line: #E4E4E7;
  --accent: #C2410C;
  --button: #C2410C;
  --button-text: #FFFFFF;
  --button-hover: #9A3412;
  --panel: #18181B;
  --panel-text: #FAFAFA;
  --panel-muted: #D4D4D8;
  --banner: #FEF3C7;
  --banner-text: #78350F;
  --heading: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1C1C1F;
    --text: #F4F4F5;
    --muted: #A1A1AA;
    --line: #2A2A2E;
    --accent: #FB923C;
    --button: #FB923C;
    --button-text: #1A0B02;
    --button-hover: #FDBA74;
    --panel: #27272A;
    --panel-text: #FAFAFA;
    --panel-muted: #D4D4D8;
    --banner: #422006;
    --banner-text: #FDE68A;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--heading); line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.5rem, 9vw, 4.25rem); letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: 1.4rem; letter-spacing: -0.01em; font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--button-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1rem; }

.test-banner {
  background: var(--banner);
  color: var(--banner-text);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
}

.site-header { padding: 1rem 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--text); }
.mark .bar { fill: var(--text); }
.mark .bar-accent { fill: var(--accent); }
.wordmark { font-family: var(--heading); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; }
.dot { color: var(--accent); }

.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  border-radius: 999px; background: var(--surface); color: var(--text);
  text-decoration: none; font-weight: 600;
}
.pill:hover { color: var(--text); background: var(--line); }

.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.5rem;
  border-radius: 999px; background: var(--button); color: var(--button-text);
  text-decoration: none; font-weight: 600;
}
.button:hover { background: var(--button-hover); color: var(--button-text); }

.hero { padding: 1.75rem 0 2.5rem; }
.hero .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.hero h1 { max-width: 14ch; }
.accent { color: var(--accent); }
.lead { font-size: 1.0625rem; color: var(--muted); max-width: 38rem; }

.panel { background: var(--surface); border-radius: 24px; padding: 1.6rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.panel p { color: var(--muted); }
.dark-panel { background: var(--panel); color: var(--panel-text); margin: 1rem 0 2rem; }
.dark-panel p { color: var(--panel-muted); }
.small { font-size: 0.875rem; font-weight: 600; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { font-size: 0.875rem; font-weight: 600; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--bg); }

.services { padding: 2.25rem 1rem 1rem; }
.service-list { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.service-list li { display: flex; gap: 0.9rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.service-list li:last-child { border-bottom: 0; }
.service-list p { color: var(--muted); font-size: 0.95rem; margin-top: 0.2rem; }
.square { flex-shrink: 0; width: 10px; height: 10px; margin-top: 0.45rem; border-radius: 2px; background: var(--accent); }

.prose { padding: 1.5rem 1rem 3rem; max-width: 46rem; }
.prose h1 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: 1rem; }
.prose h2 { margin: 1.75rem 0 0.5rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.25rem; margin: 0.5rem 0; }
.prose li + li { margin-top: 0.35rem; }
.note { background: var(--surface); border-radius: 12px; padding: 0.75rem 1rem; font-size: 0.95rem; }

.site-footer { border-top: 1px solid var(--line); padding: 1.25rem 0 1.75rem; font-size: 0.875rem; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }

@media (min-width: 760px) {
  .wrap { padding: 0 2rem; }
  .hero { padding: 3.5rem 0 4rem; }
  .lead { font-size: 1.2rem; }
  .panel { padding: 2.25rem 2.5rem; }
  .services { padding: 3.5rem 2rem 1.5rem; }
  .service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .service-list li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .prose { padding: 2.5rem 2rem 4rem; }
}
