/* Osilera website. Tokens: the cyan family on #66E4F2 (brief §10 Q6), ink and paper from the
   Spectrum brand, ISO zone colours from the Survey app. Status colours appear only for condition. */

@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("/assets/fonts/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/assets/fonts/montserrat-600.woff2") format("woff2"); }

:root {
  --cyan: #66E4F2;
  --cyan-strong: #0B7884;
  --cyan-deep: #08565E;
  --cyan-tint: #E3FAFD;
  --ink: #0C1E29;
  --ink-2: #16303F;
  --ink-3: #23404F;
  --paper: #F4F7F9;

  --zone-a: #2E7D32; --zone-b: #9E9D24; --zone-c: #EF6C00; --zone-d: #C62828;

  --bg: var(--paper);
  --surface: #FFFFFF;
  --surface-2: #EAF0F3;
  --text: var(--ink);
  --muted: #4A6372;
  --line: #D8E2E8;
  --link: var(--cyan-strong);
  --link-hover: var(--cyan-deep);
  --btn-bg: var(--cyan-strong);
  --btn-fg: #FFFFFF;
  --btn-bg-hover: var(--cyan-deep);
  --accent-soft: var(--cyan-tint);
  --accent-text: var(--cyan-deep);
  --shadow: 0 1px 2px rgba(12, 30, 41, .06), 0 8px 24px rgba(12, 30, 41, .06);

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--ink);
    --surface: var(--ink-2);
    --surface-2: #122836;
    --text: #E8F1F5;
    --muted: #9DB4C0;
    --line: var(--ink-3);
    --link: var(--cyan);
    --link-hover: #A6F0F8;
    --btn-bg: var(--cyan);
    --btn-fg: var(--ink);
    --btn-bg-hover: #A6F0F8;
    --accent-soft: #123A47;
    --accent-text: var(--cyan);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --zone-a: #66BB6A; --zone-b: #D4E157; --zone-c: #FFA726; --zone-d: #EF5350;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: var(--ink);
  --surface: var(--ink-2);
  --surface-2: #122836;
  --text: #E8F1F5;
  --muted: #9DB4C0;
  --line: var(--ink-3);
  --link: var(--cyan);
  --link-hover: #A6F0F8;
  --btn-bg: var(--cyan);
  --btn-fg: var(--ink);
  --btn-bg-hover: #A6F0F8;
  --accent-soft: #123A47;
  --accent-text: var(--cyan);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --zone-a: #66BB6A; --zone-b: #D4E157; --zone-c: #FFA726; --zone-d: #EF5350;
  color-scheme: dark;
}

/* Bands that are always dark (header, hero, footer, call to action) take the dark values locally. */
.on-ink, .site-header, .site-footer {
  --surface: var(--ink-2);
  --text: #E8F1F5;
  --muted: #9DB4C0;
  --line: var(--ink-3);
  --link: var(--cyan);
  --link-hover: #A6F0F8;
  --btn-bg: var(--cyan);
  --btn-fg: var(--ink);
  --btn-bg-hover: #A6F0F8;
  --accent-soft: #123A47;
  --accent-text: var(--cyan);
  background: var(--ink);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46rem; }
.eyebrow {
  font-family: var(--font-head); font-weight: 500; font-size: .78rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem; display: block;
}
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { max-width: 48rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.alt { background: var(--surface-2); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; }

.study-banner {
  background: repeating-linear-gradient(-45deg, #FFF4D6, #FFF4D6 12px, #FFEDBE 12px, #FFEDBE 24px);
  color: #5A4300; text-align: center; font-size: .85rem; padding: 6px 16px; font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  font: 600 1rem/1 var(--font-head); padding: 15px 24px; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--link); color: var(--text); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.arrow::after { content: "→"; font-family: var(--font-body); transition: transform .15s ease; }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--ink-3);
  background: rgba(12, 30, 41, .92); backdrop-filter: saturate(140%) blur(10px); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 34px; height: auto; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.02em; color: #FFFFFF; }
.brand-by { font-family: var(--font-head); font-weight: 500; font-size: .78rem; color: var(--muted); letter-spacing: .06em; align-self: flex-end; margin-bottom: 6px; }
.brand:hover .brand-name { color: #FFFFFF; }

.menu-button { display: none; background: transparent; border: 0; cursor: pointer; }
.menu nav { display: flex; align-items: center; gap: 28px; }
.nav { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a { color: #C9D8DF; text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #FFFFFF; }
.nav a[aria-current="page"] { color: #FFFFFF; border-bottom-color: var(--cyan); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.link-quiet { color: #C9D8DF; text-decoration: none; font-size: .95rem; }
.link-quiet:hover { color: #FFFFFF; }
.lang-switch { font-size: .85rem; color: #6F8A98; white-space: nowrap; }
.lang-switch a { color: #C9D8DF; text-decoration: none; padding: 4px 2px; }
.lang-switch a:hover { color: #FFFFFF; text-decoration: underline; }
.lang-switch strong { color: #FFFFFF; font-weight: 600; }

/* Narrow screens: a menu button (with script); without script the menu simply stays open. */
@media (max-width: 960px) {
  .js .menu-button { display: grid; gap: 5px; padding: 10px; margin-right: -10px; }
  .menu-button span { display: block; width: 22px; height: 2px; background: #E8F1F5; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .js .menu > nav { display: none; }
  .js .menu.open > nav { display: flex; }
  .header-row { flex-wrap: wrap; }
  .menu > nav { position: absolute; left: 0; right: 0; top: 68px; background: var(--ink);
    border-bottom: 1px solid var(--ink-3); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; }
  .nav { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ink-3); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--ink-3); color: var(--cyan); }
  .nav-actions { justify-content: space-between; padding-top: 16px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 0; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60rem 30rem at 78% 30%, rgba(102, 228, 242, .16), transparent 60%),
    radial-gradient(40rem 24rem at 10% 90%, rgba(23, 165, 196, .12), transparent 60%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero h1 { color: #FFFFFF; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .lead { color: #B5C8D1; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: #9DB4C0; font-size: .92rem; }
.hero-proof li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-right: 9px; vertical-align: middle; }
.hero-devices { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 4%; min-height: 380px; }
.hero-devices figure { margin: 0; text-align: center; width: 40%; }
.hero-devices figure:first-child { transform: translateY(-28px); }
.hero-devices img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.hero-devices figcaption { font: 500 .72rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: #9DB4C0; margin-top: 14px; }
.hero-spectrum { position: relative; height: 120px; margin-top: 24px; }
.hero-spectrum svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-spectrum rect { transform-box: fill-box; transform-origin: bottom; animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.82); } }
@media (prefers-reduced-motion: reduce) { .hero-spectrum rect { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-devices { min-height: 0; max-width: 420px; margin: 0 auto; }
}

/* Page hero for inner pages */
.page-hero { padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50rem 22rem at 85% 0%, rgba(102, 228, 242, .14), transparent 60%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #FFFFFF; max-width: 22ch; }
.page-hero .lead { color: #B5C8D1; }
.crumbs { font-size: .85rem; color: #9DB4C0; margin-bottom: 18px; }
.crumbs a { color: #9DB4C0; }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1060px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); position: relative;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: var(--text); display: block; transition: border-color .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--link); transform: translateY(-2px); color: var(--text); }
a.card .more { color: var(--link); font-weight: 600; font-size: .95rem; margin-top: 14px; display: inline-block; }

.part-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.part-card .part-visual { background: linear-gradient(160deg, var(--ink-2), var(--ink)); height: 230px; display: grid; place-items: center; position: relative; }
.part-card .part-visual img { height: 205px; width: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.part-card .part-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.part-card .part-body p { color: var(--muted); }
.part-card .more { margin-top: auto; }
.part-tag { font: 500 .72rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }

.icon-dot { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text);
  display: grid; place-items: center; margin-bottom: 16px; }
.icon-dot svg { width: 22px; height: 22px; }

.persona-card h3 { font-size: 1.05rem; }
.persona-card p { color: var(--muted); font-size: .95rem; }

/* Platform illustration (built from the brand bars, no product screenshot claimed) */
.platform-visual { padding: 26px; display: grid; gap: 10px; align-content: center; height: 230px; width: 100%; }
.pv-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 8px; padding: 9px 12px; }
.pv-row span { height: 6px; border-radius: 3px; background: rgba(157, 180, 192, .35); }
.pv-row span:first-child { width: 70%; }
.pv-row b { font: 600 .7rem/1 var(--font-head); color: var(--ink); padding: 4px 7px; border-radius: 4px; }
.pv-row b.za { background: #66BB6A; } .pv-row b.zb { background: #D4E157; } .pv-row b.zc { background: #FFA726; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font: 600 .85rem/1 var(--font-head); color: var(--accent-text); letter-spacing: .1em; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ISO zone figure */
.zones { margin-top: 18px; }
.zone-bar { display: grid; grid-template-columns: 2.2fr 1.6fr 1.4fr 1.8fr; height: 14px; border-radius: 7px; overflow: hidden; position: relative; }
.zone-bar i:nth-child(1) { background: var(--zone-a); } .zone-bar i:nth-child(2) { background: var(--zone-b); }
.zone-bar i:nth-child(3) { background: var(--zone-c); } .zone-bar i:nth-child(4) { background: var(--zone-d); }
.zone-labels { display: grid; grid-template-columns: 2.2fr 1.6fr 1.4fr 1.8fr; font: 600 .72rem/1 var(--font-head); color: var(--muted); margin-top: 8px; }
.zone-marker { position: relative; height: 14px; margin-bottom: 4px; }
.zone-marker::after { content: ""; position: absolute; left: var(--at, 40%); transform: translateX(-50%); border: 7px solid transparent; border-top-color: var(--text); top: 2px; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.fact { padding: 28px 24px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font: 600 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--font-head); color: var(--accent-text); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.fact span { display: block; font-weight: 600; margin-bottom: 6px; }
.fact small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.45; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .fact { border-right: 0; border-bottom: 1px solid var(--line); } .fact:last-child { border-bottom: 0; } }

/* Split sections (text + visual) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.device-stage { background: radial-gradient(circle at 50% 40%, var(--ink-2), var(--ink) 70%); border-radius: 20px; display: grid; place-items: center; padding: 40px 24px; min-height: 420px; }
.device-stage img { max-height: 380px; width: auto; filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .5)); }
.device-stage.pair { display: flex; justify-content: center; align-items: flex-end; gap: 6%; }
.device-stage.pair img { max-height: 300px; }

.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--accent-text); border-bottom: 2.5px solid var(--accent-text); transform: rotate(-45deg); }
.checks li strong { font-weight: 600; }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 36%; font-weight: 600; padding-right: 16px; }
.spec td { color: var(--muted); }

.tag { display: inline-block; font: 600 .68rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); vertical-align: middle; margin-left: 6px; }
.tag-coming { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* Packages */
.pkg { display: flex; flex-direction: column; }
.pkg .pkg-code { font: 600 .75rem/1 var(--font-head); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
.pkg h3 { font-size: 1.3rem; }
.pkg .pkg-for { color: var(--muted); font-size: .95rem; min-height: 3em; }
.pkg ul { margin: 6px 0 22px; }
.pkg .btn { margin-top: auto; }
.pkg.featured { border: 2px solid var(--link); }
.pkg.featured::before { content: "Recommended for plants"; position: absolute; top: -12px; left: 24px; background: var(--btn-bg); color: var(--btn-fg);
  font: 600 .7rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.edition-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.edition-table th, .edition-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.edition-table thead th { font-family: var(--font-head); background: var(--surface-2); }
.edition-table td { color: var(--muted); font-size: .95rem; }
.table-scroll { overflow-x: auto; }

/* CTA band */
.cta-band { padding: clamp(56px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40rem 20rem at 50% 120%, rgba(102, 228, 242, .22), transparent 70%); }
.cta-band .wrap { position: relative; text-align: center; }
.cta-band h2 { color: #FFFFFF; }
.cta-band .lead { margin: 0 auto; color: #B5C8D1; }
.cta-band .btn-row { justify-content: center; }

/* Notes for the study: shown only while site.json has "study": true */
.study-note { border: 1px dashed #C9A227; background: rgba(255, 244, 214, .6); color: #5A4300; border-radius: var(--radius-sm); padding: 12px 14px; font-size: .85rem; margin: 16px 0; }
:root[data-theme="dark"] .study-note { background: rgba(90, 67, 0, .25); color: #F1DFA6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .study-note { background: rgba(90, 67, 0, .25); color: #F1DFA6; } }
.shot-placeholder { border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--surface-2); min-height: 260px;
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .9rem; padding: 24px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form label .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--link); outline-offset: 1px; border-color: var(--link); }
.form textarea { min-height: 120px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.chips input { width: auto; accent-color: var(--cyan-strong); }
.form label.confirm { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.form label.confirm input { width: auto; margin-top: .25em; accent-color: var(--cyan-strong); }
.steps-list { padding-left: 1.3em; margin: 0 0 1.5em; }
.steps-list li { margin-bottom: 10px; }
.form-sent { background: var(--accent-soft); color: var(--accent-text); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 500; }

/* Prose (legal pages) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0 1.5em; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.draft-note { background: rgba(255, 244, 214, .7); border: 1px dashed #C9A227; color: #5A4300; padding: 12px 14px; border-radius: var(--radius-sm); }

/* Footer */
.site-footer { padding: 64px 0 28px; border-top: 1px solid var(--ink-3); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #9DB4C0; font-weight: 500; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #C9D8DF; text-decoration: none; font-size: .93rem; }
.footer-grid a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-brand p { color: #9DB4C0; font-size: .93rem; margin: 14px 0 0; max-width: 28ch; }
.footer-brand .tagline { color: var(--cyan); font-family: var(--font-head); font-weight: 500; }
.footer-base { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; border-top: 1px solid var(--ink-3); margin-top: 44px; padding-top: 22px; font-size: .85rem; color: #9DB4C0; }
.footer-base a { color: #9DB4C0; }
.footer-base .lang-switch a { color: #C9D8DF; }
.footer-base .lang { margin-left: auto; }
.theme-toggle { font: inherit; font-size: .85rem; color: #C9D8DF; background: transparent; border: 1px solid var(--ink-3); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.theme-toggle:hover { border-color: var(--cyan); color: #FFFFFF; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .footer-base .lang { margin-left: 0; } }

/* Dimension drawing of the sensor (product page) */
.dims { display: flex; align-items: center; gap: 28px; margin: 40px 0 0; padding: 24px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); }
.dims-svg { width: 460px; max-width: 55%; height: auto; flex: none; color: var(--text); }
.dims-svg .part { fill: var(--accent-soft); stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.dims-svg .joint line { stroke: currentColor; stroke-width: 1; opacity: .45; }
.dims-svg .lid { fill: var(--cyan); }
.dims-svg .ext { stroke: var(--muted); stroke-width: 1; }
.dims-svg .dim { stroke: var(--accent-text); stroke-width: 1.5; }
.dims-svg .arrow { fill: var(--accent-text); }
.dims-svg text { font: 600 19px var(--font-head); fill: var(--accent-text); }
.dims-svg text.cap { fill: var(--text); font-weight: 500; }
.dims-svg text.small { font-size: 15px; }
.dims figcaption { color: var(--muted); max-width: 46ch; }
.dims figcaption strong { color: var(--text); }
@media (max-width: 560px) { .dims { flex-direction: column; text-align: center; } .dims-svg { max-width: 100%; } }

/* ---- 2026-11: the brochure story (screens, system diagram, chart, faults) ---- */
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .steps.three { grid-template-columns: 1fr; } }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(12, 30, 41, .08), 0 18px 40px rgba(12, 30, 41, .14); background: var(--surface); }
.on-ink .shot img { border-color: #2b5666; box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.shot figcaption { font-size: .92rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.shot figcaption strong { color: var(--text); }
.browser { border-radius: 12px; overflow: hidden; border: 1px solid #2b5666; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); background: #1d232b; }
.browser::before { content: ""; display: block; height: 26px; background:
  radial-gradient(circle at 16px 13px, #ff5f57 5px, transparent 5.5px),
  radial-gradient(circle at 34px 13px, #febc2e 5px, transparent 5.5px),
  radial-gradient(circle at 52px 13px, #28c840 5px, transparent 5.5px), #2b313a; }
.browser img { display: block; width: 100%; height: auto; }
.callouts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: co; }
.callouts li { position: relative; padding-left: 34px; font-size: .94rem; line-height: 1.5; color: var(--muted); }
.callouts li strong { color: var(--text); }
.callouts li::before { counter-increment: co; content: counter(co); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--cyan); color: var(--ink); font: 600 .78rem/24px var(--font-head); text-align: center; }
@media (max-width: 860px) { .callouts { grid-template-columns: 1fr; } }
.need-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .need-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .need-grid { grid-template-columns: 1fr; } }
.need-grid .card { border-top: 3px solid var(--cyan); }
.big-quote { font: 600 clamp(1.25rem, 2.4vw, 1.7rem)/1.35 var(--font-head); color: #FFFFFF; max-width: 46rem; margin: 0; }
.chart-panel { background: var(--ink); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 22px 22px 16px; margin-top: 28px; }
.chart-panel h3 { color: #FFFFFF; font-size: 1.05rem; }
.chart-panel .chart-scroll { overflow-x: auto; }
.chart-panel svg { display: block; width: 100%; min-width: 560px; height: auto; }
.chart-panel svg text { font: 500 11.5px var(--font-body); fill: #9bb2bf; }
.chart-panel svg text.ts { font-weight: 600; fill: #FFFFFF; }
.chart-panel svg text.tsd { font-weight: 600; fill: #17A5C4; }
.chart-panel p { color: #9DB4C0; font-size: .9rem; margin: 10px 0 0; }
.sysdiag { display: grid; grid-template-columns: 1.1fr .55fr .8fr .55fr 1.6fr; grid-template-rows: auto auto; gap: 18px 0; align-items: center; }
.sys-node { background: var(--ink-2); border: 1px solid #2b5666; border-radius: 14px; padding: 16px; text-align: center; color: #B5C8D1; font-size: .88rem; line-height: 1.4; }
.sys-node strong { display: block; color: #FFFFFF; font: 600 1rem/1.3 var(--font-head); margin-top: 8px; }
.sys-node img.dev { height: 150px; width: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }
.sys-node svg { height: 96px; width: auto; }
.sys-arrow { color: var(--cyan); font-size: .82rem; line-height: 1.3; text-align: center; padding: 0 8px; }
.sys-arrow i { display: block; height: 2px; background: var(--cyan); margin-top: 8px; position: relative; }
.sys-arrow i::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--cyan); border-right: 0; }
.sys-wide { grid-column: 2 / span 3; }
.sys-web { grid-column: 5; grid-row: 1 / span 2; text-align: center; color: #B5C8D1; font-size: .88rem; }
.sys-web strong { display: block; color: #FFFFFF; font: 600 1.05rem/1.3 var(--font-head); margin-top: 12px; }
.sys-survey { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; text-align: left; }
.sys-survey img.dev { height: 110px; }
.sys-survey .tablet { background: #0a1720; border: 1px solid #2b5666; border-radius: 10px; padding: 5px; }
.sys-survey .tablet img { display: block; width: 100%; border-radius: 6px; }
.sys-out { margin-top: 22px; background: var(--ink-2); border: 1px solid #2b5666; border-left: 3px solid var(--cyan); border-radius: 10px; padding: 14px 18px; color: #D5E1E8; }
.sys-out strong { color: #FFFFFF; }
@media (max-width: 960px) {
  .sysdiag { grid-template-columns: 1fr; gap: 10px; }
  .sys-web, .sys-wide { grid-column: auto; grid-row: auto; }
  .sys-web { order: 9; }
  .sys-arrow i { width: 2px; height: 26px; margin: 8px auto 0; }
  .sys-arrow i::after { right: auto; left: -5px; top: auto; bottom: -4px; border: 6px solid transparent; border-top: 8px solid var(--cyan); border-bottom: 0; }
  .sys-survey { grid-template-columns: 60px 1fr; }
}
.zones-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.zones-4 div { color: #FFFFFF; padding: 10px 12px; border-radius: 8px; font-size: .9rem; line-height: 1.35; }
.zones-4 b { display: block; font: 600 1.05rem/1.2 var(--font-head); }
@media (max-width: 560px) { .zones-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ladder4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.ladder4 div { color: #FFFFFF; padding: 12px 14px; border-radius: 8px; font-size: .9rem; line-height: 1.4; }
.ladder4 b { display: block; font: 600 1rem/1.2 var(--font-head); margin-bottom: 4px; }
@media (max-width: 760px) { .ladder4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.faults { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); font-size: .94rem; }
.faults th { text-align: left; font: 600 .72rem/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: #CFE3EA; padding: 12px 14px; }
.faults td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.faults td:first-child { font: 600 .95rem/1.35 var(--font-head); width: 24%; }
@media (max-width: 680px) {
  .faults thead { display: none; }
  .faults tr, .faults td { display: block; width: auto !important; }
  .faults td { border-top: 0; padding: 4px 14px; }
  .faults tr { border-top: 1px solid var(--line); padding: 10px 0; }
}
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.timeline > div { border-top: 2px solid var(--cyan); padding-top: 12px; }
.timeline b { display: block; font: 600 1.4rem/1.1 var(--font-head); color: var(--accent-text); margin-bottom: 8px; }
.timeline h3 { font-size: 1.05rem; }
.timeline p { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } }
.screens-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .screens-2 { grid-template-columns: 1fr; } }
.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kit .card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.kit .card img, .kit .card svg { width: 64px; height: auto; }
.kit .card p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 860px) { .kit { grid-template-columns: 1fr; } }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.pill-row li { font: 600 .7rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); border: 1px solid #2b5666; border-radius: 20px; padding: 7px 12px; }
.hero-value { font: 600 clamp(1.1rem, 2vw, 1.4rem)/1.35 var(--font-head); color: var(--cyan); margin: 18px 0 0; max-width: 34em; }
.hero-shot { position: relative; padding-bottom: 40px; }
.hero-shot .browser { margin-left: 10%; }
.hero-shot .dev-a { position: absolute; left: -2%; bottom: 0; height: 64%; width: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); }
.hero-shot .dev-b { position: absolute; left: 17%; bottom: -4%; height: 42%; width: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); }
@media (max-width: 860px) { .hero-shot { margin-top: 12px; } }
.on-ink .card h3 { color: #FFFFFF; }
.wide-shot { max-width: 1040px; margin: 0 auto; }
.ladder5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 860px) { .ladder5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero-value + .lead { margin-top: 14px; }
@media (max-width: 960px) {
  .sys-web { order: 2; } .sys-wide { order: 3; } .sys-survey { order: 4; }
  .sys-wide i::after { bottom: auto; top: -4px; border: 6px solid transparent; border-bottom: 8px solid var(--cyan); border-top: 0; }
}
.nav a, .nav-actions a { white-space: nowrap; }

/* Consent banner for Google Analytics: both choices equally easy (GDPR, KVKK). */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; background: var(--ink); color: #E3EDF1; border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: .92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; }
.consent a { color: var(--cyan); }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { color: #FFFFFF; border-color: #9DB4C0; padding: 10px 16px; }
.consent .btn:hover { border-color: var(--cyan); color: #FFFFFF; }
.link-button { font: inherit; color: #9DB4C0; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.link-button[hidden] { display: none; }
