/* ============================================================
   Self-hosted fonts (woff2, latin subset, font-display:swap)
   Generated by Task 2 of the S1 marketing migration.
   ============================================================ */
@font-face { font-family:'Sora'; font-style:normal; font-weight:400; font-display:swap; src:url("fonts/sora-400.f544d77b0e9b.woff2") format('woff2'); }
@font-face { font-family:'Sora'; font-style:normal; font-weight:500; font-display:swap; src:url("fonts/sora-500.f544d77b0e9b.woff2") format('woff2'); }
@font-face { font-family:'Sora'; font-style:normal; font-weight:600; font-display:swap; src:url("fonts/sora-600.f544d77b0e9b.woff2") format('woff2'); }
@font-face { font-family:'Sora'; font-style:normal; font-weight:700; font-display:swap; src:url("fonts/sora-700.f544d77b0e9b.woff2") format('woff2'); }
@font-face { font-family:'Sora'; font-style:normal; font-weight:800; font-display:swap; src:url("fonts/sora-800.f544d77b0e9b.woff2") format('woff2'); }
@font-face { font-family:'Hanken Grotesk'; font-style:normal; font-weight:400; font-display:swap; src:url("fonts/hanken-400.a6b899943e31.woff2") format('woff2'); }
@font-face { font-family:'Hanken Grotesk'; font-style:normal; font-weight:500; font-display:swap; src:url("fonts/hanken-500.a6b899943e31.woff2") format('woff2'); }
@font-face { font-family:'Hanken Grotesk'; font-style:normal; font-weight:600; font-display:swap; src:url("fonts/hanken-600.a6b899943e31.woff2") format('woff2'); }
@font-face { font-family:'Hanken Grotesk'; font-style:normal; font-weight:700; font-display:swap; src:url("fonts/hanken-700.a6b899943e31.woff2") format('woff2'); }

/* ============================================================
   Etornie — corporate/product site styles
   Brand tokens mirror the product design system.
   Authored with logical properties for automatic RTL (Arabic).
   ============================================================ */

:root {
  /* brand */
  --royal: #1B5FC9;
  --royal-700: #164ea8;
  --mid: #2491D6;
  --cyan: #2BB7EA;
  --grad: linear-gradient(135deg, #1B5FC9, #2BB7EA);
  --grad-soft: linear-gradient(135deg, rgba(27,95,201,.08), rgba(43,183,234,.08));

  /* ink scale */
  --ink-900: #0F1B2D;
  --ink-800: #1F2D44;
  --ink-700: #33425B;
  --ink-600: #4A5A75;
  --ink-500: #64748B;
  --ink-400: #8A98AD;

  /* surfaces */
  --canvas: #F4F7FB;
  --canvas-200: #E2E8F0;
  --line: #E6ECF3;
  --white: #ffffff;

  /* status */
  --success: #1F8A5B;
  --warning: #C8821A;
  --danger: #D33D3D;
  --violet: #7A4DD0;

  /* type */
  --display: 'Sora', system-ui, sans-serif;
  --ui: 'Hanken Grotesk', system-ui, sans-serif;

  /* shape */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(15,27,45,.06), 0 1px 3px rgba(15,27,45,.04);
  --shadow: 0 4px 16px rgba(15,27,45,.07), 0 1px 4px rgba(15,27,45,.04);
  --shadow-lg: 0 18px 48px rgba(15,27,45,.14), 0 4px 12px rgba(15,27,45,.06);
  --shadow-xl: 0 40px 90px rgba(15,27,45,.20);

  --maxw: 1180px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ui);
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink-900); line-height: 1.1; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 2px; border-radius: 4px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 8vw, 116px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-canvas { background: var(--canvas); }
.bg-ink { background: var(--ink-900); color: #cdd6e4; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ui); font-weight: 700; font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--royal);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cyan); border-radius: 2px; }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); margin-top: 16px; text-wrap: balance; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--ink-500); text-wrap: pretty; }
.lead { font-size: 19px; color: var(--ink-500); }

/* gradient text accent */
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ui); font-weight: 600; font-size: 15px; line-height: 1;
  height: 48px; padding-inline: 24px; border-radius: 12px;
  border: 1px solid transparent; transition: all .18s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--royal); color: #fff; box-shadow: 0 6px 18px rgba(27,95,201,.28); }
.btn--primary:hover { background: var(--royal-700); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(27,95,201,.34); }
.btn--ghost { background: transparent; color: var(--ink-800); border-color: var(--canvas-200); }
.btn--ghost:hover { background: var(--canvas); border-color: var(--ink-400); }
.btn--light { background: #fff; color: var(--royal); }
.btn--light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.btn--sm { height: 40px; padding-inline: 16px; font-size: 14px; }
.btn--lg { height: 54px; padding-inline: 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .arrow { transform: translateX(-3px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(150%) blur(14px);
  border-block-end: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-block-end-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; color: var(--ink-900); font-size: 20px; letter-spacing: -0.02em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 19px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(27,95,201,.35);
}
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 12px; }
.nav a {
  font-weight: 500; font-size: 15px; color: var(--ink-600); padding: 9px 14px; border-radius: 9px;
  transition: color .15s, background .15s; position: relative;
}
.nav a:hover { color: var(--ink-900); background: var(--canvas); }
.nav a.active { color: var(--royal); font-weight: 600; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }

/* language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding-inline: 13px;
  border-radius: 10px; border: 1px solid var(--canvas-200); background: #fff; color: var(--ink-700);
  font-weight: 600; font-size: 14px; transition: all .15s;
}
.lang-btn:hover { border-color: var(--ink-400); }
.lang-btn svg { width: 16px; height: 16px; color: var(--ink-400); }
.lang-menu {
  position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; min-width: 188px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .16s ease; z-index: 50;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button, .lang-menu a {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 11px; border: 0; background: none;
  border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-700); text-align: start;
}
.lang-menu button:hover, .lang-menu a:hover { background: var(--canvas); }
.lang-menu a svg { width: 16px; height: 16px; color: var(--ink-400); flex: 0 0 auto; }
.lang-menu button.active { color: var(--royal); font-weight: 700; background: var(--grad-soft); }
.lang-menu .flag { font-size: 17px; line-height: 1; }
.lang-menu .sub { margin-inline-start: auto; font-size: 11px; color: var(--ink-400); font-weight: 600; }

/* portal split button */
.portal-group { display: flex; align-items: center; }

/* mobile nav */
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--canvas-200); border-radius: 10px; background: #fff; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; color: var(--ink-800); }
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: #fff; padding: calc(var(--header-h) + 16px) 24px 32px;
  display: flex; flex-direction: column; gap: 6px; transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: all .2s ease; overflow-y: auto;
}
.mobile-nav.open { transform: none; opacity: 1; visibility: visible; }
.mobile-nav a { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--ink-900); padding: 14px 4px; border-block-end: 1px solid var(--line); }
.mobile-nav .m-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: calc(var(--header-h) + 60px) 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg::before {
  content: ""; position: absolute; inset-block-start: -240px; inset-inline-end: -180px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(43,183,234,.16), transparent 62%); border-radius: 50%;
}
.hero-bg::after {
  content: ""; position: absolute; inset-block-end: -300px; inset-inline-start: -200px; width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(27,95,201,.12), transparent 64%); border-radius: 50%;
}
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); opacity: .5; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); letter-spacing: -0.025em; }
.hero h1 .grad-text { display: inline; }
.hero .lead { margin-top: 24px; max-width: 540px; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 34px; display: flex; gap: 28px; flex-wrap: wrap; }
.hero-meta .item { }
.hero-meta .num { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--ink-900); }
.hero-meta .lbl { font-size: 13.5px; color: var(--ink-500); margin-top: 2px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding-inline: 14px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid rgba(27,95,201,.15); color: var(--royal); font-weight: 600; font-size: 13px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(43,183,234,.18); }

/* ---------- product mockup (browser frame) ---------- */
.mock {
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-xl); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--canvas); border-block-end: 1px solid var(--line); }
.mock-bar .dots { display: flex; gap: 6px; }
.mock-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #d3dbe6; }
.mock-bar .url { margin-inline-start: 10px; flex: 1; height: 26px; border-radius: 7px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; padding-inline: 12px; font-size: 11.5px; color: var(--ink-400); font-family: var(--ui); gap: 6px; }
.mock-bar .url svg { width: 12px; height: 12px; color: var(--success); }
.mock-body { background: var(--canvas); }

/* app chrome inside mock */
.app { display: grid; grid-template-columns: 188px 1fr; min-height: 420px; font-size: 13px; }
.app-side { background: #fff; border-inline-end: 1px solid var(--line); padding: 14px 12px; }
.app-side .logo { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; color: var(--ink-900); font-size: 15px; padding: 4px 6px 14px; }
.app-side .logo .mark { width: 24px; height: 24px; border-radius: 7px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 13px; }
.app-nav-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink-500); font-weight: 500; font-size: 12.5px; margin-bottom: 2px; }
.app-nav-item svg { width: 16px; height: 16px; }
.app-nav-item.active { background: var(--grad-soft); color: var(--royal); font-weight: 600; }
.app-main { padding: 18px; overflow: hidden; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.app-topbar h4 { font-size: 16px; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi {
  background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 12px;
}
.kpi .lbl { font-size: 10.5px; color: var(--ink-400); font-weight: 500; }
.kpi .val { font-family: var(--display); font-weight: 700; color: var(--ink-900); font-size: 22px; margin-top: 4px; }
.kpi .chg { font-size: 10.5px; font-weight: 700; margin-top: 2px; }
.kpi .chg.up { color: var(--success); }
.kpi .chg.warn { color: var(--warning); }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.app-card h5 { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--ink-900); margin-bottom: 12px; }

/* mini table rows */
.row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-block-end: 1px solid var(--line); font-size: 12px; }
.row:last-child { border-block-end: 0; }
.row .flag { font-size: 15px; }
.row .nm { font-weight: 600; color: var(--ink-800); }
.row .sub { color: var(--ink-400); font-size: 11px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tag svg { width: 10px; height: 10px; }

/* ---------- feature grid ---------- */
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(27,95,201,.2); }
.feature .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad-soft); color: var(--royal);
}
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--ink-500); font-size: 15.5px; }
.feature . for { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--royal); }
.feature .for svg { width: 14px; height: 14px; }

/* IP pillars — colored accent variants */
.feature.trademark .ico { background: rgba(27,95,201,.1); color: var(--royal); }
.feature.patent .ico { background: rgba(122,77,208,.12); color: var(--violet); }
.feature.design .ico { background: rgba(43,183,234,.14); color: #1192c9; }

/* ---------- split (alternating image+text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-text h2 { font-size: clamp(26px, 3.2vw, 38px); margin-top: 16px; }
.split-text p { margin-top: 18px; color: var(--ink-500); font-size: 17px; }
.checklist { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-700); }
.checklist .ck { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; background: rgba(31,138,91,.12); color: var(--success); display: grid; place-items: center; margin-top: 1px; }
.checklist .ck svg { width: 14px; height: 14px; }

/* ---------- network / federation visual ---------- */
.net-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.net-node { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.net-node.root { border-color: rgba(27,95,201,.3); background: var(--grad-soft); }
.net-node .flag { font-size: 20px; }
.net-node .nm { font-weight: 700; color: var(--ink-900); font-size: 14px; }
.net-node .sub { font-size: 12px; color: var(--ink-400); }
.net-children { margin-inline-start: 22px; margin-top: 8px; border-inline-start: 2px solid var(--canvas-200); padding-inline-start: 18px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- AI / EtornieGPT panel ---------- */
.ai-shell { background: var(--ink-900); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); color: #cdd6e4; position: relative; overflow: hidden; }
.ai-shell::before { content: ""; position: absolute; inset-block-start: -160px; inset-inline-end: -120px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(43,183,234,.22), transparent 64%); }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.ai-shell h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.ai-shell p { color: #9fb0c6; margin-top: 18px; font-size: 17px; }
.chat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 20px; backdrop-filter: blur(8px); }
.chat-msg { display: flex; gap: 12px; margin-bottom: 16px; }
.chat-msg .av { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.chat-msg.user .av { background: rgba(255,255,255,.12); color: #fff; }
.chat-msg.bot .av { background: var(--grad); color: #fff; }
.chat-msg .bubble { font-size: 14px; line-height: 1.55; }
.chat-msg.user .bubble { color: #dbe5f0; }
.chat-msg.bot .bubble { background: rgba(43,183,234,.1); border: 1px solid rgba(43,183,234,.2); padding: 12px 14px; border-radius: 12px; color: #e8f1f8; }
.chat-input { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: #7e90a8; }
.chat-input .send { margin-inline-start: auto; width: 30px; height: 30px; border-radius: 8px; background: var(--royal); display: grid; place-items: center; color: #fff; }
.chat-input .send svg { width: 15px; height: 15px; }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { text-align: center; }
.stat .num { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.4vw, 52px); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { margin-top: 6px; color: var(--ink-500); font-size: 15px; }

/* ---------- logos ---------- */
.logos { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; }
.logos .logo-item { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink-400); letter-spacing: .01em; opacity: .8; transition: opacity .2s, color .2s; }
.logos .logo-item:hover { opacity: 1; color: var(--ink-700); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price.feat { border-color: var(--royal); box-shadow: var(--shadow-lg); position: relative; }
.price.feat::before { content: attr(data-badge); position: absolute; inset-block-start: -13px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; letter-spacing: .04em; }
[dir="rtl"] .price.feat::before { transform: translateX(50%); }
.price .tier { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink-900); }
.price .tier-sub { font-size: 13.5px; color: var(--ink-400); margin-top: 4px; min-height: 38px; }
.price .amount { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; }
.price .amount .cur { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink-900); }
.price .amount .big { font-family: var(--display); font-weight: 800; font-size: 42px; color: var(--ink-900); line-height: 1; }
.price .amount .per { font-size: 13.5px; color: var(--ink-400); }
.price .feats { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price .feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-600); }
.price .feats .ck { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 6px; background: rgba(31,138,91,.12); color: var(--success); display: grid; place-items: center; margin-top: 1px; }
.price .feats .ck svg { width: 12px; height: 12px; }
.price .btn { margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-block-end: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; gap: 16px; width: 100%; background: none; border: 0; padding: 24px 4px; text-align: start; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink-900); }
.faq-q .ic { margin-inline-start: auto; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: var(--canvas); display: grid; place-items: center; color: var(--royal); transition: transform .2s, background .2s; }
.faq-q .ic svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 4px 24px; color: var(--ink-500); font-size: 16px; max-width: 680px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink-900); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 76px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(43,183,234,.2), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.8vw, 46px); text-wrap: balance; }
.cta-band p { color: #9fb0c6; margin-top: 18px; font-size: 18px; max-width: 560px; margin-inline: auto; }
.cta-band .actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink-700); margin-bottom: 7px; }
.field label .req { color: var(--danger); margin-inline-start: 2px; }
.input, .select, .textarea {
  width: 100%; height: 48px; padding-inline: 14px; border-radius: 11px; border: 1px solid var(--canvas-200);
  background: #fff; font-family: var(--ui); font-size: 15px; color: var(--ink-800); transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; padding-block: 12px; resize: vertical; min-height: 110px; line-height: 1.55; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(27,95,201,.13); }
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: var(--ink-500); margin-bottom: 20px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--royal); flex: 0 0 auto; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.form-success .ck-big { width: 64px; height: 64px; border-radius: 50%; background: rgba(31,138,91,.12); color: var(--success); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .ck-big svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--ink-500); }

.contact-info .info-item { display: flex; gap: 16px; padding: 18px 0; border-block-end: 1px solid var(--line); }
.contact-info .info-item:last-child { border-block-end: 0; }
.contact-info .ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); color: var(--royal); display: grid; place-items: center; }
.contact-info .ico svg { width: 22px; height: 22px; }
.contact-info .info-item .k { font-weight: 700; color: var(--ink-900); font-size: 15px; }
.contact-info .info-item .v { color: var(--ink-500); font-size: 14.5px; margin-top: 3px; }
.contact-info .info-item .v a:hover { color: var(--royal); }

/* office cards */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.office { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.office .flag { font-size: 24px; }
.office .city { font-family: var(--display); font-weight: 700; color: var(--ink-900); margin-top: 8px; font-size: 15px; }
.office .addr { font-size: 13px; color: var(--ink-400); margin-top: 4px; }

/* ---------- page hero (interior) ---------- */
.page-hero { padding-block: calc(var(--header-h) + 56px) 20px; position: relative; overflow: hidden; }
.page-hero .hero-bg::before { width: 540px; height: 540px; inset-block-start: -200px; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); max-width: 760px; text-wrap: balance; }
.page-hero .lead { margin-top: 20px; max-width: 600px; }
.page-hero .hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-900); color: #8a9bb3; padding-block: 64px 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block-end: 48px; border-block-end: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; max-width: 300px; color: #8a9bb3; }
.footer-col h4 { color: #fff; font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 14.5px; color: #8a9bb3; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #b6c3d6; transition: background .15s, color .15s; }
.social a:hover { background: var(--royal); color: #fff; }
.social svg { width: 18px; height: 18px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.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) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav, .header-actions .portal-group, .header-actions .portal, .header-actions .btn:not(.lang-btn) { display: none; }
  .burger { display: inline-flex; }
  .hero-inner, .ai-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-media { order: 0; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .offices { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .cols-2, .cols-3, .cols-4, .price-grid, .offices { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding-block: clamp(48px, 9vw, 72px); }
}
@media (max-width: 460px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}

/* RTL fine-tuning */
[dir="rtl"] .hero-grid, [dir="rtl"] .eyebrow { /* logical props handle most */ }
[dir="rtl"] .mock-bar .url svg { transform: scaleX(-1); }
[dir="rtl"] body { font-family: var(--ui); }

/* ============================================================
   Abstract brand visuals (replace product-UI mockups)
   ============================================================ */
.viz { position: relative; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.viz .viz-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; opacity: .45; -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 35%, transparent 78%); mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 35%, transparent 78%); }

/* --- network constellation --- */
.viz-net { aspect-ratio: 1 / 0.92; background: radial-gradient(120% 120% at 50% 0%, #ffffff, var(--canvas)); }
.viz-net .lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.viz-net .lines line { stroke: rgba(27,95,201,.28); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 5; }
.vnode { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 7px; z-index: 2; }
.vnode .dot { width: 50px; height: 50px; border-radius: 15px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 23px; line-height: 1; }
.vnode .lbl { font-size: 10.5px; font-weight: 700; color: var(--ink-500); background: #fff; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); letter-spacing: .04em; }
.vnode.center .dot { width: 78px; height: 78px; border-radius: 22px; background: var(--grad); color: #fff; font-family: var(--display); font-weight: 800; font-size: 38px; border: 0; box-shadow: 0 16px 38px rgba(27,95,201,.42); }
.vnode.pulse .dot { animation: vpulse 2.6s ease-in-out infinite; }
@keyframes vpulse { 0%,100% { box-shadow: var(--shadow); } 50% { box-shadow: 0 0 0 6px rgba(43,183,234,.12), var(--shadow); } }

/* --- AI orb --- */
.viz-orb { aspect-ratio: 1 / 0.92; background: radial-gradient(100% 100% at 50% 38%, #1a2c47, #0F1B2D); display: grid; place-items: center; }
.viz-orb .orb { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.viz-orb .core { width: 130px; height: 130px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; font-size: 56px; box-shadow: 0 0 70px rgba(43,183,234,.5); }
.viz-orb .ring { position: absolute; border: 1px solid rgba(43,183,234,.35); border-radius: 50%; animation: oring 3.4s ease-out infinite; }
.viz-orb .ring.r1 { inset: -22px; } .viz-orb .ring.r2 { inset: -52px; animation-delay: 1.1s; } .viz-orb .ring.r3 { inset: -82px; animation-delay: 2.2s; }
@keyframes oring { 0% { opacity: .5; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.12); } }
.viz-orb .ochip { position: absolute; width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); display: grid; place-items: center; color: #aee0f6; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.viz-orb .ochip svg { width: 22px; height: 22px; }
.viz-orb .ochip.a { top: 16%; left: 18%; } .viz-orb .ochip.b { top: 22%; right: 16%; } .viz-orb .ochip.c { bottom: 18%; left: 50%; transform: translateX(-50%); }

/* --- icon spotlight --- */
.viz-spot { aspect-ratio: 1 / 0.82; background: radial-gradient(130% 120% at 30% 0%, #ffffff, var(--canvas)); display: grid; place-items: center; }
.spot-glass { position: relative; width: 124px; height: 124px; border-radius: 30px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 22px 52px rgba(27,95,201,.36); z-index: 2; }
.spot-glass svg { width: 56px; height: 56px; }
.viz-spot.violet .spot-glass { background: linear-gradient(135deg, #7A4DD0, #2491D6); box-shadow: 0 22px 52px rgba(122,77,208,.34); }
.viz-spot.cyan .spot-glass { background: linear-gradient(135deg, #2491D6, #2BB7EA); }
.viz-spot .chip { position: absolute; display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); padding: 8px 13px; font-size: 12px; font-weight: 700; color: var(--ink-600); z-index: 3; }
.viz-spot .chip svg { width: 15px; height: 15px; color: var(--royal); }
.viz-spot .chip .flag { font-size: 15px; }
.viz-spot .chip.t1 { top: 16%; left: 8%; } .viz-spot .chip.t2 { top: 24%; right: 7%; }
.viz-spot .chip.t3 { bottom: 18%; left: 12%; } .viz-spot .chip.t4 { bottom: 24%; right: 9%; }
.viz-spot .chip.float { animation: vfloat 4s ease-in-out infinite; }
.viz-spot .chip.t2.float { animation-delay: .8s; } .viz-spot .chip.t3.float { animation-delay: 1.6s; } .viz-spot .chip.t4.float { animation-delay: 2.4s; }
@keyframes vfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* tri-pillar variant */
.viz-spot.tri .spot-row { display: flex; gap: 14px; z-index: 2; }
.viz-spot.tri .spot-tile { width: 84px; height: 96px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; box-shadow: var(--shadow-lg); }
.viz-spot.tri .spot-tile svg { width: 32px; height: 32px; }
.viz-spot.tri .spot-tile .tl { font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.viz-spot.tri .spot-tile.tm { background: var(--grad); }
.viz-spot.tri .spot-tile.pt { background: linear-gradient(135deg, #7A4DD0, #2491D6); transform: translateY(-12px); }
.viz-spot.tri .spot-tile.ds { background: linear-gradient(135deg, #2491D6, #2BB7EA); }

@media (prefers-reduced-motion: reduce) {
  .vnode.pulse .dot, .viz-orb .ring, .viz-spot .chip.float { animation: none; }
}
@media (max-width: 1000px) {
  .viz-net, .viz-orb { aspect-ratio: 1 / 0.66; }
  .viz-spot { aspect-ratio: 1 / 0.6; }
}

/* ============================================================
   Secondary content / legal pages
   ============================================================ */
.doc { max-width: 800px; margin-inline: auto; }
.doc .doc-meta { color: var(--ink-400); font-size: 14px; margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; }
.prose section { margin-bottom: 8px; padding-block: 22px; border-block-end: 1px solid var(--line); }
.prose section:last-child { border-block-end: 0; }
.prose h2 { font-size: 22px; margin-bottom: 10px; }
.prose p { color: var(--ink-600); font-size: 16px; }
.prose a { color: var(--royal); font-weight: 600; }
.prose a:hover { text-decoration: underline; }

/* careers roles */
.roles { display: flex; flex-direction: column; gap: 12px; }
.role-row { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .2s, border-color .2s, transform .2s; flex-wrap: wrap; }
.role-row:hover { box-shadow: var(--shadow); border-color: rgba(27,95,201,.22); transform: translateY(-2px); }
.role-row .r-info { flex: 1; min-width: 200px; }
.role-row .r-title { font-family: var(--display); font-weight: 700; color: var(--ink-900); font-size: 17px; }
.role-row .r-meta { color: var(--ink-500); font-size: 14px; margin-top: 3px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.role-row .r-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-400); }

/* resource card */
.res-card { display: flex; flex-direction: column; }
.res-card .res-top { height: 120px; border-radius: 14px; background: var(--grad-soft); display: grid; place-items: center; color: var(--royal); margin-bottom: 18px; position: relative; overflow: hidden; }
.res-card:nth-child(3n+2) .res-top { background: linear-gradient(135deg, rgba(122,77,208,.1), rgba(36,145,214,.1)); color: var(--violet); }
.res-card:nth-child(3n) .res-top { background: linear-gradient(135deg, rgba(43,183,234,.12), rgba(27,95,201,.08)); color: #1192c9; }
.res-card .res-top svg { width: 38px; height: 38px; }
.res-card .res-cat { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--royal); margin-bottom: 8px; }
.res-card h3 { font-size: 18px; color: var(--ink-900); }
.res-card .res-soon { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; font-size: 10.5px; font-weight: 700; background: rgba(255,255,255,.85); color: var(--ink-500); padding: 3px 9px; border-radius: 999px; }

/* security grid reuses .feature; report band */
.report-band { margin-top: 36px; background: var(--grad-soft); border: 1px solid rgba(27,95,201,.14); border-radius: var(--r-lg); padding: 28px 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.report-band .rb-text { flex: 1; min-width: 240px; }
.report-band h3 { font-size: 19px; color: var(--ink-900); }
.report-band p { color: var(--ink-600); margin-top: 6px; font-size: 15px; }
