/*
 * Xendiz — site stylesheet (2026 refresh).
 * One file, no build step. Sections: tokens, base, layout, components, pages, motion.
 */

/* ------------------------------------------------------------------ tokens */
:root {
  /* surfaces */
  --bg: #f3f4fb;
  --bg-2: #ffffff;
  --bg-3: #eceefa;
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-solid: #fbfbff;            /* fallback when backdrop-filter is unavailable */
  --glass-border: rgba(255, 255, 255, .85);
  --glass-blur: blur(18px) saturate(160%);
  --line: rgba(17, 18, 38, .10);
  --line-2: rgba(17, 18, 38, .18);
  /* text (all pairs meet WCAG AA on --bg and white) */
  --heading: #0e0f2a;
  --text: #1c1d33;
  --muted: #4a4b63;
  /* brand */
  --brand: #4b4cff;
  --brand-ink: #3536d6;              /* brand colour for small text on light surfaces */
  --brand-soft: rgba(75, 76, 255, .12);
  --accent-2: #f15139;               /* small secondary accent only, never for text */
  --danger: #c2321f;
  /* type */
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-base: 1rem; --fs-lg: 1.125rem;
  --fs-h4: 1.25rem; --fs-h3: clamp(1.4rem, 2.2vw, 1.75rem); --fs-h2: clamp(1.75rem, 3.6vw, 2.75rem);
  --fs-h1: clamp(3.25rem, 10vw, 8rem);
  /* layout */
  --container: 1240px;
  --gutter: 24px;
  --section: 104px;
  --radius-sm: 10px; --radius: 18px; --radius-lg: 28px; --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(30, 32, 90, .06);
  --shadow: 0 10px 34px rgba(30, 32, 90, .10), 0 2px 6px rgba(30, 32, 90, .05);
  --shadow-lg: 0 24px 60px rgba(30, 32, 90, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dots: radial-gradient(circle, rgba(17, 18, 38, .07) 1.1px, transparent 1.6px);
}
@media (max-width: 767px) {
  :root { --gutter: 18px; --section: 64px; }
}

/* -------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(42vw 42vw at 88% -6%, rgba(75, 76, 255, .20), transparent 70%),
    radial-gradient(36vw 36vw at -8% 30%, rgba(140, 120, 255, .16), transparent 70%),
    radial-gradient(30vw 30vw at 70% 78%, rgba(241, 81, 57, .08), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: #fff; }

/* glass surface (shared). Solid fallback first, glass where supported. */
.glass, .site-header, .card, .screen, .cover-frame, .product-tile, .contact-card, .post-card a, .statement, .quote, .article-cta, .menu {
  background: var(--glass-solid);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass, .site-header, .card, .screen, .cover-frame, .product-tile, .contact-card, .post-card a, .statement, .quote, .article-cta {
    background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  }
  .site-header { background: rgba(243, 244, 251, .72); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .site-header, .card, .screen, .cover-frame, .product-tile, .contact-card, .post-card a, .statement, .quote, .article-cta {
    background: var(--glass-solid) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
}

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; z-index: 1000; left: 12px; top: -60px;
  padding: 10px 16px; background: var(--brand); color: var(--heading); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.is-todo { color: var(--danger) !important; outline: 1px dashed var(--danger); outline-offset: 2px; font-style: italic; }
a[aria-disabled="true"] { cursor: default; }

/* ------------------------------------------------------------------ layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.accent { color: var(--brand); }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) / 2) 0; }
.section + .section { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 3px; background: var(--brand); }

.section-head { margin-bottom: 40px; }
.section-head .section-title { margin: 0; }
.section-title {
  font: 700 clamp(1.75rem, 3.6vw, 2.75rem)/1.12 var(--display);
  letter-spacing: -.02em; color: var(--heading); margin-bottom: 48px;
}

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 14px 24px;
  background: var(--brand); color: var(--heading);
  border: 2px solid var(--brand);
  font: 600 15px/1.2 var(--sans);
  box-shadow: 4px 4px 0 var(--text);
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--text); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--text); }
.btn-sm { padding: 9px 16px; font-size: 14px; box-shadow: 3px 3px 0 var(--text); }
.btn-light { background: #fff; color: var(--bg); border-color: var(--heading); box-shadow: 4px 4px 0 var(--bg); }
.btn-light:hover { box-shadow: 6px 6px 0 var(--bg); }
.btn-arrow::after { content: "→"; font-weight: 600; transition: transform .18s var(--ease); }
.btn-arrow:hover::after { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; color: var(--heading);
  border-bottom: 2px solid var(--brand); padding-bottom: 2px;
}
.link-arrow::after { content: "→"; color: var(--brand-ink); transition: transform .18s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 18, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand img { width: 126px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  position: relative; display: block; padding: 8px 12px;
  font-weight: 500; font-size: 15px; color: var(--muted);
  transition: color .15s;
}
.main-nav a:hover { color: var(--heading); }
.main-nav a.is-active { color: var(--heading); }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--brand);
}
.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 12px 10px;
  background: none; border: 1px solid var(--line-2); cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.menu-toggle span { display: block; height: 2px; background: #fff; }
.menu-toggle span:nth-child(2) { width: 60%; background: var(--brand-ink); }
.subnav { border-top: 1px solid var(--line); background: var(--bg-2); }
.subnav .container { display: flex; gap: 4px; overflow-x: auto; }
.subnav a { padding: 10px 12px; font-size: 14px; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--heading); }
.subnav a.is-active { color: var(--heading); border-bottom-color: var(--brand); }
@media (max-width: 959px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-bar .btn-sm { display: none; }
  .header-bar { height: 64px; }
}

/* -------------------------------------------------------------- mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 100;
  background: var(--brand); color: var(--heading);
  overflow-y: auto;
  opacity: 0; transform: translateY(-12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.menu.is-open { opacity: 1; transform: none; }
.menu-inner { min-height: 100%; display: flex; flex-direction: column; padding-top: 14px; padding-bottom: 40px; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 50px; }
.menu-top img { width: 126px; height: auto; }
.menu-close {
  position: relative; width: 44px; height: 44px; background: none;
  border: 1px solid rgba(255, 255, 255, .5); cursor: pointer;
}
.menu-close span { position: absolute; left: 10px; right: 10px; top: 20px; height: 2px; background: #fff; transform: rotate(45deg); }
.menu-close span + span { transform: rotate(-45deg); }
.menu-links { margin: 6vh 0 5vh; }
.menu-links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .22);
  font: 700 clamp(2rem, 7vw, 3.75rem)/1.1 var(--display); letter-spacing: -.02em;
  transition: padding .2s var(--ease);
}
.menu-links a:hover { padding-left: 10px; }
.menu-links a.is-active { color: var(--bg); }
.menu-num { font: 600 13px var(--sans); opacity: .7; min-width: 24px; }
.menu-foot { margin-top: auto; display: grid; gap: 18px; font-size: 15px; }
.menu-foot address p { margin: 2px 0; }
.menu-foot a:hover { text-decoration: underline; }
.menu-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.menu-social { display: flex; gap: 14px; }
.menu-social:empty { display: none; }
.menu .motto { font: 700 1.4rem var(--display); color: var(--heading); }
.menu .btn-light { justify-self: start; }
html.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: #08080c; border-top: 1px solid var(--line); padding: 72px 0 56px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { width: 40px; margin-bottom: 18px; }
.footer-claim { font: 700 1.6rem/1.15 var(--display); color: var(--heading); letter-spacing: -.01em; }
.footer-since { margin-top: 10px; color: var(--brand-ink); font-size: 14px; }
.footer-nav ul { display: grid; gap: 10px; }
.footer-nav a { color: var(--muted); border-bottom: 1px solid transparent; }
.footer-nav a:hover, .footer-nav a[aria-current] { color: var(--heading); border-bottom-color: var(--brand); }
.footer-company { color: var(--muted); font-size: 14px; }
.footer-company p { margin-bottom: 4px; }
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* --------------------------------------------------------------- page head */
.page-head {
  position: relative; overflow: hidden;
  background-color: var(--bg); background-image: var(--dots); background-size: 22px 22px;
  border-bottom: 1px solid var(--line);
  padding: 112px 0 80px;
}
.page-head-inner { position: relative; z-index: 1; }
.page-title {
  font: 700 clamp(3.25rem, 10vw, 8.5rem)/.9 var(--display); letter-spacing: -.045em; color: var(--heading);
}
.page-title::after { content: ""; display: inline-block; width: .16em; height: .16em; margin-left: .06em; background: var(--brand); }
.page-title-sm { font-size: clamp(2.5rem, 6.5vw, 5rem); }
.page-sub { margin-top: 22px; font: 500 clamp(1.1rem, 2vw, 1.4rem)/1.35 var(--display); color: var(--brand-ink); max-width: 640px; }
.page-head-product .product-badge { width: 120px; margin-bottom: 28px; box-shadow: 8px 8px 0 rgba(75, 76, 255, .35); }
.page-head-product .page-title::after { display: none; }
@media (max-width: 767px) {
  .page-head { padding: 72px 0 56px; }
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 72px); display: flex;
  background-color: var(--bg); background-image: var(--dots); background-size: 22px 22px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 26%;
  background: linear-gradient(180deg, rgba(75, 76, 255, .18), rgba(75, 76, 255, 0) 70%);
  border-left: 1px solid var(--line);
}
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: center; padding-top: 64px; padding-bottom: 48px; }
.hero-type { display: flex; flex-direction: column; font: 700 clamp(3.4rem, 11.5vw, 10.5rem)/.88 var(--display); letter-spacing: -.05em; }
.hero-line { display: block; }
.hero-line-1 { color: var(--heading); display: flex; align-items: center; gap: .18em; font-size: .62em; letter-spacing: -.03em; margin-bottom: .12em; }
.hero-line-2 { color: var(--brand); }
.hero-line-3 {
  color: transparent;
  background-image: repeating-linear-gradient(-45deg, #fff 0 4px, rgba(255, 255, 255, .2) 4px 9px);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  padding-left: .55em;
}
.live-dot { width: .32em; height: .32em; background: var(--brand); flex: none; box-shadow: 0 0 0 0 rgba(75, 76, 255, .6); }
.hero-foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px;
  margin-top: clamp(40px, 7vh, 88px); padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-contacts { color: var(--muted); font-size: 15px; }
.hero-contacts p { margin: 2px 0; }
.hero-contacts a:hover { color: var(--heading); }
.hero-down { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 2px solid var(--line-2); font: 600 1.4rem var(--sans); color: var(--heading); }
.hero-down:hover { border-color: var(--brand); }
.motto { font: 700 clamp(1.2rem, 2.2vw, 1.6rem) var(--display); color: var(--brand-ink); text-align: right; }
.hero-social:empty { display: none; }
@media (max-width: 767px) {
  .hero { min-height: calc(100svh - 64px); }
  .hero::before { width: 18%; }
  .hero-foot { grid-template-columns: 1fr 1fr; }
  .hero-contacts { grid-column: 1 / -1; }
  .motto { text-align: right; }
}
/* hero foot without the contact block: arrow keeps the centre column, motto the right one */
.hero-foot .hero-down { grid-column: 2; }
.hero-foot .motto { grid-column: 3; }
@media (max-width: 767px) { .hero-foot .hero-down { grid-column: 1; } .hero-foot .motto { grid-column: 2; } }
/* motto: breaks only between "…that doesn't suck" and "like the rest." (no orphan word) */
.motto-part { white-space: nowrap; }
@media (max-width: 767px) { .hero-foot { grid-template-columns: auto 1fr; } }
.footer-company a:hover { color: var(--heading); }

/* ----------------------------------------------------- "It just works" screen */
.works { padding: var(--section) 0; }
.screen {
  position: relative; max-width: 880px; margin: 0 auto;
  background: var(--bg-2); border: 2px solid var(--line-2);
  box-shadow: 14px 14px 0 var(--brand);
}
.screen-bar { display: flex; gap: 8px; padding: 14px 18px; border-bottom: 2px solid var(--line-2); background: var(--bg-3); }
.screen-bar span { width: 12px; height: 12px; background: var(--line-2); }
.screen-bar span:first-child { background: var(--brand); }
.screen-body { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 72px); text-align: center; }
.screen-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; font: 700 clamp(3rem, 12vw, 9rem)/1 var(--display); letter-spacing: -.05em;
  color: rgba(233, 233, 242, .045); pointer-events: none;
}
.screen-title { position: relative; font: 700 clamp(2rem, 5vw, 3.6rem)/1.1 var(--display); letter-spacing: -.03em; color: var(--heading); }
.underline-anim {
  background-image: linear-gradient(var(--brand), var(--brand));
  background-repeat: no-repeat; background-position: 0 92%; background-size: 0% 6px;
  transition: background-size 1s var(--ease) .3s;
}
.is-in .underline-anim, html:not(.js-r2) .underline-anim { background-size: 100% 6px; }
.screen-note { position: relative; margin-top: 28px; color: var(--muted); font-size: 14px; text-align: left; }

/* ------------------------------------------------------------------- cards */
.cards { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; padding: 32px 28px;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s var(--ease);
}
.card:hover { border-color: var(--brand); transform: translateY(-4px); }
.card-icon { width: 52px; height: 52px; margin-bottom: 24px; }
.card-title { font: 700 1.25rem/1.25 var(--display); color: var(--heading); margin-bottom: 12px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15px; }
.cards-plain .card p { color: var(--text); }
.cards-numbered { counter-reset: card; }
.cards-numbered .card { counter-increment: card; }
.cards-numbered .card::after {
  content: counter(card, decimal-leading-zero); position: absolute; top: 24px; right: 24px;
  font: 600 13px var(--sans); color: var(--brand-ink);
}
.section > .container > .cards + .center { margin-top: 48px; }
@media (max-width: 1023px) {
  .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ text columns */
.cols-2, .cols-3 { display: grid; gap: 40px 56px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.col-title { font: 700 1.45rem/1.2 var(--display); color: var(--heading); padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid var(--brand); }
.col p { color: var(--muted); margin-bottom: 12px; }
.col a { color: var(--heading); border-bottom: 2px solid var(--brand); }
.col a:hover { background: rgba(75, 76, 255, .25); }
@media (max-width: 767px) {
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- statement */
.statement { padding: var(--section) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.statement-text { font: 700 clamp(2rem, 5vw, 4rem)/1.08 var(--display); letter-spacing: -.035em; color: var(--heading); max-width: 1000px; }
.statement-text .accent { display: block; }

/* ------------------------------------------------------------------ quotes */
.quotes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.quote { padding-left: 24px; border-left: 4px solid var(--brand); }
.quote p { font: 700 clamp(1.3rem, 2.4vw, 1.75rem)/1.3 var(--display); color: var(--brand-ink); letter-spacing: -.01em; }
@media (max-width: 767px) { .quotes-grid { grid-template-columns: 1fr; } }
.quotes-grid.quotes-single { grid-template-columns: 1fr; }   /* one quote: full row width */

/* -------------------------------------------------------- insights (home) */
.insights-home-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.cover-frame { display: block; padding: 30px; background: var(--bg-2); border: 1px solid var(--line); }
.cover-frame img { width: 100%; max-width: 220px; margin: 0 auto; }
.post-rows { border-top: 1px solid var(--line); margin-bottom: 32px; }
.post-row {
  display: grid; grid-template-columns: 130px 1fr 28px; gap: 20px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.post-row time { color: var(--brand-ink); font-size: 14px; font-weight: 600; }
.post-row-title { font: 700 1.2rem/1.3 var(--display); color: var(--heading); transition: color .15s; }
.post-row-go { width: 20px; color: var(--brand-ink); font-weight: 600; transition: transform .2s var(--ease); }
.post-row-go::before { content: "↗"; }
.post-row:hover .post-row-title { color: var(--brand-ink); }
.post-row:hover .post-row-go { transform: translate(3px, -3px); }
@media (max-width: 767px) {
  .insights-home-grid { grid-template-columns: 1fr; gap: 32px; }
  .cover-frame { max-width: 260px; }
  .post-row { grid-template-columns: 1fr 24px; gap: 6px 12px; }
  .post-row time { grid-column: 1 / -1; }
}

/* ----------------------------------------------------- dashboard figure */
.dashboard img { width: 100%; box-shadow: 18px 18px 0 rgba(75, 76, 255, .28); }

/* ------------------------------------------------------------ key facts */
.keyfacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.fact-list li { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); font-size: 1.1rem; color: var(--heading); }
.fact-list li::before { content: ""; position: absolute; left: 0; top: 26px; width: 10px; height: 10px; background: var(--brand); }
.map { position: relative; }
.map-pin { position: absolute; left: 51.6%; top: 35.4%; transform: translate(-50%, -100%); display: flex; align-items: flex-start; gap: 12px; }
.map-pin img { width: 36px; }
.map-pin p { display: flex; flex-direction: column; line-height: 1.1; background: var(--bg); border: 1px solid var(--line-2); padding: 8px 12px; }
.map-pin strong { font: 700 1.1rem var(--display); color: var(--heading); }
.map-pin span { color: var(--muted); font-size: 13px; }
@media (max-width: 767px) { .keyfacts { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- solutions */
.feature-card {
  display: grid; grid-template-columns: 160px 1fr; gap: 40px; align-items: center;
  padding: 40px; background: var(--brand); color: var(--heading);
  box-shadow: 10px 10px 0 var(--text);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.feature-card:hover { transform: translate(-3px, -3px); box-shadow: 13px 13px 0 var(--text); }
.feature-card .eyebrow { color: var(--heading); }
.feature-card .eyebrow::before { background: #fff; }
.feature-card-body { display: block; }
.feature-card-title { display: block; font: 700 clamp(1.8rem, 4vw, 3rem)/1.05 var(--display); letter-spacing: -.03em; margin-bottom: 14px; }
.feature-card-text { display: block; max-width: 560px; margin-bottom: 26px; color: rgba(255, 255, 255, .88); }
.product-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product-tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 36px; background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s var(--ease);
}
.product-tile:hover { border-color: var(--brand); transform: translateY(-4px); }
.product-tile img { width: 96px; margin-bottom: 28px; }
.product-tile .eyebrow { margin-bottom: 8px; }
.product-tile-title { font: 700 1.8rem/1.1 var(--display); color: var(--heading); }
.tile-go { position: absolute; right: 28px; top: 24px; color: var(--brand-ink); font: 600 1.6rem var(--sans); transition: transform .2s var(--ease); }
.tile-go::before { content: "↗"; }
.product-tile:hover .tile-go { transform: translate(4px, -4px); }
@media (max-width: 767px) {
  .feature-card { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .feature-card img { width: 96px; }
  .product-pair { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ white label */
.lead-block { max-width: 820px; }
.lead { font: 500 clamp(1.15rem, 2vw, 1.4rem)/1.5 var(--display); color: var(--heading); margin-bottom: 20px; }
.lead-block p:not(.lead) { color: var(--muted); }
.steps { counter-reset: step; max-width: 820px; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; position: relative; padding: 22px 0 22px 72px; border-bottom: 1px solid var(--line); color: var(--muted); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 18px;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--brand); color: var(--heading); font: 700 1.1rem var(--display);
}
.steps b { color: var(--heading); }

/* -------------------------------------------------------------- CTA band */
.cta-band { background: var(--brand); padding: 88px 0; margin-top: var(--section); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-title { font: 700 clamp(2rem, 5vw, 3.5rem)/1.05 var(--display); letter-spacing: -.03em; color: var(--heading); }

/* --------------------------------------------------------- insights list */
.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.post-card a { display: flex; flex-direction: column; height: 100%; }
.post-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-card a:hover img { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--brand); }
.post-card time { display: block; margin: 18px 0 6px; color: var(--brand-ink); font-size: 13px; font-weight: 600; }
.post-card-title { font: 700 1.15rem/1.3 var(--display); color: var(--heading); margin-bottom: 14px; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; font-size: 14px; }
@media (max-width: 1023px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .post-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; } .post-card-title { font-size: 1rem; } }

/* --------------------------------------------------------------- article */
.article-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); background-image: var(--dots); background-size: 22px 22px; }
.link-back { display: inline-flex; gap: .5em; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.link-back::before { content: "←"; color: var(--brand-ink); }
.link-back:hover { color: var(--heading); }
.article-title { font: 700 clamp(2.1rem, 5vw, 3.5rem)/1.08 var(--display); letter-spacing: -.03em; color: var(--heading); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; color: var(--brand-ink); font-weight: 600; font-size: 14px; }
.article-byline { color: var(--muted); font-weight: 500; }
.article .prose { padding-top: 48px; padding-bottom: 32px; }
.prose { color: #cfcfdc; font-size: 1.0625rem; line-height: 1.75; }
.prose p { margin-bottom: 1.25em; }
.prose h3 { font: 700 1.6rem/1.2 var(--display); color: var(--heading); margin: 2.2em 0 .8em; letter-spacing: -.015em; }
.prose h4 { font: 700 1.2rem/1.3 var(--display); color: var(--heading); margin: 2em 0 .7em; }
.prose h6 { font: 600 .85rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--heading); margin: 2.4em 0 .9em; }
.prose b, .prose strong, .prose .bold { color: var(--heading); font-weight: 600; }
.prose a { color: var(--heading); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { background: rgba(75, 76, 255, .25); }
.prose ul, .prose ol { margin: 0 0 1.4em; }
.prose li { position: relative; padding-left: 26px; margin-bottom: .55em; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--brand); }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; }
.prose ol > li::before { content: counter(li) "."; position: absolute; left: 0; color: var(--brand-ink); font-weight: 600; }
.prose code { font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--heading); background: var(--bg-3); padding: .1em .35em; }
.prose pre { background: var(--bg-2); border-left: 3px solid var(--brand); padding: 18px 20px; overflow-x: auto; margin: 0 0 1.5em; }
.prose pre code { background: none; padding: 0; font-size: .85rem; color: #d6d6e2; }
.article-cover { width: 220px; max-width: 55%; margin: 0 auto 40px; }
.article-cover img { width: 100%; border: 1px solid var(--line); box-shadow: 10px 10px 0 var(--brand); }
.article-cta { margin-top: 2.5em; padding: 22px 24px; background: var(--bg-2); border-left: 4px solid var(--brand); color: var(--heading); }
.legal-effective, .legal-operator { color: var(--heading); }

/* -------------------------------------------------------------- contacts */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 28px; background: var(--bg-2); border: 1px solid var(--line); }
.contact-card .eyebrow { margin-bottom: 14px; }
.contact-value { font: 700 1.3rem var(--display); color: var(--heading); word-break: break-word; }
.contact-value:hover { color: var(--brand-ink); }
.contact-card.is-empty { display: none; }
.contact-social { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-social a { display: inline-flex; gap: 8px; align-items: center; }
.contact-social img { width: 18px; }
@media (max-width: 767px) { .contact-cards { grid-template-columns: 1fr; } }

.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.form .row + .row { margin-top: 28px; }
.form .field { position: relative; display: flex; flex-direction: column; margin-bottom: 20px; }
.form .label { order: -1; margin-bottom: 8px; font-weight: 600; font-size: 14px; color: var(--heading); }
.form input:not([type=checkbox]), .form textarea {
  width: 100%; padding: 14px 16px; background: var(--bg-2); color: var(--heading);
  border: 1px solid var(--line-2); border-radius: 0; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form textarea { min-height: 208px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--brand); box-shadow: 4px 4px 0 var(--brand); }
.form .errored input, .form .errored textarea { border-color: var(--danger); }
.form .error { margin-top: 6px; color: var(--danger); font-size: 13px; }
.form .small { font-size: 13px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.form .small a { color: var(--heading); text-decoration: underline; text-decoration-color: var(--brand); }
.chbx { display: grid; gap: 12px; margin-bottom: 24px; }
.chb { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.chb input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.chb a { text-decoration: underline; text-decoration-color: var(--brand); }
.chb.errored label { color: var(--danger); }
.form .submit.disable { opacity: .55; }
.form-status { margin-top: 16px; color: var(--muted); font-size: 14px; min-height: 1em; }
.form-status.is-error { color: var(--danger); }
@media (max-width: 767px) { .form .row { grid-template-columns: 1fr; } }
/* /signup/ form: full-width rows, radio and checkbox groups */
.form .row.row-full { grid-template-columns: 1fr; }
.form .row + .choice-group, .form .choice-group + .choice-group, .form .choice-group + .row { margin-top: 8px; }
.choice-group { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.choice-group legend { display: block; padding: 0; margin-bottom: 12px; }
.choices { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.choice-group .chb input[type=radio] { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.form .optional { font-weight: 400; color: var(--muted); }
.signup-form textarea { min-height: 140px; }
.form .chb.errored label { color: var(--danger); }

/* ======================================================= light glass layer
   Foundations for the light, glass (frosted panel) direction. Final values
   will be matched to the designer mockup (docs/mockups/) when it arrives. */
.skip-link { color: #fff; border-radius: var(--radius-sm); }

/* buttons: solid brand pill, glass secondary */
.btn {
  color: #fff; border: 1px solid transparent; border-radius: var(--radius-pill);
  background: var(--brand); box-shadow: 0 8px 22px rgba(75, 76, 255, .32);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(75, 76, 255, .40); background: #3f40f0; }
.btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(75, 76, 255, .30); }
.btn-sm { box-shadow: 0 6px 16px rgba(75, 76, 255, .28); }
.btn-light {
  background: var(--glass-strong); color: var(--heading); border-color: var(--glass-border);
  box-shadow: var(--shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.btn-light:hover { background: #fff; box-shadow: var(--shadow-lg); }
.link-arrow { color: var(--heading); border-bottom-color: var(--brand); }
.link-arrow::after { color: var(--brand); }

/* header & subnav */
.site-header { background: rgba(250, 250, 255, .94); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(250, 250, 255, .72); }
}

.site-header { border-bottom: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(30, 32, 90, .05); }
.main-nav a { border-radius: var(--radius-pill); color: var(--muted); }
.main-nav a:hover { background: var(--brand-soft); color: var(--heading); }
.main-nav a.is-active { background: rgba(255, 255, 255, .8); color: var(--heading); box-shadow: var(--shadow-sm); }
.main-nav a.is-active::after { display: none; }
.menu-toggle { border-radius: var(--radius-sm); border-color: var(--line-2); background: var(--glass-strong); }
.menu-toggle span { background: var(--heading); }
.menu-toggle span:nth-child(2) { background: var(--brand); }
.subnav { background: rgba(255, 255, 255, .45); border-top: 1px solid var(--line); }
.subnav a { color: var(--muted); }
.subnav a.is-active { color: var(--heading); }

/* mobile menu: frosted sheet */
.menu { background: rgba(243, 244, 251, .96); color: var(--text); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .menu { background: rgba(243, 244, 251, .78); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
}
.menu-close { border-color: var(--line-2); border-radius: var(--radius-sm); background: var(--glass-strong); }
.menu-close span { background: var(--heading); }
.menu-links a { color: var(--heading); border-bottom-color: var(--line); }
.menu-links a.is-active { color: var(--brand-ink); }
.menu .motto { color: var(--brand-ink); text-align: left; }
.menu .btn-light { background: var(--brand); color: #fff; border-color: transparent; }

/* footer: frosted panel */
.site-footer { background: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 -1px 0 var(--line); }
.footer-claim { color: var(--heading); }
.footer-since { color: var(--brand-ink); }
.footer-nav a { color: var(--muted); }
.footer-company { color: var(--muted); }

/* page heads & hero: airy, no heavy panels */
.page-head, .hero, .article-head { background-color: transparent; border-bottom: 0; }
.page-title::after { border-radius: 4px; }
.page-sub { color: var(--brand-ink); }
.hero::before {
  width: 34%; border-left: 0; border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: linear-gradient(160deg, rgba(75, 76, 255, .16), rgba(255, 255, 255, .35));
  top: 40px; bottom: 40px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.hero-line-3 { background-image: repeating-linear-gradient(-45deg, var(--heading) 0 4px, rgba(14, 15, 42, .18) 4px 9px); }
.live-dot { border-radius: 4px; }
.hero-foot { border-top-color: var(--line); }
.hero-down { border-radius: var(--radius-pill); border-color: var(--line-2); color: var(--heading); background: var(--glass-strong); }
.motto { color: var(--brand-ink); }
.motto::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--accent-2); vertical-align: middle; }

/* glass cards and panels */
.card, .screen, .cover-frame, .product-tile, .contact-card, .post-card a, .quote, .article-cta {
  border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.card:hover, .product-tile:hover { border-color: rgba(75, 76, 255, .45); box-shadow: var(--shadow-lg); }
.card p { color: var(--muted); }
.cards-plain .card p { color: var(--text); }
.cards-numbered .card::after { color: var(--brand-ink); }
.screen { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.screen-bar { background: rgba(255, 255, 255, .5); border-bottom: 1px solid var(--line); }
.screen-bar span { border-radius: 50%; background: var(--line-2); }
.screen-bar span:first-child { background: var(--accent-2); }
.screen-bar span:nth-child(2) { background: var(--brand); }
.screen-label { color: rgba(14, 15, 42, .05); }
.screen-note { color: var(--muted); }
.statement { border: 1px solid var(--glass-border); border-left: 0; border-right: 0; box-shadow: var(--shadow-sm); }
.quote { padding: 28px 28px 28px 32px; border-left: 4px solid var(--brand); }
.quote p { color: var(--heading); }
.post-rows { border-top-color: var(--line); }
.post-row { border-bottom-color: var(--line); }
.post-row time, .post-card time, .article-meta { color: var(--brand-ink); }
.post-row-go { color: var(--brand); }
.post-row:hover .post-row-title { color: var(--brand-ink); }
.post-card a { padding: 14px 14px 20px; }
.post-card img { border-radius: var(--radius-sm); border: 0; }
.post-card a:hover img { transform: translateY(-3px); box-shadow: var(--shadow); }
.dashboard img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.fact-list li { color: var(--heading); border-bottom-color: var(--line); }
.fact-list li::before { border-radius: 3px; }
.map-pin p { background: var(--glass-strong); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.col a { color: var(--heading); }
.col a:hover { background: var(--brand-soft); }
.col p { color: var(--muted); }

/* solutions */
.feature-card { border-radius: var(--radius-lg); color: #fff; box-shadow: 0 24px 60px rgba(75, 76, 255, .35);
  background: linear-gradient(135deg, #4b4cff 0%, #5a4cf2 60%, #6248e6 100%); }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgba(75, 76, 255, .42); }
.feature-card .eyebrow { color: #fff; }
.feature-card-text { color: rgba(255, 255, 255, .92); }
.feature-card .btn-light { color: var(--heading); }
.tile-go { color: var(--brand); }

/* white label */
.lead { color: var(--heading); }
.steps { border-top-color: var(--line); }
.steps li { border-bottom-color: var(--line); color: var(--muted); }
.steps li::before { color: #fff; border-radius: 12px; }
.steps b { color: var(--heading); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #4b4cff 0%, #5a4cf2 60%, #6248e6 100%); }
.cta-title { color: #fff; }

/* article */
.link-back { color: var(--muted); }
.link-back::before { color: var(--brand); }
.link-back:hover { color: var(--heading); }
.article-byline { color: var(--muted); }
.prose { color: var(--text); }
.prose a:hover { background: var(--brand-soft); }
.prose ol > li::before { color: var(--brand-ink); }
.prose code { background: var(--brand-soft); color: var(--heading); border-radius: 4px; }
.prose pre { background: var(--glass-strong); border: 1px solid var(--glass-border); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); }
.prose pre code { background: none; color: var(--heading); }
.article-cover img { border: 0; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.article-cta { color: var(--heading); }

/* contacts & form */
.contact-value:hover { color: var(--brand-ink); }
.form input:not([type=checkbox]), .form textarea {
  background: var(--glass-strong); color: var(--heading); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
}
.form input:focus, .form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(75, 76, 255, .18); }
.form .small { color: var(--muted); }
.form .small a, .chb a { color: var(--heading); }

/* placeholders for art slots */

/* ============================================================= polish pass */
/* page heads: tighter, airy */
.page-head { padding: 88px 0 24px; }
.page-head + .section { padding-top: 56px; }
.page-head + .section-tight { padding-top: 32px; }
@media (max-width: 767px) { .page-head { padding: 56px 0 8px; } .page-head + .section { padding-top: 40px; } }

/* statement: glass panel inside the container instead of a full-bleed band */
.statement { background: none !important; border: 0; box-shadow: none; padding: calc(var(--section) / 2) 0; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.statement > .container {
  max-width: calc(var(--container) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter));
  padding: clamp(32px, 6vw, 72px); border-radius: var(--radius-lg);
  background: var(--glass-solid); border: 1px solid var(--glass-border); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.statement > .container::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 76, 255, .22), transparent 70%); pointer-events: none;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .statement > .container { background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
}
@media (prefers-reduced-transparency: reduce) { .statement > .container { background: var(--glass-solid) !important; } }

/* hero: art slot in the side panel */
.hero::before { display: none; }
.hero-art {
  position: absolute; right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  top: 50%; transform: translateY(-58%); width: min(30vw, 400px); z-index: 0;
}
.hero-art img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-inner { z-index: 1; }
@media (max-width: 1023px) { .hero-art { display: none; } }

/* "It just works": label lives in the window bar */
.screen-bar { align-items: center; }
.screen-label {
  position: static; transform: none; margin-left: 10px;
  font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.screen-title { text-align: center; }
.screen-note { text-align: center; }

/* cards: equal rhythm, nicer icon tiles */
.card-icon { padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); }
.cards-plain .card { display: flex; flex-direction: column; gap: 4px; }

/* section heads without eyebrow keep their spacing */
.section-head .section-title { margin: 0; }

/* contacts: cards row only as wide as its content */
.contact-cards { grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); }

/* footer logo row aligned */
.footer-brand img { width: 40px; }

/* links in text columns */
.col a { padding-bottom: 1px; }

/* hero sizing with the art slot */
@media (min-width: 1024px) {
  .hero-type { font-size: clamp(3.4rem, 8.4vw, 8.75rem); }
  .hero-art { width: min(24vw, 340px); transform: translateY(-60%); }
}
@media (max-width: 767px) {
  .hero { min-height: 0; }
  .hero-inner { padding-top: 72px; padding-bottom: 40px; }
}

/* ============================================ cards without icons, art */
/* calm, typographic cards: generous padding, a short brand rule above the title */
.card { padding: 36px 32px; }
.card-title { font-size: 1.3rem; }
.card:not(.has-art) .card-title::before {
  content: ""; display: block; width: 28px; height: 3px; margin-bottom: 20px;
  border-radius: 2px; background: var(--brand);
}
.cards-numbered .card .card-title::before { display: none; }
.cards-numbered .card::after { position: static; display: block; margin-bottom: 18px; font-size: 13px; letter-spacing: .08em; }
.cards-numbered .card { display: flex; flex-direction: column; }
.cards-numbered .card::after { order: -1; }
.cards-plain .card p::before { content: none; }
/* cards with an illustration (home features, about expertise) */
.cards-art .card { text-align: left; }
.cards-art .card-title::before { display: none; }
.card-art { width: 100%; max-width: 200px; aspect-ratio: 1; object-fit: contain; margin: 0 0 24px; border-radius: var(--radius); }
.cards-4.cards-art .card-art { max-width: 140px; }
@media (max-width: 639px) { .card-art { max-width: 160px; } }
/* map pin: simple CSS marker */
.map-pin { align-items: center; transform: translate(-9px, -50%); }
.pin-dot {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--brand); box-shadow: 0 0 0 5px rgba(255, 255, 255, .9), 0 0 0 6px var(--line-2), 0 6px 16px rgba(75, 76, 255, .45);
  animation: pinPulse 2.4s ease-out infinite;
}
@keyframes pinPulse { 0% { box-shadow: 0 0 0 5px rgba(255,255,255,.9), 0 0 0 6px var(--line-2), 0 0 0 6px rgba(75,76,255,.35); } 80%, 100% { box-shadow: 0 0 0 5px rgba(255,255,255,.9), 0 0 0 6px var(--line-2), 0 0 0 22px rgba(75,76,255,0); } }
/* hero without a side illustration */
@media (min-width: 1024px) { .hero-type { font-size: clamp(3.4rem, 9.6vw, 9.5rem); } }
/* product badges derived from the logo mark */
.product-tile img, .feature-card img { border-radius: 22%; }
.page-head-product .product-badge { border-radius: 22%; box-shadow: var(--shadow-lg); }

/* ===================================================== art system match
   The supplied illustrations use: #101010 outlines, electric blue fills,
   45° blue stripes on white, red-orange dots with a dark outline. The UI
   borrows exactly these details so page and art read as one system. */
:root {
  --ink: #101010;
  --stroke: 1.5px;
  --stripes: repeating-linear-gradient(-45deg, var(--brand) 0 2px, #fff 2px 6px);
}
/* pictures */
picture { display: block; }
picture img { width: 100%; height: auto; }
.card-art { width: 100%; max-width: 220px; margin: 0 0 22px; }
.card-art img { aspect-ratio: 1; object-fit: contain; }
.cards-4.cards-art .card-art { max-width: 150px; }
.cards-art .card { padding-top: 28px; }
/* striped rule above card titles and eyebrows (the art's stripe motif) */
.card:not(.has-art) .card-title::before, .card-demo h4::before {
  width: 36px; height: 8px; border-radius: 2px; background: var(--stripes);
  box-shadow: inset 0 0 0 var(--stroke) var(--ink);
}
.eyebrow::before { height: 6px; width: 20px; border-radius: 1px; background: var(--stripes); box-shadow: inset 0 0 0 1px var(--ink); }
.feature-card .eyebrow::before { background: repeating-linear-gradient(-45deg, #fff 0 2px, transparent 2px 6px); box-shadow: inset 0 0 0 1px #fff; }
/* hero: the status dot becomes the art's red-orange dot */
.live-dot { border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 .05em var(--ink); animation: none; }
.hero-line-3 { background-image: repeating-linear-gradient(-45deg, var(--brand) 0 4px, rgba(75, 76, 255, .16) 4px 10px); }
/* screens and dashboards: rounded white card with an ink outline, like the art's cards */
.dashboard { padding: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 var(--stroke) var(--ink); }
.dashboard img { box-shadow: none; border-radius: 0; }
.screen { box-shadow: var(--shadow-lg), 0 0 0 var(--stroke) var(--ink); }
.screen-bar span:first-child { box-shadow: 0 0 0 1px var(--ink); }
/* steps: blue squares with an ink outline */
.steps li::before { box-shadow: 0 0 0 var(--stroke) var(--ink); }
/* quotes: striped edge */
.quote { border-left: 0; background-image: var(--stripes); background-size: 6px 100%; background-repeat: no-repeat; padding-left: 34px; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .quote { background-color: var(--glass); }
}
/* map: two pins at true coordinates (positions come from the projection used to draw the map) */
.map { position: relative; }
.map img { width: 100%; height: auto; }
.map-pin { position: absolute; display: flex; align-items: center; gap: 10px; transform: translate(-9px, -50%); }
.map-pin-tallinn { left: 41.9%; top: 11.15%; }
.map-pin-kyiv { left: 56.3%; top: 59.73%; }
.pin-dot { width: 16px; height: 16px; background: var(--accent-2); box-shadow: 0 0 0 2px var(--ink), 0 0 0 6px rgba(255, 255, 255, .9); animation: none; }
.map-pin p { box-shadow: var(--shadow), 0 0 0 1px var(--ink); border: 0; }
.map-credit { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: var(--muted); }
@media (max-width: 767px) { .map-pin p { padding: 4px 8px; } .map-pin strong { font-size: .95rem; } }
/* product badges and cover frame get the same outline */
.product-tile img, .feature-card img, .page-head-product .product-badge { box-shadow: 0 0 0 var(--stroke) var(--ink); }
.cover-frame { box-shadow: var(--shadow), 0 0 0 var(--stroke) var(--ink); }
.post-card img { box-shadow: 0 0 0 var(--stroke) var(--ink); }

/* ------------------------------------------------------------------ platform, launch terms
   Claims (numbers and commercial terms) are rendered from SITE_CONFIG by js/main.js. */
html:not(.js-r2) [data-claim-block] { display: none; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }
@media (max-width: 1023px) and (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* jump links */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.jump a {
  padding: 8px 14px; border-radius: var(--radius-pill); font: 600 14px var(--sans); color: var(--heading);
  background: var(--glass-strong); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line-2);
}
.jump a:hover { box-shadow: var(--shadow-sm), 0 0 0 1px var(--brand); color: var(--brand-ink); }
.cap, .terms-section, #launch-terms, #infrastructure { scroll-margin-top: 96px; }

/* capability groups */
.cap { padding: calc(var(--section) * .55) 0; }
.cap-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.cap-head { position: sticky; top: 110px; }
.cap-num { font: 700 13px var(--sans); letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.cap-title { font: 700 clamp(1.6rem, 3vw, 2.4rem)/1.1 var(--display); letter-spacing: -.02em; color: var(--heading); }
.cap-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cap-list-1 { grid-template-columns: 1fr; }
.cap-list-1 .cap-item p { font-size: 17px; max-width: 640px; }
.cap-item { padding: 26px 24px; }
.cap-item .card-title { font-size: 1.15rem; }
@media (max-width: 899px) {
  .cap-grid { grid-template-columns: 1fr; gap: 24px; }
  .cap-head { position: static; }
}
@media (max-width: 599px) { .cap-list { grid-template-columns: 1fr; } }

/* term tiles (infrastructure, launch terms) */
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.term { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; }
.term b { font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.05 var(--display); letter-spacing: -.02em; color: var(--heading); }
.term > span { color: var(--muted); font-size: 15px; }
.card.term .card-title::before { display: none; }
.terms-note { margin-top: 24px; color: var(--muted); font-size: 14px; }
@media (max-width: 1023px) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .terms { grid-template-columns: 1fr; } }

/* home launch strip */
.launch-strip { padding: 0 0 calc(var(--section) * .6); }
.strip {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  padding: 22px 28px; border-radius: var(--radius); background: var(--glass-strong);
  box-shadow: var(--shadow), 0 0 0 var(--stroke) var(--ink);
}
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.strip li { position: relative; color: var(--text); font-size: 15px; }
.strip li + li::before { content: ""; position: absolute; left: -16px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--accent-2); }
.strip b { font-weight: 700; color: var(--heading); }
@media (max-width: 767px) { .strip ul { flex-direction: column; gap: 8px; } .strip li + li::before { display: none; } }

/* link from solution pages to /platform/ */
.platform-link { width: 100%; padding-right: 72px; }
.platform-link-title { font-size: clamp(1.25rem, 2.4vw, 1.7rem); max-width: 820px; }

/* "how it works" diagram: HTML/CSS, real text. Columns on desktop, stacked on phones. */
.flow {
  margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 128px minmax(0, 1.15fr) 128px minmax(0, 1fr); align-items: center;
  padding: clamp(20px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--glass-strong);
  box-shadow: var(--shadow), 0 0 0 var(--stroke) var(--ink);
}
.flow-col { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); background: var(--bg-2); box-shadow: 0 0 0 var(--stroke) var(--ink); }
.flow-label { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brand-ink); }
.flow-who { font: 700 1.2rem/1.2 var(--display); color: var(--heading); letter-spacing: -.01em; }
.flow-items { display: grid; margin-top: 6px; }
.flow-items li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
.flow-core { align-items: center; text-align: center; gap: 10px; padding: 26px 20px;
  border: 10px solid transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--stripes) border-box; }
.flow-core .flow-label { font: 700 1.25rem/1.2 var(--display); letter-spacing: -.01em; text-transform: none; color: var(--heading); }
.flow-mark { width: 56px; height: 56px; }
.flow-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.flow-chips li { padding: 7px 12px; border: 0; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--heading); font-weight: 600; font-size: 13px; }
.flow-pipe { display: flex; flex-direction: column; gap: 18px; padding: 0 12px; }
.flow-arrow { position: relative; display: block; padding-bottom: 12px; text-align: center; font: 600 12px/1.2 var(--sans); }
.flow-arrow::before { content: ""; position: absolute; bottom: 3px; height: 1.5px; background: currentColor; }
.flow-arrow::after { content: ""; position: absolute; bottom: -1px; border: 4.5px solid transparent; }
.flow-fwd { color: var(--ink); }
.flow-fwd::before { left: 0; right: 7px; }
.flow-fwd::after { right: -1px; border-left: 9px solid currentColor; border-right-width: 0; }
.flow-back { color: var(--brand-ink); }
.flow-back::before { left: 7px; right: 0; }
.flow-back::after { left: -1px; border-right: 9px solid currentColor; border-left-width: 0; }
.flow-compact { grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr) 112px minmax(0, 1fr); padding: clamp(18px, 2.6vw, 32px); }
.flow-compact .flow-col { padding: 18px; }
.flow-compact .flow-items li { padding: 6px 0; font-size: 13px; }
.flow-compact .flow-mark { width: 44px; height: 44px; }
.how-home .flow + p { margin-top: 24px; }
@media (max-width: 899px) {
  .flow, .flow-compact { grid-template-columns: 1fr; }
  .flow-pipe { flex-direction: row; justify-content: center; gap: 36px; padding: 0; height: 68px; }
  .flow-arrow { display: flex; align-items: center; height: 100%; padding: 0 0 0 16px; }
  .flow-arrow::before { left: 4px; right: auto; width: 1.5px; height: auto; }
  .flow-arrow::after { left: 0; right: auto; border: 4.5px solid transparent; }
  .flow-fwd::before { top: 0; bottom: 7px; }
  .flow-fwd::after { top: auto; bottom: -1px; border-top: 9px solid currentColor; border-bottom-width: 0; }
  .flow-back { order: -1; }
  .flow-back::before { top: 7px; bottom: 0; }
  .flow-back::after { top: -1px; bottom: auto; border-bottom: 9px solid currentColor; border-top-width: 0; }
}

/* why Xendiz, solutions lead */
.why-cards .card p { font-size: 15px; }
.solutions-lead { max-width: 860px; }
.solutions-lead .link-arrow { margin-left: 6px; }

/* ------------------------------------------------------------------ motion */
/* Reveal hook: content is hidden only under the class the CURRENT main.js sets (js-r2). A stale cached script from an
   older version sets a different class, so nothing is hidden. Fail-safe: until main.js marks the reveal system ready
   (reveal-ready), a 0s animation starting at 2.5s forces every hidden block visible, so a failed or crashed script
   can never leave the page blank. */
html.js-r2 .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.js-r2:not(.reveal-ready) .reveal { animation: revealFailsafe 0s 2.5s forwards; }
html.js-r2 .reveal.is-in { opacity: 1; transform: none; }
html.js-r2 .card.reveal.is-in:hover { transform: translateY(-4px); }
@keyframes revealFailsafe { to { opacity: 1; transform: none; } }

/* hero lines: hidden only under js-r2 and always end visible through their own forwards entrance animations */
html.js-r2 .hero-line { opacity: 0; transform: translateY(40px); animation: lineIn .9s var(--ease) forwards; }
html.js-r2 .hero-line-2 { animation-delay: .12s; }
html.js-r2 .hero-line-3 { animation: lineIn .9s var(--ease) .24s forwards; }
html.js-r2 .hero-foot { opacity: 0; animation: fadeIn .8s ease .6s forwards; }
.live-dot { animation: pulse 2.2s ease-out infinite; }
.hero-down span { animation: nudge 2.4s var(--ease) infinite; }
@keyframes lineIn { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(75, 76, 255, .7); } 80%, 100% { box-shadow: 0 0 0 .4em rgba(75, 76, 255, 0); } }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateY(6px); } }


/* ------------------------------------------------------------------ hero slogan: fit + "Platform" stripes
   Sizes: the widest line ("Ad Management", 7.23em at -.05em tracking) always fits the container, from 320px up.
   "Platform" is real text. BASE (always): the text itself carries static blue stripes (background-clip: text), and
   falls back to solid blue where that is unsupported. ENHANCEMENT (where clip-path url() is supported): an overlay clipped to the same word by the SVG clipPath #pf-clip (same font, size and
   tracking) holds an oversized striped layer that moves with transform only (compositor, no repaint), one stripe
   period per loop, linear and seamless. Stripes are wide (max(3px, .05em)) with 2px soft edges, so nothing crawls on
   the pixel grid. */
.hero-inner { container-type: inline-size; }
.hero-type { font-size: min(9.5rem, calc((100vw - 2 * var(--gutter)) / 7.4)); }
@supports (font-size: 1cqi) { .hero-type { font-size: min(9.5rem, calc(100cqi / 7.4)); } }
.hero-line { white-space: nowrap; min-height: .88em; }
.hero-line-1 { min-height: 0; }
.hero-line-3 { color: var(--brand); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.pf {
  --pf-s: max(3px, .05em);                         /* stripe width = gap width */
  --pf-stripes: repeating-linear-gradient(-45deg,
    var(--brand) 0, var(--brand) calc(var(--pf-s) - 2px),
    rgba(75, 76, 255, .16) var(--pf-s), rgba(75, 76, 255, .16) calc(var(--pf-s) * 2 - 2px),
    var(--brand) calc(var(--pf-s) * 2));
  position: relative; display: inline-block; vertical-align: top;
  color: var(--brand);                             /* fallback: solid blue */
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pf { background-image: var(--pf-stripes); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.pf-move { display: none; }
.pf-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Owner decision: the hero's signature motion (these stripes, the live-dot pulse and the arrow nudge) plays for every
   visitor, including under prefers-reduced-motion; see the exemption in the reduced-motion rule below. */
@supports (clip-path: url(#pf-clip)) {
  .pf { background-image: none; }                 /* the moving overlay takes over; the text stays selectable */
  .pf-move { display: block; position: absolute; left: 0; top: 0; width: 3.72609em; height: .88em; clip-path: url(#pf-clip); pointer-events: none; }
  .pf-flow {
    position: absolute; top: -.1em; bottom: -.1em; left: calc(var(--pf-s) * -6); right: -.1em;
    background: var(--pf-stripes);
    will-change: transform; transform: translate3d(0, 0, 0);
    animation: pfFlow 1.6s linear infinite;
  }
}
/* one horizontal period of 45deg stripes = perpendicular period (2s) x sqrt 2 */
@keyframes pfFlow { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(var(--pf-s) * 2.8284271), 0, 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *:not(.pf-flow, .live-dot, .hero-down > span), *::before, *::after { animation: none !important; transition: none !important; }
  /* exempt by owner decision: .pf-flow (Platform stripes), .live-dot (pulse), .hero-down > span (arrow nudge) */
  html.js-r2 .reveal, html.js-r2 .hero-line, html.js-r2 .hero-foot { opacity: 1; transform: none; }
  .underline-anim { background-size: 100% 6px; }
}
