/* ibm-plex-sans-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'IBM Plex Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url(/_astro/ibm-plex-sans-cyrillic-ext-wght-normal.d45eAU9y.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* ibm-plex-sans-cyrillic-wght-normal */
@font-face {
  font-family: 'IBM Plex Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url(/_astro/ibm-plex-sans-cyrillic-wght-normal.BAAhND-U.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* ibm-plex-sans-greek-wght-normal */
@font-face {
  font-family: 'IBM Plex Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url(/_astro/ibm-plex-sans-greek-wght-normal.CmyJS8uq.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* ibm-plex-sans-vietnamese-wght-normal */
@font-face {
  font-family: 'IBM Plex Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url(/_astro/ibm-plex-sans-vietnamese-wght-normal.Dg1JeJN0.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* ibm-plex-sans-latin-ext-wght-normal */
@font-face {
  font-family: 'IBM Plex Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url(/_astro/ibm-plex-sans-latin-ext-wght-normal.CIII54If.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ibm-plex-sans-latin-wght-normal */
@font-face {
  font-family: 'IBM Plex Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url(/_astro/ibm-plex-sans-latin-wght-normal.IvpUvPa2.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* ibm-plex-mono-cyrillic-ext-500-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/_astro/ibm-plex-mono-cyrillic-ext-500-normal.BqneJy0T.woff2) format('woff2'), url(/_astro/ibm-plex-mono-cyrillic-ext-500-normal.BIfNGwUT.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* ibm-plex-mono-cyrillic-500-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/_astro/ibm-plex-mono-cyrillic-500-normal.Bq9vWWag.woff2) format('woff2'), url(/_astro/ibm-plex-mono-cyrillic-500-normal.Ael50iVv.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* ibm-plex-mono-vietnamese-500-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/_astro/ibm-plex-mono-vietnamese-500-normal.DZ4AoWbu.woff2) format('woff2'), url(/_astro/ibm-plex-mono-vietnamese-500-normal.C8zxqsMH.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* ibm-plex-mono-latin-ext-500-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/_astro/ibm-plex-mono-latin-ext-500-normal.CAhNIIs5.woff2) format('woff2'), url(/_astro/ibm-plex-mono-latin-ext-500-normal.CZ70TYgx.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ibm-plex-mono-latin-500-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/_astro/ibm-plex-mono-latin-500-normal.DSY6xOcd.woff2) format('woff2'), url(/_astro/ibm-plex-mono-latin-500-normal.CB9ihrfo.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* The public site's tokens and shared parts, from the approved mock-up
   (#370): green-led, IBM Plex (self-hosted), light and dark.

   Each colour token is light-dark(<light>, <dark>). <html> follows the device
   (color-scheme: light dark) unless the header switch set data-theme, which
   pins one scheme. No gradients, no animation. */

:root {
  color-scheme: light dark;
  --bg: light-dark(#ffffff, #0e1210);
  --soft: light-dark(#f5f8f6, #141a16);
  --card: light-dark(#ffffff, #171e1a);
  --ink: light-dark(#0e1a13, #edf2ee);
  --text: light-dark(#1e2a23, #cbd4ce);
  --muted: light-dark(#5a665f, #93a098);
  --line: light-dark(#e3e9e5, #25302a);
  --navy: light-dark(#15703f, #6fd49a);
  --navy-soft: light-dark(#eaf5ee, #173022);
  --chip: light-dark(#e6f6ed, #12301f);
  --chip-ink: light-dark(#14663a, #86dcab);
  --warn-bg: light-dark(#fbf0db, #2e2410);
  --warn-ink: light-dark(#7a5006, #f2cd84);
  --info-bg: light-dark(#eaf0f7, #15233a);
  --info-ink: light-dark(#2e5f94, #9cc0ea);
  /* The deep-green band (Home's closing WhatsApp band) and the text on it. */
  --hero: light-dark(#0f3a26, #12291c);
  --hero-sub: light-dark(#bfd8c9, #b8cfc1);
  /* The action green does not change with the theme: white text on it is 4.55:1. */
  --act: #1a874d;
  --act-hover: #167a45;
  --on-act: #ffffff;
  --shadow-panel: 0 1px 2px rgba(10, 30, 20, 0.04), 0 24px 48px -16px rgba(10, 30, 20, 0.16);
  --font-sans: 'IBM Plex Sans Variable', 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}
:root[data-theme='light'] { color-scheme: light; }
:root[data-theme='dark'] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }
img { display: block; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; font-weight: 600; margin: 0; }
.mono { font-family: var(--font-mono); font-weight: 500; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
[hidden] { display: none !important; }
.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; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
a.btn-act { background: var(--act); color: var(--on-act); }
a.btn-act:hover { background: var(--act-hover); }
a.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--card); }
a.btn-ghost:hover { border-color: var(--muted); }

/* Public forms (#382 comments; the contact form, #383): mock-up Post
   "Comments" form. Two columns of fields, full-width rows for the long
   field, the Turnstile row, the button and messages; one column on phones. */
.pf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.pf label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.pf .pf-full { grid-column: 1 / -1; }
.pf input, .pf textarea, .pf select { font-family: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background-color: var(--card); color: var(--ink); font-weight: 400; }
.pf textarea { min-height: 120px; resize: vertical; }
.pf [aria-invalid='true'] { border-color: var(--warn-ink); }
.pf small { font-weight: 400; color: var(--muted); font-size: 13px; }
.pf-field-err { font-weight: 500; font-size: 13px; color: var(--warn-ink); }
.pf-ts { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; min-height: 48px; border: 1px dashed var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.pf-send { grid-column: 1 / -1; justify-self: start; height: 48px; padding: 0 22px; border-radius: 10px; border: 0; background: var(--ink); color: var(--bg); font-family: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.pf-send:disabled { opacity: 0.6; cursor: progress; }
.pf-ok { margin: 24px 0 0; border-radius: 12px; background: var(--chip); color: var(--chip-ink); padding: 16px 18px; font-weight: 500; }
/* An answer's title (`Message received.`), on its own line above the message. */
.pf-ok b { display: block; font-size: 18px; margin-bottom: 4px; }
.pf-fine { margin: 0; font-size: 13px; color: var(--muted); }
.pf-err { margin: 0; border-radius: 12px; background: var(--warn-bg); color: var(--warn-ink); padding: 12px 16px; font-weight: 500; font-size: 15px; }
@media (max-width: 820px) {
  .pf { grid-template-columns: minmax(0, 1fr); }
}

/* Theme-dependent icon pairs (the switch shows a moon in light, a sun in dark) */
.when-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .when-dark { display: block; }
  :root:not([data-theme='light']) .when-light { display: none; }
}
:root[data-theme='dark'] .when-dark { display: block; }
:root[data-theme='dark'] .when-light { display: none; }

/* The brand icon (LogoMark.astro): its own aspect ratio inside the box, never stretched or shrunk by flex. */
.logo-mark { object-fit: contain; flex: none; }

/* Header */
.lnh { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.lnh-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; gap: 20px; }
a.lnh-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.lnh-mark { width: 38px; height: 34px; }
.lnh-nav { display: flex; gap: 2px; margin-left: 12px; }
.lnh-nav a { padding: 10px 14px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.lnh-nav a:hover { background: var(--soft); }
.lnh-nav a.on { color: var(--navy); background: var(--navy-soft); }
.lnh-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
a.lnh-phone { color: var(--ink); text-decoration: none; font-size: 14px; padding: 0 6px; }
.lnh-icon { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.lnh-icon:hover { background: var(--soft); }
a.lnh-wa { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; background: var(--act); color: var(--on-act); font-weight: 600; text-decoration: none; font-size: 15px; }
a.lnh-wa:hover { background: var(--act-hover); }
.lnh-burger { display: none; }
.lnh-burger .when-open { display: none; }
.lnh-burger[aria-expanded='true'] .when-open { display: block; }
.lnh-burger[aria-expanded='true'] .when-closed { display: none; }
.lnh-sheet { border-top: 1px solid var(--line); padding: 4px 16px 20px; display: flex; flex-direction: column; background: var(--bg); }
.lnh-sheet a { padding: 16px 4px; font-size: 19px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }

/* Footer */
.lnf { background: var(--soft); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.lnf-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lnf-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.lnf h2 { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 14px; letter-spacing: 0.02em; }
.lnf ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lnf a { color: var(--text); text-decoration: none; font-size: 15px; }
.lnf a:hover { color: var(--navy); text-decoration: underline; }
.lnf p { margin: 0; color: var(--muted); font-size: 15px; }
.lnf p.lnf-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.lnf-mark { width: 32px; height: 28px; }
.lnf p.lnf-gap { margin-top: 16px; }
.lnf-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }

/* The phone bar: WhatsApp + Call, fixed at the bottom on phone width */
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--bg); border-top: 1px solid var(--line); padding: 10px 12px; gap: 10px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
a.mbtn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; }
a.mbtn-wa { background: var(--act); color: var(--on-act); }
a.mbtn-call { border: 1px solid var(--line); color: var(--ink); }

/* The cookie banner (#386): fixed at the bottom, only for a visitor who has not chosen
   (ConsentRestore sets <html data-consent="ask">). Accept and Decline share .consent-btn:
   one size, one style. On phone width it sits above the phone bar. */
.consent { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 45; max-width: 760px; margin: 0 auto; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-panel); gap: 16px 24px; align-items: center; justify-content: space-between; }
:root[data-consent='ask'] .consent { display: flex; }
.consent h2 { font-size: 16px; margin: 0 0 2px; }
.consent p { margin: 0; font-size: 15px; line-height: 1.5; }
.consent a { color: var(--navy); }
.consent-actions { display: flex; gap: 10px; flex: none; }
.consent-btn { min-width: 112px; min-height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--ink); background: var(--card); color: var(--ink); font-family: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.consent-btn:hover { background: var(--soft); }

/* Home hero (Home's other sections: styles/pages.css, #385) */
.hero { background: var(--soft); padding: 112px 0 120px; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; color: var(--navy); }
.hero h1 { font-size: 60px; line-height: 1.04; margin: 20px 0 24px; letter-spacing: -0.03em; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 36px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.status { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-panel); }
.status h2 { font-size: 17px; margin: 0 0 4px; }
.status p { margin: 0; font-size: 14px; color: var(--muted); }
.status ul { list-style: none; margin: 20px 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.status li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.status li .pill { margin-left: auto; font-size: 13px; color: var(--chip-ink); background: var(--chip); padding: 2px 10px; border-radius: 99px; font-weight: 600; }
.status .note { font-size: 12px; }
.tick { width: 24px; height: 24px; border-radius: 99px; background: var(--chip); color: var(--chip-ink); display: grid; place-items: center; flex: none; }

@media (max-width: 1000px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .lnf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .lnh-nav, a.lnh-phone, a.lnh-wa { display: none; }
  .lnh-burger { display: grid; }
  .lnh-in { height: 60px; padding: 0 16px; }
  .lnf { padding: 48px 0 104px; }
  .lnf-in { padding: 0 16px; }
  .mbar { display: grid; }
  .consent { bottom: 88px; flex-direction: column; align-items: stretch; }
  .consent-actions .consent-btn { flex: 1 1 0; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 34px; }
  .lede { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (min-width: 821px) {
  /* The sheet is a phone-width menu only; the main nav takes over above. */
  .lnh-sheet { display: none !important; }
}
@media (max-width: 520px) {
  .lnf-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1800px) {
  body { font-size: 17px; }
  .wrap, .lnh-in, .lnf-in { max-width: 1280px; }
  .hero h1 { font-size: 68px; }
}

/* Selects are drawn by the site, not the platform (#404): a native menulist paints its text
   through the theme engine, whose anti-aliasing differs from run to run, so captures with a
   select flaked. With appearance: none the text is painted like any other text. The chevron is
   two gradients in currentColor, so it follows the text colour in light and dark. */
select:not([multiple]) {
  appearance: none;
  /* Plex Sans's own line height, fixed: with `normal` a select laid out before Plex arrived kept
     the fallback font's height (2px off on PR #416). test/select-style.test.ts */
  line-height: 1.3;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
