/* openpro.ai/presentation — the sales page partners and recruiters are
   sent to. DA V2: pure black, frosted glass, a pearl rim, white pill
   buttons. The iridescence lives in the pictures; the CSS keeps one
   accent (the action blue) and a warm pearl, never violet nor cyan
   (src/tests/guards/oneAccentColour.test.ts). Plain CSS: no build step. */

:root {
  --bg: #000;
  --text: #fff;
  --text-2: rgba(255, 255, 255, 0.64);
  --text-3: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.08);
  --accent: #0010f8;
  --accent-text: #3b74fe;
  --good: #34c759;
  --bad: #ff5a4f;
  --radius: 28px;
  --max: 1180px;
  --pearl-ring: conic-gradient(
    from 210deg,
    #ffffff,
    #a4c1fe 12%,
    #3b74fe 22%,
    #a4c1fe 32%,
    #ffffff 44%,
    #f3dcc2 56%,
    #ffc9cf 66%,
    #f3dcc2 76%,
    #ffffff 88%,
    #ffffff
  );
  --pearl-line: linear-gradient(100deg, #ffffff 0%, #d7e3ff 22%, #a4c1fe 38%, #ffffff 52%, #f6e3cf 70%, #ffffff 100%);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

::selection { background: rgba(0, 16, 248, 0.55); color: #fff; }

.wrap { width: min(var(--max), 100% - 48px); margin: 0 auto; }

/* ─── Ambient light ─────────────────────────────────────────────── */
.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}
.ambient--blue { background: rgba(0, 16, 248, 0.55); }
.ambient--pearl { background: rgba(164, 193, 254, 0.1); }

/* ─── Type ─────────────────────────────────────────────────────── */
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(46px, 7.4vw, 96px); font-weight: 800; }
h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }

.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text-2); max-width: 620px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-text);
  box-shadow: 0 0 14px rgba(59, 116, 254, 0.9);
}

.pearl {
  background-image: var(--pearl-line);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pearl-slide 9s ease-in-out infinite alternate;
}
@keyframes pearl-slide { to { background-position: 100% 50%; } }

/* ─── Glass + pearl rim ───────────────────────────────────────── */
.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 40px 90px -50px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  backdrop-filter: blur(24px) saturate(1.3);
}

.rim { position: relative; isolation: isolate; }
.rim::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--pearl-ring);
  opacity: 0.6;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.btn--white { background: #fff; color: #000; box-shadow: 0 12px 40px -12px rgba(255, 255, 255, 0.45); }
.btn--glass { background: rgba(255, 255, 255, 0.07); color: #fff; border: 1px solid rgba(255, 255, 255, 0.14); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.12); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ─── Top bar ───────────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(var(--max), 100% - 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.72);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
}
.topbar__logo img { height: 24px; width: auto; }
.topbar nav { display: flex; gap: 26px; }
.topbar nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.topbar nav a:hover { color: #fff; }
.topbar .btn { min-height: 42px; padding: 0 20px; font-size: 15px; }

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(180deg, transparent, #000); z-index: 0; pointer-events: none; }
.hero .ambient--blue { width: 720px; height: 720px; right: -180px; top: -120px; opacity: 0.55; }
.hero .ambient--pearl { width: 620px; height: 620px; left: -260px; bottom: -260px; }
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}
.hero h1 { margin: 22px 0 26px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--text-3); font-size: 14px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--good); }

.device {
  position: relative;
  justify-self: center;
  width: min(380px, 78vw);
}
.device__glow {
  position: absolute;
  inset: 8% -18% -6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 16, 248, 0.6), transparent);
  filter: blur(40px);
}
.device__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 46px;
  overflow: hidden;
  background: #050507;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.device__frame video,
.device__frame img { width: 100%; height: 100%; object-fit: cover; }

.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(16, 16, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  animation: float 7s ease-in-out infinite;
}
.chip small { display: block; font-size: 12px; font-weight: 500; color: var(--text-3); }
.chip__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(52, 199, 89, 0.16);
  color: var(--good);
}
.chip__icon svg { width: 16px; height: 16px; }
.chip__icon--euro { font-size: 15px; font-weight: 800; }
.chip__score {
  font-size: 15px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 10px;
  background: var(--accent);
}
.chip--a { left: -26%; top: 16%; }
.chip--b { right: -20%; top: 46%; animation-delay: -2.4s; }
.chip--c { left: -18%; bottom: 12%; animation-delay: -4.6s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ─── Proof bar ─────────────────────────────────────────────────── */
.proof { position: relative; z-index: 1; padding: 10px 0 40px; }
.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof__item { padding: 32px 26px; }
.proof__item + .proof__item { border-left: 1px solid var(--line); }
.proof__num { font-size: clamp(36px, 4vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.proof__label { margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.45; }

/* ─── Sections ──────────────────────────────────────────────────── */
.section { position: relative; padding: 130px 0; }
.section__head { max-width: 760px; margin-bottom: 64px; }
.section__head h2 { margin: 20px 0 22px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .lead { margin: 0 auto; }

/* ─── Before / after ────────────────────────────────────────────── */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.ba__col { padding: 34px; display: flex; flex-direction: column; gap: 28px; }
.ba__tag {
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ba__tag--before { background: rgba(255, 255, 255, 0.08); color: var(--text-2); }
.ba__tag--after { background: #fff; color: #000; }
.ba__visual { flex: 1; display: grid; place-items: center; min-height: 380px; }

.paper {
  width: 100%;
  max-width: 420px;
  padding: 30px 30px 34px;
  border-radius: 10px;
  background: #ececef;
  color: #3a3a40;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  filter: saturate(0.4);
}
.paper h4 { margin: 0 0 4px; font-size: 19px; color: #1f1f24; }
.paper .ref { margin-bottom: 16px; font-size: 12px; color: #6d6d75; }
.paper p { margin: 0 0 12px; }
.paper .muted { color: #8b8b93; }

.ba__shot { width: min(330px, 100%); border-radius: 26px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0, 16, 248, 0.6); }

.notes { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.notes li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--text-2); }
.notes li strong { color: #fff; font-weight: 600; }
.notes svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.notes--bad svg { color: var(--bad); }
.notes--good svg { color: var(--good); }

/* ─── Journey (scroll → hire) ──────────────────────────────────── */
.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.step { display: flex; flex-direction: column; gap: 18px; }
.step__shot {
  position: relative;
  aspect-ratio: 9 / 15;
  border-radius: 24px;
  overflow: hidden;
  background: #070709;
  border: 1px solid var(--line);
}
.step__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.step__shot img.is-contain { object-fit: contain; object-position: center; }
.step__num {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  color: #000;
  background: #fff;
}
.step h3 { font-size: 18px; }
.step p { margin-top: 6px; color: var(--text-2); font-size: 15px; line-height: 1.5; }

/* ─── Recruiters ────────────────────────────────────────────────── */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 34px 30px; }
.card__num { font-size: 56px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-bottom: 22px; }
.card p { margin-top: 12px; color: var(--text-2); font-size: 16px; }
.note-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 14px 22px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  background: rgba(0, 16, 248, 0.22);
  border: 1px solid rgba(59, 116, 254, 0.45);
}
.note-link:hover { background: rgba(0, 16, 248, 0.35); }
.note-link svg { width: 18px; height: 18px; }

/* ─── Transparency ─────────────────────────────────────────────── */
.manifesto { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; }
.manifesto h2 { font-size: clamp(40px, 6.2vw, 84px); }
.manifesto .lead { margin-top: 28px; }
.manifesto__media { position: relative; justify-self: center; width: min(360px, 70vw); }
.manifesto__media::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 16, 248, 0.55), transparent); filter: blur(30px); }
.manifesto__badge { position: relative; width: 100%; mix-blend-mode: screen; animation: float 8s ease-in-out infinite; }

/* ─── Candidates ───────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin: 36px 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 16px; }
.ticks svg { flex: none; width: 22px; height: 22px; color: var(--accent-text); margin-top: 1px; }

/* ─── Partners ─────────────────────────────────────────────────── */
.modes .card h3 { font-size: 24px; }
.modes .card .kicker { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.ats-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.ats-row span {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.partners__agencies { margin-top: 26px; color: var(--text-2); font-size: 16px; }
.partners__agencies strong { color: #fff; }

/* ─── Pricing ──────────────────────────────────────────────────── */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { padding: 34px 30px; display: flex; flex-direction: column; }
.price__name { font-size: 18px; font-weight: 700; }
.price__for { margin-top: 4px; color: var(--text-3); font-size: 14px; }
.price__amount { margin: 26px 0 6px; font-size: 52px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.price__amount small { font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--text-2); }
.price ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.price li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.price li svg { flex: none; width: 18px; height: 18px; color: var(--accent-text); margin-top: 2px; }
.price--hot { background: linear-gradient(180deg, rgba(0, 16, 248, 0.24), rgba(255, 255, 255, 0.02)); }
.price__badge {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  color: #000;
}
.prices__note { margin-top: 26px; text-align: center; color: var(--text-3); font-size: 15px; }

/* ─── Founder / close ──────────────────────────────────────────── */
.close { position: relative; padding: 140px 0 120px; }
.close::before { content: ''; position: absolute; inset: -10% 0; background: radial-gradient(ellipse 55% 50% at 50% 52%, rgba(0, 16, 248, 0.32), transparent 72%); pointer-events: none; }
.close__card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: center;
  padding: 54px;
}
.close__portrait {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.close__portrait img { width: 100%; height: 100%; object-fit: cover; }
.close__who { margin-bottom: 18px; color: var(--text-2); font-size: 15px; }
.close__who strong { display: block; color: #fff; font-size: 18px; }
.close h2 { font-size: clamp(34px, 4.4vw, 56px); }
.close .lead { margin-top: 16px; }
.close .lead a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 4px; }
.close .lead a:hover { text-decoration-color: #fff; }
.close__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.close__facts { margin-top: 26px; color: var(--text-3); font-size: 14px; }

/* ─── Downloads ────────────────────────────────────────────────── */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl { color: #fff; display: flex; gap: 18px; align-items: center; padding: 24px; text-decoration: none; transition: transform 0.18s ease; }
.dl:hover { transform: translateY(-2px); }
.dl__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}
.dl__icon svg { width: 24px; height: 24px; }
.dl strong { display: block; font-size: 17px; color: #fff; }
.dl span { color: var(--text-3); font-size: 14px; }

/* ─── Footer ───────────────────────────────────────────────────── */
.footer { padding: 50px 0 60px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 18px; }
.footer a { color: var(--text-2); text-decoration: none; }
.footer a:hover { color: #fff; }

/* ─── Above the fold: plain CSS, shown on first paint ─────────── */
.rise { animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.rise--late { animation-delay: 0.15s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ─── Reveal on scroll ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip, .manifesto__badge, .pearl, .rise { animation: none; }
}

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .journey { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 34%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .step { scroll-snap-align: start; }
  .chip--a { left: -12%; }
  .chip--b { right: -10%; }
  .chip--c { left: -8%; }
}

@media (max-width: 900px) {
  .topbar nav { display: none; }
  .hero .ambient--blue { width: 380px; height: 380px; right: -190px; top: -60px; opacity: 0.32; }
  .hero .ambient--pearl { display: none; }
  .hero { padding-top: 120px; }
  .hero__grid, .ba, .manifesto, .split, .cards3, .prices, .downloads { grid-template-columns: 1fr; }
  .device { margin-top: 20px; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .proof__item:nth-child(3) { border-left: 0; }
  .proof__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .section { padding: 90px 0; }
  .journey { grid-auto-columns: minmax(220px, 62%); }
  .close__card { grid-template-columns: 1fr; padding: 36px 26px; text-align: left; }
  .close__portrait { width: 120px; height: 120px; }
  .ticks { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .topbar { padding-left: 16px; }
  .topbar .btn { padding: 0 16px; }
  .hero__ctas .btn { width: 100%; }
  .chip { font-size: 13px; padding: 10px 12px; }
  .chip--a { left: -6%; top: 10%; }
  .chip--b { right: -6%; }
  .chip--c { left: -4%; bottom: 8%; }
  .ba__col, .card, .price { padding: 26px 22px; }
  .proof__item { padding: 24px 16px; }
}
