:root {
  --berberat-yellow: #F7C600;
  --ink: #232323;
  --anthracite: #161616;
  --paper: #fff;
  --surface: #F4F3EF;
  --line: #ECECE8;
  --line-soft: #F1F1ED;
  --mute: #8A8A86;
  --mute-soft: #AEAEAA;
  --secondary: #6B6B66;
  --on-dark-mute: #A6A6A2;
  --font-sans: "Sora", system-ui, sans-serif;
  --font-mono: "Space Grotesk", ui-monospace, sans-serif;
}
html.dark {
  --paper: #1E1E1C; --surface: #161616; --line: #33332F; --line-soft: #2C2C29;
  --ink: #F4F3EF; --secondary: #A6A6A2; --mute: #8A8A86; --mute-soft: #6B6B66; --anthracite: #0F0F0E;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); background: var(--surface); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1140px; margin: 0 auto; }
header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 32px; }
.logo img { height: 28px; display: block; }
html.dark .logo-light, html:not(.dark) .logo-dark { display: none; }
nav.main { display: flex; gap: 26px; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; flex: 1; justify-content: center; }
.menu { position: relative; color: var(--secondary); }
.menu:hover, nav.main > a:hover { color: var(--ink); }
.drop { display: none; position: absolute; top: 100%; left: 0; padding-top: 10px; z-index: 5; }
.menu:hover .drop, .menu:focus-within .drop { display: block; }
.drop div { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.10); padding: 8px; min-width: 260px; }
.drop a { padding: 10px 14px; border-radius: 4px; font-family: var(--font-sans); font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink); white-space: nowrap; }
.drop a:hover { background: var(--surface); }
.tools { display: flex; align-items: center; gap: 20px; }
.switch { width: 44px; height: 24px; border-radius: 999px; border: 0; background: #E4E4E0; position: relative; cursor: pointer; }
html.dark .switch { background: #3A3A38; }
.switch i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; display: block; }
html.dark .switch i { transform: translateX(20px); background: var(--berberat-yellow); }
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--berberat-yellow); color: #232323; font-weight: 600; font-size: 14.5px; border: 0; border-radius: 8px; padding: 12px 16px; cursor: pointer; font-family: inherit; }
.btn.dark { background: #232323; color: var(--berberat-yellow); border-radius: 999px; padding: 10px 16px; font-size: 13.5px; }
.btn.line { background: var(--paper); color: var(--ink); border: 1px solid #D9D9D4; }
.hero { background: var(--paper); }
.hero-in { padding: clamp(40px, 7vw, 96px) 32px 88px; }
h1 { font-weight: 700; font-size: clamp(42px, 7.5vw, 80px); line-height: 1.02; letter-spacing: -.03em; margin: 0; max-width: 820px; }
.rule { width: 96px; height: 6px; background: var(--berberat-yellow); margin: 32px 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chips span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary); background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 6px 11px; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero-row p, .lead { font-size: 17px; color: var(--secondary); line-height: 1.6; margin: 0; max-width: 640px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.band { background: var(--anthracite); }
.band-in, .sec-in { padding: 80px 32px 88px; }
.eye { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.band .eye { color: #B4B4AE; }
.band h2 { color: #fff; }
h2 { font-weight: 700; font-size: 34px; letter-spacing: -.024em; margin: 12px 0 28px; line-height: 1.12; }
.rows a { display: flex; gap: 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); }
.rows a:hover { background: rgba(255,255,255,.04); }
.rows .n { font-family: var(--font-mono); font-size: 14px; color: var(--berberat-yellow); }
.rows .l { flex: 1; font-weight: 700; font-size: 20px; color: #fff; }
.rows .a { color: var(--berberat-yellow); font-weight: 700; }
.sec { background: var(--surface); }
.sec .eye { color: var(--secondary); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--paper); border-radius: 8px; padding: 24px 22px 26px; border-top: 4px solid var(--berberat-yellow); display: block; }
.card .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--mute-soft); }
.card h3 { margin: 8px 0 0; font-size: 18px; letter-spacing: -.01em; }
.card p { font-size: 13.5px; color: var(--secondary); line-height: 1.6; margin: 10px 0 0; }
.card .more { font-weight: 600; font-size: 13.5px; margin-top: 16px; }
.about { background: var(--anthracite); color: #F4F3EF; padding: 88px 32px; }
.about .eye { color: #7A7A76; }
.about h2 { margin: 0; max-width: 520px; font-size: 32px; color: #F4F3EF; }
.about p { font-size: 15.5px; color: var(--on-dark-mute); line-height: 1.625; margin: 18px 0 0; max-width: 680px; }
.about .more { display: inline-block; font-weight: 600; font-size: 14.5px; color: var(--berberat-yellow); margin-top: 24px; }
.contact { background: var(--berberat-yellow); }
.contact-in { padding: 80px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; }
.contact h2 { color: #232323; font-size: 36px; margin: 0; max-width: 420px; }
.contact .sub { color: #5C4E00; margin: 14px 0 0; font-size: 16px; }
.addr { display: flex; flex-direction: column; gap: 6px; margin-top: 32px; font-size: 14.5px; color: #232323; }
.form { background: #fff; border-radius: 8px; padding: 32px; box-shadow: 0 1px 3px rgba(0,0,0,.08); color: #232323; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
label { display: block; font-size: 13px; font-weight: 600; }
input, textarea { width: 100%; margin-top: 6px; font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 8px; border: 1px solid #D9D9D4; background: #fff; color: #232323; }
textarea { min-height: 120px; resize: vertical; }
.form .gap { margin-top: 16px; }
.form .hint { font-size: 13px; color: #6B6B66; margin: 14px 0 0; }
footer { background: var(--anthracite); color: #F4F3EF; padding: 48px 32px 32px; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.foot img { height: 24px; }
.foot .meta { font-size: 13px; color: var(--on-dark-mute); }
.legal { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; }
.legal a { color: #7A7A76; }
.page { background: var(--paper); padding: 72px 32px 88px; }
.crumb { display: flex; gap: 14px; margin-bottom: 36px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.crumb a { color: var(--secondary); }
.page h1 { font-size: clamp(34px, 6vw, 56px); }
.usecases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 56px; }
.uc { background: var(--surface); border-radius: 8px; padding: 24px; border-top: 6px solid var(--berberat-yellow); }
.uc h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.uc p { font-size: 13.5px; color: var(--secondary); line-height: 1.6; margin: 10px 0 16px; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.cta { background: var(--berberat-yellow); }
.cta-in { padding: 56px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #232323; font-size: 28px; margin: 0; }
.cta p { color: #5C4E00; margin: 8px 0 0; font-size: 14.5px; }
.prose { max-width: 840px; }
.prose h2 { font-size: 20px; margin: 36px 0 0; }
.prose p { font-size: 15.5px; color: var(--secondary); line-height: 1.7; margin: 10px 0 0; white-space: pre-line; }
.ham { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.mobile { display: none; }
@media (max-width: 860px) {
  nav.main, .tools { display: none; }
  .ham { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
  .ham span { display: block; width: 22px; height: 2px; background: var(--ink); }
  .mobile.open { display: flex; flex-direction: column; background: var(--paper); border-top: 1px solid var(--line); padding: 8px 20px 20px; }
  .mobile a { display: flex; align-items: center; min-height: 44px; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
  .bar { padding-left: 20px; padding-right: 20px; }
}

.menu { cursor: pointer; }
.menu.open .drop { display: block; }
.hero-row p { flex: 1 1 280px; }
.actions { flex: 0 0 auto; }
.mobile .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); font-weight: 600; min-height: 0; border: 0; padding-top: 16px; }
.mobile .label:first-child { padding-top: 8px; }
@media (max-width: 860px) {
  .hero-in, .band-in, .sec-in, .about, .contact-in, .page, .cta-in, footer { padding-left: 20px; padding-right: 20px; }
  .hero-row { align-items: flex-start; }
  .actions { width: 100%; }
}
