/* ==========================================================================
   Adlesa – Affiliate-Netzwerk
   ========================================================================== */

/* Fonts: self-hosted (no requests to Google), latin + latin-ext only.
   Inter is a variable font (one file covers 300–900). Licenses: assets/fonts/OFL-*.txt */
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --black: #000;
  --text: #38393e;
  --muted: #6b6c72;
  --line: #dedede;
  --white: #fff;

  --navy: #0b1462;
  --blue: #3f4bdf;
  --blue-dark: #2f39c4;
  --blue-light: #eef0fd;
  --lilac-bg: #f5f5ff;

  --sand: #f7f5f2;
  --sand-2: #efece8;

  --mint: #c9f6ef;
  --butter: #fff6b4;
  --salmon: #f8d3cc;
  --lavender: #c7cbfb;
  --lime: #e4fc6f;
  --red: #ef3e2d;
  --green: #22b573;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* Typo ----------------------------------------------------------------------- */
.h-xl { font-size: clamp(40px, 6.2vw, 88px); line-height: 1.05; font-weight: 700; letter-spacing: -.01em; color: var(--black); }
.h-lg { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; color: var(--black); }
.h-md { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.2; font-weight: 300; letter-spacing: -.01em; color: var(--black); }
.label { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.mono { font-family: var(--mono); }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; font-weight: 300; }

.more {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
  font-size: 16px; color: var(--text);
}
.more svg { width: 14px; height: 14px; transition: transform .15s; }
.more:hover svg { transform: translateX(3px); }

/* Buttons -------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 6px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; white-space: nowrap; transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 14px; height: 14px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 18px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: rgba(255, 255, 255, .08); }
.btn-line-dark { border-color: #c9c9cf; color: var(--black); }
.btn-line-dark:hover { border-color: var(--black); }

/* Header --------------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid #eee; }
.header-in { display: flex; align-items: center; height: 64px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand b { font-size: 24px; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 auto; padding: 0; }
.menu a, .menu button { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; font-size: 15px; color: var(--black); border-radius: 6px; }
.menu a:hover, .menu button:hover { background: #f4f4f6; }
.menu svg { width: 10px; height: 10px; opacity: .45; }
.menu .search svg { width: 17px; height: 17px; opacity: .55; }
.header-right { display: flex; align-items: center; gap: 6px; }
.header-right .for-pub { font-size: 13px; color: var(--muted); padding: 0 16px; border-right: 1px solid var(--line); margin-right: 8px; }
.header-right .for-pub:hover { color: var(--black); }
.header-right .login { font-size: 14px; color: var(--blue); padding: 8px 10px; font-weight: 500; }
.burger { display: none; width: 40px; height: 40px; margin-left: auto; border: 1px solid var(--line); border-radius: 6px; align-items: center; justify-content: center; }
.burger i, .burger i::before, .burger i::after { display: block; width: 16px; height: 2px; background: var(--black); position: relative; transition: transform .2s; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; }
.burger i::before { top: -5px; } .burger i::after { top: 5px; }
.header.open .burger i { background: transparent; }
.header.open .burger i::before { transform: translateY(5px) rotate(45deg); }
.header.open .burger i::after { transform: translateY(-5px) rotate(-45deg); }

/* Hero ----------------------------------------------------------------------- */
.hero {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #1c1f55 0%, #2b2f86 38%, #3a42c8 70%, #3f4bdf 100%);
  padding-top: 96px;
}
.hero h1 { color: #fff; max-width: 960px; margin: 0 auto; }
.hero .lead { max-width: 720px; margin: 28px auto 40px; color: #eef0ff; font-size: clamp(19px, 1.9vw, 26px); }
.hero .btn-blue { background: var(--blue); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.hero .btn-blue:hover { background: #5560f0; }

.collage { position: relative; height: 470px; margin-top: 64px; max-width: 1440px; margin-left: auto; margin-right: auto; }
.collage .piece { position: absolute; }
.collage svg { width: 100%; height: 100%; }
.collage::after { /* curved bottom */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 120px;
  background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: 5;
}
.pc-card {
  position: absolute; z-index: 4; background: #fff; color: var(--black); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(10, 16, 80, .35); text-align: left;
}
/* Photo slots: show a neutral placeholder until the real image exists */
.photo {
  margin: 0; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, .5) 0 13%, transparent 13.5%),
    radial-gradient(ellipse 38% 30% at 50% 100%, rgba(255, 255, 255, .5) 0 99%, transparent 100%),
    linear-gradient(160deg, #c9c6f3, #9aa1ef);
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.photo::after {
  content: "Foto: " attr(data-file); position: absolute; left: 12px; bottom: 12px;
  font-family: var(--mono); font-size: 11px; color: #262c8a; background: rgba(255, 255, 255, .8); padding: 2px 6px; border-radius: 3px;
}
.photo:has(img)::after { display: none; }

.hero-photo {
  position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 340px; height: 420px; border-radius: 170px 170px 0 0;
}
.hero-photo::after { bottom: 130px; left: 50%; transform: translateX(-50%); }
.pc-name { left: calc(50% - 250px); top: 250px; padding: 10px 14px; font-size: 12px; color: var(--muted); }
.pc-name b { display: block; font-size: 14px; color: var(--black); font-weight: 600; }
.pc-conv { left: calc(50% - 400px); top: 90px; width: 190px; padding: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); }
.pc-conv small { color: var(--blue); font-weight: 600; font-size: 13px; }
.pc-conv .ring { width: 100px; height: 100px; margin: 10px auto 4px; }
.pc-conv p { font-family: var(--mono); font-size: 10px; color: var(--muted); text-align: center; letter-spacing: .08em; }
.pc-ok {
  left: calc(50% + 120px); top: 290px; padding: 8px 16px 8px 8px; border-radius: 999px; display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em; background: rgba(255, 255, 255, .9);
}
.pc-ok i { width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.pc-ok i svg { width: 12px; height: 12px; color: #fff; }
.pc-sale {
  left: calc(50% + 200px); top: 110px; padding: 12px 14px; width: 210px; font-size: 13px;
}
.pc-sale .t { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.pc-sale b { font-size: 22px; display: block; margin: 2px 0; }
.pc-sale span { color: var(--green); font-weight: 600; }

/* Logos ---------------------------------------------------------------------- */
.logos { text-align: center; padding: 40px 0 96px; }
.logos .label { font-size: 14px; letter-spacing: .02em; color: var(--black); }
.logos .more { margin-top: 10px; color: var(--blue); font-size: 15px; }
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 24px; margin-top: 48px; align-items: center; }
.logo-wall .l { position: relative; height: 74px; display: flex; align-items: center; justify-content: center; color: #111; }
.logo-wall .cs {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  font-size: 9px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid #111; padding: 2px 6px; border-radius: 2px; background: #fff;
}
.logo-wall .row2 { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0 9%; }
.lg { font-size: 30px; line-height: 1; display: inline-flex; align-items: center; gap: 8px; }
.lg-1 { font-weight: 800; letter-spacing: -.04em; }
.lg-2 { font-weight: 400; letter-spacing: -.02em; }
.lg-2::before { content: ""; width: 26px; height: 18px; border-radius: 4px; background: currentColor; }
.lg-3 { font-weight: 600; }
.lg-3::before { content: ""; width: 24px; height: 24px; border-radius: 50%; border: 6px solid currentColor; }
.lg-4 { font-family: var(--mono); font-weight: 500; font-size: 26px; color: #0f7a5a; }
.lg-5 { font-weight: 900; font-style: italic; letter-spacing: -.03em; font-size: 28px; }
.lg-6 { font-weight: 300; letter-spacing: .02em; }
.lg-6::before { content: "✳"; font-weight: 700; }
.lg-7 { font-weight: 700; letter-spacing: -.05em; text-transform: lowercase; }
.lg-7::after { content: "."; color: var(--red); }
.lg-8 { background: #5b2df5; color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 22px; }

/* Section head --------------------------------------------------------------- */
.sec { padding: 64px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sec-head h2 { max-width: 640px; }

/* Feature cards -------------------------------------------------------------- */
.fcard { background: var(--sand); border-radius: 20px; overflow: hidden; display: grid; }
.fcard .txt { padding: 40px 48px; display: flex; flex-direction: column; }
.fcard .txt .h-md { margin: 40px 0 24px; }
.fcard .txt p { font-size: 17px; line-height: 1.5; max-width: 440px; }
.fcard .txt .more { margin-top: auto; padding-top: 40px; }
.fcard.big { grid-template-columns: 40% 60%; min-height: 470px; }
.fcard.big .h-md { font-size: clamp(30px, 2.8vw, 42px); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.fgrid .fcard { grid-template-columns: 1fr 1fr; min-height: 330px; }
.fgrid .txt { padding: 32px; }
.fgrid .txt .h-md { margin: 32px 0 18px; font-size: clamp(24px, 2vw, 30px); }
.fgrid .txt p { font-size: 16px; }
.fgrid .txt .more { padding-top: 28px; }

.panel { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 28px; }
.panel::before { /* dither texture */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, .14) 1px, transparent 1.2px);
  background-size: 6px 6px;
  -webkit-mask-image: linear-gradient(160deg, #000 10%, transparent 60%, #000 100%);
  mask-image: linear-gradient(160deg, #000 10%, transparent 60%, #000 100%);
}
.panel > * { position: relative; }
.p-mint { background: #7fdcce; }
.p-butter { background: #f2e47a; }
.p-salmon { background: #f8a998; }
.p-lav { background: #b5b9f2; }
.p-big { background: transparent; padding: 32px 32px 0; align-items: flex-end; }

/* mini UI */
.ui { background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .14); font-size: 12px; color: var(--black); }
.win { width: 100%; max-width: 560px; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 -2px 30px rgba(15, 20, 90, .12); }
.win-bar { background: var(--navy); color: #fff; height: 34px; display: flex; align-items: center; padding: 0 12px; gap: 6px; font-family: var(--mono); font-size: 12px; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { flex: 1; text-align: center; margin-right: 46px; letter-spacing: .04em; }
.win-body { background: var(--lilac-bg); padding: 20px; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 6px; overflow: hidden; font-size: 13px; }
.tbl th { font-family: var(--mono); font-weight: 400; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; text-align: left; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid #eee; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid #f2f2f2; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num { font-variant-numeric: tabular-nums; text-align: right; }
.tbl th.num { text-align: right; }
.pill { font-size: 11px; padding: 2px 8px; border-radius: 4px; background: #dcf7e9; color: #127a4b; white-space: nowrap; }
.pill.wait { background: #e5e7fd; color: #3540b8; }
.pill.no { background: #fde3df; color: #b42a1c; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.kpis div { background: #fff; border-radius: 6px; padding: 10px 12px; }
.kpis small { font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.kpis b { display: block; font-size: 20px; font-weight: 600; margin-top: 2px; }

.mini-list { width: 100%; max-width: 250px; padding: 12px; }
.mini-list header { font-weight: 600; font-size: 13px; margin-bottom: 8px; display: flex; justify-content: space-between; }
.mini-list header span { font-family: var(--mono); font-size: 10px; color: var(--muted); font-weight: 400; }
.mrow { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid #f0f0f0; }
.mrow .a { width: 26px; height: 26px; border-radius: 5px; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; flex: none; }
.mrow div { flex: 1; min-width: 0; line-height: 1.25; }
.mrow div small { display: block; color: var(--muted); font-size: 10px; }
.mrow .add { font-size: 10px; border: 1px solid var(--blue); color: var(--blue); border-radius: 4px; padding: 2px 6px; }

.steps-ui { width: 100%; max-width: 240px; padding: 14px; }
.steps-ui header { font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.chk { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.chk i { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #c9c9cf; display: grid; place-items: center; flex: none; }
.chk.on i { background: var(--blue); border-color: var(--blue); }
.chk.on i svg { width: 10px; height: 10px; color: #fff; }
.chk.on span { color: var(--muted); text-decoration: line-through; }
.progress { height: 6px; background: #eee; border-radius: 4px; margin-top: 10px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 66%; background: var(--blue); }
.earned { position: absolute; right: 10px; bottom: 16px; padding: 10px 14px; border: 2px solid #111; border-radius: 8px; }
.earned small { font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.earned b { display: block; font-size: 22px; }

.chart-ui { width: 100%; max-width: 230px; padding: 14px; }
.chart-ui header { font-weight: 600; font-size: 13px; }
.chart-ui .bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 10px; padding: 0 4px; border-bottom: 1px solid #eee; }
.chart-ui .bars i { flex: 1; border-radius: 3px 3px 0 0; background: #9ea4f5; }
.chart-ui .bars i:nth-child(3n) { background: #7fdcce; }
.chart-ui .bars i:nth-child(4n) { background: #b07cf2; }
.chart-ui .bars i:last-child { background: var(--blue); }
.stat-chip { position: absolute; background: #fff; border-radius: 6px; padding: 8px 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); font-size: 11px; }
.stat-chip small { font-family: var(--mono); font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; display: block; }
.stat-chip b { font-size: 20px; font-weight: 500; }
.stat-chip.toggle { display: flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 10px; font-weight: 600; }
.stat-chip.toggle i { width: 26px; height: 14px; border-radius: 10px; background: var(--green); position: relative; }
.stat-chip.toggle i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }

.invoice { width: 100%; max-width: 260px; padding: 12px; }
.invoice header { font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.invoice .tbl { font-size: 11px; }
.invoice .tbl td, .invoice .tbl th { padding: 6px 4px; }
.notif { position: absolute; top: 12px; right: 12px; padding: 8px 10px; font-size: 10px; max-width: 190px; }
.notif small { font-family: var(--mono); font-size: 8px; text-transform: uppercase; color: var(--muted); display: block; }
.notif .bt { display: flex; gap: 4px; margin-top: 6px; }
.notif .bt span { font-size: 9px; padding: 2px 6px; border-radius: 3px; border: 1px solid var(--blue); color: var(--blue); }
.notif .bt span:first-child { background: var(--blue); color: #fff; }

/* Partner types -------------------------------------------------------------- */
.types { display: grid; grid-template-columns: 26% 1fr 27%; gap: 0; align-items: stretch; padding-top: 80px; padding-bottom: 80px; }
.types-intro .h-lg { font-size: clamp(30px, 2.8vw, 40px); }
.types-intro { padding-right: 32px; display: flex; flex-direction: column; justify-content: center; }
.types-intro .lead { margin-top: 20px; color: var(--text); }
.types-visual {
  position: relative; background: #3640d8; border-radius: 14px 0 0 14px; overflow: hidden; min-height: 500px;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1.3px, transparent 1.5px), radial-gradient(rgba(0, 0, 50, .18) 1.3px, transparent 1.5px);
  background-size: 9px 9px, 13px 13px;
}
.types-visual .scene { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.types-visual .scene.on { opacity: 1; }
.tag-m { position: absolute; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: 3px; background: #9ff0e4; color: #0b3c35; z-index: 3; }
.site {
  position: absolute; left: 50%; top: 50%; width: 330px; transform: translate(-50%, -45%);
  background: #101a12; border-radius: 6px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.site .bar { background: #e9e9ec; height: 18px; display: flex; gap: 4px; align-items: center; padding: 0 6px; }
.site .bar i { width: 6px; height: 6px; border-radius: 50%; background: #c4c4c9; }
.site .content { padding: 18px; color: #9cf59a; font-family: var(--mono); }
.site h4 { font-size: 22px; line-height: 1.05; font-weight: 500; text-transform: uppercase; letter-spacing: -.01em; }
.site p { font-size: 9px; color: #c8d8c8; margin-top: 10px; font-family: var(--sans); }
.site .box { margin-top: 12px; border: 1px solid #2d5b30; border-radius: 4px; padding: 8px; font-size: 9px; color: #9cf59a; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.person-card { position: absolute; background: #fff; border-radius: 6px; padding: 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); width: 104px; text-align: center; transform: rotate(-4deg); z-index: 2; }
.person-card .ph { height: 74px; border-radius: 4px; background: linear-gradient(135deg, #ffd27a, #ef7a2d); display: grid; place-items: center; font-size: 30px; color: #fff; font-weight: 700; }
.person-card b { display: block; font-size: 11px; margin-top: 6px; color: #111; }
.person-card small { font-size: 8px; color: var(--muted); }
.circle-ph { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 34px; z-index: 2; }
.coupon { position: absolute; background: var(--butter); border-radius: 8px; padding: 14px 18px; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); color: #111; z-index: 2; border: 2px dashed #111; }
.coupon small { font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.coupon b { display: block; font-size: 26px; letter-spacing: -.02em; }
.coupon span { font-family: var(--mono); font-size: 12px; background: #111; color: var(--butter); padding: 2px 6px; border-radius: 3px; }
.cashback { position: absolute; background: #fff; border-radius: 8px; padding: 12px 14px; width: 190px; color: #111; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); z-index: 2; }
.cashback small { font-family: var(--mono); font-size: 9px; color: var(--muted); text-transform: uppercase; }
.cashback b { display: block; font-size: 24px; color: var(--green); }

.types-tabs { display: flex; flex-direction: column; border: 1px solid #2a2a2e; border-left: 0; border-radius: 0 14px 14px 0; overflow: hidden; }
.ttab { flex: 1; text-align: left; padding: 28px 26px; background: #e6e7f5; border-top: 1px solid #2a2a2e; position: relative; transition: background .2s; }
.ttab:first-child { border-top: 0; }
.ttab::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); transform: scaleY(0); transition: transform .25s; }
.ttab h3 { font-size: 22px; font-weight: 500; color: #7a7b85; letter-spacing: -.01em; }
.ttab p { margin-top: 8px; color: #7a7b85; font-size: 15px; line-height: 1.45; }
.ttab.on { background: #f7f7fd; }
.ttab.on::before { transform: none; }
.ttab.on h3 { color: var(--black); }
.ttab.on p { color: var(--text); }

/* Network ------------------------------------------------------------------- */
.network { background: #121214; border-radius: 20px; color: #fff; overflow: hidden; position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.network::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.2px); background-size: 4px 4px; pointer-events: none; }
.net-left { padding: 64px 0 48px 64px; position: relative; z-index: 2; display: flex; flex-direction: column; }
.net-left h2 { color: var(--lime); font-size: clamp(30px, 3vw, 42px); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.net-stats { margin: 40px 0; display: grid; gap: 22px; }
.net-stats b { display: block; font-family: var(--mono); font-weight: 400; font-size: clamp(30px, 3vw, 44px); color: var(--lime); line-height: 1; letter-spacing: -.02em; }
.net-stats span { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; color: #eee; margin-top: 6px; }
.net-left .btn { align-self: flex-start; border-color: #b9bdf8; color: #d6d8ff; }
.net-left .foot { margin-top: auto; padding-top: 40px; font-family: var(--mono); font-size: 13px; color: #ccc; }
.net-left .foot a { text-decoration: underline; color: #b9bdf8; }
.net-right { position: relative; }
.globe { position: absolute; right: -180px; top: 40px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #1d2c8f, #0b1462 55%, #060a3a 100%); box-shadow: inset -40px -30px 80px rgba(0, 0, 0, .5); overflow: hidden; }
.globe svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.live { position: absolute; right: 40px; top: 28px; z-index: 3; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.live i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.feed { position: absolute; left: 0; top: 0; width: 230px; background: #fff; color: #111; border-radius: 4px; padding: 12px 14px; border-left: 6px solid var(--blue); z-index: 3; font-size: 13px; transition: opacity .3s, transform .3s; }
.feed b { display: block; font-size: 14px; font-weight: 600; }
.feed .meta { display: grid; grid-template-columns: 1fr 1fr; margin-top: 8px; border-top: 1px dashed #bbb; padding-top: 6px; font-family: var(--mono); font-size: 11px; }
.feed .meta small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.glass { position: absolute; right: 40px; bottom: 48px; width: 300px; z-index: 3; padding: 28px; border-radius: 14px; background: rgba(240, 240, 248, .9); color: var(--text); box-shadow: 0 0 0 2px rgba(255, 255, 255, .6) inset; }
.glass .label { font-size: 11px; }
.glass h3 { color: var(--black); font-size: 22px; font-weight: 600; margin: 6px 0 12px; }
.glass p { font-size: 14px; line-height: 1.45; }
.glass .btn { margin-top: 22px; border-color: var(--blue); color: var(--blue); }
.glass .btn:hover { background: var(--blue); color: #fff; }

/* Stories -------------------------------------------------------------------- */
.stories { padding: 120px 0 64px; }
.slider { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * (100vw - min(100vw, var(--wrap))) / 2 - 32px); padding-right: 32px; }
.slider::-webkit-scrollbar { display: none; }
.story { flex: 0 0 340px; height: 470px; border-radius: 14px; overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column; position: relative; }
.story .in { padding: 28px; }
.story.s0 { background: var(--blue-light); padding: 28px; }
.story.s0 .h-md { font-size: 30px; line-height: 1.15; margin: 12px 0 22px; }
.story.s0 .label { font-size: 11px; }
.story.s0 dl { margin: 0; }
.story.s0 dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-top: 14px; }
.story.s0 dd { margin: 4px 0 0; font-size: 15px; }
.badges { display: flex; margin-top: auto; }
.badge { width: 66px; height: 78px; background: #fff; border: 1px solid #ddd; margin-right: -10px; clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%); display: flex; flex-direction: column; align-items: center; padding-top: 6px; text-align: center; }
.badge small { font-size: 7px; font-weight: 600; letter-spacing: .04em; border-bottom: 1px solid #ddd; width: 100%; padding-bottom: 2px; }
.badge b { font-size: 10px; line-height: 1.1; color: #111; margin-top: 6px; padding: 0 4px; }
.badge:nth-child(1) { border-bottom: 4px solid #6a3cf0; }
.badge:nth-child(2) { border-bottom: 4px solid #f58a1f; }
.badge:nth-child(3) { border-bottom: 4px solid #1fc0a8; }
.stars { color: var(--red); letter-spacing: 4px; font-size: 18px; margin-top: 8px; }
.story .brandname { font-size: 28px; font-weight: 700; color: #111; letter-spacing: -.03em; }
.story .quote { font-size: 18px; font-weight: 500; color: #111; line-height: 1.35; margin-top: 18px; }
.story-photo { margin-top: auto; height: 270px; flex: none; transition: transform .4s ease; }
.story:hover .story-photo img { transform: scale(1.03); }
.story-photo img { transition: transform .5s ease; }
.story-stat {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; background: #fff; border-radius: 6px; padding: 8px 12px;
  font-size: 12px; color: var(--muted); box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.story-stat b { display: block; font-size: 24px; font-weight: 700; color: #111; letter-spacing: -.02em; line-height: 1.1; }
.story .arrow { z-index: 2; }
.story .photo::after { left: auto; right: 56px; }
.story .arrow { position: absolute; right: 16px; bottom: 16px; width: 30px; height: 30px; border-radius: 4px; background: #333; color: #fff; display: grid; place-items: center; }
.story .arrow svg { width: 12px; height: 12px; }
.s1 { background: var(--butter); } .s2 { background: var(--mint); } .s3 { background: var(--salmon); } .s4 { background: var(--lavender); }
.slider-nav { display: flex; gap: 10px; margin-top: 18px; }
.slider-nav button { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.slider-nav button:first-child { background: #c8cad6; }
.slider-nav svg { width: 14px; height: 14px; }

/* Integrations -------------------------------------------------------------- */
.integr { text-align: center; padding: 96px 0 0; position: relative; overflow: hidden; }
.integr .h-xl { font-size: clamp(38px, 5vw, 72px); max-width: 900px; margin: 14px auto 18px; }
.integr .lead { max-width: 640px; margin: 0 auto; }
.integr .lead a { color: var(--blue); text-decoration: underline; }
.tiles { position: relative; height: 330px; max-width: 1100px; margin: 40px auto 0; }
.tile { position: absolute; width: 150px; height: 150px; border-radius: 26px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 19px; box-shadow: 0 20px 40px rgba(0, 0, 0, .18); letter-spacing: -.02em; }
.tile.blur { filter: blur(3px); opacity: .45; width: 120px; height: 120px; font-size: 16px; }

/* FAQ ----------------------------------------------------------------------- */
.faq { background: var(--sand-2); border-radius: 20px; padding: 96px 8%; display: grid; grid-template-columns: 30% 1fr; gap: 6%; margin-top: -10px; position: relative; z-index: 2; }
.faq .h-lg { font-size: clamp(30px, 3vw, 40px); }
.faq aside p { font-size: 22px; font-weight: 300; margin-top: 4px; }
.qa { border-bottom: 1px solid #cfcac3; }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; text-align: left; font-size: 18px; font-weight: 600; color: #111; }
.qa button svg { width: 20px; height: 20px; flex: none; transition: transform .2s; }
.qa.open button svg { transform: rotate(45deg); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 40px 22px 0; font-size: 16px; line-height: 1.6; }
.qa.open .ans { grid-template-rows: 1fr; }

/* Get started --------------------------------------------------------------- */
.start { background: var(--lilac-bg); padding: 120px 0 110px; text-align: center; margin-top: -40px; }
.start .h-xl { font-size: clamp(40px, 5.4vw, 72px); margin: 14px 0 18px; }
.start .lead { color: var(--muted); }
.start-cols { display: grid; grid-template-columns: 1fr 1fr; max-width: 760px; margin: 64px auto 0; }
.start-cols > div { padding: 0 40px; display: flex; flex-direction: column; align-items: center; }
.start-cols > div + div { border-left: 1px solid #d5d6e6; }
.chip { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; font-weight: 600; }
.chip.v { background: var(--lavender); color: #262c8a; }
.chip.p { background: var(--navy); color: #fff; }
.start-cols h3 { font-size: 24px; font-weight: 500; color: #111; margin: 20px 0 10px; line-height: 1.25; letter-spacing: -.01em; }
.start-cols p { color: var(--muted); font-size: 16px; }
.start-cols .btn { margin-top: 26px; }

/* Footer -------------------------------------------------------------------- */
.footer { background: var(--navy); color: #c4c7ef; padding: 80px 0 32px; font-size: 14px; }
.footer .brand { color: #fff; }
.f-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.f-grid h5 { margin: 0 0 16px; color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-grid a:hover { color: #fff; }
.f-news p { margin: 18px 0 16px; max-width: 280px; }
.f-news form { display: flex; max-width: 320px; border: 1px solid #3c45a0; border-radius: 6px; overflow: hidden; }
.f-news input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 0 12px; color: #fff; font: inherit; height: 42px; }
.f-news input::placeholder { color: #8a8fd0; }
.f-news input:focus { outline: none; }
.f-news button { background: var(--blue); color: #fff; padding: 0 16px; font-weight: 500; }
.f-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid #262f85; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.f-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.f-bottom a:hover { color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1180px) {
  .types { grid-template-columns: 1fr 1fr; gap: 0; }
  .types-intro { grid-column: 1 / -1; padding: 0 0 32px; }
  .menu a, .menu button { padding: 8px 8px; }
  .header-right .for-pub { display: none; }
}

@media (max-width: 980px) {
  .wrap { padding: 0 20px; }
  .menu, .header-right { display: none; }
  .burger { display: inline-flex; }
  /* open menu: header grows downwards, items stack under the logo row */
  .header.open .header-in { flex-wrap: wrap; height: auto; min-height: 64px; padding-top: 12px; padding-bottom: 20px; row-gap: 0; }
  .header.open .menu, .header.open .header-right {
    display: flex; flex-basis: 100%; flex-direction: column; align-items: stretch; margin: 0;
  }
  .header.open .menu { margin-top: 12px; border-top: 1px solid #eee; padding-top: 8px; }
  .header.open .menu a { padding: 12px 0; font-size: 17px; }
  .header.open .header-right { gap: 8px; padding-top: 12px; }
  .header.open .header-right .btn { height: 44px; }
  .header.open .header-right .login { text-align: center; }
  /* keep the burger in the logo row; it comes last in the markup */
  .header.open .burger { order: 1; }
  .header.open .menu { order: 2; }
  .header.open .header-right { order: 3; }
  .header.open .header-right .for-pub { display: block; padding: 12px 0; margin: 0; border-right: 0; font-size: 17px; color: var(--black); }
  .header.open .menu .search { display: none; }

  .collage { height: 420px; }
  .pc-conv { left: 4%; }
  .pc-sale { left: auto; right: 4%; }
  .pc-ok { left: auto; right: 8%; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .logo-wall .row2 { grid-template-columns: repeat(3, 1fr); padding: 0; }
  .logo-wall .row2 .l:last-child { display: none; }

  .fcard.big, .fgrid .fcard { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .fgrid .panel { min-height: 260px; }
  .p-big { padding-top: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; }

  .types { grid-template-columns: 1fr; }
  .types-visual { border-radius: 14px 14px 0 0; min-height: 420px; }
  .types-tabs { border-left: 1px solid #2a2a2e; border-top: 0; border-radius: 0 0 14px 14px; }

  .network { grid-template-columns: 1fr; }
  .net-left { padding: 48px 28px 0; }
  .net-right { min-height: 560px; }
  .globe { right: -200px; top: 60px; width: 640px; height: 640px; }

  .slider { margin-right: -20px; padding-right: 20px; }
  .faq { grid-template-columns: 1fr; padding: 56px 28px; }
  .f-grid { grid-template-columns: repeat(2, 1fr); }
  .f-news { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .hero { padding-top: 64px; }
  .hero .btn { width: 100%; max-width: 340px; }
  .collage { height: 330px; margin-top: 48px; }
  .collage::after { height: 60px; }
  .hero-photo { width: 250px; height: 320px; border-radius: 125px 125px 0 0; }
  .hero-photo::after { bottom: 80px; }
  .pc-conv, .pc-sale { display: none; }
  .pc-ok { top: 70px; right: 4%; font-size: 11px; }
  .pc-name { left: 4%; top: 200px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .logo-wall > .l:nth-child(5) { grid-column: 1 / -1; }
  .logo-wall .row2 { grid-template-columns: repeat(2, 1fr); }
  .logo-wall .row2 .l:last-child { display: flex; }
  .lg { font-size: 24px; }
  .fcard .txt { padding: 28px 22px; }
  .fcard .txt .h-md { margin-top: 24px; }
  .win-body { padding: 12px; }
  .tbl th:nth-child(3), .tbl td:nth-child(3) { display: none; }
  .kpis b { font-size: 16px; }
  .types-visual { min-height: 380px; }
  .site { width: 270px; }
  .net-left { padding: 40px 22px 0; }
  .net-right { min-height: 520px; }
  .glass { left: 16px; right: 16px; width: auto; bottom: 20px; padding: 22px; }
  .feed { width: 200px; }
  .story { flex-basis: 290px; height: 440px; }
  .tiles { height: 240px; transform: scale(.7); transform-origin: top center; margin-bottom: -60px; }
  .tile.blur { display: none; }
  .start-cols { grid-template-columns: 1fr; gap: 48px; }
  .start-cols > div { padding: 0; }
  .start-cols > div + div { border-left: 0; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
