/* Benlar — company website styles. Plain CSS, no dependencies, light/dark aware. */

:root {
  --brand:        #3B5BDB;
  --brand-dark:   #2F49B2;
  --brand-soft:   #E7ECFD;
  --ink:          #16181D;
  --muted:        #565B66;
  --faint:        #8A8F9C;
  --bg:           #FBFBFD;
  --surface:      #FFFFFF;
  --surface-2:    #F1F3F9;
  --border:       #E5E8F0;
  --border-strong:#D5DAE6;
  --shadow:       0 1px 2px rgba(16,24,45,.04), 0 8px 28px rgba(16,24,45,.07);
  --radius:       14px;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 60rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand:#7C93F5; --brand-dark:#6379E8; --brand-soft:#1B2138;
    --ink:#E9EBF2; --muted:#A4A9B8; --faint:#6E7484;
    --bg:#101218; --surface:#181B23; --surface-2:#20242F;
    --border:#282D3A; --border-strong:#353B4B;
    --shadow:0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
  }
}
:root[data-theme="light"] {
  --brand:#3B5BDB; --brand-dark:#2F49B2; --brand-soft:#E7ECFD;
  --ink:#16181D; --muted:#565B66; --faint:#8A8F9C;
  --bg:#FBFBFD; --surface:#FFFFFF; --surface-2:#F1F3F9;
  --border:#E5E8F0; --border-strong:#D5DAE6;
}
:root[data-theme="dark"] {
  --brand:#7C93F5; --brand-dark:#6379E8; --brand-soft:#1B2138;
  --ink:#E9EBF2; --muted:#A4A9B8; --faint:#6E7484;
  --bg:#101218; --surface:#181B23; --surface-2:#20242F;
  --border:#282D3A; --border-strong:#353B4B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 1.9rem; height: 1.9rem; flex: none; }
.nav-links { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-size: .92rem; font-weight: 500; padding: .4rem .7rem; border-radius: 8px; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 600; font-size: .95rem; padding: .7rem 1.2rem; border-radius: 10px; cursor: pointer; border: 1px solid transparent; transition: background .15s ease; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem); }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-dark); margin: 0 0 .8rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 1rem; max-width: 20ch; text-wrap: balance; }
.hero p.lede { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--muted); max-width: 52ch; margin: 0 0 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Sections */
section { padding: clamp(2.2rem, 5vw, 3.8rem) 0; }
.alt { background: var(--surface-2); }
.section-head { max-width: 46ch; margin: 0 0 1.8rem; }
.section-head h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -.02em; margin: 0 0 .5rem; text-wrap: balance; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* Product card */
.product {
  display: flex; gap: 1.4rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow);
}
.product .mark { flex: none; width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center; background: #12996A; color: #fff; font-weight: 700; font-size: 1.3rem; }
.product h3 { margin: 0 0 .4rem; font-size: 1.25rem; letter-spacing: -.01em; }
.product p { margin: 0 0 1rem; color: var(--muted); }

/* Company facts */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.4rem; }
.fact { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.2rem; }
.fact .k { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin: 0 0 .25rem; }
.fact .v { font-weight: 600; margin: 0; }

/* Contact */
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.2rem); box-shadow: var(--shadow); max-width: 36rem; }
.contact-card .email { display: inline-block; font-size: 1.25rem; font-weight: 700; color: var(--brand-dark); margin: .3rem 0 .3rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 2.2rem 0; margin-top: 1.5rem; }
.footer-bottom { color: var(--faint); font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: space-between; }

@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .product { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
