/* Tailwind CLI entry point for gamezero v2 (Stitch Heritage System)
   Build: npx tailwindcss -i static/css/tw-input.css -o static/css/tw-built.css --minify
   Scope: A1 = production public + stitch_v2 (privacy/search) routes only.
          v1 admin (7) uses cdn.tailwindcss.com — out of scope, not scanned.
          All 9 page templates extend base_v2.html (light heritage theme).
*/

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: currentColor;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: Inter, system-ui, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: "JetBrains Mono", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

:root {
  --color-surface: #f9f9ff;
  --color-surface-dim: #d3daef;
  --color-surface-bright: #f9f9ff;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f1f3ff;
  --color-surface-container: #e9edff;
  --color-surface-container-high: #e1e8fd;
  --color-surface-container-highest: #dce2f7;
  --color-surface-variant: #dce2f7;
  --color-on-surface: #111827;
  --color-on-surface-variant: #434653;
  --color-primary: #00328a;
  --color-primary-container: #0047bb;
  --color-on-primary: #ffffff;
  --color-on-primary-container: #afc1ff;
  --color-primary-fixed: #dbe1ff;
  --color-primary-fixed-dim: #b3c5ff;
  --color-on-primary-fixed: #00174a;
  --color-secondary: #5c5f62;
  --color-secondary-container: #e1e2e6;
  --color-secondary-fixed: #dde1e9;
  --color-outline: #737685;
  --color-outline-variant: #c3c6d6;
  --color-background: #0d1117;
  --color-on-background: #ffffff;
  --stack-sm: 8px;
  --stack-md: 16px;
  --stack-lg: 24px;
  --stack-xl: 32px;
  --spacing-stack-sm: 8px;
  --spacing-stack-md: 16px;
  --spacing-stack-lg: 24px;
  --spacing-stack-xl: 32px;
  --spacing-gutter: 24px;
  --border-default: 1px solid var(--color-outline-variant, #c3c6d6);
}

[data-theme="dark"] {
  --color-surface: #0A0A0A;
  --color-surface-dim: #000000;
  --color-surface-bright: #1a1a1a;
  --color-surface-container-lowest: #000000;
  --color-surface-container-low: #0f0f10;
  --color-surface-container: #15161a;
  --color-surface-container-high: #1d1e22;
  --color-surface-container-highest: #25262b;
  --color-surface-variant: #25262b;
  --color-on-surface: #e6e7ea;
  --color-on-surface-variant: #c3c6d6;
  --color-primary: #b3c5ff;
  --color-primary-container: #0047bb;
  --color-on-primary: #002c7a;
  --color-on-primary-container: #dbe1ff;
  --color-secondary: #c4c6ca;
  --color-secondary-container: #43454a;
  --color-outline: #8d8f99;
  --color-outline-variant: #43454a;
}

/* Heritage: no rounded corners anywhere, no gradients */

* {
  border-radius: 0 !important;
}

html, body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--color-surface);
  color: var(--color-on-surface);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body {
  font-size: 16px;
  line-height: 1.5;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* Font shorthand (Stitch naming: font-label-mono = font-size: 12px etc.) */

.font-label-mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.font-body-sm {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

.font-body-md {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

.font-body-lg {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}

.font-headline-sm {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.font-headline-md {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.font-headline-lg {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
}

.font-headline-xl {
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.25px;
  font-weight: 700;
}

/* Text shorthand (Stitch naming: text-label-mono, text-headline-xl) */

.text-label-mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Body shorthand (Stitch naming: body-md, body-sm, body-lg — NOT font-*) */

.body-sm {
  font-size: 14px;
  line-height: 1.5;
}

.body-md {
  font-size: 16px;
  line-height: 1.6;
}

.body-lg {
  font-size: 18px;
  line-height: 1.6;
}

/* H shorthand (Stitch naming: h-md, h-lg, h-xl — heading levels) */

.h-md {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.h-lg {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
}

.h-xl {
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.25px;
}

/* Button system (Stitch) */

.\!btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-on-surface, #111827);
  background-color: var(--color-surface, #f9f9ff);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-on-surface, #111827);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-on-surface, #111827);
  background-color: var(--color-surface, #f9f9ff);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-on-surface, #111827);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.\!btn:hover {
  background-color: var(--color-on-surface, #111827);
  color: var(--color-surface, #f9f9ff);
}

.btn:hover {
  background-color: var(--color-on-surface, #111827);
  color: var(--color-surface, #f9f9ff);
}

.\!btn:focus-visible {
  outline-width: 2px;
  outline-color: var(--color-primary, #00328a);
}

.btn:focus-visible {
  outline-width: 2px;
  outline-color: var(--color-primary, #00328a);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-primary, #00328a);
  background-color: var(--color-primary, #00328a);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-on-primary, #ffffff);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.btn-primary:hover {
  background-color: var(--color-primary-container, #0047bb);
}

/* Card (Stitch) */

.card {
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-outline, #737685);
  background-color: var(--color-surface, #f9f9ff);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.card:hover {
  border-color: var(--color-on-surface, #111827);
}

/* Chip (Stitch pill — bordered, label-mono) */

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--color-outline, #737685);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-on-surface, #111827);
  text-decoration: none;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.chip:hover {
  background-color: var(--color-surface-variant, #dce2f7);
}

/* Space-y variants (Tailwind naming + Stitch tokens) */

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-stack-md > * + * {
  margin-top: var(--spacing-stack-md);
}

.space-y-stack-lg > * + * {
  margin-top: var(--spacing-stack-lg);
}

/* Stack utilities (vertical rhythm) — direct selectors (Tailwind doesn't generate `> * + *` for arbitrary) */

.stack-sm > * + * {
  margin-top: var(--stack-sm);
}

.stack-md > * + * {
  margin-top: var(--stack-md);
}

.stack-lg > * + * {
  margin-top: var(--stack-lg);
}

/* Hover variants that need color tokens not yet exposed in Tailwind config */

/* Custom dark blue border + transparent gradient (Stitch hero) */

.border-\[\#e5e7eb\] {
  border-color: #e5e7eb;
}

.from-\[\#141b2b\] {
  --tw-gradient-from: #141b2b;
  --tw-gradient-to: rgb(20 27 43 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-\[\#141b2b\]\/40 {
  --tw-gradient-to: rgb(20 27 43 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(20 27 43 / 0.4), var(--tw-gradient-to);
}

.to-transparent {
  --tw-gradient-to: transparent;
}

/* Gutter + unit gaps (Stitch specific) */

.gap-gutter {
  gap: 1.5rem;
}

.gap-stack-sm {
  gap: var(--spacing-stack-sm, 0.5rem);
}

.gap-stack-md {
  gap: 1rem;
}

.gap-stack-lg {
  gap: 1.5rem;
}

.gap-unit {
  gap: 0.25rem;
}

.mb-stack-sm {
  margin-bottom: 0.5rem;
}

.mb-stack-md {
  margin-bottom: 1rem;
}

.mb-stack-lg {
  margin-bottom: 1.5rem;
}

.mb-unit {
  margin-bottom: 0.25rem;
}

.mt-stack-lg {
  margin-top: 1.5rem;
}

.mt-unit {
  margin-top: 0.25rem;
}

.pb-stack-lg {
  padding-bottom: 1.5rem;
}

.pb-stack-sm {
  padding-bottom: 0.5rem;
}

.pt-stack-sm {
  padding-top: 0.5rem;
}

.pt-stack-md {
  padding-top: 1rem;
}

.pt-stack-lg {
  padding-top: 1.5rem;
}

.px-gutter {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-margin-mobile {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-stack-lg {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.p-gutter {
  padding: 1.5rem;
}

.p-stack-md {
  padding: 1rem;
}

.p-stack-sm {
  padding: 0.5rem;
}

.p-stack-lg {
  padding: 1.5rem;
}

/* Stack-xl (32px — restored from pre-Tailwind --stack-lg: 32px) */
.pt-stack-xl { padding-top: var(--spacing-stack-xl, 2rem); }
.pb-stack-xl { padding-bottom: var(--spacing-stack-xl, 2rem); }
.py-stack-xl { padding-top: var(--spacing-stack-xl, 2rem); padding-bottom: var(--spacing-stack-xl, 2rem); }
.mt-stack-xl { margin-top: var(--spacing-stack-xl, 2rem); }

.max-w-container-max {
  max-width: 1200px;
}

/* Archival borders (1px, 2px, 4px solid borders per design spec) */

.archival-border {
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-outline, #737685);
}

.archival-border-heavy {
  border-width: 4px;
  border-style: solid;
  border-color: var(--color-outline, #737685);
}

/* Form input focus (Stitch) */

.form-input-focus:focus {
  border-color: var(--color-primary, #00328a);
  outline: 2px solid transparent;
  outline-offset: 2px;
}

/* News card (Stitch specific) */

.news-card {
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-outline, #737685);
  background-color: var(--color-surface, #f9f9ff);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.news-card:hover {
  border-color: var(--color-on-surface, #111827);
}

/* Directory grid (Stitch specific) */

.directory-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .directory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Desktop home layout (Stitch specific) */

.desktop-home {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .desktop-home {
    flex-direction: row;
  }
}

/* Mobile home (Stitch specific) — wrap mobile-only content */

@media (min-width: 768px) {
  .mobile-home {
    display: none;
  }
}

/* Genre tile + label (homepage) */

.genre-tile {
  display: flex;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-outline, #737685);
  background-color: var(--color-surface, #f9f9ff);
  padding: 0.75rem;
  text-align: center;
  color: var(--color-on-surface, #111827);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.genre-tile:hover {
  border-color: var(--color-on-surface, #111827);
  background-color: var(--color-surface-container-low, #f1f3ff);
}

.genre-label {
  margin-top: 0.25rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Grid helpers (Stitch specific) */

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--spacing-gutter, 24px);
}

.grid-3-cards {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-3-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-3-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.grid-3-usp {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3-usp {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Hero (homepage) — Stitch specific */

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.25px;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.hero-excerpt {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.5px;
  color: var(--color-primary-fixed, #dbe1ff);
  opacity: 0.9;
}

.hero-gradient {
  position: absolute;
  inset: 0px;
  background: linear-gradient(to top, #141b2b 0%, rgba(20, 27, 43, 0.4) 50%, transparent 100%);
}

.hero-image-wrap {
  position: relative;
  aspect-ratio: 21/9;
  overflow: hidden;
}

/* Game card link (Stitch specific) */

.game-card-link {
  display: block;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-outline, #737685);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.game-card-link:hover {
  border-color: var(--color-on-surface, #111827);
}

/* Reading content (article body) */

.reading-content {
  max-width: none;
  color: var(--color-on-surface, #111827);
}

/* Figure containers: card-style with subtle frame, shadow */
.reading-content figure {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 12px !important;
  overflow: hidden;
  background-color: var(--color-surface-container-low, #f0f0f5);
  border: 1px solid var(--color-outline-variant, #c3c6d6);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}

.reading-content figure:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
}

/* Images inside figures: fill width, background while loading */
.reading-content figure img {
  width: 100%;
  height: auto;
  display: block;
  background-color: var(--color-surface-highest, #e1e2e6);
}

/* Caption: sits at bottom of card with separator line */
.reading-content figure figcaption {
  margin-top: 0;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-on-surface-variant, #434653);
  background-color: var(--color-surface, #f9f9ff);
  border-top: 1px solid var(--color-outline-variant, #c3c6d6);
}

/* Standalone images (not in figure) */
.reading-content img:not(figure img) {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border-radius: 8px !important;
  border: 1px solid var(--color-outline-variant, #c3c6d6);
}

.reading-content p {
  margin-bottom: 1rem;
  line-height: 1.625;
}

.reading-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0;
}

.reading-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: 0;
}

.reading-content a {
  color: var(--color-primary, #00328a);
  text-decoration-line: underline;
}

.reading-content a:hover {
  color: var(--color-primary-container, #0047bb);
}

/* ── WCAG 1.4.12 Text Spacing Resilience ──
   Ensure long-form content areas (news detail, game details) do NOT clip
   or lose content when users apply these spacing overrides:
   - line-height: 1.5
   - letter-spacing: 0.12em
   - word-spacing: 0.16em
   - paragraph margin-bottom: 2× font-size
   See: https://dequeuniversity.com/resources/wcag2.1/1.4.12-text-spacing */

.reading-content,
.game-content {
  /* Allow containers to grow with content — no fixed heights */
  max-width: none;
  /* Word-break prevents overflow from long strings when spacing increases */
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Images / media: must not overflow their container */
.reading-content img,
.reading-content video,
.reading-content iframe,
.reading-content embed,
.reading-content object,
.game-content img,
.game-content video,
.game-content iframe,
.game-content embed,
.game-content object {
  max-width: 100% !important;
  height: auto;
}

/* Tables: scroll on overflow instead of breaking layout */
.reading-content table,
.game-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Pre / code blocks: allow scroll instead of overflow */
.reading-content pre,
.game-content pre {
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-width: 100%;
}

/* Headings inside reading content: adequate spacing */
.reading-content h2,
.game-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-on-surface, #141b2b);
}
.reading-content h3,
.game-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--color-on-surface, #141b2b);
}
.reading-content h4,
.game-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--color-on-surface, #141b2b);
}

/* Paragraphs inside reading content: line-height + bottom margin */
.reading-content p {
  line-height: 1.625;
  margin-bottom: 1.25rem;
}

/* Lists inside reading content */
.reading-content ul,
.reading-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.reading-content li {
  margin-bottom: 0.5rem;
  line-height: 1.625;
}

/* Main content wrapper */

.main-content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Material symbols icon font (Stitch) — heritage.css @font-face for woff2 */

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Mobile menu (header sync) */

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 49;
  background: var(--color-surface-container-lowest, #ffffff);
  border-bottom: 1px solid var(--color-outline-variant, #c3c6d6);
  padding: var(--stack-md, 16px) 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-link {
  display: block;
  padding: var(--stack-md, 16px) 1.5rem;
  color: var(--color-on-surface, #111827);
  text-decoration: none;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: background 0.1s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus-visible {
  background: var(--color-surface-container, #e9edff);
  border-left-color: var(--color-primary, #00328a);
  outline: none;
}

.mobile-menu-list {
  margin: 0px;
  list-style-type: none;
  padding: 0px;
}

.mobile-menu-search {
  display: flex;
  flex-direction: row;
  border: 2px solid var(--color-on-surface, #111827);
  margin: 0 1.5rem var(--stack-md, 16px);
}

.mobile-menu-search-wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 0;
  background: var(--color-surface-container-lowest, #ffffff);
  padding: var(--stack-sm, 8px) 1rem;
}

.mobile-menu-search-icon {
  color: var(--color-on-surface-variant, #434653);
  margin-right: var(--stack-sm, 8px);
  font-size: 20px;
}

.mobile-menu-search-input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 16px;
  color: var(--color-on-surface, #111827);
  font-family: inherit;
  outline: none;
  width: auto;
}

.mobile-menu-search-input:focus {
  outline: none;
}

.mobile-menu-search-submit {
  border: none;
  padding: var(--stack-sm, 8px) 1rem;
  flex: 0 0 auto;
  background: var(--color-on-surface, #111827);
  color: var(--color-surface-container-lowest, #ffffff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-search-submit .material-symbols-outlined {
  font-size: 20px;
}

/* Mobile menu — slideDown animation */
.mobile-menu:not([hidden]) {
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* On desktop (>=768px), mobile menu is never shown */
@media (min-width: 768px) {
  .mobile-menu,
  .mobile-menu[hidden] {
    display: none !important;
  }
}

/* News view toggle (Stitch specific) */

.news-view {
  /* Display/gap provided via Tailwind classes (grid grid-cols-1 md:grid-cols-3 gap-stack-md) */
  /* This class is a marker for list-view JS selectors (#news-grid[data-view="list"] .news-card) */
}

/* Lbl shorthand */

.lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.label-mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Text color shorthand (Stitch naming) */

.text-muted {
  color: var(--color-on-surface-variant, #434653);
}

.text-inherit {
  color: inherit;
}

/* Byline row (Stitch specific — mobile 1-line fix) */

.byline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 640px) {
  .byline-row {
    flex-wrap: nowrap;
    gap: 0.75rem;
    font-size: 12px;
  }
}

/* Breadcrumb title (Stitch specific) */

.breadcrumb-title {
  /* No white-space: nowrap — title wraps naturally to line 2.
     JS truncation in news_detail.html limits to max 2 lines total. */
}

/* Section + sidebar (Stitch specific) */

.section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.sidebar {
  gap: 1rem;
  display: flex;
  flex-direction: column;
}

/* Site header + footer + search (Stitch shared chrome) */

.site-header {
  position: sticky;
  top: 0px;
  z-index: 30;
  border-bottom-width: 1px;
  border-color: var(--color-outline-variant, #c3c6d6);
  background-color: var(--color-surface, #f9f9ff);
}

.site-header-inner {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  max-width: 1200px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: relative;
}

.site-logo {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: 0;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--color-on-surface, #111827);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }

  .site-nav-toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-header-inner {
    flex-wrap: wrap;
  }

  /* Mobile headline scale (per DESIGN.md) */
  .h-xl { font-size: 28px; }
  .h-lg { font-size: 24px; }

  /* User preference: H1 22px mobile (2026-07-17) — !important needed: text-headline-xl (36px) at line 2878 comes later in the file and overrides this media query rule without it */
  .font-headline-xl, .text-headline-xl { font-size: 22px !important; line-height: 1.25 !important; letter-spacing: -0.01em !important; }
}

.site-footer {
  margin-top: 1.5rem;
  border-top-width: 1px;
  border-color: var(--color-outline-variant, #c3c6d6);
  background: var(--color-surface-container-lowest, #ffffff);
  padding: var(--stack-lg, 24px) 0;
  flex-shrink: 0;
}

.site-footer-inner {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  max-width: 1200px;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 14px;
  color: var(--color-on-surface-variant, #434653);
}

@media (min-width: 768px) {
  .site-footer-inner {
    flex-direction: row;
  }
}

.site-footer a {
  color: var(--color-on-surface-variant, #434653);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-on-surface, #111827);
  text-decoration: underline;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: var(--stack-sm, 8px);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-on-surface-variant, #434653);
  display: flex;
  align-items: center;
  gap: var(--stack-sm, 8px);
}

.site-search {
  display: flex;
  max-width: 300px;
  flex: 1 1 0%;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .site-search {
    display: none;
  }
}

.site-search-btn {
  background-color: var(--color-primary, #00328a);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-on-primary, #ffffff);
}

/* Desktop search bar (Stitch style: icon inside input, no button) */
.search-desktop {
  background: var(--color-surface-container-low, #f1f3ff);
  border: 1px solid var(--color-outline, #737685);
}

@media (max-width: 767px) {
  .search-desktop {
    display: none;
  }
}

.search-desktop-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-desktop-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-outline, #737685);
  font-size: 20px;
  pointer-events: none;
  z-index: 1;
}

.search-desktop-input {
  background: transparent;
  border: none;
  padding: 0.5rem 0.75rem 0.5rem 40px;
  width: 16rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-on-surface, #111827);
  outline: none;
}

.search-desktop-input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.search-desktop:focus-within {
  border-color: var(--color-primary, #00328a);
}

/* Rounded + shadow overrides (Heritage = sharp, but production templates have stray rounded-*) */

.rounded-md, .rounded-lg {
  border-radius: 0 !important;
}

.shadow-xl {
  box-shadow: none !important;
}

/* ===== CUSTOM UTILITIES (replaces inline styles in A1 templates) ===== */

/* Padding with mobile margin var (horizontal responsive) */

.px-margin-mobile {
  padding-left: var(--margin-mobile, 16px);
  padding-right: var(--margin-mobile, 16px);
}

/* Filled Material Symbols */

.material-fill {
  font-variation-settings: 'FILL' 1;
}

/* Font sizes not in default Tailwind scale (used as `text-[Npx]` arb already) */

/* Border helpers for outline-variant (1px solid) */

/* Aspect ratio 3/4 (book/portrait) */

.aspect-3-4 {
  aspect-ratio: 3 / 4;
}

/* Text shadow utilities (news hero) */

.text-shadow-sm {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.text-shadow-md {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.text-shadow-lg {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Scrollbar (news_detail.html) */

.scrollbar-thin {
  scrollbar-width: thin;
}

/* Hero gradient (game_detail.html) */

/* Color helpers for game_detail progress bars */

.bg-on-surface {
  background-color: var(--color-on-surface, #111827);
}

/* Game detail progress track */

.h-0-5 {
  height: 2px;
}

/* Thin progress bar */

.h-12 {
  height: 48px;
}

.w-20 {
  width: 80px;
}

.h-20 {
  height: 80px;
}

/* Grid template columns (utility for inline grid-template-columns) */

.grid-cols-2-1fr {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3-1fr {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-5-1fr {
  grid-template-columns: repeat(5, 1fr);
}

/* Truncate with text-overflow (single line) */

/* Truncate with line clamp (2 lines) */

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* max-width 48rem (Tailwind doesn't have this exact utility) */

.max-w-prose-48 {
  max-width: 48rem;
}

/* letter-spacing presets */

.tracking-001 {
  letter-spacing: 0.02em;
}

.tracking-tightish {
  letter-spacing: -0.01em;
}

/* Text colors not in default Tailwind palette (use M3 tokens directly) */

.text-outline {
  color: var(--color-outline, #737685);
}

.text-surface-container-lowest {
  color: var(--color-surface-container-lowest, #ffffff);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.pointer-events-none {
  pointer-events: none;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0px;
}

.bottom-0 {
  bottom: 0px;
}

.left-2 {
  left: 0.5rem;
}

.top-0 {
  top: 0px;
}

.top-2 {
  top: 0.5rem;
}

.top-24 {
  top: 6rem;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.col-span-12 {
  grid-column: span 12 / span 12;
}

.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-0 {
  margin-bottom: 0px;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-auto {
  margin-left: auto;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-auto {
  margin-top: auto;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.\!grid {
  display: grid !important;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.aspect-\[16\/10\] {
  aspect-ratio: 16/10;
}

.aspect-\[16\/9\] {
  aspect-ratio: 16/9;
}
.aspect-\[21\/9\] {
  aspect-ratio: 21/9;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.h-1 {
  height: 0.25rem;
}

.h-10 {
  height: 2.5rem;
}

.h-11 {
  height: 2.75rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

.h-64 {
  height: 16rem;
}

.h-8 {
  height: 2rem;
}

.h-full {
  height: 100%;
}

.min-h-\[1\.6em\] {
  min-height: 1.6em;
}

.min-h-\[2\.6em\] {
  min-height: 2.6em;
}

.min-h-\[300px\] {
  min-height: 300px;
}

.min-h-\[400px\] {
  min-height: 400px;
}

.w-10 {
  width: 2.5rem;
}

.w-20 {
  width: 5rem;
}

.w-24 {
  width: 6rem;
}

.w-8 {
  width: 2rem;
}

.w-\[calc\(50\%-8px\)\] {
  width: calc(50% - 8px);
}

.w-full {
  width: 100%;
}

.min-w-0 {
  min-width: 0px;
}

.min-w-\[44px\] {
  min-width: 44px;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-\[1200px\] {
  max-width: 1200px;
}

.max-w-\[820px\] {
  max-width: 820px;
}

.max-w-full {
  max-width: 100%;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-none {
  flex: none;
}

.shrink-0 {
  flex-shrink: 0;
}

.flex-grow {
  flex-grow: 1;
}

.scale-125 {
  --tw-scale-x: 1.25;
  --tw-scale-y: 1.25;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scale-95 {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.cursor-pointer {
  cursor: pointer;
}

.snap-x {
  scroll-snap-type: x var(--tw-scroll-snap-strictness);
}

.snap-mandatory {
  --tw-scroll-snap-strictness: mandatory;
}

.snap-start {
  scroll-snap-align: start;
}

.list-none {
  list-style-type: none;
}

.appearance-none {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.gap-0 {
  gap: 0px;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-x-12 {
  -moz-column-gap: 3rem;
       column-gap: 3rem;
}

.gap-x-3 {
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
}

.gap-y-2 {
  row-gap: 0.5rem;
}

.gap-y-8 {
  row-gap: 2rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.self-start {
  align-self: flex-start;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.scroll-smooth {
  scroll-behavior: smooth;
}

.text-ellipsis {
  text-overflow: ellipsis;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-y {
  border-top-width: 1px;
  border-bottom-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-b-2 {
  border-bottom-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

.border-solid {
  border-style: solid;
}

.border-none {
  border-style: none;
}

.border-\[\#e5e7eb\] {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity));
}

.border-on-surface {
  border-color: var(--color-on-surface, #111827);
}

.border-outline {
  border-color: var(--color-outline, #737685);
}

.border-outline-variant {
  border-color: var(--color-outline-variant, #c3c6d6);
}

.border-primary {
  border-color: var(--color-primary, #00328a);
}

.border-white {
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity));
}

.border-white\/20 {
  border-color: rgb(255 255 255 / 0.2);
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}

.bg-on-surface {
  background-color: var(--color-on-surface, #111827);
}

.bg-primary {
  background-color: var(--color-primary, #00328a);
}

.bg-primary-container {
  background-color: var(--color-primary-container, #0047bb);
}

.bg-secondary-container {
  background-color: var(--color-secondary-container, #e1e2e6);
}

.bg-surface {
  background-color: var(--color-surface, #f9f9ff);
}

.bg-surface-container {
  background-color: var(--color-surface-container, #e9edff);
}

.bg-surface-container-low {
  background-color: var(--color-surface-container-low, #f1f3ff);
}

.bg-surface-container-lowest {
  background-color: var(--color-surface-container-lowest, #ffffff);
}

.bg-surface-high {
  background-color: var(--color-surface-container-high, #e1e8fd);
}

.bg-surface-highest {
  background-color: var(--color-surface-container-highest, #dce2f7);
}

.bg-transparent {
  background-color: transparent;
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1);
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-0 {
  padding: 0px;
}

.p-1 {
  padding: 0.25rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pb-1 {
  padding-bottom: 0.25rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pt-12 {
  padding-top: 3rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.text-center {
  text-align: center;
}

.align-middle {
  vertical-align: middle;
}

.font-mono {
  font-family: "JetBrains Mono", monospace;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-\[1\.05em\] {
  font-size: 1.05em;
}

.text-\[1\.25em\] {
  font-size: 1.25em;
}

.text-\[1\.75rem\] {
  font-size: 1.75rem;
}

.text-\[10px\] {
  font-size: 10px;
}

.text-\[11px\] {
  font-size: 11px;
}

.text-\[12px\] {
  font-size: 12px;
}

.text-\[14px\] {
  font-size: 14px;
}

.text-\[15px\] {
  font-size: 15px;
}

.text-\[16px\] {
  font-size: 16px;
}

.text-\[18px\] {
  font-size: 18px;
}

.text-\[2\.5rem\] {
  font-size: 2.5rem;
}

.text-\[20px\] {
  font-size: 20px;
}

.text-\[3rem\] {
  font-size: 3rem;
}

.text-\[48px\] {
  font-size: 48px;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-body-lg {
  font-size: 18px;
  line-height: 1.5;
}

.text-body-md {
  font-size: 16px;
  line-height: 1.5;
}

.text-body-sm {
  font-size: 14px;
  line-height: 1.5;
}

.text-headline-lg {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}

.text-headline-md {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.text-headline-sm {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.text-headline-xl {
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.25px;
  font-weight: 700;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.leading-normal {
  line-height: 1.5;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-snug {
  line-height: 1.375;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-tighter {
  letter-spacing: -0.05em;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.text-on-primary {
  color: var(--color-on-primary, #ffffff);
}

.text-on-primary-container {
  color: var(--color-on-primary-container, #afc1ff);
}

.text-on-surface {
  color: var(--color-on-surface, #111827);
}

.text-on-surface-variant {
  color: var(--color-on-surface-variant, #434653);
}

.text-outline {
  color: var(--color-outline, #737685);
}

.text-primary {
  color: var(--color-primary, #00328a);
}

.text-primary-fixed {
  color: var(--color-primary-fixed, #dbe1ff);
}

.text-surface {
  color: var(--color-surface, #f9f9ff);
}

.text-surface-container-lowest {
  color: var(--color-surface-container-lowest, #ffffff);
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.text-white\/80 {
  color: rgb(255 255 255 / 0.8);
}

.text-white\/90 {
  color: rgb(255 255 255 / 0.9);
}

.underline {
  text-decoration-line: underline;
}

.no-underline {
  text-decoration-line: none;
}

.decoration-primary {
  text-decoration-color: var(--color-primary, #00328a);
}

.decoration-2 {
  text-decoration-thickness: 2px;
}

.underline-offset-4 {
  text-underline-offset: 4px;
}

.opacity-0 {
  opacity: 0;
}

.opacity-40 {
  opacity: 0.4;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-60 {
  opacity: 0.6;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-90 {
  opacity: 0.9;
}

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.contrast-125 {
  --tw-contrast: contrast(1.25);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow-lg {
  --tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.grayscale {
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.grayscale-\[0\.2\] {
  --tw-grayscale: grayscale(0.2);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur-md {
  --tw-backdrop-blur: blur(12px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-500 {
  transition-duration: 500ms;
}

/* Container override — Tailwind default has no padding, but templates use .container for layout centering.
   Match heritage.css: max-width + auto margins + gutter padding. */

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-gutter, 24px);
  padding-right: var(--spacing-gutter, 24px);
}

/* Stitch semantic components — match heritage.css exactly */

@media (min-width: 768px) {
  .md\:pt-stack-xl {
    padding-top: 2rem;
  }
}

.placeholder\:text-white\/50::-moz-placeholder {
  color: rgb(255 255 255 / 0.5);
}

.placeholder\:text-white\/50::placeholder {
  color: rgb(255 255 255 / 0.5);
}

.hover\:border-primary:hover {
  border-color: var(--color-primary, #00328a);
}

.hover\:bg-primary:hover {
  background-color: var(--color-primary, #00328a);
}

.hover\:bg-primary-container:hover {
  background-color: var(--color-primary-container, #0047bb);
}

.hover\:bg-surface-container:hover {
  background-color: var(--color-surface-container, #e9edff);
}

.hover\:bg-surface-container-low:hover {
  background-color: var(--color-surface-container-low, #f1f3ff);
}

.hover\:bg-surface-high:hover {
  background-color: var(--color-surface-container-high, #e1e8fd);
}

.hover\:bg-surface-variant:hover {
  background-color: var(--color-surface-variant, #dce2f7);
}

.hover\:bg-white\/20:hover {
  background-color: rgb(255 255 255 / 0.2);
}

.hover\:text-on-primary:hover {
  color: var(--color-on-primary, #ffffff);
}

.hover\:text-on-surface:hover {
  color: var(--color-on-surface, #111827);
}

.hover\:text-primary:hover {
  color: var(--color-primary, #00328a);
}

.hover\:text-primary-fixed:hover {
  color: var(--color-primary-fixed, #dbe1ff);
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:grayscale-0:hover {
  --tw-grayscale: grayscale(0);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.focus\:border-primary:focus {
  border-color: var(--color-primary, #00328a);
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:border-transparent:focus {
  border-color: transparent;
}

.focus\:ring-0:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-white\/50:focus {
  --tw-ring-color: rgb(255 255 255 / 0.5);
}

.active\:scale-90:active {
  --tw-scale-x: .9;
  --tw-scale-y: .9;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.active\:scale-\[0\.98\]:active {
  --tw-scale-x: 0.98;
  --tw-scale-y: 0.98;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:bg-surface-container {
  background-color: var(--color-surface-container, #e9edff);
}

.group:hover .group-hover\:text-primary {
  color: var(--color-primary, #00328a);
}

.group:hover .group-hover\:underline {
  text-decoration-line: underline;
}

@media (min-width: 640px) {
  .sm\:w-\[calc\(33\.333\%-11px\)\] {
    width: calc(33.333% - 11px);
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:gap-3 {
    gap: 0.75rem;
  }
}

@media (min-width: 768px) {
  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .md\:col-span-4 {
    grid-column: span 4 / span 4;
  }

  .md\:col-span-8 {
    grid-column: span 8 / span 8;
  }

  .md\:col-span-9 {
    grid-column: span 9 / span 9;
  }

  .md\:inline {
    display: inline;
  }

  .md\:hidden {
    display: none;
  }

  .md\:aspect-\[3\/1\] {
    aspect-ratio: 3/1;
  }

  .md\:h-auto {
    height: auto;
  }

  .md\:min-h-\[600px\] {
    min-height: 600px;
  }

  .md\:w-\[calc\(25\%-12px\)\] {
    width: calc(25% - 12px);
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:flex-1 {
    flex: 1 1 0%;
  }

  .md\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:col-span-12 {
    grid-column: span 12 / span 12;
  }

  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .lg\:col-span-4 {
    grid-column: span 4 / span 4;
  }

  .lg\:col-span-5 {
    grid-column: span 5 / span 5;
  }

  .lg\:col-span-7 {
    grid-column: span 7 / span 7;
  }

  .lg\:col-span-8 {
    grid-column: span 8 / span 8;
  }

  .lg\:col-span-9 {
    grid-column: span 9 / span 9;
  }

  .lg\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:text-\[64px\] {
    font-size: 64px;
  }
}
/* Additional missing utility classes (2026-06-18 — 17 truly new) */
.mr-stack-md { margin-right: var(--spacing-stack-md, 1rem); }
.mt-stack-md { margin-top: var(--spacing-stack-md, 1rem); }
.mt-stack-sm { margin-top: var(--spacing-stack-sm, 0.5rem); }
.pb-stack-md { padding-bottom: var(--spacing-stack-md, 1rem); }
.font-medium { font-weight: 500; }
.text-\[32px\] { font-size: 32px; }
.bg-primary\/10 { background-color: rgba(0, 50, 138, 0.1); }
.bg-primary\/5 { background-color: rgba(0, 50, 138, 0.05); }
.bg-background\/80 { background-color: rgba(13, 17, 23, 0.8); }
.border-on-primary\/20 { border-color: rgba(255, 255, 255, 0.2); }
.text-on-secondary-container { color: var(--color-on-secondary-container, #49454f); }
.text-surface-container-highest { color: var(--color-surface-container-highest, #dce2f7); }
/* Additional font size utilities */
.text-\[1\.05em\] { font-size: 1.05em; }
.text-\[1\.25em\] { font-size: 1.25em; }
.text-\[1\.75rem\] { font-size: 1.75rem; }
.text-\[2\.5rem\] { font-size: 2.5rem; }

.hover\:bg-primary\/90:hover { background-color: rgba(0, 50, 138, 0.9); }
.hover\:bg-secondary-fixed:hover { background-color: var(--color-secondary-fixed, #dde1e9); }
.group:hover .group-hover\:bg-primary\/90 { background-color: rgba(0, 50, 138, 0.9); }
.focus\:ring-primary\/20:focus { --tw-ring-color: rgba(0, 50, 138, 0.2); }
@media (min-width: 768px) { .md\:block { display: block; } }
@media (min-width: 1024px) { .lg\:text-\[40px\] { font-size: 40px; } }
