/* ==========================================================================
   Toybox Calm - the shared look of the 2026 public pages
   "Toybox Daylight, calm edition": the look of the phishing email template library
   (assets/css/phishing-email-templates.css) and the email spoofing test (assets/css/email-spoofing-test.css). Ink
   outlines, offset shadows, Fredoka headings, the sky and cream palette and yellow accents, with a compact dark header
   that fades into the page. No illustrations, cartoon logo type, starbursts, sparkles, tilts or looping animations.

   Pages that use it sit on _LandingsLayout2025 and pull it in with
   @Html.Partial("~/Views/Shared/_ToyboxCalmHead.cshtml") in their FinalHeader section (fonts + this file with a ?v=
   cache buster). A page's own stylesheet, if it needs one, loads after it and uses its own class prefix.
   Every class here starts with tc- (checked against Front BS4, Silicon BS5, boxicons, swiper, hs-mega-menu, toastr and
   the 2026 chrome: none of them use one). Tokens live on .tc-root, not :root. The pages are documented in
   docs/public-pages-2026/README.md.
   ========================================================================== */
/* Arial Bold scaled to Fredoka's metrics while the web font loads (the head partial preloads the Latin woff2) */
@font-face { font-family: 'Fredoka Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Arial'); font-weight: 500 700; size-adjust: 94%; ascent-override: 103.5%; descent-override: 25%; line-gap-override: 0%; }
.tc-root {
  --tc-ink: #2F2A4F;
  --tc-ink-2: #433D69;
  --tc-muted: #5B5680;
  --tc-line: rgba(47, 42, 79, .14);
  --tc-cream: #FFF6E6;
  --tc-sky-0: #F5FAFF;
  --tc-sky-1: #EAF6FF;
  --tc-sky-2: #CFEAFF;
  --tc-sky: #52B4FF;
  --tc-coral: #FF7A5C;
  --tc-green: #3FCB7F;
  --tc-yellow: #FFC94D;
  --tc-teal: #36CBB1;
  --tc-pink: #FF7A8A;
  --tc-violet: #8C7CF0;
  --tc-night: #27225E;
  --tc-deep: #0F0C2C;
  --tc-link: #3B33B5;
  /* Soft fills for tags and states: ink text on each holds 7:1 or better */
  --tc-mint: #DDF7E8;
  --tc-butter: #FFF1C2;
  --tc-blush: #FFE0DC;
  --tc-lilac: #ECE8FF;
  /* Dark red-orange for small text accents on white (5.9:1) */
  --tc-rust: #B23F22;
  --tc-r: 22px;
  --tc-drop: 0 5px 0 var(--tc-ink);
  --tc-drop-lg: 0 8px 0 var(--tc-ink);
  --tc-display: 'Fredoka', 'Fredoka Fallback', 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --tc-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tc-mono: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Consolas, 'Liberation Mono', monospace;
  position: relative;
  font-family: var(--tc-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tc-ink);
  background: var(--tc-sky-1);
  overflow-x: clip;
}
.tc-root *, .tc-root *::before, .tc-root *::after { box-sizing: border-box; }
/* Front's theme.min.css sets svg { margin-bottom: -8px } on every SVG, which drops centred icons 4px low */
.tc-root svg { margin-bottom: 0; }
/* Element resets sit in :where(), so they weigh what the themes' element rules weigh and win on source order,
   while every tc- class rule (and a page's own prefix) still beats them without !important */
:where(.tc-root) h1, :where(.tc-root) h2, :where(.tc-root) h3, :where(.tc-root) h4, :where(.tc-root) h5, :where(.tc-root) h6 { font-family: var(--tc-display); font-weight: 700; color: var(--tc-ink); margin: 0; letter-spacing: 0; line-height: 1.15; }
:where(.tc-root) p { margin: 0 0 1em; }
:where(.tc-root) ul, :where(.tc-root) ol { margin: 0; padding: 0; list-style: none; }
:where(.tc-root) dl, :where(.tc-root) dd { margin: 0; }
:where(.tc-root) figure { margin: 0; }
:where(.tc-root) img, :where(.tc-root) video { max-width: 100%; height: auto; }
:where(.tc-root) table { border-collapse: collapse; }
:where(.tc-root) b, :where(.tc-root) strong { font-weight: 700; }
:where(.tc-root) a:not([class]) { color: var(--tc-link); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
:where(.tc-root) a:not([class]):hover { color: var(--tc-ink); }
:where(.tc-root) button, :where(.tc-root) input, :where(.tc-root) select, :where(.tc-root) textarea { font-family: inherit; }
:where(.tc-root) code { font-family: var(--tc-mono); font-size: .9em; }
.tc-root :focus-visible { outline: 3px solid var(--tc-ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--tc-yellow); }
/* On the dark header and the dark panel an ink ring would vanish: a white one instead */
.tc-root .tc-hero :focus-visible, .tc-root .tc-panel :focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: none; }
/* ...except the header's buttons, which sit where the header has faded to light blue: the ink ring and yellow halo */
.tc-root .tc-hero .tc-btn:focus-visible { outline: 3px solid var(--tc-ink); outline-offset: 3px; box-shadow: 0 0 0 7px var(--tc-yellow); }
/* ...and inside a white card that sits in the header (a tool, a quiz), where a white ring would vanish too */
.tc-root .tc-hero .tc-hero__card :focus-visible { outline: 3px solid var(--tc-ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--tc-yellow); }
/* Focus moved by a script (tabindex=-1 jump targets) shows no ring, in the header and its cards too (these selectors
   match the rings' weight above and come later, so they win) */
.tc-root [tabindex="-1"]:focus-visible, .tc-root .tc-hero [tabindex="-1"]:focus-visible, .tc-root .tc-panel [tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }
.tc-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.tc-root [hidden] { display: none !important; }
/* Icons hold their 1em box before the boxicons font arrives, so chips and buttons don't re-wrap when it does */
.tc-root i.bx { width: 1em; flex: none; text-align: center; }
/* In-page jumps and focus moving up the page land clear of the fixed 76px header */
.tc-root [id], .tc-root :is(a[href], button, input, select, textarea, summary) { scroll-margin-top: 96px; }
/* A skip link: out of sight (clipped, so it can't show anywhere on the page) until a keyboard user tabs to it */
.tc-skip { position: absolute; left: 16px; z-index: 5; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.tc-root .tc-skip:focus { width: auto; height: auto; overflow: visible; clip: auto; padding: 10px 16px; border-radius: 999px; background: var(--tc-ink); color: #fff; font: 600 .9375rem/1.2 var(--tc-display); text-decoration: none; }

/* Container: the box of the site header's Silicon .container, so content lines up with the logo */
.tc-wrap { width: 100%; margin: 0 auto; padding: 0 16px; }
@media (min-width: 500px) { .tc-wrap { max-width: 97%; padding: 0 12px; } }
@media (min-width: 768px) { .tc-wrap { max-width: 95%; } }
@media (min-width: 1400px) { .tc-wrap { max-width: 1320px; } }
/* A narrower column for long reading */
.tc-wrap--text { max-width: 52rem; }
@media (min-width: 1400px) { .tc-wrap--text { max-width: 52rem; } }

.tc-section { position: relative; padding: 72px 0; }
@media (min-width: 992px) { .tc-section { padding: 96px 0; } }
/* Section backgrounds: alternate them so neighbouring sections read apart */
.tc-section--white { background: #fff; }
.tc-section--sky { background: var(--tc-sky-1); }
.tc-section--pale { background: var(--tc-sky-0); }
.tc-section--cream { background: var(--tc-cream); }
/* The first section under the header: the header already leaves room */
.tc-section--first { padding-top: 24px; }
@media (min-width: 992px) { .tc-section--first { padding-top: 32px; } }
.tc-section--tight { padding: 48px 0; }
@media (min-width: 992px) { .tc-section--tight { padding: 64px 0; } }

/* ---------- Type ---------- */
.tc-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 5px 13px 4px; background: #fff; border: 2px solid var(--tc-ink); border-radius: 999px; box-shadow: 0 3px 0 var(--tc-ink); font: 600 .8125rem/1.2 var(--tc-display); letter-spacing: .08em; text-transform: uppercase; color: var(--tc-ink); }
.tc-eyebrow i { font-size: 1.05rem; color: var(--tc-coral); }
.tc-root .tc-h2 { font: 700 clamp(1.9rem, 1.35rem + 2vw, 2.9rem)/1.08 var(--tc-display); color: var(--tc-ink); margin: 0 0 14px; }
.tc-root .tc-h3 { font: 700 clamp(1.35rem, 1.15rem + .7vw, 1.65rem)/1.2 var(--tc-display); color: var(--tc-ink); margin: 0 0 10px; }
.tc-root .tc-h4 { font: 700 1.1875rem/1.25 var(--tc-display); color: var(--tc-ink); margin: 0 0 8px; }
.tc-root .tc-h2, .tc-root .tc-h3, .tc-lede, .tc-root .tc-title { text-wrap: balance; }
.tc-root p { text-wrap: pretty; }
.tc-lede { font-size: 1.125rem; line-height: 1.6; color: var(--tc-ink-2); max-width: 46rem; }
.tc-muted { color: var(--tc-muted); }
/* A sentence-long eyebrow: too long for a pill, so small capitals over the heading */
.tc-kicker { margin: 0 0 12px; font: 700 .875rem/1.4 var(--tc-display); letter-spacing: .06em; text-transform: uppercase; color: var(--tc-rust); }
/* A word or two in a heading on a yellow underline highlight */
.tc-mark { position: relative; z-index: 0; }
.tc-mark::after { content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .05em; height: .36em; background: var(--tc-yellow); border-radius: .18em; z-index: -1; }
.tc-head { margin-bottom: 36px; }
.tc-head > :last-child { margin-bottom: 0; }
.tc-head--center { text-align: center; }
.tc-head--center .tc-lede, .tc-head--center > p { margin-left: auto; margin-right: auto; max-width: 52rem; }
@media (max-width: 767.98px) { .tc-head--center { text-align: left; } }
.tc-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.tc-head p:not([class]) { font-size: 1.0625rem; color: var(--tc-ink-2); }

/* ---------- Buttons and links ---------- */
.tc-btn { --b: var(--tc-yellow); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 52px; padding: .65em 1.35em .6em; border: 3px solid var(--tc-ink); border-radius: 999px; background-color: var(--b); background-image: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 58%); color: var(--tc-ink); font: 700 1.125rem/1 var(--tc-display); letter-spacing: .01em; text-decoration: none; white-space: nowrap; box-shadow: 0 5px 0 var(--tc-ink); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease; -webkit-tap-highlight-color: transparent; }
.tc-btn i { font-size: 1.3em; line-height: 0; }
.tc-btn:hover, .tc-btn:focus { color: var(--tc-ink); text-decoration: none; }
.tc-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--tc-ink); }
.tc-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--tc-ink); }
.tc-btn[disabled], .tc-btn[aria-disabled="true"] { cursor: not-allowed; opacity: .6; transform: none; box-shadow: 0 5px 0 var(--tc-ink); }
.tc-btn--white { --b: #fff; background-image: none; }
.tc-btn--green { --b: var(--tc-green); }
.tc-btn--sky { --b: var(--tc-sky); }
.tc-btn--sm { min-height: 44px; font-size: 1rem; padding: .5em 1.05em .45em; box-shadow: 0 4px 0 var(--tc-ink); }
.tc-btn--sm:hover { box-shadow: 0 6px 0 var(--tc-ink); }
.tc-btn--lg { min-height: 58px; font-size: 1.25rem; padding: .7em 1.5em .65em; }
@media (max-width: 399.98px) { .tc-btn { white-space: normal; text-align: center; } }
.tc-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.tc-arrow { display: inline-flex; align-items: center; gap: 4px; font: 600 1.0625rem/1.2 var(--tc-display); color: var(--tc-ink); text-decoration: none; border-bottom: 3px solid var(--tc-yellow); padding-bottom: 2px; }
.tc-arrow:hover, .tc-arrow:focus { color: var(--tc-ink); text-decoration: none; border-bottom-color: var(--tc-coral); }
.tc-arrow i { transition: transform .2s ease; }
.tc-arrow:hover i:last-child { transform: translateX(3px); }
/* A 44px tap area round the 25px link, without moving its underline */
.tc-arrow { position: relative; }
.tc-arrow::before { content: ""; position: absolute; inset: -10px -4px; }
.tc-linkbtn { display: inline-flex; align-items: center; gap: 3px; min-height: 44px; padding: 8px 2px; border: 0; background: none; font: 600 .9375rem/1.2 var(--tc-display); color: var(--tc-ink-2); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.tc-linkbtn:hover { color: var(--tc-ink); text-decoration-color: var(--tc-coral); }
.tc-linkbtn i { font-size: 1.05rem; }

/* ---------- Chips, tags and counts ---------- */
.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 4px; border: 2px solid var(--tc-ink); border-radius: 999px; background: #fff; box-shadow: 0 3px 0 var(--tc-ink); font: 600 .875rem/1.2 var(--tc-display); color: var(--tc-ink); white-space: nowrap; }
.tc-chip i { font-size: 1.05rem; }
.tc-chip--yellow { background: var(--tc-yellow); }
/* A chip that is a link (related pages, filters as links) */
.tc-chiplink { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 6px 13px 5px; border: 2px solid var(--tc-ink); border-radius: 999px; background: #fff; box-shadow: 0 3px 0 var(--tc-ink); font: 600 .9375rem/1.2 var(--tc-display); color: var(--tc-ink); text-decoration: none; transition: transform .15s ease, background-color .2s ease; }
.tc-chiplink i { font-size: 1.1rem; }
.tc-chiplink:hover, .tc-chiplink:focus { color: var(--tc-ink); text-decoration: none; background: var(--tc-yellow); }
.tc-chiplink:hover { transform: translateY(-2px); }
.tc-chiplink[aria-current], .tc-chiplink.is-active, .tc-chiplink[aria-pressed="true"], .tc-chiplink[aria-selected="true"] { background: var(--tc-yellow); }
/* Small tags on a card: categories, levels, durations */
.tc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 1px; border: 2px solid rgba(47, 42, 79, .3); border-radius: 999px; background: #fff; font: 600 .75rem/1.4 var(--tc-display); color: var(--tc-ink-2); white-space: nowrap; }
.tc-tag i { font-size: .95rem; }
.tc-tag--ink { border-color: var(--tc-ink); color: var(--tc-ink); }
.tc-tag--mint { border-color: var(--tc-ink); color: var(--tc-ink); background: var(--tc-mint); }
.tc-tag--butter { border-color: var(--tc-ink); color: var(--tc-ink); background: var(--tc-butter); }
.tc-tag--blush { border-color: var(--tc-ink); color: var(--tc-ink); background: var(--tc-blush); }
.tc-tag--lilac { border-color: var(--tc-ink); color: var(--tc-ink); background: var(--tc-lilac); }
.tc-tag--sky { border-color: var(--tc-ink); color: var(--tc-ink); background: var(--tc-sky-2); }
.tc-count { display: inline-flex; align-items: center; padding: 3px 11px 2px; border: 2px solid var(--tc-ink); border-radius: 999px; background: var(--tc-yellow); font: 700 1rem/1.3 var(--tc-display); font-variant-numeric: tabular-nums; color: var(--tc-ink); }

/* ==========================================================================
   HEADER: a compact dark header that fades into the page's sky. Breadcrumb, H1 (a key phrase may sit on a yellow
   card), the lede, calls to action and chips.
   ========================================================================== */
.tc-hero { position: relative; padding: 100px 0 64px; color: #fff; background:
    radial-gradient(ellipse 300px 70px at 12% 34%, rgba(255, 255, 255, .14), transparent 70%),
    radial-gradient(ellipse 380px 90px at 88% 22%, rgba(255, 255, 255, .12), transparent 70%),
    linear-gradient(180deg, #211B58 0, #2D2981 24%, #3F50C2 calc(100% - 64px), #5B92EC calc(100% - 44px), #98CEFF calc(100% - 16px), var(--tc-sky-1) 100%); }
@media (min-width: 992px) { .tc-hero { padding: 112px 0 88px; } }
/* A header followed by a white section fades into white instead */
.tc-hero--to-white { background:
    radial-gradient(ellipse 300px 70px at 12% 34%, rgba(255, 255, 255, .14), transparent 70%),
    radial-gradient(ellipse 380px 90px at 88% 22%, rgba(255, 255, 255, .12), transparent 70%),
    linear-gradient(180deg, #211B58 0, #2D2981 24%, #3F50C2 calc(100% - 64px), #5B92EC calc(100% - 44px), #BFE0FF calc(100% - 16px), #fff 100%); }
.tc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 0 0 18px; font: 600 .875rem/1.3 var(--tc-display); color: #C9C4EC; }
.tc-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.tc-crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .7; }
.tc-root .tc-crumbs a { display: inline-block; padding: 6px 0; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tc-root .tc-crumbs a:hover { color: #fff; text-decoration-color: var(--tc-yellow); }
.tc-root .tc-crumbs a { position: relative; }
.tc-root .tc-crumbs a::before { content: ""; position: absolute; inset: -7px -4px; }
.tc-hero__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; }
.tc-hero__copy { flex: 1 1 560px; max-width: 820px; }
.tc-root .tc-title { margin: 0 0 16px; font: 700 clamp(2.15rem, 1.5rem + 3vw, 3.9rem)/1.06 var(--tc-display); color: #fff; }
/* The key phrase on a yellow card: the games' highlighted-domain treatment, without the tilt */
.tc-title__hl { display: inline-block; max-width: 100%; margin-top: .1em; padding: 0 .24em .05em; border: 3px solid var(--tc-ink); border-radius: .26em; background: var(--tc-yellow); box-shadow: 0 5px 0 var(--tc-deep); color: var(--tc-ink); }
@media (max-width: 575.98px) { .tc-title__hl { display: inline; line-height: 1.42; -webkit-box-decoration-break: clone; box-decoration-break: clone; } }
.tc-hero__lede { margin: 0 0 24px; max-width: 44rem; font-size: 1.1875rem; line-height: 1.6; color: #E9E7FA; }
.tc-hero__lede:last-child { margin-bottom: 0; }
.tc-hero__copy p:not([class]) { color: #E9E7FA; max-width: 44rem; }
.tc-hero__lede strong, .tc-hero__copy p strong { color: #fff; }
.tc-root .tc-hero__copy a:not([class]) { color: #fff; text-decoration-color: var(--tc-yellow); }
.tc-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.tc-hero__ctas .tc-btn { border-color: var(--tc-deep); box-shadow: 0 5px 0 var(--tc-deep); }
.tc-hero__ctas .tc-btn:hover { box-shadow: 0 7px 0 var(--tc-deep); }
.tc-hero__ctas .tc-btn:active { box-shadow: 0 2px 0 var(--tc-deep); }
.tc-hero__ctas .tc-arrow { color: #fff; }
.tc-hero__chips { flex: 0 1 auto; }
@media (min-width: 1200px) { .tc-hero__chips { flex-direction: column; align-items: flex-end; } }
/* A card that sits in the header under the copy (a tool, a quiz, a status summary): white, outlined, lifted */
.tc-hero__card { margin-top: 32px; color: var(--tc-ink); }

/* ==========================================================================
   CARDS
   ========================================================================== */
/* The plain card: white, ink outline, offset shadow */
.tc-card { position: relative; min-width: 0; padding: 24px 22px; background: #fff; border: 3px solid var(--tc-ink); border-radius: var(--tc-r); box-shadow: var(--tc-drop); }
@media (min-width: 768px) { .tc-card { padding: 28px 28px; } }
.tc-card--pale { background: var(--tc-sky-0); }
.tc-card--cream { background: var(--tc-cream); }
.tc-card--flat { box-shadow: none; }
/* The big card that holds a tool or a library: a pale head strip over a white body */
.tc-card--xl { padding: 0; border-radius: 28px; box-shadow: var(--tc-drop-lg), 0 30px 60px -24px rgba(33, 28, 90, .4); }
.tc-card__head { padding: 22px 18px 18px; background: var(--tc-sky-0); border-bottom: 3px solid var(--tc-ink); border-radius: 25px 25px 0 0; }
@media (min-width: 768px) { .tc-card__head { padding: 26px 26px 22px; } }
.tc-card__body { padding: 22px 18px 26px; }
@media (min-width: 768px) { .tc-card__body { padding: 26px 26px 30px; } }
.tc-root .tc-card__title { margin: 0 0 8px; font: 700 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--tc-display); color: var(--tc-ink); }
.tc-card > p:last-child, .tc-card__body > p:last-child { margin-bottom: 0; }
/* A card that is one link: the title's link covers the card */
.tc-card--link { transition: transform .15s ease, box-shadow .15s ease; }
.tc-card--link:hover, .tc-card--link:focus-within { transform: translateY(-3px); box-shadow: 0 8px 0 var(--tc-ink); }
.tc-card__link { color: var(--tc-ink); text-decoration: none; }
.tc-card__link:hover, .tc-card__link:focus { color: var(--tc-ink); text-decoration: underline; text-decoration-color: var(--tc-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.tc-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 19px; }
.tc-root .tc-card__link:focus-visible { outline: none; box-shadow: none; }
.tc-root .tc-card__link:focus-visible::after { outline: 3px solid var(--tc-ink); outline-offset: 5px; box-shadow: 0 0 0 9px var(--tc-yellow); }

/* Grids of cards */
.tc-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .tc-grid--2, .tc-grid--3, .tc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .tc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tc-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .tc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Icon cards: a coloured icon tile sitting over the card's top edge (set the colour with style="--a:#52B4FF") */
.tc-tiles { display: grid; gap: 44px; padding-top: 26px; }
@media (min-width: 768px) { .tc-tiles--2, .tc-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 22px; } }
@media (min-width: 992px) { .tc-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 22px; } }
@media (min-width: 1200px) { .tc-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tc-tile { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px 22px 22px; background: #fff; border: 3px solid var(--tc-ink); border-radius: var(--tc-r); box-shadow: var(--tc-drop); }
.tc-tile--pale { background: var(--tc-sky-0); }
.tc-tile__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: -48px 0 14px; border: 3px solid var(--tc-ink); border-radius: 18px; background: var(--a, var(--tc-sky)); background-image: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 55%); box-shadow: 0 4px 0 var(--tc-ink); font-size: 1.75rem; color: var(--tc-ink); }
.tc-tile__kicker { margin: 0 0 4px; font: 700 .75rem/1.2 var(--tc-display); letter-spacing: .08em; text-transform: uppercase; color: var(--tc-muted); }
.tc-root .tc-tile__title { margin: 0 0 8px; font: 700 1.35rem/1.2 var(--tc-display); color: var(--tc-ink); }
.tc-tile p { color: var(--tc-ink-2); }
.tc-tile p:last-child { margin-bottom: 0; }
.tc-tile > .tc-arrow, .tc-tile > .tc-btns { margin-top: auto; align-self: flex-start; }

/* Numbered or icon feature rows: an icon tile beside a heading and its text */
.tc-features { display: grid; gap: 18px; }
.tc-feature { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; padding: 22px 22px 20px; background: var(--tc-sky-0); border: 3px solid var(--tc-ink); border-radius: var(--tc-r); box-shadow: var(--tc-drop); }
.tc-feature--white { background: #fff; }
.tc-feature__icon { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border: 3px solid var(--tc-ink); border-radius: 16px; background: var(--a, var(--tc-sky)); background-image: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 55%); box-shadow: 0 3px 0 var(--tc-ink); font: 700 1.6rem/1 var(--tc-display); color: var(--tc-ink); }
.tc-root .tc-feature h3, .tc-root .tc-feature__title { margin: 4px 0 8px; font: 700 1.3rem/1.25 var(--tc-display); color: var(--tc-ink); }
.tc-feature__n { color: var(--tc-rust); }
.tc-feature__text { min-width: 0; }
.tc-feature__text p { color: var(--tc-ink-2); }
.tc-feature__text > :last-child { margin-bottom: 0; }
@media (max-width: 575.98px) { .tc-feature { grid-template-columns: minmax(0, 1fr); } .tc-feature__icon { grid-row: auto; margin-bottom: 6px; } }

/* A two-column block: an intro on the left (sticky on desktop) and cards, features or questions on the right */
.tc-split { display: grid; gap: 28px; }
@media (min-width: 992px) {
  .tc-split { grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; }
  .tc-split__intro { position: sticky; top: 110px; }
  .tc-root .tc-split__intro .tc-h2 { font-size: 2.5rem; }
}
.tc-split__intro p:not([class]) { color: var(--tc-ink-2); }
/* Grid items default to min-width: auto, so a wide table or long word in one would widen the whole column on phones */
.tc-split > *, .tc-qa-list > *, .tc-features > * { min-width: 0; }
.tc-split__intro .tc-btns { margin-top: 6px; }
/* Text beside a picture */
.tc-media { display: grid; gap: 32px; align-items: center; }
@media (min-width: 992px) { .tc-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } .tc-media--flip > :first-child { order: 2; } }
/* A picture or embed in an ink frame */
.tc-frame { position: relative; overflow: hidden; border: 3px solid var(--tc-ink); border-radius: var(--tc-r); background: #fff; box-shadow: var(--tc-drop); }
.tc-root .tc-frame > img, .tc-root .tc-frame > video { display: block; width: 100%; height: auto; }
.tc-frame--video { aspect-ratio: 16 / 9; }
.tc-root .tc-frame--video > iframe, .tc-root .tc-frame--video > video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Tick lists */
.tc-ticks { display: grid; gap: 8px; margin: 0 0 16px; }
.tc-ticks li { display: flex; align-items: flex-start; gap: 9px; font-weight: 600; line-height: 1.45; color: var(--tc-ink); }
.tc-ticks li > i:first-child { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border: 2px solid var(--tc-ink); border-radius: 50%; background: var(--tc-green); color: var(--tc-ink); font-size: .95rem; }
/* Bulleted copy lists (ordinary prose lists) */
.tc-bullets { display: grid; gap: 8px; margin: 0 0 1em; }
.tc-bullets > li { position: relative; padding-left: 22px; color: var(--tc-ink-2); }
.tc-bullets > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--tc-coral); border: 2px solid var(--tc-ink); }
ol.tc-bullets { counter-reset: tc-n; }
ol.tc-bullets > li { padding-left: 32px; counter-increment: tc-n; }
ol.tc-bullets > li::before { content: counter(tc-n); top: .1em; left: 0; width: 24px; height: 24px; display: grid; place-items: center; background: var(--tc-yellow); font: 700 .8125rem/1 var(--tc-display); color: var(--tc-ink); }

/* Dashed note cards: extras, hand-offs and asides */
.tc-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 20px 24px; border: 2px dashed rgba(47, 42, 79, .4); border-radius: 20px; background: rgba(255, 255, 255, .8); }
.tc-note > p { flex: 1 1 420px; margin: 0; color: var(--tc-ink-2); }
.tc-note strong { color: var(--tc-ink); }
.tc-note--center { max-width: 64rem; margin-left: auto; margin-right: auto; }

/* Numbered steps in a row (a dashed line joins them on wide screens) */
.tc-steps { position: relative; display: grid; gap: 22px; }
@media (min-width: 768px) { .tc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
@media (min-width: 1200px) { .tc-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tc-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tc-step { position: relative; display: flex; flex-direction: column; padding: 0 0 4px; }
.tc-step__num { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 0 14px; border: 3px solid var(--tc-ink); border-radius: 50%; background: var(--a, var(--tc-yellow)); box-shadow: 0 4px 0 var(--tc-ink); font: 700 1.4rem/1 var(--tc-display); color: var(--tc-ink); }
.tc-root .tc-step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.tc-step p { margin: 0; color: var(--tc-ink-2); }

/* Stats: a big number and its label */
.tc-stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.tc-stat { padding: 18px 20px; background: #fff; border: 3px solid var(--tc-ink); border-radius: 20px; box-shadow: 0 4px 0 var(--tc-ink); }
.tc-stat__n { display: block; font: 700 clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem)/1.05 var(--tc-display); color: var(--tc-ink); font-variant-numeric: tabular-nums; }
.tc-stat__label { display: block; margin-top: 4px; font-weight: 600; color: var(--tc-ink-2); line-height: 1.4; }

/* ==========================================================================
   QUESTIONS (FAQ): ink-outlined <details> cards with a plus/minus button
   ========================================================================== */
.tc-qa-list { display: grid; gap: 14px; }
.tc-qa { background: #fff; border: 3px solid var(--tc-ink); border-radius: 18px; box-shadow: 0 4px 0 var(--tc-ink); }
.tc-qa[open] { box-shadow: 0 5px 0 var(--tc-ink); }
.tc-qa summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; border-radius: 15px; }
.tc-qa summary::-webkit-details-marker { display: none; }
.tc-qa summary::marker { content: ""; }
.tc-qa__ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--tc-ink); border-radius: 13px; background: var(--a, var(--tc-sky)); font-size: 1.35rem; color: var(--tc-ink); }
.tc-root .tc-qa__q { flex: 1; margin: 0; font: 600 1.125rem/1.35 var(--tc-display); color: var(--tc-ink); text-wrap: balance; }
.tc-qa__icon { flex: none; position: relative; width: 32px; height: 32px; border: 2px solid var(--tc-ink); border-radius: 50%; background: var(--tc-yellow); transition: background-color .2s ease; }
.tc-qa__icon::before, .tc-qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 3px; margin: -1.5px 0 0 -7px; background: var(--tc-ink); border-radius: 2px; }
.tc-qa__icon::after { transform: rotate(90deg); transition: transform .25s ease; }
.tc-qa[open] .tc-qa__icon { background: var(--tc-green); }
.tc-qa[open] .tc-qa__icon::after { transform: rotate(0); }
.tc-qa summary:hover .tc-qa__icon { background: #FFD776; }
.tc-qa[open] summary:hover .tc-qa__icon { background: #6BD99C; }
.tc-qa__a { padding: 0 18px 18px; color: var(--tc-ink-2); }
.tc-qa__a > :last-child { margin-bottom: 0; }
.tc-qa__a ul:not([class]) { display: grid; gap: 6px; margin: 0 0 1em; }
.tc-qa__a ul:not([class]) > li { position: relative; padding-left: 20px; }
.tc-qa__a ul:not([class]) > li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--tc-coral); border: 2px solid var(--tc-ink); }

/* ==========================================================================
   PROSE: long-form copy (articles, policies, trust-centre text) in the family's type
   ========================================================================== */
.tc-prose { color: var(--tc-ink-2); font-size: 1.0625rem; }
.tc-prose > :last-child { margin-bottom: 0; }
.tc-root .tc-prose h2 { margin: 1.6em 0 .5em; font: 700 clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem)/1.12 var(--tc-display); color: var(--tc-ink); }
.tc-root .tc-prose h3 { margin: 1.5em 0 .45em; font: 700 1.35rem/1.25 var(--tc-display); color: var(--tc-ink); }
.tc-root .tc-prose h4 { margin: 1.3em 0 .4em; font: 700 1.125rem/1.3 var(--tc-display); color: var(--tc-ink); }
.tc-root .tc-prose > :first-child { margin-top: 0; }
.tc-prose strong { color: var(--tc-ink); }
.tc-prose ul:not([class]), .tc-prose ol:not([class]) { display: grid; gap: 8px; margin: 0 0 1.1em; }
.tc-prose ul:not([class]) > li { position: relative; padding-left: 22px; }
.tc-prose ul:not([class]) > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--tc-coral); border: 2px solid var(--tc-ink); }
.tc-prose ol:not([class]) { counter-reset: tc-p; }
.tc-prose ol:not([class]) > li { position: relative; padding-left: 32px; counter-increment: tc-p; }
.tc-prose ol:not([class]) > li::before { content: counter(tc-p); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid var(--tc-ink); border-radius: 50%; background: var(--tc-yellow); font: 700 .8125rem/1 var(--tc-display); color: var(--tc-ink); }
.tc-prose blockquote { margin: 0 0 1.1em; padding: 14px 18px; border-left: 5px solid var(--tc-yellow); border-radius: 4px 14px 14px 4px; background: var(--tc-sky-0); color: var(--tc-ink); }
.tc-prose img { border-radius: 14px; }

/* ==========================================================================
   TABLES: an ink-outlined, scrollable table
   ========================================================================== */
.tc-table-wrap { overflow-x: auto; border: 3px solid var(--tc-ink); border-radius: 20px; background: #fff; box-shadow: var(--tc-drop); -webkit-overflow-scrolling: touch; }
.tc-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; color: var(--tc-ink-2); }
.tc-table th, .tc-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--tc-line); }
.tc-table thead th { background: var(--tc-sky-0); border-bottom: 3px solid var(--tc-ink); font: 700 .8125rem/1.3 var(--tc-display); letter-spacing: .05em; text-transform: uppercase; color: var(--tc-ink); }
.tc-table tbody tr:last-child > * { border-bottom: 0; }
.tc-table tbody th { font-weight: 700; color: var(--tc-ink); }

/* ==========================================================================
   FORM CONTROLS (tools, filters, calculators)
   ========================================================================== */
.tc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0 0 14px; }
.tc-label { margin: 0; font: 700 .8125rem/1.25 var(--tc-display); letter-spacing: .06em; text-transform: uppercase; color: var(--tc-muted); }
.tc-hint { margin: 0; font-size: .875rem; color: var(--tc-muted); }
.tc-root .tc-input, .tc-root .tc-select, .tc-root .tc-textarea { width: 100%; min-height: 48px; margin: 0; padding: 10px 14px; border: 2px solid var(--tc-ink); border-radius: 14px; background-color: #fff; box-shadow: 0 3px 0 var(--tc-ink); font: 600 1rem/1.3 var(--tc-display); color: var(--tc-ink); }
.tc-root .tc-textarea { min-height: 120px; font-family: var(--tc-body); font-weight: 500; resize: vertical; }
.tc-root .tc-input::placeholder, .tc-root .tc-textarea::placeholder { color: var(--tc-muted); opacity: 1; font-weight: 500; }
.tc-root .tc-select { padding-left: 12px; padding-right: 32px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232F2A4F' d='M12 15.5 6.5 10l1.4-1.4 4.1 4.1 4.1-4.1 1.4 1.4z'/%3E%3C/svg%3E") no-repeat right 8px center / 20px; -webkit-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis; }
.tc-root .tc-input--search { padding-left: 42px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235B5680' d='M10 18a7.95 7.95 0 0 0 4.9-1.69l4.39 4.39 1.41-1.41-4.39-4.39A8 8 0 1 0 10 18zm0-14a6 6 0 1 1 0 12 6 6 0 0 1 0-12z'/%3E%3C/svg%3E") no-repeat 13px center / 20px; -webkit-appearance: none; appearance: none; }
.tc-root .tc-input:focus-visible, .tc-root .tc-select:focus-visible, .tc-root .tc-textarea:focus-visible { outline: 3px solid var(--tc-ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--tc-yellow); }
.tc-root .tc-input[aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 3px 0 #B3261E; }
/* Range sliders in the family's colours */
.tc-root .tc-range { width: 100%; accent-color: var(--tc-ink); }
/* Checkbox and radio rows */
.tc-check { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-weight: 600; color: var(--tc-ink); cursor: pointer; }
.tc-root .tc-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--tc-ink); }

/* Pill tabs (a row of buttons that switch panels) */
.tc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.tc-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px 7px; border: 2px solid var(--tc-ink); border-radius: 999px; background: #fff; box-shadow: 0 3px 0 var(--tc-ink); font: 600 .9375rem/1.2 var(--tc-display); color: var(--tc-ink); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .2s ease; }
.tc-tab:hover, .tc-tab:focus { color: var(--tc-ink); text-decoration: none; background: var(--tc-butter); }
.tc-tab[aria-selected="true"], .tc-tab.active, .tc-tab.is-active { background: var(--tc-yellow); }

/* Callouts: a coloured strip with an icon (info, success, warning) */
.tc-callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--tc-ink); border-radius: 16px; background: var(--tc-sky-0); color: var(--tc-ink); }
.tc-callout > i { flex: none; font-size: 1.4rem; line-height: 1.2; }
.tc-callout > :last-child { margin-bottom: 0; }
.tc-callout--good { background: var(--tc-mint); }
.tc-callout--warn { background: var(--tc-butter); }
.tc-callout--bad { background: var(--tc-blush); }

/* ==========================================================================
   RELATED LINKS and the DARK PANEL (calls to action)
   ========================================================================== */
.tc-related { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 30px; padding-top: 22px; border-top: 2px dashed rgba(47, 42, 79, .25); }
.tc-related__label { margin: 0; font: 700 .8125rem/1.2 var(--tc-display); letter-spacing: .06em; text-transform: uppercase; color: var(--tc-muted); }
.tc-related__list { display: flex; flex-wrap: wrap; gap: 8px; }

.tc-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 24px; border: 3px solid var(--tc-ink); border-radius: 32px; color: #E4E1F7; background: var(--tc-night); background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .07) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 72%, rgba(255, 255, 255, .06) 0 2px, transparent 3px),
    radial-gradient(ellipse 60% 70% at 100% 0, rgba(82, 180, 255, .22), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0 100%, rgba(140, 124, 240, .25), transparent 70%);
  box-shadow: var(--tc-drop-lg); }
@media (min-width: 992px) { .tc-panel { padding: 56px; } .tc-panel--split { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.tc-root .tc-panel h2, .tc-root .tc-panel h3, .tc-root .tc-panel .tc-h2 { color: #fff; }
.tc-panel p { color: #E4E1F7; font-size: 1.0625rem; }
.tc-panel .tc-eyebrow { background: var(--tc-yellow); }
.tc-panel .tc-kicker { color: var(--tc-yellow); }
.tc-root .tc-panel a:not([class]) { color: #fff; text-decoration-color: var(--tc-yellow); }
.tc-panel .tc-ticks li { color: #fff; }
.tc-panel .tc-ticks li > i:first-child { border-color: var(--tc-deep); }
.tc-panel .tc-btn { border-color: var(--tc-deep); box-shadow: 0 5px 0 var(--tc-deep); }
.tc-panel .tc-btn:hover { box-shadow: 0 7px 0 var(--tc-deep); }
.tc-panel .tc-btn:active { box-shadow: 0 2px 0 var(--tc-deep); }
.tc-panel .tc-btn:focus-visible { box-shadow: 0 5px 0 var(--tc-deep); }
.tc-panel .tc-arrow { color: #fff; }
.tc-panel__small { margin: 16px 0 0; font-size: .875rem; color: #C9C4EC; }

/* ---------- Site header on these pages ----------
   Below 992px the layout's hamburger is dark and the header is transparent until the page scrolls, so over the
   dark header it all but vanished: white until the header turns white on scroll. */
@media (max-width: 991.98px) { #header:not(.js-header-fix-moment) .navbar-toggler { color: #fff; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .tc-root *, .tc-root *::before, .tc-root *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .tc-card--link:hover, .tc-card--link:focus-within, .tc-btn:hover, .tc-chiplink:hover { transform: none; }
}
