/* Evident BV — one-page site. No external resources: fonts are the system stack (Segoe UI Light
   house style), so nothing is fetched from a third party and no cookie banner is needed. */

:root {
  --bg:        #0a0f1c;
  --bg-2:      #0e1526;
  --panel:     #121a2e;
  --panel-2:   #16203a;
  --line:      rgba(148, 163, 184, .14);
  --line-2:    rgba(148, 163, 184, .24);
  --text:      #e6ebf5;
  --muted:     #9aa6bd;
  --dim:       #6b778f;
  --mint:      #5eead4;
  --indigo:    #818cf8;
  --grad:      linear-gradient(120deg, var(--mint), var(--indigo));
  --radius:    16px;
  --font:      "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono:      "Cascadia Code", "Cascadia Mono", ui-monospace, "SF Mono", Consolas, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
strong { font-weight: 500; color: var(--text); }
h1, h2, h3 { font-weight: 300; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .92em; color: var(--mint); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 15, 28, .78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-size: 22px; letter-spacing: .01em; }
.brand-dot { color: var(--mint); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .nav-cta {
  color: var(--text); padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-2);
}
.nav .nav-cta:hover { border-color: var(--mint); }
@media (max-width: 720px) { .nav a:not(.nav-cta) { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; }
.glow {
  position: absolute; inset: -40% -10% auto auto; width: 900px; height: 900px;
  background: radial-gradient(closest-side, rgba(129, 140, 248, .22), transparent 70%),
              radial-gradient(closest-side at 30% 60%, rgba(94, 234, 212, .16), transparent 70%);
  pointer-events: none;
}
.hero::after {           /* faint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
  opacity: .5;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 18px;
}
h1 { font-size: clamp(38px, 5.4vw, 64px); }
h1 em {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 999px; font-size: 15px; font-weight: 400;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #07101c; box-shadow: 0 8px 30px rgba(94, 234, 212, .18); }
.btn-primary:hover { box-shadow: 0 10px 36px rgba(129, 140, 248, .3); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--mint); }

/* console card */
.console {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .04);
  overflow: hidden;
}
.console-bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02);
}
.console-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2a3550; }
.console-bar span:nth-child(1) { background: #f87171; }
.console-bar span:nth-child(2) { background: #fbbf24; }
.console-bar span:nth-child(3) { background: #34d399; }
.console-bar em { margin-left: 10px; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.console-body {
  margin: 0; padding: 22px 22px 26px;
  font-family: var(--mono); font-size: 14px; line-height: 1.9; color: #cdd6e6;
  white-space: pre-wrap; word-break: break-word;
}
.c-dim { color: var(--dim); }
.c-ok  { color: var(--mint); }
.caret { color: var(--mint); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } html { scroll-behavior: auto; } .btn { transition: none; } }

/* ---------- strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 22px 24px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--dim);
}

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 56px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-lead { margin-top: 18px; color: var(--muted); font-size: 18px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--panel), rgba(18, 26, 46, .6));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card h3 { font-size: 19px; margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(94, 234, 212, .08); border: 1px solid rgba(94, 234, 212, .18);
}
.card-icon svg, .callout-mark svg {
  width: 22px; height: 22px; fill: none; stroke: var(--mint); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.card-accent { border-color: rgba(129, 140, 248, .35); background: linear-gradient(180deg, rgba(129, 140, 248, .10), var(--panel)); }
.card-accent .card-icon { background: rgba(129, 140, 248, .12); border-color: rgba(129, 140, 248, .3); }
.card-accent .card-icon svg { stroke: var(--indigo); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.steps li { position: relative; padding: 26px 24px 28px; border-top: 1px solid var(--line-2); }
.steps li::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--grad);
}
.step-no { font-family: var(--mono); font-size: 13px; color: var(--mint); }
.steps h3 { font-size: 20px; margin: 10px 0 10px; }
.steps p { color: var(--muted); font-size: 15px; }

.callout {
  margin-top: 56px; display: flex; gap: 22px; align-items: flex-start;
  padding: 30px 32px; border-radius: var(--radius);
  border: 1px solid rgba(129, 140, 248, .3);
  background: linear-gradient(120deg, rgba(94, 234, 212, .06), rgba(129, 140, 248, .10));
}
.callout-mark {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(129, 140, 248, .14);
}
.callout-mark svg { stroke: var(--indigo); width: 24px; height: 24px; }
.callout h3 { font-size: 21px; margin-bottom: 8px; }
.callout p { color: var(--muted); }

/* reference */
.ref-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px;
  border-left: 1.6px solid var(--mint); border-bottom: 1.6px solid var(--mint); transform: rotate(-45deg);
}
.ref-panel {
  border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
  background: var(--panel); box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.ref-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.ref-row:last-child { border-bottom: 0; }
.ref-row span { color: var(--dim); font-family: var(--mono); font-size: 13px; letter-spacing: .03em; }
.ref-row b { font-weight: 400; text-align: right; }

/* contact */
.section-contact { background: radial-gradient(ellipse at 20% 0%, rgba(94, 234, 212, .08), transparent 60%), var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: start; }
.coords { font-style: normal; padding: 30px 30px 26px; }
.coords:hover { transform: none; }
.coords h3 { font-size: 22px; margin: 0 0 18px; }
.coords dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; margin: 0; font-size: 15px; }
.coords dt { color: var(--dim); font-family: var(--mono); font-size: 12.5px; letter-spacing: .03em; padding-top: 2px; }
.coords dd { margin: 0; color: var(--text); }
.vcard { display: inline-block; margin-top: 22px; font-size: 14px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 30px 0 40px; font-size: 14px; color: var(--dim); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding: 64px 0 64px; }
  .hero-grid, .ref-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 76px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .console-body { font-size: 12.5px; padding: 18px 16px 20px; }
  .callout { flex-direction: column; padding: 24px 20px; }
  .coords { padding: 24px 20px; }
  .coords dl { grid-template-columns: 1fr; gap: 2px; }
  .coords dd { margin-bottom: 10px; }
  .ref-row { padding: 14px 16px; }
}
