/* Kemetra Labs — light "papyrus" theme with lapis + gold, dark product frames */
/* Self-hosted IBM Plex (SIL OFL 1.1, see assets/fonts/OFL.txt) */
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/plex-arabic-400.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/plex-arabic-500.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/plex-arabic-600.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/plex-arabic-700.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/plex-sans-400.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/plex-sans-500.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/plex-sans-600.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/plex-sans-700.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/plex-mono-400.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/plex-mono-500.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --bg: #fbf8f2;
  --bg-2: #f4efe4;
  --surface: #ffffff;
  --ink: #0b1726;
  --ink-2: #33475b;
  --muted: #566476;
  --line: rgba(11, 23, 38, .09);
  --line-2: rgba(11, 23, 38, .16);
  --lapis: #1f4fd1;
  --lapis-ink: #173c9f;
  --lapis-soft: #e8eefc;
  --gold: #c9973b;
  --gold-2: #e9c983;
  --gold-soft: #f6ead0;
  --gold-ink: #7d5814;
  --teal: #0f9e86;
  --ok: #12a36b;
  --ok-ink: #0d7f53;
  --no: #d6493b;
  --no-ink: #b8392d;
  --dark: #0a1420;
  --dark-2: #111e2d;
  --dark-line: rgba(231, 238, 246, .09);
  --dark-text: #c9d5e2;
  --accent: var(--lapis);
  --accent-ink: var(--lapis);
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(11,23,38,.06), 0 2px 8px rgba(11,23,38,.04);
  --shadow: 0 1px 2px rgba(11,23,38,.05), 0 12px 32px -12px rgba(11,23,38,.18);
  --shadow-lg: 0 2px 4px rgba(11,23,38,.05), 0 40px 80px -24px rgba(11,23,38,.35);
  --sans: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
:root[lang="en"] { --sans: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--lapis); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-2); color: var(--ink); }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.mono { font-family: var(--mono); letter-spacing: .01em; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 20; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0 0 14px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.18; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 14px; }
.mark { position: relative; z-index: 0; color: var(--lapis-ink); }
.mark::after {
  content: ""; position: absolute; inset-inline: -4px; bottom: .1em; height: .3em; z-index: -1;
  background: var(--gold-2); opacity: .6; border-radius: 4px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--gold-ink); }
.eyebrow::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); border-radius: 2px; }
:root[lang="en"] .eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 40rem; }
.center { text-align: center; margin-inline: auto; }
.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.3; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn.primary { background: var(--lapis); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 20px -8px rgba(31,79,209,.6); }
.btn.primary:hover { background: var(--lapis-ink); transform: translateY(-1px); }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn.secondary:hover { border-color: var(--ink-2); }
.btn.gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1b1305; box-shadow: 0 8px 22px -8px rgba(201,151,59,.7); }
.btn.gold:hover { transform: translateY(-1px); }
.btn.sm { padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.btn.lg { padding: 15px 28px; font-size: 16px; }
.arrow { display: inline-block; transition: transform .2s; }
[dir="ltr"] .arrow { transform: scaleX(-1); }
a:hover .arrow, .btn:hover .arrow { transform: translateX(-4px); }
[dir="ltr"] a:hover .arrow, [dir="ltr"] .btn:hover .arrow { transform: scaleX(-1) translateX(-4px); }
.crumb:hover .arrow { transform: translateX(4px); }
[dir="ltr"] .crumb:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(251,248,242,.85); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 58px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: "IBM Plex Sans", sans-serif; font-weight: 700; font-size: 18px; letter-spacing: .01em; }
.brand-name small { font-family: var(--mono); color: var(--gold-ink); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; margin-top: 4px; }
.menu { display: flex; align-items: center; gap: 2px; margin-inline-end: auto; }
.menu > a, .menu-drop > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px;
  color: var(--ink-2); font-size: 15px; font-weight: 500; background: none; border: 0; cursor: pointer; transition: background .2s, color .2s;
}
.menu > a:hover, .menu-drop > button:hover, .menu-drop.open > button { color: var(--ink); background: rgba(11,23,38,.05); }
.menu-drop { position: relative; }
.menu-drop > button svg { width: 14px; height: 14px; transition: transform .2s; }
.menu-drop.open > button svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); inset-inline-start: -12px; width: 440px;
  padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: none;
}
.menu-drop.open .mega { display: grid; gap: 4px; animation: pop .16s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }
.mega a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background .15s; }
.mega a:hover, .mega a[aria-current="page"] { background: var(--bg); }
.mega .ico { flex: none; }
.mega b { display: block; font-size: 15px; color: var(--ink); font-family: "IBM Plex Sans", var(--sans); }
.mega small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.nav-end { display: flex; align-items: center; gap: 10px; }
#lang { height: 38px; min-width: 48px; padding: 0 12px; border-radius: 10px; background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; font-size: 13px; cursor: pointer; }
#lang:hover { border-color: var(--ink-2); color: var(--ink); }
.menu-btn { display: none; width: 40px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-btn i { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Icon tiles ---------- */
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, white); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.ico svg { width: 22px; height: 22px; }
.ico.lg { width: 56px; height: 56px; border-radius: 16px; }
.ico.lg svg { width: 28px; height: 28px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section.tint { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 0; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(201,151,59,.18), transparent 70%),
    radial-gradient(800px 400px at 50% 100%, rgba(31,79,209,.10), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 85%);
}
.hero-copy { max-width: 880px; }
.pill-link { display: inline-flex; align-items: center; gap: 10px; padding: 5px 6px; padding-inline-end: 14px; margin-bottom: 26px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; color: var(--ink-2); }
.pill-link b { background: var(--gold-soft); color: #7a5410; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center .actions { justify-content: center; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.center .trust { justify-content: center; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat; }
.hero-shot { position: relative; margin-top: clamp(48px, 7vw, 72px); perspective: 2200px; }
.hero-shot { -webkit-mask-image: linear-gradient(#000 60%, transparent 98%); mask-image: linear-gradient(#000 60%, transparent 98%); padding: 12px 12px 0; }
.hero-shot .app { transform: rotateX(10deg); transform-origin: center bottom; }

/* Product hero (split) */
.p-hero { padding-bottom: clamp(64px, 9vw, 104px); }
.p-hero .split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumb:hover { color: var(--ink); }
.p-badge { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.p-badge b { display: block; font-family: "IBM Plex Sans", var(--sans); font-size: 20px; line-height: 1.2; }
.p-badge small { color: var(--accent-ink); font-weight: 600; font-size: 14px; }

/* ---------- App mock (dark product frame) ---------- */
.app {
  position: relative; border-radius: 18px; overflow: hidden; background: var(--dark); color: var(--dark-text);
  border: 1px solid #000; box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255,255,255,.6), 0 0 0 9px var(--line);
  font-size: 13px; line-height: 1.5;
}
.app-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--dark-2); border-bottom: 1px solid var(--dark-line); }
.app-bar .dots { display: flex; gap: 6px; }
.app-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(231,238,246,.16); }
.app-bar .url { margin-inline: auto; padding: 3px 14px; border-radius: 6px; background: rgba(231,238,246,.06); font-family: var(--mono); font-size: 11.5px; color: #8fa1b3; direction: ltr; }
.app-body { display: grid; grid-template-columns: 200px 1fr; }
.app-side { padding: 16px 12px; border-inline-end: 1px solid var(--dark-line); background: rgba(17,30,45,.5); }
.app-side .logo { display: flex; align-items: center; gap: 8px; padding: 4px 8px 16px; font-weight: 600; color: #fff; font-family: "IBM Plex Sans", var(--sans); }
.app-side .logo i { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); }
.app-side > span { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: #8fa1b3; }
.app-side > span.on { background: rgba(231,238,246,.07); color: #fff; }
.app-side > span i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .7; }
.app-main { padding: 18px 20px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-head h4 { color: #fff; font-size: 16px; margin: 0; font-weight: 600; }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: rgba(231,238,246,.06); }
.seg span { padding: 3px 10px; border-radius: 6px; font-size: 12px; color: #8fa1b3; }
.seg span.on { background: rgba(231,238,246,.12); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { padding: 12px; border-radius: 12px; background: rgba(231,238,246,.04); border: 1px solid var(--dark-line); min-width: 0; }
.kpi small { display: block; color: #8fa1b3; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { display: block; color: #fff; font-size: 19px; font-weight: 600; font-family: "IBM Plex Sans", var(--sans); margin: 2px 0; unicode-bidi: isolate; }
.kpi .up, .kpi .down { font-size: 11.5px; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.kpi .up { color: #4ade9b; } .kpi .down { color: #ff8a7e; }
.panel { padding: 14px; border-radius: 12px; background: rgba(231,238,246,.04); border: 1px solid var(--dark-line); min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; color: #fff; font-weight: 600; font-size: 13px; }
.panel-h small { color: #8fa1b3; font-weight: 400; }
.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.chart-svg { width: 100%; height: 150px; display: block; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.status.ok { background: rgba(74,222,155,.12); color: #6ee7b0; }
.status.no { background: rgba(255,138,126,.12); color: #ffa79e; }
.status.wait { background: rgba(233,201,131,.14); color: var(--gold-2); }
.list { display: grid; }
.list > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 2px; border-top: 1px solid var(--dark-line); }
.list > div:first-child { border-top: 0; }
.list b { color: #fff; font-weight: 500; }
.list .num { font-family: var(--mono); color: #fff; unicode-bidi: isolate; direction: ltr; }
.bars { height: 150px; display: flex; align-items: flex-end; gap: 8px; }
.bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #4b7cf0, #2a4fa8); transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
.bars i.hi { background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
@keyframes grow { from { transform: scaleY(0); } }
.note { padding: 10px 12px; border-radius: 10px; font-size: 12.5px; color: var(--dark-text); background: rgba(255,138,126,.07); border-inline-start: 3px solid #ff8a7e; }

/* POS-specific */
.pos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.pos-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pos-items > span { padding: 12px 10px; border-radius: 10px; background: rgba(231,238,246,.05); border: 1px solid var(--dark-line); color: #fff; font-size: 12.5px; }
.pos-items > span small { display: block; color: #8fa1b3; font-family: var(--mono); }
.pos-items > span.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.cart .total { display: flex; justify-content: space-between; padding-top: 10px; margin-top: 6px; border-top: 1px dashed rgba(231,238,246,.2); color: #fff; font-weight: 600; font-size: 15px; }
.cart .pay { margin-top: 12px; text-align: center; padding: 10px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; }

/* ---------- Works-with strip ---------- */
.works { padding: 40px 0 8px; }
.works p { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.works ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.works li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; color: var(--ink-2); font-family: "IBM Plex Sans", var(--sans); font-size: 15px; }
.works li i { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; font-family: var(--mono); }

/* ---------- Pains ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.pain blockquote { margin: 0 0 18px; font-size: 18px; font-weight: 600; line-height: 1.6; color: var(--ink); flex: 1; }
.pain blockquote::before { content: "”"; display: block; font-size: 56px; line-height: .7; color: var(--gold-2); margin-bottom: 6px; font-family: Georgia, serif; }
[dir="ltr"] .pain blockquote::before { content: "“"; }
.pain p { color: var(--muted); font-size: 15px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.pain p b { color: var(--lapis); font-weight: 600; }

/* ---------- Bento (products) ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.tile.wide { grid-column: 1 / -1; display: grid; grid-template-columns: .85fr 1.15fr; }
.tile-copy { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; }
.tile-copy .ico { margin-bottom: 18px; }
.tile .code { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); margin: 0 0 4px; }
.tile h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 8px; font-weight: 700; }
.tile-copy > p:not(.code) { color: var(--ink-2); }
.tile ul { list-style: none; margin: 4px 0 22px; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.tile ul li { display: flex; gap: 10px; align-items: center; }
.tile ul li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; transform: rotate(45deg); background: var(--accent); }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--accent-ink); font-weight: 600; }
.tile-vis { padding: 28px 28px 0; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--bg)), color-mix(in srgb, var(--accent) 15%, var(--bg))); display: flex; align-items: flex-end; margin-top: auto; }
.tile.wide .tile-vis { padding: 36px 36px 0; margin: 0; }
.tile-vis .app { width: 100%; border-radius: 14px 14px 0 0; box-shadow: var(--shadow); border-bottom: 0; }
.tile-vis .app-main { padding: 14px; }

/* ---------- Principles (dark band) ---------- */
.band { position: relative; overflow: hidden; background: var(--dark); color: var(--dark-text); padding: clamp(72px, 11vw, 120px) 0; }
.band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 50% 0%, rgba(201,151,59,.22), transparent 70%), radial-gradient(700px 360px at 50% 120%, rgba(31,79,209,.25), transparent 70%); }
.band .wrap { position: relative; }
.band h2 { color: #fff; }
.band .lede { color: var(--dark-text); }
.band .eyebrow { color: var(--gold-2); }
.band .eyebrow::before { background: var(--gold-2); }
.band-scarab { width: min(260px, 60%); margin: 0 auto 30px; filter: drop-shadow(0 16px 40px rgba(201,151,59,.35)); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; text-align: start; }
.principles article { padding: 28px; border-radius: 20px; background: rgba(231,238,246,.04); border: 1px solid var(--dark-line); }
.principles b { font-family: var(--mono); color: var(--gold-2); font-size: 13px; font-weight: 500; }
.principles h3 { color: #fff; margin: 8px 0; }
.principles p { margin: 0; color: #93a5b8; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { position: relative; padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.steps b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px; font-family: var(--mono); font-weight: 500; color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 10%, white); }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy p { color: var(--ink-2); font-size: 17px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fact b { display: block; font-size: 24px; font-weight: 700; color: var(--lapis-ink); line-height: 1.3; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: 14.5px; }
.fact.dark { background: var(--dark); border-color: var(--dark); }
.fact.dark b { color: var(--gold-2); }
.fact.dark span { color: #93a5b8; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1726' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.booking-copy > p { color: var(--ink-2); font-size: 17px; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lapis-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4fd1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: clamp(24px, 3.5vw, 36px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label:has(+ [required])::after { content: " *"; color: var(--no); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687788' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: left 14px center; padding-inline-end: 40px; }
[dir="ltr"] .field select { background-position: right 14px center; }
.field input::placeholder, .field textarea::placeholder { color: #7f8b98; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--lapis); box-shadow: 0 0 0 4px rgba(31,79,209,.12); }
.field [aria-invalid="true"] { border-color: var(--no); box-shadow: 0 0 0 4px rgba(214,73,59,.1); }
.form-foot { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-foot button:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 0; font-size: 14px; color: var(--muted); }
.form-status[data-kind="ok"] { color: var(--ok-ink); }
.form-status[data-kind="error"] { color: var(--no-ink); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form { position: relative; }
.form-done { grid-column: 1 / -1; text-align: center; padding: 28px 8px; }
.form-done:focus { outline: none; }
.form.sent > :not(.form-done) { display: none; }
.done-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px; color: #fff; background: var(--ok); box-shadow: 0 0 0 8px rgba(18,163,107,.12); }
.done-ico svg { width: 30px; height: 30px; }
.form-done h3 { font-size: 22px; }
.form-done p { color: var(--ink-2); max-width: 40ch; margin: 0 auto 22px; }
.form-alt { flex-basis: 100%; color: var(--lapis); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Product page parts ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare > div { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); }
.compare .before { background: var(--bg-2); }
.compare .after { background: var(--surface); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.compare h3 { font-size: 18px; }
.compare .before h3 { color: var(--muted); }
.compare .after h3 { color: var(--accent-ink); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.compare li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.compare li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background-position: center; background-size: 11px; background-repeat: no-repeat; }
.compare .before li::before { background-color: rgba(214,73,59,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6493b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.compare .after li::before { background-color: rgba(18,163,107,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a36b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); }

.rows { display: grid; gap: clamp(64px, 9vw, 112px); }
.frow { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.frow:nth-child(even) .frow-copy { order: 2; }
.frow-copy .num { font-family: var(--mono); color: var(--accent-ink); font-size: 13px; }
.frow-copy h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin: 6px 0 12px; }
.frow-copy p { color: var(--ink-2); font-size: 17px; }
.frow-copy ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.frow-copy li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.frow-copy li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; transform: rotate(45deg); background: var(--accent); }
.frow-vis { padding: clamp(20px, 3vw, 36px); border-radius: 24px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 6%, var(--bg)), color-mix(in srgb, var(--accent) 16%, var(--bg))); border: 1px solid var(--line); }
.frow-vis .app { box-shadow: var(--shadow); }
.frow-vis .app-main { padding: 16px; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(64px, 8vw, 96px); }
.mini { padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.mini h4 { font-size: 17px; margin-bottom: 6px; }
.mini p { margin: 0; color: var(--muted); font-size: 15px; }
.mini .ico { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 14px; }
.mini .ico svg { width: 18px; height: 18px; }

.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience article { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent); }
.audience h3 { font-size: 19px; }
.audience p { margin: 0; color: var(--ink-2); }

.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 64px); border-radius: 28px; background: var(--dark); color: var(--dark-text); }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px 260px at 50% 0%, rgba(201,151,59,.25), transparent 70%), radial-gradient(600px 300px at 50% 120%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band img { width: min(200px, 55%); margin: 0 auto 24px; filter: drop-shadow(0 12px 30px rgba(201,151,59,.35)); }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 540px; margin: 0 auto 30px; font-size: 17px; }
.cta-band .actions { justify-content: center; margin-top: 0; }
.cta-band .btn.secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); box-shadow: none; }
.others { margin-top: 56px; }
.others h3 { font-size: 17px; color: var(--muted); font-weight: 600; }
.others-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.others-grid a { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.others-grid a:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); transform: translateY(-2px); }
.others-grid b { display: block; font-family: "IBM Plex Sans", var(--sans); }
.others-grid small { color: var(--muted); font-size: 14px; }
.others-grid .arrow { margin-inline-start: auto; color: var(--accent-ink); }

/* ---------- 404 ---------- */
.nf { padding-bottom: clamp(72px, 10vw, 120px); }
.nf-code { font-size: clamp(72px, 14vw, 160px); line-height: 1; font-weight: 500; margin: 0 0 12px; color: transparent; -webkit-text-stroke: 2px var(--gold); }
.nf-links { max-width: 900px; margin: 56px auto 0; grid-template-columns: repeat(3, 1fr); text-align: start; }

/* ---------- Footer ---------- */
footer { background: var(--dark); color: #93a5b8; padding: 64px 0 28px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-h { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0; margin: 0 0 4px; }
.foot-grid a:not(.brand):hover { color: #fff; }
footer .brand b { color: #fff; }
footer .brand-name small { color: var(--gold); }
footer .brand img { width: 52px; }
.motto { color: var(--gold-2); font-weight: 600; margin: 0; }
.foot-grid > div > p { margin: 0; max-width: 32ch; }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--dark-line); font-size: 13px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero chart motion ---------- */
.hero-shot .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s .4s cubic-bezier(.4,0,.2,1) forwards; }
.hero-shot .area, .hero-shot .pt { opacity: 0; animation: fade .8s 1.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.hero-shot .pt { transform-box: fill-box; transform-origin: center; }
.hero-shot .pt.ping { animation: fade .8s 1.6s ease forwards, ping 2.4s 2.4s ease-out infinite; }
@keyframes ping { 0% { stroke-width: 2.5; } 50% { stroke-width: 7; stroke-opacity: .4; } 100% { stroke-width: 2.5; } }

/* ---------- Active nav section ---------- */
.menu > a.active { color: var(--lapis); background: var(--lapis-soft); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta {
    display: block; position: fixed; inset-inline: 12px; bottom: 12px; z-index: 9;
    padding: 8px; border-radius: 16px; background: rgba(251,248,242,.9);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line); box-shadow: 0 16px 40px -12px rgba(11,23,38,.35);
    transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; }
  footer { padding-bottom: 96px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tile.wide { grid-template-columns: 1fr; }
  .tile.wide .tile-vis { padding: 28px 28px 0; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu-btn { display: flex; }
  .nav-in { gap: 12px; }
  .nav-end { margin-inline-start: auto; }
  .menu { display: none; position: absolute; top: 100%; inset-inline: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -16px rgba(11,23,38,.25); max-height: calc(100vh - 70px); overflow-y: auto; }
  .menu.open { display: flex; }
  .menu > a, .menu-drop > button { padding: 12px; font-size: 16px; width: 100%; justify-content: space-between; }
  .mega { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 8px; background: transparent; display: grid; }
  .menu-drop > button svg { display: none; }
  .p-hero .split, .about, .booking, .frow, .tile.wide { grid-template-columns: 1fr; }
  .frow:nth-child(even) .frow-copy { order: 0; }
  .pains, .principles, .audience, .mini-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav-end .btn { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .pains, .principles, .audience, .mini-grid, .steps, .compare, .others-grid, .form, .nf-links { grid-template-columns: 1fr; }
  .facts { gap: 10px; }
  .fact { padding: 18px; }
  .fact b { font-size: 20px; }
  .steps { gap: 10px; }
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
  .steps li b { grid-row: span 2; margin: 0; }
  .steps li h3 { margin: 6px 0 2px; }
  .principles { gap: 12px; margin-top: 36px; }
  .principles article, .pain, .audience article, .mini { padding: 22px; }
  .section-head { margin-bottom: 36px; }
  .hero-shot { -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
  .grid-2, .pos { grid-template-columns: 1fr; }
  .hero-shot .app { transform: none; }
  .app-main { padding: 12px; }
  .hide-sm { display: none !important; }
  .tile-vis, .tile.wide .tile-vis { padding: 20px 16px 0; }
  .app { box-shadow: var(--shadow); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
