/* ==========================================================================
   fx-hitech.css: the shared design system of the "hitech" home page (live
   2026-12-01), for every other public page. Lifted from index.html's inline
   <style> (TOKENS, BASE, SHARED TYPE + BUTTONS, HEADER, FOOTER, RTL, FONT D).
   index.html keeps its own inline copy for now: change both together.

   Font D is fixed here (no ?font switch): Handjet LED dots for h1/h2, Geist
   for Latin text, Heebo for Hebrew. Self-hosted, SIL OFL (fonts/<family>/).
   The "X Fallback" faces are local Arial resized to the web font's metrics,
   so the swap moves no line: CLS stays 0 even without a preload.

   Load order on a page: fx-hitech.css, then the page family's own sheet
   (fx-seg.css ...), then fx-nav.css (the header, self-contained).
   NOT for admin.html or cosmic.css pages: this sets body colours and fonts.
   ========================================================================== */

/* ==========================================================================
   FONT FACES (font D)
   unicode-range keeps a German page off the Hebrew files: a browser only
   downloads a face some text on the page uses.
   ========================================================================== */
@font-face { font-family: "Geist"; src: url("fonts/geist/geist-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; 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; }
@font-face { font-family: "Geist"; src: url("fonts/geist/geist-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap; 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Heebo"; src: url("fonts/heebo/heebo-hebrew.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); font-weight: 100 549; size-adjust: 104.61%; ascent-override: 96.07%; descent-override: 28.2%; line-gap-override: 0%; 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; }
@font-face { font-family: "Geist Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); font-weight: 550 900; size-adjust: 104.31%; ascent-override: 96.35%; descent-override: 28.28%; line-gap-override: 0%; 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; }
@font-face { font-family: "Handjet"; src: url("fonts/handjet/handjet-latin-e11.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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; }
@font-face { font-family: "Handjet"; src: url("fonts/handjet/handjet-latin-ext-e11.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Handjet"; src: url("fonts/handjet/handjet-hebrew-e11.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Handjet Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); font-weight: 100 900; size-adjust: 68.52%; ascent-override: 128.77%; descent-override: 34.34%; line-gap-override: 0%; 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; }
@font-face { font-family: "Handjet Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); font-weight: 100 900; size-adjust: 73.48%; ascent-override: 120.08%; descent-override: 32.02%; line-gap-override: 0%; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); font-weight: 100 549; size-adjust: 98.1%; ascent-override: 106.82%; descent-override: 42.91%; line-gap-override: 0%; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); font-weight: 550 900; size-adjust: 95.93%; ascent-override: 109.23%; descent-override: 43.87%; line-gap-override: 0%; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }

/* ==========================================================================
   TOKENS: emerald / copper on deep ink (index.html :root), font D built in.
   ========================================================================== */
:root {
  --ink: #101d28; --ink-raised: #172b35; --hero: #061721; --night: #071721;
  --emerald: #007f68; --emerald-hover: #006451; --jade: #59c3a0; --jade-bright: #65dfc1;
  --copper: #c5784f; --copper-bright: #d4976e; --copper-dark: #925031; --copper-hero: #edaa75;
  --champagne: #d8c5a3; --ivory: #f4f0e7; --paper: #fffdf8;
  --muted: #b4c2c5; --muted-light: #536268;
  --line: rgba(244,240,231,.16); --line-light: rgba(16,29,40,.16);
  --radius: 16px; --max: 1376px; --gutter: 48px; --section: 80px;
  --body: "Geist", "Heebo", "Geist Fallback", "Heebo Fallback", "Segoe UI", Arial, sans-serif;
  --display: "Handjet", "Handjet Fallback", "Segoe UI", Arial, sans-serif;
  --accent: var(--display);
  --mono: Consolas, monospace;
  --ease: 180ms ease-out;
}

/* ==========================================================================
   BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-padding-top: 112px; }  /* 88px sticky header + 24px air */
/* clip, not hidden: hidden would break position:sticky and anchor scrolling */
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ink); color: var(--ivory); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
input, textarea, select { font-size: max(16px, 1em); }   /* iOS zooms into inputs under 16px */
button { cursor: pointer; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h3 { font-size: 25px; letter-spacing: -.025em; }
p { max-width: 64ch; }
:focus-visible { outline: 3px solid var(--jade); outline-offset: 5px; }
.light :focus-visible { outline-color: var(--emerald); }
::selection { background: var(--copper); color: var(--ink); }
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section); }
.light { background: var(--ivory); color: var(--ink); }
.skip-link { position: fixed; inset-block-start: -90px; inset-inline-start: 20px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 12px 20px; }
.skip-link:focus { inset-block-start: 8px; }

/* ==========================================================================
   DISPLAY TYPE (font D): Handjet is a narrow round-dot LED grid. The dots need
   air (no negative tracking) and size. 3D: every dot is its own contour, so
   stacked hard text-shadows give each dot its own extrusion and cast shadow
   (em units, so they scale with the size). Light sections get a softer drop.
   ========================================================================== */
:is(h1, h2) { font-family: var(--display); }
h2 { font-size: clamp(40px, 4.4vw, 64px); font-weight: 600; letter-spacing: .01em;
  text-shadow: .012em .012em 0 #7d8a90, .022em .024em 0 #34474f, .03em .044em .04em #000000cc; }
h2 .accent { text-shadow: .012em .012em 0 #a15a34, .022em .024em 0 #6a3520, .03em .044em .04em #000000cc, 0 0 .18em #f0a46a73; }
.light h2 { text-shadow: .014em .016em 0 #00000059, .026em .04em .04em #101d2873; }
.light h2 .accent { text-shadow: .014em .016em 0 #00382c, .026em .04em .04em #101d2873; }

/* ==========================================================================
   SHARED TYPE + BUTTONS
   The eyebrow is the small copper label above every heading; the accent is
   the second half of a heading, in the LED face, copper on dark.
   ========================================================================== */
.eyebrow { max-width: none; font-size: 11px; letter-spacing: .2em; font-weight: 650; text-transform: uppercase; color: var(--copper-bright); margin-bottom: 24px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.light .eyebrow { color: var(--copper-dark); }
.accent { font-family: var(--accent); font-style: normal; font-weight: 400; color: var(--copper-bright); }
.light .accent { color: var(--emerald); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 36px; }
.section-heading > div { flex: 1; }
.section-heading > p { max-width: 390px; font-size: 16px; color: var(--muted); }
.light .section-heading > p { color: var(--muted-light); }

.button { min-height: 50px; padding: 13px 24px; border: 1px solid transparent; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; font-size: 15px; font-weight: 650; line-height: 1.4; text-align: center; transition: background var(--ease), transform var(--ease), border-color var(--ease); }
.button:hover { transform: translateY(-2px); }
/* "richer action fills": a slight gradient plus an inner highlight line */
.button-primary { color: #fff; background: linear-gradient(120deg, #008b73, #006a5b); border-color: #19a58c; box-shadow: inset 0 1px 0 #7ce8c14d; }
.button-primary:hover { background: var(--emerald-hover); }
.button-copper { color: var(--ink); background: linear-gradient(125deg, #c78352, #e6a16b); border-color: #f1b784; box-shadow: inset 0 1px 0 #ffffff42; }
.button-copper:hover { background: var(--copper-bright); }
.button-outline { background: transparent; border-color: var(--line); color: var(--ivory); }
.button-outline:hover { border-color: var(--champagne); background: rgba(244,240,231,.04); }
.light .button-outline { border-color: var(--line-light); color: var(--ink); }
.light .button-outline:hover { background: rgba(16,29,40,.05); border-color: var(--emerald); }
.arrow { font-size: 21px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--jade); font-size: 15px; font-weight: 600; margin-top: 18px; }
.light .text-link { color: var(--emerald); }
.microcopy { font-size: 12px; color: var(--muted); margin-top: 16px; letter-spacing: .015em; }

/* ==========================================================================
   HEADER: the home page's sticky main menu. On pages that load fx-nav.css
   (all of them except the home) that sheet carries the same rules scoped to
   .site-header; these are the home page's unscoped originals.
   ========================================================================== */
/* z-index 20: under the modals (60), the skip link (100) and the cookie banner (track.js). */
.site-header { position: sticky; inset-block-start: 0; z-index: 20; background: var(--hero); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 88px; }
.brand { flex-shrink: 0; width: 252px; display: block; }
.brand img { width: 100%; height: auto; }
.desktop-nav { display: flex; gap: 30px; align-items: center; font-size: 14px; }
.desktop-nav a:hover { color: var(--jade); }
.header-actions { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.header-actions .button { min-height: 44px; padding: 11px 18px; font-size: 13px; }
.header-login:hover { color: var(--jade); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ivory); font-size: 22px; line-height: 1; }
.mobile-nav { padding: 8px 0 24px; max-height: calc(100vh - 88px); max-height: calc(100dvh - 88px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav a { display: block; padding: 12px; border-bottom: 1px solid var(--line); }
/* One primary action per first screen (Laws-of-UX, Hick): on a page whose hero carries the trial
   button, the header's copy of it waits until that one has scrolled away (fx-nav.js sets
   html.hero-cta-gone). visibility, not display: the header keeps its layout, nothing shifts. */
@media (min-width: 960px) {
  .header-actions > .button-copper { transition: opacity .2s, visibility .2s; }
  html:has(.seg-hero .button-primary):not(.hero-cta-gone) .header-actions > .button-copper { visibility: hidden; opacity: 0; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer > .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; border-top: 1px solid var(--line); }
.footer-brand { width: 170px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 24px; font-size: 12px; color: var(--muted); }
/* finger-sized footer links: 19px tall would be under WCAG 2.5.8 (24px) */
.footer-links a, .footer-links button { display: inline-block; padding-block: 8px; min-height: 32px; }
.footer-links a:hover, .footer-links button:hover { color: var(--ivory); }
.footer-bottom { font-size: 11px; color: var(--muted); padding-bottom: 24px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ==========================================================================
   HEBREW / RTL: direction is set on <html>. The logo stays left-to-right;
   Hebrew never gets letter-spacing.
   ========================================================================== */
[dir="rtl"] .brand, [dir="rtl"] .footer-brand { direction: ltr; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .arrow { transform: scaleX(-1); }

/* ==========================================================================
   RESPONSIVE: the home page's breakpoints 1100, 959, 639.
   ========================================================================== */
@media (max-width: 1100px) {
  .desktop-nav { gap: 18px; }
  .header-actions { gap: 10px; }
  .brand { width: 205px; }
}
@media (max-width: 959px) {
  :root { --gutter: 32px; }
  .desktop-nav, .header-login, .header-actions > .button { display: none; }
  .menu-toggle { display: block; }
  .site-footer > .container { flex-wrap: wrap; }
}
@media (max-width: 639px) {
  :root { --gutter: 20px; --section: 58px; }
  body { font-size: 16px; }
  html { scroll-padding-top: 96px; }  /* 72px header + 24px */
  .header-inner { min-height: 72px; gap: 6px; }
  .brand { width: 176px; }
  .header-actions { gap: 6px; }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  h2 { font-size: 40px; }
  .site-footer > .container { display: block; padding-block: 24px; }
  .footer-links { margin-top: 18px; gap: 14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover { transform: none; }
}
