/* PrivaFocus website. Self-hosted fonts (no third-party requests), no framework. */
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('/assets/fonts/space-grotesk.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --ink: #0a1430; --ink-2: #26324f; --muted: #5a6a8c; --line: #e2e8f2; --line-2: #eef2f8;
  --bg: #f6f8fc; --card: #fff;
  --navy: #061232; --navy-2: #0a1f4e; --navy-3: #112c66;
  --blue: #2563ff; --cyan: #1fb6f0; --green: #13c98c; --teal: #0ea597; --teal-text: #07756b; --amber: #f2a93b; --red: #e5484d;
  --grad: linear-gradient(115deg, #2563ff 0%, #1fb6f0 45%, #13c98c 100%);
  --grad-soft: linear-gradient(115deg, rgba(37, 99, 255, .12), rgba(19, 201, 140, .12));
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 20, 48, .06), 0 2px 8px rgba(10, 20, 48, .05);
  --shadow: 0 12px 32px -12px rgba(10, 20, 48, .18), 0 2px 6px rgba(10, 20, 48, .05);
  --shadow-lg: 0 40px 80px -30px rgba(6, 18, 50, .45);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Nirmala UI', 'Noto Sans', sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- buttons, chips, badges */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem/1 var(--font); padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease; white-space: nowrap; text-decoration: none !important; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #fff; background: var(--grad); background-size: 140% 100%; box-shadow: 0 10px 24px -10px rgba(37, 99, 255, .6); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 14px 30px -10px rgba(19, 201, 140, .55); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: #c9d3e6; box-shadow: var(--shadow-sm); }
.btn-light { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255, 255, 255, .16); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 500; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 600 .7rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.badge-live { color: #087a55; background: #ddf8ec; }
.badge-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(19, 201, 140, .25); }
.badge-soon { color: #8a5a07; background: #fff1d6; }
.badge-example { color: #3b4aa8; background: #e6e9ff; }

/* ---------------------------------------------------------------- header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line-2); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }
.brand .brand-light { display: none; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: .95rem; text-decoration: none; transition: background .15s, color .15s; }
.main-nav ul a:hover, .main-nav ul a[aria-current="page"] { background: var(--line-2); color: var(--ink); }
.chev { width: 14px; height: 14px; transition: transform .2s; }
.has-menu { position: relative; }
.has-menu.open .chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0; width: min(860px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.has-menu.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mega-title { font: 600 .72rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 12px 10px; }
.main-nav .mega a { display: block; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.main-nav .mega a:hover { background: var(--bg); }
.mega a b { display: block; font-weight: 600; font-size: .95rem; }
.mega a span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: 2px; }
.main-nav .mega-all span { display: inline; margin-left: 4px; color: inherit; font-size: inherit; }
.main-nav .mega-all { margin-top: 10px; border-top: 1px solid var(--line-2); border-radius: 0 0 12px 12px; padding: 14px 12px 4px; color: var(--blue); font-weight: 600; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; padding: 11px 10px; }
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; color: var(--ink); }
/* Over the dark hero, until the page scrolls */
.has-dark-hero .site-header:not(.is-solid) { background: transparent; border-color: transparent; backdrop-filter: none; }
.has-dark-hero .site-header:not(.is-solid) .brand-light { display: block; }
.has-dark-hero .site-header:not(.is-solid) .brand-dark { display: none; }
.has-dark-hero .site-header:not(.is-solid) .main-nav > ul > li > a { color: rgba(255, 255, 255, .86); }
.has-dark-hero .site-header:not(.is-solid) .main-nav > ul > li > a:hover, .has-dark-hero .site-header:not(.is-solid) .main-nav > ul > li > a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #fff; }
.has-dark-hero .site-header:not(.is-solid) .nav-toggle span { color: #fff; }
.site-header.is-solid { box-shadow: 0 6px 24px -18px rgba(10, 20, 48, .4); }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-white { background: #fff; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.65; }
.section-dark { background: radial-gradient(1200px 600px at 85% -10%, rgba(31, 182, 240, .16), transparent 60%), radial-gradient(900px 500px at 0% 110%, rgba(19, 201, 140, .14), transparent 60%), var(--navy); color: #c9d5ee; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lead, .section-dark .muted { color: #9fb0d3; }
.section-dark .eyebrow { color: #5cf0c2; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(64px, 8vw, 110px); color: #c9d5ee; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 520px at 78% 18%, rgba(37, 99, 255, .35), transparent 62%), radial-gradient(700px 520px at 95% 85%, rgba(19, 201, 140, .25), transparent 60%), radial-gradient(600px 400px at 0% 0%, rgba(31, 182, 240, .12), transparent 60%); }
.hero-grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); }
.hero h1 { color: #fff; max-width: 13ch; }
.hero .lead { color: #a9b9da; max-width: 560px; margin: 22px 0 32px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #d7e2f7; font-size: .85rem; margin-bottom: 26px; }
.hero-badge b { font-weight: 600; color: #04122f; background: linear-gradient(115deg, #5cf0c2, #7fd6ff); padding: 4px 10px; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; padding: 0; list-style: none; color: #9fb0d3; font-size: .9rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: #5cf0c2; flex: none; }
.lang-rotator { display: inline-grid; vertical-align: bottom; }
.lang-rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%); transition: opacity .45s ease, transform .45s ease; white-space: nowrap; }
.lang-rotator > span.on { opacity: 1; transform: none; }
.lang-rotator > span.off { opacity: 0; transform: translateY(-40%); }

/* Product visual: browser frame with floating evidence cards */
.stage { position: relative; perspective: 1600px; }
.browser { position: relative; border-radius: 16px; background: #0d1d44; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .04) inset; overflow: hidden; transform: rotateY(-9deg) rotateX(4deg) rotateZ(.5deg); transform-origin: 30% 50%; transition: transform .6s ease; }
.stage:hover .browser { transform: rotateY(-4deg) rotateX(2deg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.browser-bar span { margin-left: 10px; font-size: .74rem; color: #8ea2c9; background: rgba(255, 255, 255, .06); padding: 4px 12px; border-radius: 999px; flex: 1; max-width: 300px; }
.float-card { position: absolute; display: flex; gap: 12px; align-items: flex-start; width: 270px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .5); font-size: .82rem; line-height: 1.4; animation: floaty 7s ease-in-out infinite; }
.float-card b { display: block; font-size: .88rem; margin-bottom: 2px; }
.float-card small { color: var(--muted); font-size: .76rem; display: block; }
.float-card code { font: 500 .72rem/1 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--teal); background: #e9fbf4; padding: 3px 6px; border-radius: 6px; display: inline-block; margin-top: 6px; }
.float-card .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-card .ic svg { width: 18px; height: 18px; }
.fc-1 { left: -36px; top: 18%; } .fc-1 .ic { background: linear-gradient(135deg, #13c98c, #0ea597); }
.fc-2 { right: -26px; top: 50%; animation-delay: -2.4s; } .fc-2 .ic { background: linear-gradient(135deg, #f2a93b, #e5734d); }
.fc-3 { left: 6%; bottom: -34px; animation-delay: -4.6s; } .fc-3 .ic { background: linear-gradient(135deg, #2563ff, #1fb6f0); }
.timer { display: flex; gap: 4px; margin-top: 8px; }
.timer i { height: 5px; flex: 1; border-radius: 4px; background: #eef2f8; overflow: hidden; position: relative; }
.timer i::after { content: ''; position: absolute; inset: 0; width: var(--w, 0%); background: linear-gradient(90deg, #f2a93b, #e5734d); border-radius: 4px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------------------------------------------------------------- built-for strip */
.strip { background: #fff; border-bottom: 1px solid var(--line-2); }
.strip-inner { display: flex; align-items: center; gap: 28px; padding: 26px 0; flex-wrap: wrap; justify-content: center; }
.strip-inner p { margin: 0; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.strip-inner ul { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; justify-content: center; }
.strip-inner li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.strip-inner li svg { width: 18px; height: 18px; color: var(--teal); }

/* ---------------------------------------------------------------- generic grids and cards */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4dcec; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--blue); background: var(--grad-soft); }
.card .icon svg { width: 22px; height: 22px; }
.card-link { position: absolute; inset: 0; border-radius: inherit; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .92rem; }
.card-more svg { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.card:hover .card-more svg { transform: translateX(3px); }
.card ul.ticks { margin-top: 14px; }
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
ul.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: .95rem; }
ul.ticks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: #ddf8ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230ea597' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section-dark ul.ticks li { color: #c9d5ee; }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.section-dark .card p { color: #9fb0d3; }
.section-dark .card:hover { border-color: rgba(92, 240, 194, .35); background: rgba(255, 255, 255, .06); }
.section-dark .card .icon { color: #5cf0c2; background: rgba(92, 240, 194, .1); }

/* ---------------------------------------------------------------- deadline / timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 12px; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); opacity: .35; }
.tl-item { position: relative; padding: 42px 18px 0 0; }
.tl-item::before { content: ''; position: absolute; top: 6px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.tl-item.now::before { border-color: var(--green); box-shadow: 0 0 0 6px rgba(19, 201, 140, .18); }
.tl-item .when { font: 700 1.05rem/1.2 var(--display); color: var(--ink); }
.tl-item p { color: var(--muted); font-size: .93rem; margin: 6px 0 0; }
.penalty { display: flex; align-items: center; gap: 22px; margin-top: 46px; padding: 26px 30px; border-radius: var(--r-lg); background: linear-gradient(115deg, #0a1f4e, #0c3a5c); color: #c9d5ee; }
.penalty strong { font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--display); color: #fff; white-space: nowrap; }
.penalty p { margin: 0; }

/* ---------------------------------------------------------------- product tour tabs */
.tour { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: start; }
.tour-tabs { display: grid; gap: 8px; }
.tour-tab { text-align: left; padding: 16px 18px; border-radius: var(--r); border: 1px solid transparent; background: transparent; cursor: pointer; font: inherit; color: #9fb0d3; transition: background .2s, border-color .2s, color .2s; }
.tour-tab b { display: block; color: #fff; font: 600 1.02rem/1.3 var(--display); margin-bottom: 3px; }
.tour-tab span { font-size: .88rem; line-height: 1.45; display: block; }
.tour-tab[aria-selected="true"] { background: rgba(255, 255, 255, .06); border-color: rgba(92, 240, 194, .35); }
.tour-tab[aria-selected="true"] b { color: #5cf0c2; }
.tour-tab:hover { background: rgba(255, 255, 255, .04); }
.tour-panel { border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: #0d1d44; box-shadow: var(--shadow-lg); }
.tour-panel img { width: 100%; animation: fadeIn .4s ease; }
.tour-caption { padding: 16px 20px; font-size: .9rem; color: #9fb0d3; border-top: 1px solid rgba(255, 255, 255, .08); }
@keyframes fadeIn { from { opacity: 0; transform: scale(.99); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- split feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.shot { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.shot-tall { max-width: 340px; margin-inline: auto; border-radius: 28px; border: 8px solid #0a1430; box-shadow: var(--shadow-lg); }
.shot-tall img { max-height: 600px; width: 100%; object-fit: cover; object-position: top; }
.feature-row + .feature-row { margin-top: clamp(64px, 8vw, 110px); }
.feature-row h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.kpis { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 26px; }
.kpis div { min-width: 120px; }
.kpis strong { display: block; font: 700 1.9rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpis span { font-size: .86rem; color: var(--muted); }

/* ---------------------------------------------------------------- languages */
.langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.lang { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .2s, background .2s, transform .2s; }
.lang:hover { border-color: rgba(92, 240, 194, .45); background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.lang b { font-size: 1.15rem; color: #fff; font-weight: 600; line-height: 1.5; }
.lang span { font-size: .78rem; color: #8ea2c9; display: flex; justify-content: space-between; gap: 6px; }
.lang em { font-style: normal; color: #5cf0c2; font-weight: 600; }
.lang[dir="rtl"] b { text-align: right; }

/* ---------------------------------------------------------------- steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; padding: 28px 24px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font: 700 .9rem/1 var(--display); color: var(--teal-text); letter-spacing: .08em; margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------------------------------------------------------------- deployment / integrations */
.deploy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.logos-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.logos-row span { padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- case studies */
.case { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; padding: 40px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.case + .case { margin-top: 24px; }
.case-side h2 { font-size: 1.6rem; margin-top: 14px; }
.case-side .industry { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.case-side .industry svg { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--grad-soft); color: var(--blue); }
.case-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-body h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-text); font-family: var(--font); font-weight: 700; }
.case-body p, .case-body li { color: var(--ink-2); font-size: .95rem; }
.case-body ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.note { padding: 16px 20px; border-radius: var(--r); background: #eef1ff; border: 1px solid #d9defd; color: #31407f; font-size: .92rem; }

/* ---------------------------------------------------------------- page hero (inner pages) */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(48px, 6vw, 72px); background: radial-gradient(800px 400px at 90% 0%, rgba(31, 182, 240, .12), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(19, 201, 140, .1), transparent 60%), #fff; border-bottom: 1px solid var(--line-2); }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 18ch; }
.page-hero .lead { max-width: 680px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.anchor-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.anchor-nav ul { display: flex; gap: 6px; list-style: none; padding: 10px 0; margin: 0; overflow-x: auto; scrollbar-width: none; }
.anchor-nav a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.anchor-nav a:hover, .anchor-nav a.active { background: var(--line-2); color: var(--ink); }

/* Module blocks on the platform page */
.module { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line-2); }
.module:nth-of-type(even) > .module-media { order: -1; }
.module h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.module-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.module .ticks { margin-top: 18px; }
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.roadmap .card { padding: 22px; }

/* ---------------------------------------------------------------- prose (guide, legal) */
.prose { font-size: 1.02rem; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.prose th { background: var(--bg); font-weight: 600; color: var(--ink); font-size: .85rem; }
.prose tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); font-size: .9rem; }
.toc p { font-weight: 700; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); }
.with-toc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
.callout { padding: 20px 22px; border-radius: var(--r); background: var(--grad-soft); border: 1px solid #cfe7ef; margin: 1.6em 0; }
.callout p:last-child { margin: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* ---------------------------------------------------------------- forms and booking */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); }
.panel h2 { font-size: 1.6rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .95rem; padding: 12px 14px; border: 1px solid #d3dbea; border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 255, .12); }
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(229, 72, 77, .1); }
.field .error { color: var(--red); font-size: .82rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); margin-bottom: 10px; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid #d3dbea; font-size: .86rem; cursor: pointer; transition: all .15s; background: #fff; }
.pill input:checked + span { background: #e6f9f2; border-color: var(--teal); color: #076c50; font-weight: 600; }
.pill input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.hp { position: absolute !important; left: -5000px !important; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: .92rem; display: none; }
.form-status.ok { display: block; background: #e6f9f2; color: #075f47; border: 1px solid #bdeedb; }
.form-status.err { display: block; background: #fdecec; color: #8f1d22; border: 1px solid #f6c8ca; }
.tabs-switch { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--line-2); margin-bottom: 24px; }
.tabs-switch button { border: 0; background: transparent; font: 600 .92rem/1 var(--font); padding: 11px 20px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.tabs-switch button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.booking-steps { display: flex; gap: 6px; margin-bottom: 22px; }
.booking-steps li { flex: 1; list-style: none; font-size: .78rem; font-weight: 600; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); }
.booking-steps li.on { color: var(--ink); border-color: var(--teal); }
.booking-steps { padding: 0; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { border: 1px solid #d3dbea; background: #fff; border-radius: 14px; padding: 10px 4px; cursor: pointer; text-align: center; font: inherit; transition: all .15s; }
.day small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.day b { display: block; font: 700 1.25rem/1.2 var(--display); color: var(--ink); }
.day span { display: block; font-size: .72rem; color: var(--muted); }
.day:hover:not([disabled]) { border-color: var(--teal); }
.day[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); }
.day[aria-pressed="true"] b, .day[aria-pressed="true"] small, .day[aria-pressed="true"] span { color: #fff; }
.day[disabled] { opacity: .38; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 18px; }
.slot { border: 1px solid #d3dbea; background: #fff; border-radius: 12px; padding: 11px 6px; font: 600 .9rem/1 var(--font); cursor: pointer; color: var(--ink); transition: all .15s; }
.slot:hover { border-color: var(--teal); color: #076c50; }
.slot[aria-pressed="true"] { background: var(--grad); color: #fff; border-color: transparent; }
.tz-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.chosen { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 20px; font-size: .92rem; }
.chosen svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.chosen button { margin-left: auto; background: none; border: 0; color: var(--blue); font: 600 .85rem var(--font); cursor: pointer; }
.booked { text-align: center; padding: 20px 0; }
.booked .big-check { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 16px 40px -14px rgba(19, 201, 140, .7); }
.booked .big-check svg { width: 34px; height: 34px; }
.booked .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.aside-list { display: grid; gap: 16px; }
.aside-item { display: flex; gap: 14px; }
.aside-item .icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--blue); }
.aside-item .icon svg { width: 20px; height: 20px; }
.aside-item b { display: block; }
.aside-item p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.loading-dots::after { content: '...'; animation: dots 1.2s steps(4) infinite; display: inline-block; width: 1.2em; overflow: hidden; vertical-align: bottom; }
@keyframes dots { 0% { width: 0; } 100% { width: 1.2em; } }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #9fb0d3; padding: 0 0 36px; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 48px; border-radius: var(--r-lg); background: radial-gradient(600px 240px at 100% 0%, rgba(19, 201, 140, .35), transparent 60%), radial-gradient(500px 240px at 0% 100%, rgba(37, 99, 255, .45), transparent 60%), #0b2150; border: 1px solid rgba(255, 255, 255, .1); transform: translateY(-50%); box-shadow: var(--shadow-lg); }
.footer-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
.footer-cta p { margin: 0; color: #b9c8e6; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; margin-top: -10px; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; }
.site-footer .muted { color: #8fa3c9; }
.site-footer h3 { font: 600 .78rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 6px 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.site-footer a { color: #b9c8e6; }
.site-footer a:hover { color: #fff; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; display: grid; gap: 6px; }
.footer-base p { margin: 0; }
.footer-base .muted { color: #7387b0; max-width: 900px; }
/* pages without the footer CTA overlap need room above the footer */
main { display: block; }
main + .site-footer { margin-top: 120px; }

/* ---------------------------------------------------------------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .browser { transform: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .main-nav ul a { padding: 9px 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .case { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a, .has-dark-hero .site-header:not(.is-solid) .main-nav > ul > li > a { color: var(--ink); padding: 14px 4px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--line-2); width: 100%; justify-content: space-between; }
  .mega { position: static; translate: none; width: auto; box-shadow: none; border: 0; padding: 0 0 8px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-menu.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega a span { display: none; }
  .main-nav .mega a { padding: 10px 12px; border-bottom: 0; }
  .mega-title { margin-top: 14px; }
  .nav-cta { margin-top: 20px; }
  body.nav-open { overflow: hidden; }
  .nav-open .site-header { background: #fff !important; }
  .nav-open .site-header .main-nav > ul > li > a { color: var(--ink) !important; background: transparent !important; }
  .nav-open .site-header .brand-light { display: none !important; }
  .nav-open .site-header .brand-dark { display: block !important; }
  .nav-open .nav-toggle span { color: var(--ink) !important; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-inner, .split, .module, .contact-grid, .tour, .with-toc { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .module:nth-of-type(even) > .module-media { order: 0; }
  .stage { max-width: 680px; margin: 30px auto 40px; }
  .g-3, .g-4, .steps, .deploy, .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .timeline::before { display: none; }
  .tour-tabs { grid-template-columns: repeat(2, 1fr); }
  .toc { position: static; }
  .case-body { grid-template-columns: 1fr; }
  .footer-cta { flex-direction: column; align-items: flex-start; padding: 32px; }
}
@media (max-width: 640px) {
  .wrap, .wrap-narrow { width: calc(100% - 32px); }
  .g-2, .g-3, .g-4, .steps, .deploy, .roadmap, .row-2, .timeline, .tour-tabs { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .float-card { width: 220px; padding: 11px 12px; font-size: .76rem; }
  .fc-1 { left: -8px; top: 8%; } .fc-2 { right: -8px; } .fc-3 { display: none; }
  .browser { transform: none; }
  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .penalty { flex-direction: column; align-items: flex-start; }
  .case { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1; }
}
