:root {
  --teal: #245C50;
  --teal-dark: #173F37;
  --sage: #EAF1E5;
  --rose: #914C67;
  --peach: #F8EDE6;
  --ink: #263D37;
  --muted: #52665F;
  --paper: #FCFAF6;
  --white: #FFFFFF;
  --line: #D4DED8;
  /* X-Tech's content gutters, including its mobile breakpoint. */
  --page-gutter: clamp(24px, 7vw, 112px);
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.65; }
a { color: var(--teal); }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .8rem; }
.draft-banner { background: #EEEDE7; color: #4B514A; text-align: center; padding: .46rem var(--page-gutter); font-size: .82rem; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.head { width: 100%; min-height: 82px; padding: .65rem var(--page-gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--teal-dark); text-decoration: none; font-family: Lato, Arial, sans-serif; font-size: .93rem; font-weight: 900; line-height: 1.2; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.desktop { display: flex; align-items: center; gap: .85rem; }
.desktop a, .mobile-nav a { font-size: .81rem; font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.desktop a:hover, .mobile-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tools { display: flex; align-items: center; gap: .55rem; }
.lang { display: flex; flex-shrink: 0; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { min-width: 40px; min-height: 44px; border: 0; border-radius: 999px; white-space: nowrap; background: transparent; font-weight: 800; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed=true] { background: var(--teal); color: #fff; }
.button { display: inline-flex; min-height: 48px; padding: .72rem 1.15rem; align-items: center; justify-content: center; border-radius: 8px; text-decoration: none; font-weight: 800; transition: transform 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button.small { min-height: 48px; padding: .6rem 1.35rem; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.primary, .coral { background: var(--teal); color: #fff; }
.ghost { border: 1px solid var(--teal); color: var(--teal); background: var(--white); }
.menu { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--teal); font-size: 1.1rem; }
.mobile-nav[hidden] { display: none; }
.mobile-nav { padding: .6rem var(--page-gutter) 1rem; background: #fff; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
.mobile-nav a { padding: .45rem 0; white-space: normal; }
.helpbar { display: flex; justify-content: center; gap: .45rem; flex-wrap: wrap; padding: .65rem var(--page-gutter); background: var(--sage); color: var(--teal-dark); text-align: center; font-size: .9rem; }
.helpbar strong { color: #71384F; }
.hero { position: relative; background: #EDF5F2; color: var(--teal-dark); border-bottom: 1px solid var(--line); }
.hero-inner { width: 100%; min-height: 400px; margin: 0; padding: 4.2rem var(--page-gutter) 4rem; }
.home-hero .hero-inner { min-height: 485px; padding-top: 5.1rem; }
.eyebrow { margin: 0 0 .65rem; color: var(--rose); text-transform: uppercase; letter-spacing: .13em; font-size: .74rem; font-weight: 900; }
.hero h1 { max-width: 900px; margin: .25rem 0 1rem; font: 900 clamp(2.6rem,6vw,5.1rem)/1.05 Lato,Arial,sans-serif; letter-spacing: -.04em; }
.lead { max-width: 720px; color: #395C53; font-size: 1.1rem; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-foot { margin: 2rem 0 0; color: var(--muted); font-size: .85rem; }
.hero-art { display: none; }
.content { width: 100%; margin: 0; padding: 4.3rem var(--page-gutter); }
.section-heading { max-width: 760px; margin: 0 0 2rem; text-align: left; }
.section-heading h2, .content h2, .safety-callout h2, footer h2 { font: 900 clamp(1.8rem,4vw,2.6rem)/1.14 Lato,Arial,sans-serif; color: var(--teal-dark); letter-spacing: -.025em; }
.section-heading p:last-child { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.card { min-width: 0; padding: 1.4rem; border: 1px solid var(--line); border-top: 3px solid #A6BCA8; border-radius: 8px; background: #fff; }
.card h2 { font-size: 1.25rem; margin: 0 0 .7rem; }
.card p { color: var(--muted); overflow-wrap: anywhere; }
.card .pending { margin: .9rem 0 0; padding: .7rem 0 0; border-top: 1px solid var(--line); color: #605A50; font-size: .84rem; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; padding: 2.5rem var(--page-gutter); background: var(--sage); }
.stats > div { min-width: 0; padding: 1.2rem 0; }
.stats p { margin: .5rem 0 0; color: var(--muted); }
.stat { color: var(--rose); font: 900 1.4rem Lato,Arial,sans-serif; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 2rem; }
.sand { background: var(--peach); border-top-color: #D4AFB9; }
.safety-callout { width: calc(100% - 2 * var(--page-gutter)); margin: 1.4rem var(--page-gutter) 0; padding: 1.4rem; border: 1px solid #B9CAB9; border-left: 4px solid var(--teal); border-radius: 8px; background: #F1F5EC; }
.safety-callout h2 { font-size: 1.3rem; margin-bottom: .45rem; }
.safety-callout p { margin-bottom: 0; }
/* Always visible halfway down the right edge; never animated. */
.quick-exit { position: fixed; top: 50%; right: max(.65rem,env(safe-area-inset-right)); bottom: auto; transform: translateY(-50%); z-index: 30; width: max-content; min-height: 48px; padding: .75rem 1.35rem; white-space: nowrap; writing-mode: horizontal-tb; border: 2px solid #fff; border-radius: 999px; background: #F5D88C; color: #242424; box-shadow: 0 3px 14px #0003; font-weight: 900; line-height: 1.3; cursor: pointer; }
.quick-exit:hover { background: #FFE8A9; }
.quick-exit:focus-visible { outline-color: var(--teal-dark); }
footer { background: var(--teal-dark); color: var(--paper); padding: 3rem var(--page-gutter) 1.2rem; }
.footer-grid { width: 100%; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer-brand { color: #fff; }
.footer-brand img { background: #fff; border-radius: 50%; }
.footer-grid h2 { margin: .2rem 0 .6rem; color: #fff; font-size: 1.1rem; }
.footer-grid p { color: #E3EDE7; font-size: .9rem; }
.smallprint { font-size: .8rem!important; }
.copyright { width: 100%; margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid #ffffff35; font-size: .8rem; color: #D3E1D9; }
.copyright a { color: #fff; }
.copyright nav { margin-bottom: 1rem; line-height: 2; }
.pending-page { font-size: .85rem; color: #605A50; }
.translation-note { margin: 0; padding: .6rem var(--page-gutter); text-align: center; background: var(--peach); color: #674755; font-size: .85rem; }
@media(max-width: 1440px) {
  .desktop { display: none; }
  .menu { display: block; }
  .mobile-nav:not([hidden]) { display: grid; }
}
@media(max-width: 980px) { .grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 760px) {
  .head { min-height: 72px; padding-block: .5rem; }
  .brand { font-size: .78rem; }
  .brand img { width: 44px; height: 44px; }
  .tools { gap: .35rem; }
  .lang button { min-width: 38px; min-height: 44px; }
  .tools > .button { display: none; }
  .hero-inner, .home-hero .hero-inner { min-height: 410px; padding-block: 3.2rem 3rem; }
  .hero h1 { font-size: clamp(2.55rem,10vw,4.1rem); }
  .lead { font-size: 1rem; }
  .content { padding-block: 3rem; }
  .grid, .stats, .split, .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 1.15rem; }
  .stats { padding-block: 1.2rem; }
  .stats > div { padding: .7rem 0; }
  .split, .footer-grid { gap: 1rem; }
  .safety-callout { padding: 1rem; }
  .helpbar { font-size: .82rem; }
  .quick-exit { right: max(.65rem,env(safe-area-inset-right)); }
  .draft-banner { font-size: .72rem; }
}
@media(max-width: 640px) { :root { --page-gutter: 20px; } }
@media(max-width: 380px) {
  .head { flex-wrap: wrap; gap: .5rem; }
  .tools { margin-left: auto; }
  .brand { font-size: .75rem; }
  .hero h1 { font-size: 2.5rem; overflow-wrap: anywhere; }
}
@media(prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto!important; transition: none!important; } }
