/* Veydris shared brand package. Copied unchanged into every site build at assets/shared/.
   Tokens and base components match www.veydristech.com (site/assets/styles.css), so all three sites look like one family. */
:root {
  color-scheme: dark;
  --bg: #0f1012;
  --bg-alt: #141518;
  --surface: #1a1c20;
  --border: #2a2d33;
  --text: #ececec;
  --muted: #a3a7ad;
  --dim: #7d8188;
  --accent: #b8e986;
  --accent-hover: #c9f29e;
  --accent-ink: #11160b;
  --error: #ff9a8f;
  --warn: #f2c46d;
  --radius: 8px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h2 { font-size: 30px; font-weight: 700; margin-bottom: 8px; }
h3 { font-size: 18px; font-weight: 600; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow > * { max-width: 720px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--radius); font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: #4a4e56; }
.btn-danger { background: transparent; color: var(--error); border-color: #5a3a37; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-small { min-height: 36px; padding: 0 14px; font-size: 14px; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); }
.topbar-inner { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand-mark { width: 26px; height: 26px; color: var(--accent); flex: none; }
.brand small { font-weight: 500; font-size: 14px; color: var(--muted); border-left: 1px solid var(--border); padding-left: 10px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 8px 10px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .nav-cta { color: var(--accent-ink); background: var(--accent); font-weight: 600; margin-left: 8px; padding: 8px 14px; }
.nav .nav-cta:hover { color: var(--accent-ink); background: var(--accent-hover); }
.menu-button { display: none; }

/* Hero and page heads */
.hero { padding: 64px 0 0; }
.hero-kicker { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; max-width: 820px; letter-spacing: -.01em; margin-bottom: 18px; }
.hero-text { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { color: var(--dim); font-size: 14px; margin: 14px 0 0; }
.hero-shot { margin-top: 48px; margin-bottom: 0; }
.hero-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.hero-shot figcaption { color: var(--dim); font-size: 14px; margin-top: 10px; }
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 42px); margin-bottom: 12px; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-intro { color: var(--muted); font-size: 17px; max-width: 680px; margin: 0 0 32px; }
.muted-note { color: var(--dim); margin: 0; }
.status-pill { display: inline-block; font-size: 13px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.status-pill.ok { color: var(--accent); border-color: #3c5326; }
.status-pill.warn { color: var(--warn); border-color: #5a4a22; }

/* Cards, grids, lists */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card > h3 { margin-bottom: 8px; }
.card > p { color: var(--muted); margin: 0 0 12px; }
.card > p:last-child { margin-bottom: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot { padding: 0; border: 0; background: none; color: var(--text); text-align: left; margin: 0; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.shot:hover img { border-color: #50545c; }
.shot span { display: block; font-size: 15px; color: var(--muted); margin-top: 8px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--border); }
.spec-table th { width: 200px; color: var(--muted); font-weight: 500; padding-right: 20px; }
.rows { border-top: 1px solid var(--border); }
.row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); }
.row h3 { margin-bottom: 4px; }
.row p { color: var(--muted); margin: 0; }
.row .meta { color: var(--dim); font-size: 14px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > span { font-size: 15px; font-weight: 600; }
.field small { color: var(--dim); font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; min-height: 44px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-status { margin: 0 0 16px; color: var(--muted); font-size: 15px; min-height: 1.6em; }
.form-status.error { color: var(--error); }
.form-status.ok { color: var(--accent); }
.notice { border: 1px solid var(--border); border-left: 3px solid var(--warn); background: var(--surface); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 24px; color: var(--text); }
.notice.error { border-left-color: var(--error); }
.notice p { margin: 0; color: var(--muted); }
.notice strong { display: block; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--dim); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Image viewer */
.viewer { width: min(1200px, 100% - 24px); max-height: 94vh; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); overflow: auto; }
.viewer::backdrop { background: #000000d9; }
.viewer-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 6px; border: 0; background: #000b; color: #fff; font-size: 16px; }
.viewer img { max-width: 100%; max-height: 80vh; object-fit: contain; margin: 0 auto; }
.viewer p { color: var(--muted); margin: 0; padding: 14px 20px 18px; }

/* Responsive */
@media (max-width: 960px) {
  .shots, .features, .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-button { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px; background: none; border: 1px solid var(--border); border-radius: 6px; }
  .menu-button span { height: 2px; background: var(--text); }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 12px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 16px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .hero { padding-top: 40px; }
  .hero-text { font-size: 17px; }
  .hero-shot { margin-top: 32px; }
  .section { padding: 56px 0; }
  h2 { font-size: 26px; }
  .shots, .features, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .spec-table th { width: 38%; }
  .brand small { display: none; }
}
