/* ISPnova website. Dark, signal-cyan identity shared with the console. Fonts are served from this site. */
@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #0a1017; --bg-2: #0e1620; --surface: #121d29; --line: #1f2e3d; --ink: #e6eef6; --muted: #93a4b8;
  --accent: #3cc3da; --accent-ink: #04232b; --accent-soft: #0e2f38; --up: #9ca2f5; --good: #44c17d;
  --f-display: 'Bricolage Grotesque', 'Noto Sans Arabic', system-ui, sans-serif;
  --f-body: 'Geist', 'Noto Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -0.015em; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.muted { color: var(--muted); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { inset-inline-start: 8px; }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.lede { color: var(--muted); font-size: 18px; max-width: 60ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: transform .15s, border-color .15s; }
.btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.nav { display: flex; gap: 22px; margin-inline-start: 12px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 2px; }
.lang a { color: var(--muted); padding: 5px 10px; border-radius: 8px; font-size: 13px; text-decoration: none; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--surface); color: var(--ink); }

/* hero */
.hero { padding-block: 72px 40px; background:
  radial-gradient(ellipse 60% 50% at 15% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
  radial-gradient(ellipse 50% 40% at 95% 30%, color-mix(in srgb, var(--up) 10%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 700; margin-bottom: 20px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.facts { display: flex; gap: 28px; flex-wrap: wrap; margin: 36px 0 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-family: var(--f-display); font-size: 28px; font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; color: var(--muted); font-size: 14px; max-width: 18ch; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .02); }
.hero-shot { transform: perspective(1600px) rotateY(-6deg); transform-origin: left center; }
[dir="rtl"] .hero-shot { transform: perspective(1600px) rotateY(6deg); transform-origin: right center; }

/* sections */
.band { padding-block: 88px; }
.band.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 40px; display: grid; gap: 4px; }
.sec-head h2, .split h2, .demo h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
.sec-head .lede { margin-top: 12px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.feat h3 { font-size: 19px; }
.feat p { color: var(--muted); font-size: 15px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.split .lede { margin-top: 14px; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.sec-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sec-list li { display: grid; gap: 6px; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); border-inline-start: 3px solid var(--accent); }
.sec-list b { font-size: 17px; }
.sec-list span { color: var(--muted); font-size: 15px; }

.plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 6px; align-content: start; }
.plan h3 { font-size: 18px; }
.plan .amt { font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--muted); min-height: 32px; }
.plan.free { border-color: color-mix(in srgb, var(--good) 55%, var(--line)); background: linear-gradient(160deg, color-mix(in srgb, var(--good) 16%, var(--surface)), var(--surface) 70%); }
.plan.free .amt { color: var(--good); font-size: 30px; }
.plan .clients b { font-family: var(--f-mono); font-size: 18px; }
.plan .note { color: var(--muted); font-size: 14px; }
.plan-buy { margin-top: 8px; justify-self: start; }

.demo { padding-block: 64px; }
.demo-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: linear-gradient(120deg, var(--accent-soft), var(--surface) 70%); }
.demo-box p { color: var(--muted); margin-top: 8px; max-width: 56ch; }

.foot { border-top: 1px solid var(--line); padding-block: 28px; font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

[dir="rtl"] body, [lang="ar"] body, [lang="ckb"] body { line-height: 1.8; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }

@media (max-width: 1000px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-shot, [dir="rtl"] .hero-shot { transform: none; }
  .features, .sec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
}
@media (max-width: 620px) {
  .features, .sec-list, .pair, .plans { grid-template-columns: minmax(0, 1fr); }
  .band { padding-block: 60px; }
  .hero { padding-block: 44px 24px; }
  .top-actions .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
