/* MEENTS IT — shared stylesheet. Self-hosted font, no external requests. */

@font-face {
  font-family: "Inter";
  src: url("/assets/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --ink: #14181f;
  --ink-soft: #566072;
  --line: #e4e7ec;
  --navy: #0c1a2e;
  --navy-soft: #17293f;
  --accent: #1857c4;
  --accent-ink: #103e8f;
  --accent-wash: #eef3fd;
  --radius: 12px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv05", "ss03";
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 640; }
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
h3 { font-size: 1.16rem; letter-spacing: -0.01em; }
p { color: var(--ink-soft); }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--ink); font-weight: 620; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.15rem, 4vw, 2.5rem); }
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-ink);
}
.muted { color: var(--ink-soft); }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 680; letter-spacing: -0.02em; color: var(--ink); font-size: 1.06rem; }
.brand:hover { text-decoration: none; }
.brand svg { width: 22px; height: 22px; flex: none; }
.brand .light { color: var(--ink-soft); font-weight: 560; }
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a { color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.langs { display: flex; align-items: center; gap: 0.15rem; font-size: 0.82rem; font-weight: 600; }
.langs a { color: var(--ink-soft); padding: 0.25rem 0.4rem; border-radius: 6px; letter-spacing: 0.03em; }
.langs a:hover { background: var(--bg-soft); text-decoration: none; }
.langs a[aria-current="true"] { color: var(--accent-ink); background: var(--accent-wash); }
.langs span { color: var(--line); }
@media (max-width: 820px) { .nav { display: none; } }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.35rem; border-radius: 10px;
  font-weight: 600; font-size: 0.97rem; letter-spacing: -0.01em;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  transition: background 0.14s, transform 0.14s;
}
.btn:hover { background: var(--accent-ink); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--accent-wash); color: var(--accent-ink); }

/* ---- hero ---- */
.hero { background: var(--navy); color: #eef1f6; overflow: hidden; position: relative; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(650px 320px at 82% -10%, rgba(24,87,196,0.42), transparent 70%),
    radial-gradient(420px 260px at 5% 110%, rgba(24,87,196,0.18), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(3.6rem, 8vw, 6.5rem); padding-bottom: clamp(3.6rem, 8vw, 6.5rem); }
.hero .eyebrow { color: #7fa9f0; }
.hero h1 { color: #fff; max-width: 17ch; margin: 1rem 0 1.1rem; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #b9c4d4; max-width: 46ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.hero .cta .btn-ghost { color: #dfe6f0; border-color: rgba(255,255,255,0.22); }
.hero .cta .btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* ---- generic section ---- */
.section { padding: clamp(3.4rem, 7vw, 5.5rem) 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 52ch; margin-bottom: 2.6rem; }
.section-head h2 { margin: 0.7rem 0 0.7rem; }
.section-head p { font-size: 1.05rem; }

/* ---- services grid ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card { background: var(--bg); padding: 1.7rem 1.6rem 1.9rem; }
.card .ico { width: 34px; height: 34px; color: var(--accent); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.97rem; }

/* ---- industries ---- */
.industries { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.industries .list { display: flex; flex-direction: column; gap: 0.9rem; }
.industries .list div {
  display: flex; align-items: baseline; gap: 0.9rem;
  padding-bottom: 0.9rem; border-bottom: 1px solid var(--line);
  font-size: 1.16rem; font-weight: 560; letter-spacing: -0.01em; color: var(--ink);
}
.industries .list div span { font-size: 0.82rem; font-weight: 600; color: var(--accent-ink); letter-spacing: 0.04em; }
@media (max-width: 780px) { .industries { grid-template-columns: 1fr; } }

/* ---- approach ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.8rem; counter-reset: s; }
.steps > div { counter-increment: s; }
.steps h3::before {
  content: counter(s); display: inline-flex; align-items: center; justify-content: center;
  width: 1.9rem; height: 1.9rem; margin-right: 0.65rem; border-radius: 7px;
  background: var(--accent-wash); color: var(--accent-ink);
  font-size: 0.9rem; font-weight: 700;
}
.steps h3 { display: flex; align-items: center; margin-bottom: 0.5rem; }
.steps p { font-size: 0.97rem; }

/* ---- contact ---- */
.contact { background: var(--bg-soft); }
.contact .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.contact h2 { margin-bottom: 0.6rem; }
.contact .mail { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.contact .mail:hover { color: var(--accent-ink); }
@media (max-width: 720px) { .contact .wrap { grid-template-columns: 1fr; } }

/* ---- footer ---- */
.site-footer { background: var(--navy); color: #9fb0c4; font-size: 0.9rem; }
.site-footer .wrap { padding: 2.6rem 0 2.8rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer a { color: #c8d4e2; }
.site-footer a:hover { color: #fff; }
.site-footer .langs a { color: #9fb0c4; }
.site-footer .langs a:hover { background: rgba(255,255,255,0.08); }
.site-footer .langs a[aria-current="true"] { color: #fff; background: rgba(255,255,255,0.1); }
.site-footer .fine { color: #6b7c92; font-size: 0.82rem; }

/* ---- legal page ---- */
.legal { max-width: 62ch; padding: clamp(2.6rem, 6vw, 4.5rem) 0; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1.4rem; }
.legal h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin: 2rem 0 0.4rem; }
.legal p { margin-bottom: 0.4rem; }
.legal .todo { color: #b23c17; }
.legal .back { display: inline-block; margin-top: 2.5rem; font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise 0.6s cubic-bezier(0.2,0.7,0.2,1) forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
