/* IBM Plex Sans + Mono (SIL Open Font License 1.1) – saidi enda serveris, Google Fontsi ei kasutata */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-latin-ext-7963a1.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-latin-bc87d8.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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-latin-ext-25040c.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-latin-a80b2c.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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-ext-effb1e.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-f66677.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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-ext-effb1e.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-f66677.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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-ext-effb1e.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-f66677.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;
}

/* ================================================================ Sonicwright – ühine kujundus (suund A „tehniline“)
   Valge paber, peened jooned, IBM Plex, üks signaalvärv (roheline). Kõik lehed kasutavad seda faili. */
:root {
  --bg: #ffffff; --paper: #f6f7f6; --ink: #0f1412; --ink-2: #4a524e; --ink-3: #848b87;
  --rule: #e2e5e3; --signal: #12a150; --signal-ink: #0b7a3b; --warn: #b45309; --err: #b91c1c;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
b, strong { font-weight: 600; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 820px; }

/* keel: näita ainult valitud keele elemente */
html[data-lang="en"] [lang="et"], html[data-lang="et"] [lang="en"] { display: none !important; }

.label, .tag { font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.tag.dev::before { background: var(--ink-3); }
.mono { font-family: var(--mono); }

/* ---------------------------------------------------------------- päis */
header { border-bottom: 1px solid var(--rule); background: var(--bg); position: sticky; top: 0; z-index: 10; }
header .wrap { display: flex; align-items: center; height: 64px; gap: 32px; }
.mark, .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -.01em; color: var(--ink); }
.mark svg, .logo svg { width: 18px; height: 16px; flex: none; }
header nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
header nav a { text-decoration: none; color: var(--ink-2); }
header nav a:hover, header nav a[aria-current] { color: var(--ink); }
.lang { display: flex; gap: 2px; font: 500 12px var(--mono); }
header nav + .lang { margin-left: 0; }
header .mark + .lang { margin-left: auto; }
.lang button { font: inherit; border: 0; background: none; padding: 4px 6px; color: var(--ink-3); cursor: pointer; }
.lang button.on { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- tüpograafia */
h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; margin: 0 0 16px; }
h2 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; margin: 0 0 14px; }
h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 24px; max-width: 640px; }
.note, .muted { color: var(--ink-3); font-size: 14px; }
.note { margin: 14px 0 0; }

/* ---------------------------------------------------------------- nupud */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 4px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; text-decoration: none; font: 500 15px var(--sans); cursor: pointer; }
.btn:hover { background: #26302c; }
.btn.line, .btn.ghost { background: transparent; color: var(--ink); }
.btn.line:hover, .btn.ghost:hover { background: var(--paper); }
.btn:disabled { opacity: .5; cursor: default; }
.actions, .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------------------------------------------------------------- lehe osad */
main { padding: 0 0 40px; }
main.wrap, main > .wrap:first-child { padding-top: 56px; }
.card { border: 1px solid var(--rule); padding: 28px; margin: 0 0 20px; background: var(--bg); }
.card.paper { background: var(--paper); }
.card > h2:first-child { font-size: 20px; }
.meta { list-style: none; padding: 0; margin: 18px 0 0; font: 13px/1.8 var(--mono); color: var(--ink-3); }
.hash { font: 11px/1.4 var(--mono); word-break: break-all; }
.features { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.features li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
ol { margin: 0; padding-left: 22px; }
ol li { margin: 8px 0; }
ol li::marker { font: 500 13px var(--mono); color: var(--ink-3); }
.dev-note { display: flex; gap: 10px; font-size: 14px; line-height: 1.55; color: var(--ink-2); border-left: 2px solid var(--signal); padding: 2px 0 2px 14px; margin: 16px 0 0; max-width: 680px; }
.dev-note span[aria-hidden] { display: none; }
.crumbs { font: 500 12px var(--mono); color: var(--ink-3); margin: 0 0 18px; }
.crumbs a { color: var(--ink-3); }
.title { display: flex; align-items: center; gap: 16px; margin: 0 0 12px; }
.title img { width: 56px; height: 56px; }
.title h1 { margin: 0; }
.faq h3 { margin-top: 18px; }

/* kuvatõmmised */
figure { margin: 0; }
.shot { border: 1px solid var(--rule); background: var(--paper); padding: 20px 20px 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 6px 6px 0 0; box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); }
.shot figcaption, figcaption.cap { font: 500 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 12px 0 14px; }
.shot figcaption b { color: var(--ink); font-weight: 500; }
.wide { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.shots { display: grid; gap: 28px; margin: 8px auto 40px; }

/* vorm */
.trial-form { display: grid; gap: 12px; max-width: 440px; }
.trial-form label { display: grid; gap: 4px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.trial-form input { font: 16px var(--sans); color: var(--ink); padding: 10px 12px; border: 1px solid var(--rule); border-radius: 4px; background: var(--bg); text-transform: none; letter-spacing: 0; }
.trial-form input:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.trial-form button { justify-self: start; }
.trial-msg { margin: 0; font-size: 15px; }
.trial-msg:empty { display: none; }
.trial-msg.ok { color: var(--signal-ink); } .trial-msg.err { color: var(--err); }

/* ---------------------------------------------------------------- avaleht */
.hero { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding: 64px 0 36px; align-items: start; }
.hero h1 { margin: 0; }
.hero p { font-size: 18px; color: var(--ink-2); margin: 0 0 24px; max-width: 560px; }
.figline { display: flex; justify-content: space-between; gap: 16px; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: 56px; }
.spec { padding: 20px 24px 28px 0; border-right: 1px solid var(--rule); }
.spec + .spec { padding-left: 24px; }
.spec:last-child { border-right: 0; }
.spec h3 { margin: 0 0 6px; }
.spec p { margin: 0; color: var(--ink-2); font-size: 14px; }
section.block { padding: 88px 0 0; }
.split { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.split p { color: var(--ink-2); margin: 0 0 12px; }
.devices { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--rule); }
.devices li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.devices a { text-decoration: none; }
.devices a span { color: var(--ink-3); margin-left: 4px; }
.devices a:hover span { color: var(--ink); }
.crop { border: 1px solid var(--rule); overflow: hidden; background: #1e1e1e; padding: 12px; }
.crop img { display: block; width: 100%; height: auto; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); }
.product { padding: 32px 28px; display: flex; flex-direction: column; }
.product + .product { border-left: 1px solid var(--rule); }
.product h3 { font-size: 21px; letter-spacing: -.015em; margin: 4px 0 8px; }
.product p { color: var(--ink-2); margin: 0 0 18px; }
.product .features { margin: 0 0 22px; font-size: 14px; }
.product .features li { padding: 7px 0; }
.product .btn { align-self: flex-start; margin-top: auto; }
.product.soon { background: var(--paper); }
.contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; border-top: 1px solid var(--ink); padding-top: 24px; }
.contact .mail { font: 500 17px var(--mono); }

/* ---------------------------------------------------------------- jalus */
footer { border-top: 1px solid var(--ink); margin-top: 72px; padding: 28px 0 48px; font-size: 13px; color: var(--ink-3); }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; }
footer .co { color: var(--ink-2); }
footer .legal { grid-column: 1 / -1; font-size: 12px; max-width: 900px; }
footer p { margin: 0; }
footer a { color: var(--ink-2); }

@media (max-width: 860px) {
  .wrap, .wide { padding: 0 16px; }
  header .wrap { gap: 16px; }
  header nav a.opt { display: none; }
  header nav { gap: 16px; }
  .hero, .split, .products { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; gap: 24px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .spec { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--rule); }
  .product + .product { border-left: 0; border-top: 1px solid var(--rule); }
  section.block { padding-top: 56px; }
  .shot { padding: 10px 10px 0; }
  .card { padding: 20px; }
  footer .wrap { grid-template-columns: 1fr; }
}
