/* Zenilify Consulting — HQ site. Brand gradient sampled from the 2024 logo pack. */
:root {
  --orange: #e8963f;
  --violet: #664e9f;
  --ink: #16142b;
  --ink-2: #3c3a55;
  --muted: #6b6985;
  --paper: #ffffff;
  --paper-2: #f6f4fa;
  --line: #e4e0ee;
  --grad: linear-gradient(120deg, var(--orange) 0%, #b27876 45%, var(--violet) 100%);
  --radius: 14px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f1eff8; --ink-2: #d4d0e4; --muted: #a29fbb;
    --paper: #12111f; --paper-2: #1b1930; --line: #2c2945;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--violet); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) a { color: #b9a6ee; } }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand img { height: 34px; width: auto; }
.brand .on-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .on-light { display: none; }
  :root:not([data-theme="light"]) .brand .on-dark { display: block; } }
nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
nav a { color: var(--ink-2); text-decoration: none; }
nav a:hover { color: var(--ink); }
nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-weight: 600; }
@media (max-width: 720px) { nav .hide-sm { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; background: #1d1838; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: .92; }
.hero .wrap { position: relative; padding: 88px 20px 96px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; opacity: .9; margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.08; margin: 0 0 22px; max-width: 16ch; letter-spacing: -.02em; }
.hero p.sub { font-size: clamp(17px, 2.1vw, 20px); max-width: 60ch; margin: 0 0 32px; opacity: .96; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 650; text-decoration: none; }
.btn-primary { background: #fff; color: var(--ink) !important; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.75); color: #fff !important; }
.btn-dark { background: var(--ink); color: var(--paper) !important; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--paper-2); }
h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -.01em; }
h3 { font-size: 20px; margin: 0 0 8px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 66ch; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--paper); }
.card .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; padding: 18px 20px 18px 64px; position: relative; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper); }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.service { border-top: 1px solid var(--line); padding-top: 36px; margin-top: 36px; }
.service:first-of-type { border-top: 0; margin-top: 8px; padding-top: 0; }
.service ul { padding-left: 20px; }
.note { font-size: 15px; color: var(--muted); }
.lab { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 860px) { .lab { grid-template-columns: 1fr; } }
.lab .panel { border-radius: var(--radius); background: var(--grad); color: #fff; padding: 28px; }
.lab .panel code { background: rgba(0,0,0,.18); padding: 2px 6px; border-radius: 6px; }

/* closing */
.closing { text-align: center; }
.closing h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.closing .meta { color: var(--muted); margin-top: 18px; font-size: 15px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }
