@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --graphite: #18181b;
  --graphite-2: #27272a;
  --text: #27272a;
  --muted: #52525b;
  --line: #e4e4e7;
  --bg: #ffffff;
  --bg-soft: #f6f5f3;
  --red: #d52b1e;
  --red-dark: #b32317;
  --red-soft: #fdeceb;
  --green: #16a34a;
  --radius: 14px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 { color: var(--graphite); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--graphite); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--graphite); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* Brand (monogram "bd" with red square, logo proposal A) */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--graphite); }
.brand:hover { color: var(--graphite); }
.brand-mark {
  position: relative; width: 40px; height: 40px; border-radius: 10px; background: var(--graphite);
  display: grid; place-items: center; flex: none;
  color: #fff; font-weight: 800; font-size: 21px; letter-spacing: -0.06em; line-height: 1;
}
.brand-mark::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 5px; height: 5px; background: var(--red); }
.brand-name { display: flex; flex-direction: column; line-height: 1.02; font-size: 17px; letter-spacing: -0.02em; }
.brand-name b { font-weight: 800; }
.brand-name span { font-weight: 500; color: var(--muted); }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }
.brand-light .brand-mark { background: #fff; color: var(--graphite); }
.brand-light .brand-name span { color: #d4d4d8; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--red-dark); }
.nav .btn { color: #fff; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer;
  min-width: 44px; min-height: 44px; color: var(--graphite);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-secondary { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn-secondary:hover { background: var(--graphite); color: #fff; }
.btn-ghost { border-color: #52525b; color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.nav .btn { min-height: 44px; padding: 8px 20px; font-size: 15px; }

/* Sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--graphite); color: #d4d4d8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red-dark); margin-bottom: 14px;
}
.section-dark .eyebrow, .hero .eyebrow { color: #f87171; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section-dark .section-head p { color: #d4d4d8; }

/* Hero (dark, subtle grid) */
.hero {
  position: relative; overflow: hidden;
  background: var(--graphite); color: #d4d4d8;
  padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 128px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--red); }
.hero .lead { font-size: 1.2rem; color: #d4d4d8; max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts li {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #e4e4e7;
  border: 1px solid #3f3f46; border-radius: 999px; padding: 6px 14px;
}
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* Hero visual: two product windows */
.hero-visual { position: relative; min-height: 520px; }
.window {
  background: #fff; color: var(--text); border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); font-size: 13px; line-height: 1.5;
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; background: #f4f4f5; border-bottom: 1px solid var(--line); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d4d8; flex: none; }
.window-bar span { margin-left: 8px; font-size: 11px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-ai { position: absolute; top: 0; left: 0; width: 84%; z-index: 1; }
.window-cam { position: absolute; right: 0; bottom: 0; width: 60%; z-index: 2; }
.ai-body { padding: 16px; background: var(--bg-soft); display: grid; gap: 10px; }
.ai-q { background: #fff; border: 1.5px solid #a1a1aa; border-radius: 9px; padding: 8px 12px; font-weight: 600; color: var(--graphite); }
.ai-a { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 12px; }
.ai-a p { margin: 0 0 8px; }
.ai-a sup { color: var(--red-dark); font-weight: 700; }
.ai-src { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px; font-size: 12px; }
.ai-src b { width: 20px; height: 20px; border-radius: 5px; background: var(--red-soft); color: var(--red-dark); display: grid; place-items: center; font-size: 11px; flex: none; }
.ai-src small { color: var(--muted); display: block; font-size: 11px; }

/* Camera monitor illustration */
.cam {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(180deg, #3f3f46 0%, #27272a 62%, #1f1f23 100%);
}
.cam::before { /* door frame */
  content: ""; position: absolute; left: 30%; right: 30%; top: 8%; bottom: 0;
  border: 3px solid #52525b; border-bottom: 0; border-radius: 4px 4px 0 0; background: rgba(255, 255, 255, 0.03);
}
.cam-person { position: absolute; bottom: 0; display: flex; flex-direction: column; align-items: center; }
.cam-person .head { width: 30px; height: 36px; border-radius: 50%; background: #a1a1aa; }
.cam-person .body { width: 62px; height: 52px; border-radius: 30px 30px 0 0; background: #71717a; margin-top: 4px; }
.cam-person.p1 { left: 16%; }
.cam-person.p2 { left: 58%; transform: scale(0.86); transform-origin: bottom center; }
.cam-box { position: absolute; border: 2.5px solid; border-radius: 4px; }
.cam-box span { position: absolute; left: -2.5px; bottom: 100%; margin-bottom: 3px; font-size: 10px; font-weight: 700; color: #fff; padding: 1px 6px; border-radius: 3px; white-space: nowrap; }
.cam-box.ok { border-color: #22c55e; }
.cam-box.ok span { background: #15803d; }
.cam-box.no { border-color: #ef4444; }
.cam-box.no span { background: #b91c1c; }
.cam-box.b1 { left: calc(16% + 9px); bottom: 51px; width: 44px; height: 48px; }
.cam-box.b2 { left: calc(58% + 11px); bottom: 45px; width: 40px; height: 43px; }
.cam-live { position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: #fff; background: rgba(0, 0, 0, 0.5); border-radius: 4px; padding: 2px 7px; display: flex; align-items: center; gap: 5px; }
.cam-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ef4444; }
.cam-foot { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); }

/* Products */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
}
.product-head { padding: 32px 32px 0; }
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; min-height: 34px; }
.product-top img { height: 30px; width: auto; }
.product-label { font-weight: 800; font-size: 1.15rem; color: var(--graphite); display: flex; align-items: center; gap: 10px; }
.product-label svg { color: var(--red); }
.product h3 { font-size: 1.6rem; margin-bottom: 8px; }
.product .lead { color: var(--muted); font-size: 1.05rem; }
.product ul { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 10px; }
.product li { display: flex; gap: 12px; align-items: flex-start; }
.product li svg { flex: none; margin-top: 4px; }
.product-foot { margin-top: auto; padding: 24px 32px 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.product-visual { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 24px 32px; }
.product-name { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.35rem; letter-spacing: -0.01em; }
.product-name small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.product-note { margin: 0; font-size: 15px; color: var(--muted); }
.product-note strong { color: var(--graphite); }
.privacy { margin: 0 32px 24px; padding: 22px 24px; border-radius: var(--radius); background: var(--graphite); color: #fff; }
.privacy-title { margin: 0 0 14px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fca5a5; }
.product .privacy-list { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product .privacy-list li { display: grid; gap: 2px; align-content: start; }
.product .privacy-list svg { color: #f87171; margin: 0 0 6px; }
.privacy-list strong { font-size: 1rem; }
.privacy-list span { font-size: 0.85rem; color: #d4d4d8; line-height: 1.4; }
.privacy-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.85rem; color: #d4d4d8; }
@media (max-width: 640px) {
  .privacy { margin: 0 24px 24px; padding: 20px; }
  .product .privacy-list { grid-template-columns: 1fr; }
}
.tag {
  flex: none; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: #f4f4f5; color: var(--text); border: 1px solid var(--line); white-space: nowrap;
}
.tag-ready { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.tag-pilot { background: var(--red-soft); border-color: #f5c6c2; color: #8f1c13; }
.product-more { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; border: 2px dashed #d4d4d8; border-radius: 20px; padding: 28px 32px; }
.product-more h3 { margin-bottom: 4px; }
.product-more p { margin: 0; color: var(--muted); max-width: 680px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--red-soft); color: var(--red-dark);
  display: grid; place-items: center; margin-bottom: 20px;
}
.service p { color: var(--muted); }
.service ul { margin: 0 0 20px; padding-left: 1.1em; color: var(--muted); }
.service li { margin-bottom: 4px; }
.service .btn { margin-top: auto; align-self: flex-start; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.principle h3 { display: flex; gap: 12px; align-items: center; font-size: 1.15rem; }
.principle h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none; }
.principle p { margin: 0; }

/* Quote */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.quote { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.3; color: var(--graphite); letter-spacing: -0.02em; margin: 0; }
.quote .accent { color: var(--red); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--graphite); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.step::after { content: ""; position: absolute; top: 22px; left: 56px; right: -12px; height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); margin: 0; }

/* Audience */
.audience { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.audience li { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; color: var(--graphite); }

/* About */
.about { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: start; }
.portrait { aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: var(--bg-soft); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about .role { font-weight: 700; color: var(--red-dark); margin-top: -8px; }
.about-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.about-facts li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.about-facts strong { display: block; font-size: 1.35rem; font-weight: 800; color: var(--graphite); line-height: 1.2; }
.about-facts span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; hyphens: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; color: var(--graphite); }
.field .optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text); background: #fff;
  border: 1.5px solid #a1a1aa; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--graphite); box-shadow: 0 0 0 3px rgba(213, 43, 30, 0.25); }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* ALTCHA spam check widget, matched to the form fields */
altcha-widget {
  display: block;
  --altcha-max-width: 100%;
  --altcha-border-width: 1.5px;
  --altcha-border-radius: 10px;
  --altcha-border-color: #a1a1aa;
  --altcha-color-base: #fff;
  --altcha-color-base-content: var(--text);
  --altcha-color-primary: var(--red);
  --altcha-color-primary-content: #fff;
  --altcha-color-success: var(--green);
  --altcha-color-success-content: #fff;
}
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); margin: 0; }
.form-status { grid-column: 1 / -1; border-radius: 10px; padding: 14px 16px; font-weight: 600; }
.form-status.error { background: var(--red-soft); color: #8f1c13; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-card dl { margin: 0; display: grid; gap: 16px; }
.contact-card dt { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-card dd { margin: 0; font-weight: 600; color: var(--graphite); }

/* Footer */
.site-footer { background: var(--graphite); color: #a1a1aa; padding: 56px 0 32px; font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer-brand p { margin: 14px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #e4e4e7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid #3f3f46; margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.placeholder { background: #fff7d6; padding: 0 4px; border-radius: 4px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid, .about, .products { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 48px; }
  .hero-visual { max-width: 560px; min-height: 400px; }
  .principles, .services { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .step::after { display: none; }
  .about .portrait { max-width: 280px; }

  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; min-height: 44px; }
  .nav .btn { margin-top: 8px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .steps, .form { grid-template-columns: minmax(0, 1fr); }
  .service, .contact-card { padding: 24px; }
  .product-head { padding: 24px 24px 0; }
  .product-foot, .product-visual { padding-left: 24px; padding-right: 24px; }
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual { min-height: 0; display: grid; gap: 16px; }
  .window-ai, .window-cam { position: static; width: 100%; }
  .tag { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
