@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Adapted from d178661476414552bf7f469f66e8ce36ddba47e9. No new class names. */
:root {
  color-scheme: light;
  --bg: #F8F8F6;
  --surface: #FFFFFF;
  --surface-2: #EFEEEA;
  --surface-3: #E4E2DC;
  --border: #EAE9E5;
  --border-strong: #DAD8D3;
  --ink: #131210;
  --ink-2: #605D58;
  --ink-3: #6B6963;
  --primary: #191714;
  --on-primary: #FFFFFF;
  --bubble: #191714;
  --on-bubble: #FFFFFF;
  --thumb: #FFFFFF;
  --brand: #2F6FED;
  --brand-ink: #2457C9;
  --brand-tint: #EDF1FB;
  --green: #17864F;
  --green-ink: #136B40;
  --green-tint: #E9F2EC;
  --amber: #966210;
  --amber-tint: #F7F0E0;
  --danger: #B3402F;
  --danger-tint: #F9ECE7;
  --scrim: rgba(19,18,17,.28);
  --sh-sm: 0 1px 2px rgba(19,18,17,.05), 0 4px 14px rgba(19,18,17,.06);
  --sh-md: 0 1px 2px rgba(19,18,17,.06), 0 8px 24px rgba(19,18,17,.10);
  --sh-lg: 0 18px 50px rgba(19,18,17,.16);
  --violet: #6D5BD0;
  --violet-tint: #EEECF9;
  --mark-from: #6D5BD0;
  --mark-to: #2F6FED;
  --hue-teal: #1F7A72;
  --hue-coral: #B34F2E;
  --hue-blue: #2A5F9E;
  --hue-plum: #9E3D66;
  --hue-violet: #6A4FC0;
  --hue-green: #2B7A50;
  --on-hue: #FFFFFF;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-xs: 5px;
  --radius-lg: 20px;
  --t-xs: 11px;
  --t-sm: 12px;
  --t-md: 13px;
  --t-base: 14px;
  --t-prose: 15px;
  --t-lg: 16px;
  --t-xl: 20px;
  --t-2xl: 25px;
  --t-display: 32px;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --i-sm: 14px;
  --i-md: 16px;
  --i-lg: 22px;
}

/* Dark theme. Inert until <html data-theme="dark">, or "system" on a dark OS. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1B1B19; --surface: #252523; --surface-2: #141413; --surface-3: #2F2E2B;
  --border: #2A2927; --border-strong: #3A3936;
  --ink: #ECEBE7; --ink-2: #AEACA6; --ink-3: #94928B;
  --primary: #ECEBE7; --on-primary: #1B1B19;
  --bubble: #32312E; --on-bubble: #ECEBE7; --thumb: #4A4944;
  --brand: #7EA5FF; --brand-ink: #9DBBFF; --brand-tint: #1D2536;
  --green: #5CCB92; --green-ink: #7EDCAA; --green-tint: #15261C;
  --amber: #D9A44A; --amber-tint: #2B2414;
  --danger: #E0715A; --danger-tint: #301B16;
  --scrim: rgba(0, 0, 0, .55);
  --sh-sm: 0 1px 2px rgba(0,0,0,.35), 0 4px 14px rgba(0,0,0,.3);
  --sh-md: 0 1px 2px rgba(0,0,0,.45), 0 10px 28px rgba(0,0,0,.5);
  --sh-lg: 0 18px 50px rgba(0,0,0,.6);
  --violet: #A78BF0; --violet-tint: #221D33;
  --hue-teal: #3FB3A8; --hue-coral: #E07A5C; --hue-blue: #6FA3E0;
  --hue-plum: #D07AA6; --hue-violet: #A78BF0; --hue-green: #5FBF86; --on-hue: #131210;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    color-scheme: dark;
    --bg: #1B1B19; --surface: #252523; --surface-2: #141413; --surface-3: #2F2E2B;
    --border: #2A2927; --border-strong: #3A3936;
    --ink: #ECEBE7; --ink-2: #AEACA6; --ink-3: #94928B;
    --primary: #ECEBE7; --on-primary: #1B1B19;
    --bubble: #32312E; --on-bubble: #ECEBE7; --thumb: #4A4944;
    --brand: #7EA5FF; --brand-ink: #9DBBFF; --brand-tint: #1D2536;
    --green: #5CCB92; --green-ink: #7EDCAA; --green-tint: #15261C;
    --amber: #D9A44A; --amber-tint: #2B2414;
    --danger: #E0715A; --danger-tint: #301B16;
    --scrim: rgba(0, 0, 0, .55);
    --sh-sm: 0 1px 2px rgba(0,0,0,.35), 0 4px 14px rgba(0,0,0,.3);
    --sh-md: 0 1px 2px rgba(0,0,0,.45), 0 10px 28px rgba(0,0,0,.5);
    --sh-lg: 0 18px 50px rgba(0,0,0,.6);
    --violet: #A78BF0; --violet-tint: #221D33;
    --hue-teal: #3FB3A8; --hue-coral: #E07A5C; --hue-blue: #6FA3E0;
    --hue-plum: #D07AA6; --hue-violet: #A78BF0; --hue-green: #5FBF86; --on-hue: #131210;
  }
}

* {
  box-sizing: border-box;
}


html,
body {
  padding: 0;
  margin: 0;
  font-size: var(--t-base);
  letter-spacing: -0.004em;
}

body {
  padding: 0;
  margin: 0;
  font-size: var(--t-base);
  letter-spacing: -0.004em;
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
  text-align: inherit;
  appearance: none;
  -webkit-appearance: none;
}

a {
  color: inherit;
  text-decoration: none;
}

textarea,
input,
select {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

.brandmark {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--mark-from), var(--mark-to));
  box-shadow: none;
}

.eyebrow {
  font-size: var(--t-xs);
  letter-spacing: normal;
  color: var(--ink-3);
  font-weight: 500;
}

.wrap {
  max-width: 1020px;
  margin: 0 auto;
}

.h1 {
  font-size: var(--t-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.h2 { /* new-class: no section-heading step existed between .h1 and body text */
  font-size: var(--t-xl);
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0;
  /* A heading is ink even inside a muted block — without this, .h2 inherits the
     parent's colour and can't replace a screen-specific title class. */
  color: var(--ink);
}

.pagehead { /* new-class: no shared page-header primitive existed; screens each invented one */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}

.field { /* new-class: no shared label+control primitive existed; every form rolled its own */
  display: grid;
  gap: var(--s-1);
  min-width: 0;
}

.field > span {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: var(--s-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--t-md);
  transition: 0.13s;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink-3);
}

.card {
  background: var(--surface);
  border: none;
  border-radius: var(--radius);
  box-shadow: none;
}

.row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  width: 100%;
  text-align: left;
  border-radius: var(--radius-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 500;
  font-size: var(--t-md);
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  transition: 0.14s;
  border: none;
}

.btn-pri {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: none;
}

.btn-pri:hover {
  background: var(--ink-2);
}

.btn-ghost {
  background: var(--surface-3);
  color: var(--ink);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.quietlink {
  margin-top: var(--s-4);
  font-size: var(--t-md);
  color: var(--ink-2);
}

.quietlink.inrow {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
}

.quietlink:not(:disabled):hover {
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink-3);
  box-shadow: 0 0 0 3px var(--brand-tint);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.btn-outline:hover {
  background: var(--surface-2);
}

.ctile,
.stepnum {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  font-size: var(--t-md);
  font-weight: 500;
}

.stepnum {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  font-size: var(--t-md);
  font-weight: 500;
}

/* Semantic document defaults; spacing/type use the approved scales. */
h1, h2, h3, p, ul, ol { margin: 0; }
h1 { line-height: 1.2; }
h2, h3, strong { font-weight: 600; }
p, li { overflow-wrap: anywhere; }
article > * + * { margin-top: var(--s-4); }
article h2 { font-size: var(--t-xl); letter-spacing: -0.012em; margin-top: var(--s-6); }
article h3 { font-size: var(--t-lg); letter-spacing: -0.012em; margin-top: var(--s-5); }
article ul, article ol { padding-left: var(--s-5); }
article li + li { margin-top: var(--s-2); }
article a { text-decoration: underline; }
a:hover { text-decoration: underline; }
.btn:hover { text-decoration: none; }
[hidden] { display: none !important; }

body {
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: var(--t-base);
  line-height: 1.45;
}

.stepnum {
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink);
}

/* Reused approved grid; touched spacing snapped to contract tokens. */
.sgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: var(--s-3);
}

/* Reused approved grid; touched spacing snapped to contract tokens. */
.lgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-4);
}

/* Marketing composition; see References/marketing-design-amendment.md. */
.marketing {
  --t-marketing-hero: 48px;
  --t-marketing-body: 18px;
  --s-marketing-section: 128px;
  font-size: var(--t-marketing-body);
  line-height: 1.65;
}
.wrap > header > a:first-child { font-size: var(--t-xl); letter-spacing: -.02em; }
.wrap > header .quietlink { font-size: var(--t-base); }
.marketing .btn { font-size: var(--t-lg); padding: var(--s-3) var(--s-5); }
.marketing p { color: var(--ink-2); }
.marketing strong { color: var(--ink); font-weight: 500; }
.marketing-title { font-size: var(--t-marketing-hero); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; text-wrap: balance; }
.marketing-title span, .marketing-close h2 span { display: block; }
.marketing-hero { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-8); padding: var(--s-marketing-section) 0 var(--s-7); }
.marketing-hero h1 { grid-column: 1 / -1; margin-bottom: var(--s-7); }
.marketing-hero > div p + p { margin-top: var(--s-3); }
.marketing-hero > div strong { font-size: var(--t-xl); }
.marketing-hero > .btn { justify-self: start; grid-column: 1 / -1; }
.marketing-section { margin-top: var(--s-marketing-section); }
.marketing-section h2 { font-size: var(--t-display); line-height: 1.2; letter-spacing: -.025em; font-weight: 600; text-wrap: balance; }
.marketing-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; }
.marketing #expertise > h2 { max-width: 17ch; position: sticky; top: var(--s-8); }
.marketing #expertise > div > div:first-child p + p { margin-top: var(--s-5); }
.marketing #expertise > div > div:first-child strong { display: block; font-size: var(--t-xl); line-height: 1.4; }
.marketing [data-audience] { margin: var(--s-7) 0; padding: var(--s-6) 0; border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.marketing [data-audience] ul { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-6); padding-left: var(--s-5); margin-top: var(--s-4); font-size: var(--t-lg); }
.marketing [data-audience] li:last-child { grid-column: 1 / -1; }
.marketing [data-audience] li::marker { color: var(--ink-3); }
.marketing #expertise > div > p strong { display: block; }
.marketing-steps { list-style: none; padding: 0; margin-top: var(--s-7); }
.marketing-steps li { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); padding: var(--s-6) 0; border-top: 1px solid var(--border-strong); }
.marketing-steps h3 { display: flex; align-items: baseline; gap: var(--s-3); font-size: var(--t-xl); font-weight: 500; line-height: 1.5; letter-spacing: -.012em; }
.marketing-steps h3 .stepnum { align-self: start; line-height: 1; }
.marketing-close { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7) var(--s-8); padding: var(--s-8) 0; border-top: 1px solid var(--border-strong); }
.marketing-close > div > p + p { margin-top: var(--s-4); }
.marketing-close > .marketing-split { grid-column: 1 / -1; }
.marketing-close > .marketing-split p { margin: 0; padding-top: var(--s-5); border-top: 1px solid var(--border); }
.marketing-close > .btn { justify-self: start; }
.wrap > footer { font-size: var(--t-base); }
.wrap > header, .wrap > footer { line-height: 1.65; }
@media (max-width: 760px) {
  .marketing { --t-marketing-hero: 40px; --s-marketing-section: 64px; --t-marketing-body: 16px; }
  .marketing-hero, .marketing-split, .marketing-close { grid-template-columns: 1fr; gap: var(--s-6); }
  .marketing-hero h1 { margin-bottom: var(--s-5); }
  .marketing #expertise > h2 { position: static; max-width: none; }
  .marketing-steps li { grid-template-columns: 1fr; gap: var(--s-3); }
  .marketing [data-audience] ul { gap: var(--s-2) var(--s-5); }
}

/* Keyboard-only skip link: requested for shared standalone pages. */
[data-skip-link] { position: absolute; left: var(--s-5); top: var(--s-4); transform: translateY(-200%); z-index: 10; background: var(--bg); padding: var(--s-2) var(--s-3); }
[data-skip-link]:focus { transform: translateY(0); }
