/* Third Wave Network — site styles.
   Font: Manrope (Copyright 2018 The Manrope Project Authors, SIL Open Font License 1.1, see
   /assets/fonts/OFL.txt), self-hosted as WOFF2: Google's latin file and a subset of its latin-ext
   file holding the Romanian letters (ă ș ț). */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-ro.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103, U+015E-015F, U+0162-0163, U+0218-021B;
}

:root {
  --ink: #0b1324;
  --ink-2: #3b4a63;
  --muted: #64748b;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --night: #0a1020;
  --night-2: #111a30;
  --blue: #2f6bff;
  --cyan: #16c6d9;
  --grad: linear-gradient(120deg, var(--blue), var(--cyan));
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 19, 36, .06), 0 8px 28px rgba(11, 19, 36, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 24px rgba(47, 107, 255, .28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(47, 107, 255, .36); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 16, 32, .82); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.brand b { font-weight: 800; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a:not(.btn) { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav a:not(.btn):hover { color: #fff; }
.menu-btn { display: none; margin-left: auto; padding: 8px; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; }

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1000px 520px at 85% -10%, rgba(22, 198, 217, .22), transparent 60%), radial-gradient(900px 520px at 0% 110%, rgba(47, 107, 255, .25), transparent 60%), var(--night); color: #fff; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 96px 0 104px; }
.eyebrow { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .8); font-size: .86rem; font-weight: 600; }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 36em; margin-top: 22px; color: rgba(255, 255, 255, .78); font-size: 1.12rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-art { position: relative; }
.window { position: relative; z-index: 1; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: var(--night-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .45); font-size: .8rem; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.window-bar span { margin-left: 8px; }
.window pre { margin: 0; padding: 22px 22px 26px; overflow-x: auto; color: rgba(255, 255, 255, .86); font: 500 .95rem/2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.c1 { color: var(--cyan); }
.ok { color: #7ee2a8; }
.cur { color: var(--cyan); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.glow { position: absolute; inset: 12% -8% -14% 8%; z-index: 0; border-radius: 50%; background: var(--grad); filter: blur(70px); opacity: .28; }

/* sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.kicker { margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: .86rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.about-copy p { color: var(--ink-2); font-size: 1.08rem; }
.about-copy p + p { margin-top: 14px; }
.pillars { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 8px 0 0; padding: 0; list-style: none; }
.pillars li { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.pillars strong { display: block; margin-bottom: 4px; }
.pillars span { color: var(--muted); font-size: .97rem; line-height: 1.55; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 19, 36, .06), 0 18px 40px rgba(11, 19, 36, .1); }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--ink-2); font-size: .98rem; }
.ico { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: linear-gradient(120deg, rgba(47, 107, 255, .12), rgba(22, 198, 217, .14)); fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.chips li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: .9rem; font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 26px 26px 26px 26px; border-radius: var(--radius); background: var(--bg-alt); }
.steps .n { display: inline-block; margin-bottom: 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: .97rem; }

.band { background: var(--grad); color: #fff; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 0; }
.band p { max-width: 40em; margin-top: 8px; color: rgba(255, 255, 255, .9); }

.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.contact-card { display: grid; gap: 4px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
a.contact-card:hover { border-color: rgba(47, 107, 255, .45); }
.contact-card .ico { margin-bottom: 12px; }
.label { color: var(--muted); font-size: .86rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.value { font-weight: 700; font-style: normal; overflow-wrap: anywhere; }

.foot { background: var(--night); color: rgba(255, 255, 255, .6); font-size: .92rem; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; flex-wrap: wrap; padding: 20px 0; }

/* narrow screens */
@media (max-width: 960px) {
  .hero-in, .about { grid-template-columns: 1fr; gap: 40px; }
  .hero-in { padding: 64px 0 72px; }
  .cards, .steps, .contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; background: var(--night); border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav .btn { margin-top: 14px; }
  .pillars, .cards, .steps, .contact { grid-template-columns: 1fr; }
  .band-in { flex-direction: column; align-items: flex-start; }
  .section { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
