:root {
  --ink: #073f38;
  --muted: #55716c;
  --accent: #17a889;
  --mint: #76dfc5;
  --paper: #ffffff;
  --wash: #f2f7f5;
  --line: #d4e3df;
  --shadow: 0 18px 48px rgba(7, 63, 56, .09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--wash);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
a { color: #087965; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #087965; outline-offset: 3px; box-shadow: 0 0 0 2px white; }
.skip-link { position: fixed; left: 1rem; top: -5rem; padding: .6rem 1rem; background: var(--ink); color: white; z-index: 5; }
.skip-link:focus { top: 1rem; }
.site-header, footer { max-width: 1180px; margin: auto; padding: 1.25rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-header { min-height: 92px; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-size: 1.08rem; }
.brand small { color: var(--muted); }
.site-header nav { display: flex; align-items: center; gap: 1.5rem; }
.footer-navigation { display: grid; grid-template-columns: repeat(3, max-content); gap: 3rem; }
footer nav { display: grid; align-content: start; gap: .35rem; }
footer nav strong { margin-bottom: .25rem; font-size: .78rem; letter-spacing: .04em; }
.site-header nav > a:not(.button), footer a { color: var(--ink); text-decoration: none; font-weight: 650; }
.site-header nav a[aria-current="page"], footer nav a[aria-current="page"] { color: #087965; text-decoration: underline; text-decoration-thickness: 2px; }
main { min-height: calc(100vh - 280px); }
.hero, .page-title { max-width: 1180px; margin: auto; padding: 7rem 2rem 6rem; }
.hero { background: radial-gradient(circle at 90% 5%, rgba(118,223,197,.33), transparent 34%); }
.eyebrow { margin: 0 0 1rem; color: #087965; font-size: .76rem; font-weight: 800; letter-spacing: .16em; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; }
h1 { max-width: 850px; margin: 0; font-size: clamp(2.7rem, 7vw, 5.7rem); }
.page-title h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.lead { max-width: 760px; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.2rem; }
.button { display: inline-block; padding: .85rem 1.2rem; border-radius: 10px; background: var(--ink); color: white; font-weight: 750; text-decoration: none; box-shadow: 0 7px 20px rgba(7,63,56,.16); }
.button:hover, .button:focus { background: #0b5b50; }
.button-small { padding: .6rem .9rem; }
.text-link { font-weight: 700; }
.section, .prose, .contact-card { max-width: 1180px; margin: 0 auto 5rem; padding: 0 2rem; }
.section h2, .prose h2 { max-width: 760px; font-size: clamp(1.8rem, 3vw, 2.75rem); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.4rem; }
.card-grid article, .contact-card { padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.card-grid h3 { margin-top: 0; font-size: 1.3rem; }
.card-grid p, .notice > p, .prose p, .small { color: var(--muted); }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover, .card-link:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.notice { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; padding-top: 4rem; border-top: 1px solid var(--line); }
.process { padding-top: 4rem; border-top: 1px solid var(--line); }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2.2rem 0 0; padding: 0; list-style: none; counter-reset: workflow; }
.step-grid li { position: relative; min-height: 150px; padding: 3rem 1.25rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--muted); counter-increment: workflow; }
.step-grid li::before { content: counter(workflow, decimal-leading-zero); position: absolute; top: 1rem; left: 1.25rem; color: #087965; font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.25rem; border-radius: 18px; background: var(--ink); color: white; }
.cta-panel h2 { margin: 0; color: white; }
.cta-panel p { max-width: 680px; margin: .6rem 0 0; color: #cce6df; }
.cta-panel .button { background: var(--mint); color: var(--ink); white-space: nowrap; }
.page-title { padding-bottom: 3.5rem; }
.prose { max-width: 850px; }
.prose h2 { margin: 2.6rem 0 .5rem; font-size: 1.55rem; }
.prose li { margin-bottom: .55rem; color: var(--muted); }
.updated, .small { font-size: .9rem; }
.contact-card { max-width: 760px; }
.contact-card .button { margin: 1rem 0; }
.error-page { max-width: 880px; }
.error-page h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.error-reference { margin-top: 2.5rem; color: var(--muted); font-size: .9rem; }
.error-reference code { padding: .25rem .45rem; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--ink); overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
footer strong { color: var(--ink); }
footer p { margin: 0; }
.footer-brand { max-width: 220px; }
.footer-copyright { max-width: 150px; }
@media (max-width: 780px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-header nav { width: 100%; gap: .65rem 1rem; flex-wrap: wrap; justify-content: flex-start; }
  .site-header .workspace-link { flex-basis: 100%; width: fit-content; }
  .hero, .page-title { padding-top: 4.5rem; }
  .card-grid, .notice, .step-grid { grid-template-columns: 1fr; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; }
  .footer-navigation { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .footer-copyright { max-width: none; }
}
@media (max-width: 440px) {
  .footer-navigation { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
@media (forced-colors: active) {
  :focus-visible { outline-color: Highlight; box-shadow: none; }
  .button, .card-grid article, .contact-card { border: 1px solid ButtonText; }
}
