/* RALOTECH — glass.html. Liquid glass: one light source, glass over it, and nothing else.
   No chips, no tag pills, no bordered number grids, no uppercase rails. Type is Inter, tight and
   large; Syne is kept for the wordmark alone. Everything here is CSS — no WebGL, on any screen. */

@font-face { font-family: Inter; src: url("./fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Syne; src: url("./fonts/syne-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --ink: #f5f7fa;
  --soft: #b9c3d1;
  --dim: #808b9c;
  --bg: #05070b;
  --blue: #5b9cff;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Syne, Inter, sans-serif;
  --r: 28px;
  --gut: 22px;
  /* the glass: a wash, a blur, a hairline of light along the top edge, a shadow beneath */
  --glass: rgba(255, 255, 255, 0.055);
  --glass-line: rgba(255, 255, 255, 0.14);
  --blur: saturate(170%) blur(26px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* ---- the light behind the glass: three slow pools of colour, fixed, so every pane has something
   to refract. Still on prefers-reduced-motion. */
.light { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.light i { position: absolute; display: block; border-radius: 50%; filter: blur(110px); opacity: 0.5; will-change: transform; }
.light .a { width: 68vw; height: 68vw; left: -16vw; top: -18vw; background: radial-gradient(circle, #2f6bd8 0%, rgba(27, 63, 143, 0) 70%); animation: drift-a 34s ease-in-out infinite alternate; }
.light .b { width: 56vw; height: 56vw; right: -12vw; top: 26vh; background: radial-gradient(circle, #6d4bd8 0%, rgba(58, 42, 143, 0) 70%); animation: drift-b 46s ease-in-out infinite alternate; }
.light .c { width: 60vw; height: 60vw; left: 16vw; bottom: -26vw; background: radial-gradient(circle, #1f7fa8 0%, rgba(16, 69, 92, 0) 70%); animation: drift-c 40s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(8vw, 10vh, 0) scale(1.14); } }
@keyframes drift-b { to { transform: translate3d(-10vw, -8vh, 0) scale(1.1); } }
@keyframes drift-c { to { transform: translate3d(6vw, -12vh, 0) scale(1.18); } }
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, rgba(5, 7, 11, 0) 28%, rgba(5, 7, 11, 0.78) 76%, #05070b 100%); }

.page { position: relative; z-index: 2; }

/* ---- glass, the one surface this site is made of */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border-radius: var(--r);
  box-shadow: inset 0 1px 0 var(--glass-line), inset 0 0 0 1px rgba(255, 255, 255, 0.055), 0 24px 60px rgba(0, 0, 0, 0.34);
}

/* ---- the bar floats */
.bar { position: fixed; z-index: 40; top: 14px; left: 50%; transform: translateX(-50%); width: min(1120px, calc(100% - 28px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 20px; border-radius: 22px; }
.mark { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font: 500 18px/1 var(--display); letter-spacing: -0.04em; color: var(--dim); }
.mark b { font-weight: inherit; color: var(--ink); }
/* the bar floats over the brightest pool of light, so the muted half of the wordmark needs more
   than --dim to clear 4.5:1 there; measured against the lightest pixel under it, not against --bg. */
.bar .mark { color: #9fabbc; }

.bar nav { display: flex; align-items: center; gap: 2px; }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 999px; font-size: 14.5px; color: var(--soft); text-decoration: none; white-space: nowrap; transition: background 0.25s, color 0.25s; }
.bar nav a:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.bar .go { background: var(--ink); color: #080b12; font-weight: 550; padding: 0 18px; margin-left: 6px; }
.bar .go:hover { background: #fff; color: #080b12; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.08); color: var(--ink); cursor: pointer; }
.burger span { display: block; width: 17px; height: 1.5px; background: currentColor; border-radius: 2px; margin: 0 auto; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: currentColor; border-radius: 2px; }
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

/* ---- the rhythm: one idea per screen, and a lot of air around it */
section { position: relative; padding: clamp(96px, 15vh, 190px) var(--gut); }
.wrap { width: min(1120px, 100%); margin: 0 auto; }

h1, h2 { font-weight: 600; letter-spacing: -0.045em; line-height: 1.03; }
h1 { font-size: clamp(44px, 8.4vw, 100px); }
h2 { font-size: clamp(33px, 5.2vw, 66px); }
h3 { font: 550 20px/1.3 var(--sans); letter-spacing: -0.02em; }
.lead { margin-top: 26px; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; color: var(--soft); letter-spacing: -0.014em; }
.note { margin-top: 20px; font-size: 16px; line-height: 1.6; color: var(--dim); }
.centre { text-align: center; }
.centre .lead, .centre .note, .lead.centre { margin-left: auto; margin-right: auto; max-width: 54ch; }
.lead.after { margin-top: 34px; }

/* ---- hero */
.hero { padding-top: clamp(150px, 24vh, 250px); }
.hero h1 { max-width: 14ch; margin: 0 auto; }
.release { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; padding: 11px 20px; border-radius: 999px; font-size: 14.5px; color: var(--soft); }
.release i { width: 6px; height: 6px; border-radius: 50%; background: #5fc27a; box-shadow: 0 0 10px #5fc27a; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 550 16px/1 var(--sans); letter-spacing: -0.012em; text-decoration: none; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s; }
.btn.solid { background: var(--ink); color: #080b12; }
.btn.solid:hover { background: #fff; transform: translateY(-1px); }
.btn.ghost:hover { transform: translateY(-1px); }
.shot { margin-top: clamp(54px, 8vh, 92px); padding: 10px; border-radius: 34px; }
/* the stills are landscape 3:2: left whole they fill a screen on their own, so each window keeps a
   wide crop and the rest of the picture stays out of the way. Never squashed — always object-fit: cover. */
.shot img { border-radius: 25px; width: 100%; height: clamp(260px, 46vh, 460px); object-fit: cover; object-position: 50% 42%; }
.cap { margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--dim); }

/* ---- the panorama under the statement: 2880x890, cropped to a wide strip */
.strip { margin-top: clamp(44px, 7vh, 76px); padding: 8px; border-radius: 30px; }
.strip img { border-radius: 23px; width: 100%; height: clamp(150px, 28vw, 330px); object-fit: cover; object-position: 50% 50%; }

/* ---- a pane: glass holding one thought */
.pane { padding: clamp(30px, 4.2vw, 56px); }
.panes { display: grid; gap: 20px; margin-top: clamp(40px, 6vh, 68px); }
.pane h3 + p { margin-top: 12px; color: var(--soft); font-size: 16.5px; }
.pane figure { margin: 26px -8px -8px; border-radius: 20px; overflow: hidden; }
.pane figure img { height: clamp(170px, 22vh, 230px); object-fit: cover; object-position: 50% 45%; }

/* ---- the parts of the system: two wide panes with a picture, four plain ones between them */
.parts { display: grid; gap: 20px; margin-top: clamp(40px, 6vh, 68px); }
.feature { display: grid; gap: 24px; align-items: center; }
.feature figure { margin: 4px -8px -8px; }
.feature figure img { height: clamp(190px, 26vh, 300px); object-position: 50% 50%; }

/* ---- the standard: one sheet of glass, each decision a term and its line. No borders between them;
   the air does the separating. */
.spec { display: grid; gap: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 56px); margin-top: clamp(40px, 6vh, 68px); padding: clamp(30px, 4.2vw, 60px); }
.spec dt { font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.035em; line-height: 1.1; }
.spec dd { margin-top: 10px; color: var(--soft); font-size: 16.5px; line-height: 1.55; }

/* ---- the one line a section wants remembered */
.creed { font-size: clamp(31px, 4.8vw, 60px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.09; max-width: 17ch; margin: 0 auto; text-align: center; }
.creed em { font-style: normal; color: var(--blue); }
#direction .centre { margin-top: clamp(70px, 11vh, 130px); }

/* ---- close */
.ask .field { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.ask input { min-width: min(340px, 100%); min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); color: var(--ink); font: 400 16px var(--sans); }
.ask input::placeholder { color: #6a7484; }
.ask .err { margin-top: 14px; font-size: 14.5px; color: #e2b35a; }
.ask .err[hidden] { display: none; }
footer { padding: 50px var(--gut) 62px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 14.5px; color: var(--dim); }
/* inline padding does not grow the box: the thumb needs the link to be a block of its own */
footer a, .note a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.note a { text-decoration: underline; text-underline-offset: 3px; }
footer a:hover, .note a:hover { color: var(--ink); }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -9999px; display: inline-flex; align-items: center; min-height: 44px; }
.skip:focus { left: 16px; top: 16px; z-index: 60; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--ink); color: #080b12; }

/* ---- motion: everything arrives the same way, slowly — and only when a script is there to let it
   arrive. Without JavaScript the html element keeps no-js and nothing is ever hidden. */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .rise.in { opacity: 1; transform: none; }

@media (min-width: 760px) {
  .panes.two { grid-template-columns: 1fr 1fr; gap: 22px; }
  .panes.three { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .parts { grid-template-columns: 1fr 1fr; gap: 22px; }
  .parts .feature { grid-column: 1 / -1; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); }
  .feature figure { margin: -8px -8px -8px 0; }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec .wide { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
  :root { --gut: 18px; --r: 24px; }
  .hero h1 { max-width: 12ch; }
}
/* the six links of the bar need about 900px of width before they fit beside the wordmark; below
   that the menu folds behind the burger, even where the grids are already two columns */
@media (max-width: 919px) {
  .bar { padding: 9px 9px 9px 16px; }
  .bar nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px; border-radius: 22px; background: rgba(14, 18, 26, 0.96); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 var(--glass-line), 0 24px 60px rgba(0, 0, 0, 0.4); }
  .bar nav.open { display: flex; }
  .bar nav a { padding: 14px 16px; font-size: 16px; white-space: normal; }
  .bar .go { text-align: center; justify-content: center; margin-left: 0; }
  .burger { display: grid; place-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* .light .a outranks .light i, so the pools are named one by one */
  .light .a, .light .b, .light .c { animation: none; }
  .js .rise { opacity: 1; transform: none; transition: none; }
}
/* where the browser cannot blur, the glass becomes a solid panel instead of a grey smear */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .bar nav { background: rgba(16, 21, 31, 0.93); }
}

/* ---- a mock screen: an illustration of a product screen, drawn in HTML rather than shipped as a
   picture, so it stays sharp and carries the system's own colours. Sample data, always labelled. */
.mock { padding: 0; overflow: hidden; text-align: left; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.16); flex: none; }
.mock-bar strong { font: 550 15px/1 var(--sans); letter-spacing: -0.015em; color: var(--ink); }
.mock-bar span { margin-left: auto; font: 400 13px/1 var(--sans); color: var(--dim); }
.mock-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mock-row:last-child { border-bottom: 0; }
.mock-name { font: 550 16px/1.25 var(--sans); letter-spacing: -0.015em; color: var(--ink); }
.mock-qty { font: 500 14px/1.25 var(--sans); color: var(--soft); white-space: nowrap; }
.mock-lots { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mock-lot { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  font: 400 13px/1 var(--sans); color: var(--soft); background: rgba(255,255,255,0.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); }
.mock-lot b { font-weight: 550; color: var(--ink); }
.mock-lot.first { color: var(--ink); background: rgba(91,156,255,0.14); box-shadow: inset 0 0 0 1px rgba(91,156,255,0.42); }
.mock-lot.first i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }
.mock-lot.warn { color: var(--ink); background: rgba(226,179,90,0.13); box-shadow: inset 0 0 0 1px rgba(226,179,90,0.4); }
.mock-foot { padding: 16px 20px; font: 400 13.5px/1.5 var(--sans); color: var(--dim); background: rgba(255,255,255,0.025); }
