/* Synnoe Light — generated from tokens.json */
:root, [data-theme="paper"] {
  --bg-page: #f7f5f0; /* Page and slide ground. Carries fg-1, fg-2, fg-3, fg-accent and fg-risk. */
  --bg-card: #ffffff; /* Card face and any raised sheet. Sits on bg-page with sheet-shade offset and line-1 border. */
  --bg-callout: #efebe4; /* Inset panel for callouts and closing statements, one step lighter than a hard grey. Carries fg-1, fg-2, fg-3, fg-accent. */
  --bg-plate: #0b101a; /* Navy plate for brand moments (website hero, logo plate, cover slab). Always paired with the dark logo and fg-on-plate. */
  --fg-1: #1a2230; /* Headlines and body copy on bg-page, bg-card and bg-callout. */
  --fg-2: #3e4654; /* Secondary copy and card text on bg-page, bg-card and bg-callout. */
  --fg-3: #646a72; /* Captions, sources, dates and meta on bg-page, bg-card and bg-callout. 4.6:1 on bg-callout, the lowest pair. */
  --fg-accent: #1f8a7a; /* Kickers, links and teal text on bg-page, bg-card and bg-callout. This is the exact deck teal. In the paper theme it reaches 3.9:1 on bg-page, 4.2:1 on bg-card and 3.5:1 on bg-callout, under the 4.5:1 floor for small text: keep it to bold 12px+ eyebrows, large type and links with an underline. */
  --fg-risk: #a94433; /* Coral text for risk and "readable" statements on bg-page, bg-card, bg-callout. Use on the comparison page only. */
  --fg-on-plate: #f7f5f0; /* Text on bg-plate. */
  --fg-on-accent: #0b101a; /* Text on accent fills and on the teal to coral gradient of the primary Button. */
  --accent: #55cbb8; /* Mint teal for fills, card strips, ribbon strands and marks. Never body text on a light ground (1.8:1). */
  --accent-soft: #9fdcd1; /* Midpoint of the card strip gradient and soft teal fills. */
  --accent-deep: #1f8a7a; /* Same value as fg-accent in paper. Chart marks, icons and large type (24px+) on light grounds. */
  --risk: #e9a79c; /* Coral fill: end of the card strip gradient and risk marks. Pair text with fg-risk or fg-on-accent. */
  --risk-deep: #c2513f; /* Coral for chart marks, icons and large type on light grounds (4.2:1 on bg-page). The deck coral. */
  --tint-accent: #e4f2ef; /* Soft teal field behind accent Badges and highlighted rows. Carries fg-accent. */
  --tint-risk: #fbedea; /* Soft coral field behind risk Badges. Carries fg-risk. */
  --line-1: #e2dcd0; /* Hairline border of cards and dividers. Decorative: the sheet-shade offset, not this line, separates a card from the page. */
  --line-control: #7e848c; /* Border of inputs and secondary buttons. At least 3:1 on bg-page and bg-card in both themes. */
  --sheet-shade: #e6dfd2; /* Colour of the offset sheet behind every card. Used by the shadow-sheet token and by hand-drawn sheets. */
  --focus: #1f8a7a; /* Solid 2px focus ring with 2px offset on every interactive element. 3.9:1 on bg-page and 4.2:1 on bg-card. */
  --shadow-sheet: 5px 5px 0 #e6dfd2; /* Offset sheet behind every Card, at 45 degrees down and right (5pt in the deck). Never blurred, never stacked with another shadow. */
}
[data-theme="ink"] {
  --bg-page: #0b101a;
  --bg-card: #131b27;
  --bg-callout: #1a2332;
  --bg-plate: #0b101a;
  --fg-1: #edece6;
  --fg-2: #c9cdd2;
  --fg-3: #8b8f89;
  --fg-accent: #55cbb8;
  --fg-risk: #e9a79c;
  --fg-on-plate: #f7f5f0;
  --fg-on-accent: #0b101a;
  --accent: #55cbb8;
  --accent-soft: #9fdcd1;
  --accent-deep: #1f8a7a;
  --risk: #e9a79c;
  --risk-deep: #c2513f;
  --tint-accent: #102b2d;
  --tint-risk: #2b1f23;
  --line-1: #2a3342;
  --line-control: #6b7684;
  --sheet-shade: #05080d;
  --focus: #55cbb8;
  --shadow-sheet: 5px 5px 0 #05080d;
}
:root {
  --sp-1: 4px; /* Icon gaps, badge padding. */
  --sp-2: 8px; /* Tight stacks, button icon gap. */
  --sp-3: 12px; /* Inline groups, small card padding. */
  --sp-4: 16px; /* Default gap and control padding. */
  --sp-5: 24px; /* Card padding. */
  --sp-6: 32px; /* Gap between cards. */
  --sp-7: 48px; /* Section padding on a slide or page. */
  --sp-8: 64px; /* Page margins and hero spacing. */
  --strip: 5px; /* Height of the gradient strip along the top edge of a card (4pt in the deck). */
  --radius-sm: 4px; /* Badges and inputs. */
  --radius-md: 8px; /* Buttons and all four corners of cards; the strip is clipped to the rounded top. */
  --radius-lg: 12px; /* Callouts and large panels. */
  --radius-pill: 999px; /* Status pills. */
  --font-display: "Cormorant Garamond", "Bell MT", Georgia, serif;
  --font-body: "Nunito Sans", "Avenir Next", Avenir, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --text-display: 400 72px/76px var(--font-display); /* Cover headline and website hero. One per page. */
  --text-title: 500 40px/44px var(--font-display); /* Slide and section titles. Sentence case, ends with a full stop when it is a statement. */
  --text-heading: 500 26px/30px var(--font-display); /* Card titles and sub-section heads. */
  --text-subtitle: 600 20px/27px var(--font-body); /* Line under a title and lead paragraphs. */
  --text-body: 400 15px/23px var(--font-body); /* Running copy. */
  --text-body-sm: 400 13px/19px var(--font-body); /* Card detail, table cells, form help. */
  --text-caption: 400 11.5px/16px var(--font-body); /* Sources, dates and legal references in fg-3. */
  --text-eyebrow: 700 12px/16px var(--font-body); /* Kicker above a card or title. Set in capitals, in fg-accent. */
  --text-code: 400 13px/20px var(--font-mono); /* Tokens, paths and inline code. */
}
.display {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 76px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.title {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 44px;
  font-weight: 500;
  letter-spacing: 0;
}
.heading {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 30px;
  font-weight: 500;
  letter-spacing: 0;
}
.subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 27px;
  font-weight: 600;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 23px;
  font-weight: 400;
  letter-spacing: 0;
}
.body-sm {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 19px;
  font-weight: 400;
  letter-spacing: 0;
}
.caption {
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.code {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}
