:root {
  color-scheme: dark;
  --background: #202630;
  --surface: #2f3743;
  --surface-hover: #374451;
  --text: #f3f5f7;
  --muted: #bcc5cf;
  --accent: #43ffb7;
  --border: #515d6b;
  --surface-deep: #181e26;
  --accent-hover: #78ffcd;
  --accent-text: #14231d;
  --success: #43ffb7;
  --warning: #f3bd62;
  --danger: #ff8793;
  --radius: .5rem;
  --font-mono: Consolas, "Liberation Mono", Menlo, monospace;
  font-family: Verdana, sans-serif;
  font-size: 100%;
  line-height: 1.6;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--background); color: var(--text); overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
.shell { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.site-header { background: var(--surface-deep); border-bottom: 1px solid var(--border); }
.header-inner { padding-block: 1.25rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; }
.site-brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--text); font-weight: 700; text-decoration: none; min-height: 44px; }
.site-brand img { flex-shrink: 0; }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: .5rem; color: var(--muted); font-size: .875rem; text-decoration: none; }
.site-nav a:hover { color: var(--accent); text-decoration: underline; }
main.shell { padding-block: 2.75rem 3.5rem; flex: 1; }
h1, h2, h3 { line-height: 1.25; color: var(--text); }
h1 { margin: 0 0 1rem; font-size: clamp(1.65rem, 4vw, 2.5rem); letter-spacing: -.035em; }
h2 { margin: 0 0 1rem; font-size: 1.35rem; letter-spacing: -.02em; }
h3 { margin: 0; font-size: 1.05rem; }
p { margin: 0 0 1.25rem; }
.eyebrow { color: var(--accent); font-size: .875rem; margin-bottom: .65rem; }
.page-heading { margin-bottom: 2.5rem; }
.service-section { margin-bottom: 2.5rem; scroll-margin-top: 1.5rem; }
.service-section > h2 { display: flex; align-items: center; gap: 1rem; }
.service-section > h2::after { content: ''; height: 1px; background: var(--border); flex: 1; }
.service-grid { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-grid > li { min-width: 0; }
.service-card { display: flex; flex-direction: column; height: 100%; min-height: 10rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; }
.service-card p { margin: .6rem 0 1.2rem; color: var(--muted); font-size: 1rem; }
a.service-card:hover { background: var(--surface-hover); border-color: var(--accent); }
a.service-card:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.card-action { display: flex; justify-content: space-between; gap: .75rem; margin-top: auto; color: var(--accent); font-size: .875rem; }
.unavailable { background: transparent; border-style: dashed; }
.unavailable .card-action { color: var(--muted); }
.prose { max-width: 48rem; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 2rem; }
.prose .content-container { max-width: 100%; }
.result-page { min-height: 22rem; }
.button, button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.25rem; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: var(--accent-text); font: inherit; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover, button:hover:not(:disabled) { background: var(--accent-hover); }
.button.secondary, button.secondary { background: transparent; color: var(--accent); }
.button.secondary:hover, button.secondary:hover:not(:disabled) { background: var(--surface); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.contact-form { margin-block: 2rem; }
.form-group { margin-bottom: 1.5rem; }
label { display: block; margin-bottom: .5rem; font-weight: 600; }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { width: 100%; min-width: 0; padding: .8rem; background: var(--surface-deep); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); font: inherit; }
textarea { resize: vertical; }
.field-hint { font-size: .875rem; margin: -.2rem 0 .5rem; }
.website-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.disclaimer { padding-top: 1.25rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .875rem; }
.disclaimer summary { padding-block: .75rem; cursor: pointer; min-height: 44px; }
.disclaimer p { margin-block: 1rem; }
.footer { padding-block: 2rem; background: var(--surface-deep); border-top: 1px solid var(--border); }
.footer-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.footer h2 { font-size: 1rem; margin: 0 0 .5rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a { display: inline-flex; align-items: center; min-height: 44px; padding-block: .5rem; color: var(--muted); font-size: .875rem; text-decoration: none; }
.footer-list a:hover, .footer-list a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; left: 1rem; top: 0; z-index: 10; padding: .75rem 1rem; background: var(--accent); color: var(--accent-text); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 850px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { padding-block: 1rem; }
  .site-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: .25rem .75rem; }
  main.shell { padding-block: 2rem; }
  .page-heading { margin-bottom: 2rem; }
  .service-grid, .footer-columns { grid-template-columns: minmax(0, 1fr); }
  .service-card { min-height: 9rem; }
  .actions { flex-direction: column; align-items: stretch; }
}

/* Shared tool surfaces. Application styles should describe layout, not a new theme. */
[hidden] { display: none !important; }
button:disabled { opacity: .5; cursor: not-allowed; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
input[type="range"] { width: 100%; min-width: 0; min-height: 44px; margin: 0; accent-color: var(--accent); cursor: pointer; }
select { min-height: 48px; cursor: pointer; }
.tool-heading { margin-bottom: 2rem; }
.tool-heading p { max-width: 48rem; color: var(--muted); }
.tool-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.tool-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nd-panel { padding: clamp(1rem, 3vw, 1.75rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.tool-note { color: var(--muted); font-size: .875rem; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Native disclosure menus work with touch, keyboard, and JavaScript disabled. */
.site-nav { align-items: start; }
.site-nav a[aria-current="page"] { color: var(--accent); }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { min-height: 44px; padding-block: .5rem; color: var(--muted); font-size: .875rem; cursor: pointer; }
.nav-dropdown > summary:hover, .nav-dropdown[open] > summary { color: var(--accent); }
.nav-menu { position: absolute; top: 100%; right: 0; z-index: 5; min-width: 12rem; max-width: calc(100vw - 2rem); margin: .25rem 0 0; padding: .5rem; list-style: none; background: var(--surface-deep); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 .5rem 1.5rem #0006; }
.nav-menu a, .nav-unavailable { display: flex; width: 100%; min-height: 44px; padding: .5rem .75rem; font-size: .875rem; }
.nav-unavailable { flex-wrap: wrap; align-items: center; gap: .25rem .5rem; color: var(--muted); }
.nav-unavailable small { font-size: .75rem; }
@media (max-width: 560px) {
  .nav-menu { position: static; min-width: 0; max-width: 100%; box-shadow: none; }
}

