/* Extracted from the bundle template (2 <style> blocks). */
/* Static SEO shell + base guards (formerly outer-shell CSS): */
#__static_shell { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); white-space: nowrap; overflow: hidden; }
/* ================================================================
 * ASO Ltd. — Colors & Type tokens
 * Forest Night base · Deep Forest Green primary · Savanna Gold accent
 * Circuit Yellow-Green signal
 * ================================================================ */

/* ----------------------------------------------------------------
 * Brand type — Roboto (variable: weight 100–900, width 75–125)
 * Used as the single key character across display, body, and UI.
 * JetBrains Mono is retained via Google Fonts for code/monospaced
 * numerics only.
 * ---------------------------------------------------------------- */
@font-face {
  font-family: 'Roboto';
  src: url("/assets/fonts/roboto-var.woff2") format('woff2-variations'),
       url("/assets/fonts/roboto-var.ttf") format('truetype-variations');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-vietnamese.woff2") format('woff2');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-ext.woff2") format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-vietnamese.woff2") format('woff2');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-ext.woff2") format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format('woff2');
  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;
}


:root {
  /* === Base — Forest Night === */
  --color-forest:       #040906;
  --color-surface-1:    #0A120C;
  --color-surface-2:    #0F1C12;
  --color-surface-3:    #162418;
  --color-border:       #1C3020;
  --color-border-light: #255030;

  /* === Brand — Deep Forest Green (Primary) === */
  --color-green-deep:   #0D5C2E;
  --color-green-mid:    #1E8A48;
  --color-green-bright: #2EAA5A;
  --color-green-glow:   rgba(30, 138, 72, 0.15);

  /* === Brand — Savanna Gold (Accent) === */
  --color-gold:         #C9A227;
  --color-gold-dim:     #9A7A1A;
  --color-gold-glow:    rgba(201, 162, 39, 0.15);

  /* === Circuit Yellow-Green (Logo tips / Live signals) === */
  --color-circuit:      #BEFF3A;
  --color-circuit-dim:  #7ABF1A;
  --color-circuit-glow: rgba(190, 255, 58, 0.10);

  /* === Semantic === */
  --color-ember:        #E05A2B;
  --color-sky:          #3E9AD4;

  /* === Text === */
  --color-text-primary:   #F5F0E8;
  --color-text-secondary: #7DA882;
  --color-text-tertiary:  #3D6645;
  --color-text-inverse:   #040906;

  /* === Gradients === */
  --gradient-brand:    linear-gradient(135deg, #C9A227 0%, #E8C44A 100%); /* @kind color */
  --gradient-circuit:  linear-gradient(135deg, #BEFF3A 0%, #3CB96A 60%, #0D5C2E 100%); /* @kind color */
  --gradient-surface:  linear-gradient(180deg, #0A120C 0%, #040906 100%); /* @kind color */
  --gradient-glow-green:    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(13,92,46,0.25) 0%, transparent 70%); /* @kind color */
  --gradient-glow-circuit:  radial-gradient(ellipse 40% 30% at 80% 50%, rgba(190,255,58,0.07) 0%, transparent 60%); /* @kind color */
  --gradient-hero:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(13,92,46,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(190,255,58,0.05) 0%, transparent 50%); /* @kind color */

  /* === Fonts ===
   * Roboto is the single brand voice. Display uses heavy weight +
   * slight negative tracking + condensed width; body uses regular
   * weight + normal width. One family, two characters.
   */
  --font-display: 'Roboto', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Roboto', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'Menlo', monospace;
  --width-display: 92;   /* @kind font */
  --width-body:    100;   /* @kind font */

  /* === Type scale === */
  --text-display-xl: clamp(3.5rem, 7vw, 6rem);
  --text-display-lg: clamp(2.5rem, 5vw, 4rem);
  --text-display-md: clamp(1.75rem, 3vw, 2.5rem);
  --text-xl:   1.25rem;
  --text-lg:   1.125rem;
  --text-base: 1rem;
  --text-sm:   0.875rem;
  --text-xs:   0.75rem;

  --leading-tight:  1.1;
  --leading-snug:   1.3;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  --tracking-tight:  -0.03em;
  --tracking-normal: 0em;
  --tracking-wide:   0.08em;
  --tracking-wider:  0.14em;

  /* === Spacing === */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-8:  3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;
  --section-padding-y: clamp(4rem, 8vw, 8rem);
  --section-padding-x: clamp(1.5rem, 6vw, 6rem);
  --container-max: 1280px;
  --container-narrow: 860px;

  /* === Radii === */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;

  /* === Shadows === */
  --shadow-card-rest:    0 1px 3px rgba(0,0,0,0.5);
  --shadow-card-hover:   0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px #255030;
  --shadow-green-glow:   0 0 40px rgba(13,92,46,0.25);
  --shadow-circuit-glow: 0 0 30px rgba(190,255,58,0.12);
  --shadow-gold-glow:    0 0 30px rgba(201,162,39,0.18);

  /* === Motion === */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1); /* @kind other */
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-spring:   cubic-bezier(0.175, 0.885, 0.32, 1.275); /* @kind other */
  --duration-fast:   150ms; /* @kind other */
  --duration-base:   250ms; /* @kind other */
  --duration-slow:   400ms; /* @kind other */
  --duration-reveal: 700ms; /* @kind other */
}

/* === Semantic element styles === */
html, body {
  background: var(--color-forest);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: 'wdth' var(--width-display);
  font-size: var(--text-display-xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'wdth' var(--width-display);
  font-size: var(--text-display-lg);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: 'wdth' var(--width-display);
  font-size: var(--text-display-md);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}
h4, .h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: 'wdth' var(--width-display);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  color: var(--color-text-primary);
}
p, .p {
  font-family: var(--font-body);
  font-weight: 400;
  font-variation-settings: 'wdth' var(--width-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text-secondary);
}
.eyebrow, .label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold);
}
code, .code, kbd, pre {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-circuit);
}
a, .link {
  color: var(--color-sky);
  text-decoration: underline;
  text-underline-offset: 3px;
}
* { box-sizing: border-box; }
  body { margin: 0; }
  button { font-family: inherit; }
  @keyframes aso-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
  @keyframes aso-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.85); } }
  input:focus, textarea:focus, select:focus { border-color: var(--color-gold) !important; }

  /* ---- Site-wide ambient backdrop (behind every page) ---- */
  #root { position: relative; z-index: 1; }
  .site-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
  .site-bg .sb-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--color-border-light) 1px, transparent 1px),
      linear-gradient(90deg, var(--color-border-light) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, black 0%, transparent 82%);
    mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, black 0%, transparent 82%);
    opacity: 0.16;
  }
  .site-bg .sb-orb { position: absolute; border-radius: 50%; filter: blur(140px); }
  .sb-gold    { width: 520px; height: 520px; top: -12%; left: 6%;   background: rgba(201,162,39,0.07);  animation: sbDrift1 22s ease-in-out infinite; }
  .sb-green   { width: 560px; height: 560px; bottom: -20%; right: 4%; background: rgba(13,92,46,0.20);   animation: sbDrift2 26s ease-in-out infinite; }
  .sb-circuit { width: 340px; height: 340px; top: 30%; left: 50%; transform: translateX(-50%); background: rgba(190,255,58,0.05); animation: sbBreathe 8s ease-in-out infinite; }
  .site-bg .sb-mark {
    position: absolute; top: 46%; left: 50%;
    width: min(78vh, 64vw); aspect-ratio: 1344 / 896;
    transform: translate(-50%, -50%);
    background: url("/assets/img/logo-glow.webp") center / contain no-repeat;
    opacity: 0.18;
    filter: brightness(1.35) saturate(1.3)
      drop-shadow(0 0 16px rgba(190,255,58,0.55))
      drop-shadow(0 0 44px rgba(60,185,106,0.4));
    -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, black 28%, transparent 82%);
    mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, black 28%, transparent 82%);
    animation: sbBreathe 6s ease-in-out infinite;
  }
  @keyframes sbBreathe { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.26; } }
  @keyframes sbDrift1 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(40px, 30px); } }
  @keyframes sbDrift2 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-44px, -28px); } }
  @media (prefers-reduced-motion: reduce) {
    .sb-gold, .sb-green, .sb-circuit, .site-bg .sb-mark { animation: none; }
  }

  /* ---- Mobile responsiveness ---- */
  html, body { max-width: 100%; overflow-x: hidden; }
  #root img { max-width: 100%; height: auto; }
  @media (max-width: 860px) {
    #root [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    #root [style*="sticky"] { position: static !important; top: auto !important; }
    #root [style*="gap: 48px"], #root [style*="gap:48px"] { gap: 28px !important; }
  }
  @media (max-width: 480px) {
    #root [style*="grid-template-columns"] { gap: 14px !important; }
  }
