/* IzemNEXT marketing site
   Layout: single long page, 1200px column, alternating paper / navy "ledger" bands.
   The logo's blue→cyan X gradient is the only accent flourish; everything else is navy + cool neutrals. */
:root {
  --navy: #16233b;          /* logo "Izem" */
  --navy-2: #1e2f4d;
  --blue: #0a7cff;          /* logo "NE" */
  --cyan: #12c8f5;          /* logo "XT" tip */
  --primary: #2563eb;       /* portal primary button */
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 100%);

  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --fg: #111a2c;
  --fg-2: #4a566d;
  --fg-3: #7a859a;
  --line: #dde4ef;
  --line-2: #e9eef6;
  --band: #16233b;          /* navy band background */
  --band-fg: #e8eefb;
  --band-fg-2: #a9b6cf;
  --band-line: #2b3d5e;
  --ok: #16a34a;  --ok-bg: #e7f7ec;
  --warn: #d97706; --warn-bg: #fdf1e1;
  --bad: #dc2626; --bad-bg: #fde8e8;
  --info: #2563eb; --info-bg: #e6eefe;
  --muted-bg: #f0f2f6;
  --shadow: 0 1px 2px rgba(17,26,44,.06), 0 12px 32px -12px rgba(17,26,44,.18);

  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --f-ui: "Inter", "Segoe UI", system-ui, sans-serif;   /* product mockups only, matches the portal */

  --r: 10px;
  --wrap: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1424; --surface: #121c30; --surface-2: #17233b;
    --fg: #e8eefb; --fg-2: #aab6cc; --fg-3: #7c89a3;
    --line: #25344f; --line-2: #1d2a42;
    --band: #0a1120; --band-fg: #e8eefb; --band-fg-2: #9eabc4; --band-line: #22314c;
    --ok-bg: #0f2e1d; --warn-bg: #33240d; --bad-bg: #3a1616; --info-bg: #152750; --muted-bg: #1a2539;
    --ok: #4ade80; --warn: #fbbf24; --bad: #f87171; --info: #7aa7ff;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c1424; --surface: #121c30; --surface-2: #17233b;
  --fg: #e8eefb; --fg-2: #aab6cc; --fg-3: #7c89a3;
  --line: #25344f; --line-2: #1d2a42;
  --band: #0a1120; --band-fg: #e8eefb; --band-fg-2: #9eabc4; --band-line: #22314c;
  --ok-bg: #0f2e1d; --warn-bg: #33240d; --bad-bg: #3a1616; --info-bg: #152750; --muted-bg: #1a2539;
  --ok: #4ade80; --warn: #fbbf24; --bad: #f87171; --info: #7aa7ff;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; line-height: 1.15; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 560px) { .wrap { padding-inline: 16px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent;
  font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #1d4fd8; }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--fg-3); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 26px; width: auto; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .logo-light { display: none; } :root:not([data-theme="light"]) .brand .logo-dark { display: block; } }
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { text-decoration: none; color: var(--fg-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--fg); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface);
}
.lang button {
  border: 0; background: transparent; color: var(--fg-2); font: 600 13px/1 var(--f-body);
  padding: 9px 10px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 40px; height: 40px; color: var(--fg); cursor: pointer; }
.mobile-nav { display: none; }
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-actions .btn-primary.hide-sm { display: none; }
  .mobile-nav.open { display: grid; gap: 4px; padding-block: 8px 16px; border-top: 1px solid var(--line-2); }
  .mobile-nav a { padding: 10px 4px; text-decoration: none; font-weight: 500; color: var(--fg); }
}
@media (max-width: 420px) { .brand img { height: 21px; } .nav { gap: 10px; } .nav-actions .btn { padding: 0 12px; } }

/* ---------- hero ---------- */
.hero { padding-block: 64px 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--f-body);
  text-transform: uppercase; letter-spacing: .1em; color: var(--blue);
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--grad); }
.hero h1 { font-size: clamp(32px, 3.9vw, 48px); font-weight: 700; margin-top: 18px; }
.hero h1 .x { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 18px; font-size: 18px; color: var(--fg-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--fg-3); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--ok); }
.hero-visual { position: relative; min-width: 0; }
.float-chip {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); padding: 10px 12px; font: 500 12.5px/1.35 var(--f-ui); color: var(--fg);
  display: flex; gap: 10px; align-items: center; z-index: 3;
}
.float-chip b { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
.float-chip small { color: var(--fg-3); }
.float-chip .dot { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.float-chip .dot svg { width: 16px; height: 16px; }
.chip-a { left: -28px; bottom: -20px; }
.chip-b { right: -14px; top: -18px; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .chip-a { left: 8px; bottom: -18px; } .chip-b { right: 8px; top: -18px; }
}
@media (max-width: 560px) { .float-chip { display: none; } .hero { padding-block: 40px 28px; } }

/* ---------- statutory strip ---------- */
.stat-strip { padding-block: 26px; border-block: 1px solid var(--line-2); background: var(--surface); }
.stat-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.stat-strip .label { font-size: 13px; color: var(--fg-3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.stat-list { display: flex; flex-wrap: wrap; gap: 10px; }
.stat-pill {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--fg); background: var(--bg);
}
.stat-pill small { font-weight: 500; color: var(--fg-3); font-size: 12px; }

/* ---------- sections ---------- */
.section { padding-block: 88px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; margin-top: 14px; }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--fg-2); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
@media (max-width: 560px) { .section { padding-block: 60px; } }

/* modules */
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.module {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.module .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--info-bg); color: var(--primary); display: grid; place-items: center; }
.module .ico svg { width: 22px; height: 22px; }
.module h3 { font-size: 19px; font-weight: 600; }
.module p { color: var(--fg-2); font-size: 15px; }
.module ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14.5px; color: var(--fg); }
.module li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; }
.module li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; border-radius: 2px; background: var(--grad); }
@media (max-width: 1060px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .modules { grid-template-columns: minmax(0, 1fr); } }

/* ---------- product tour (navy band) ---------- */
.band { background: var(--band); color: var(--band-fg); }
.band .section-head p { color: var(--band-fg-2); }
.band .eyebrow { color: var(--cyan); }
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tour-tab {
  border: 1px solid var(--band-line); background: transparent; color: var(--band-fg-2);
  font: 600 14px/1 var(--f-body); padding: 11px 14px; border-radius: 8px; cursor: pointer;
}
.tour-tab:hover { color: var(--band-fg); border-color: var(--band-fg-2); }
.tour-tab[aria-selected="true"] { background: #fff; color: #16233b; border-color: #fff; }
.tour-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.tour-caption > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px 40px; align-items: start; }
.tour-caption > div > h3, .tour-caption > div > p { grid-column: 1; margin-top: 0; }
.tour-caption > div > ul { grid-column: 2; grid-row: 1 / span 2; margin-top: 4px !important; }
@media (max-width: 800px) { .tour-caption > div { grid-template-columns: minmax(0, 1fr); } .tour-caption > div > ul { grid-column: 1; grid-row: auto; } }
.tour-caption h3 { font-size: 22px; font-weight: 600; }
.tour-caption p { margin-top: 10px; color: var(--band-fg-2); font-size: 15.5px; }
.tour-caption ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.tour-caption li { display: grid; grid-template-columns: 20px 1fr; gap: 6px; }
.tour-caption li svg { width: 18px; height: 18px; color: var(--cyan); margin-top: 2px; }

/* ---------- payroll flow ---------- */
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 8px 0 0; padding: 0; }
.flow li { list-style: none; position: relative; padding: 0 12px 0 0; }
.flow li .n {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--primary); color: var(--primary); font: 700 14px/1 var(--f-display); background: var(--surface); position: relative; z-index: 1;
}
.flow li:last-child .n { background: var(--primary); color: #fff; }
.flow li::after { content: ""; position: absolute; top: 17px; left: 34px; right: 0; height: 2px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow h4 { font-size: 15.5px; margin-top: 14px; font-weight: 600; }
.flow p { font-size: 14px; color: var(--fg-2); margin-top: 6px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .flow li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 0; }
  .flow li .n { grid-row: span 2; }
  .flow h4 { margin-top: 6px; }
  .flow li::after { top: 34px; left: 16px; width: 2px; height: calc(100% - 16px); right: auto; }
}

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.feature-list { display: grid; gap: 20px; margin-top: 8px; }
.feature { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); color: var(--primary); display: grid; place-items: center; }
.feature .ico svg { width: 20px; height: 20px; }
.feature h4 { font-size: 16.5px; font-weight: 600; }
.feature p { margin-top: 4px; color: var(--fg-2); font-size: 15px; }

/* compliance table */
.ctable { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ctable th, .ctable td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.ctable th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); background: var(--surface-2); }
.ctable td:first-child { font-weight: 600; white-space: nowrap; }
.ctable tr:last-child td { border-bottom: 0; }
.ctable .tag { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--info-bg); color: var(--info); margin: 2px 4px 2px 0; font-weight: 600; }
.scroll-x { overflow-x: auto; border-radius: 12px; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative;
}
.plan.featured { border: 2px solid var(--primary); }
.plan .badge-top { position: absolute; top: -12px; left: 24px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan h3 { font-size: 20px; font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 5px; font: 600 12px/1 var(--f-ui); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.pill-active { background: var(--primary); color: #fff; }
.pill-soon { background: var(--muted-bg); color: var(--fg-2); border: 1px dashed var(--fg-3); }
.pill-trial { background: var(--ok-bg); color: var(--ok); }
.plan-head { min-height: 26px; }
.combo { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 22px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--line)); background: var(--info-bg); }
.combo p { flex: 1 1 360px; min-width: 0; color: var(--fg-2); font-size: 15px; }
.combo p b { color: var(--fg); }
.combo-tag { font: 700 12px/1 var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--grad); padding: 7px 10px; border-radius: 6px; }
.calc-note { font-size: 13px; color: var(--ok); margin-top: 8px; }
.price { font-family: var(--f-display); font-size: 36px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price small { font: 500 14px/1.3 var(--f-body); color: var(--fg-3); letter-spacing: 0; display: block; margin-top: 4px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; color: var(--fg-2); }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 6px; }
.plan li svg { width: 16px; height: 16px; color: var(--ok); margin-top: 4px; }
.plan .btn { margin-top: auto; }
@media (max-width: 980px) { .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pricing { grid-template-columns: minmax(0, 1fr); } }

.calc {
  margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center;
}
.calc h3 { font-size: 19px; font-weight: 600; }
.calc .sub { color: var(--fg-2); font-size: 14.5px; margin-top: 6px; }
.calc-controls { display: grid; gap: 14px; margin-top: 16px; }
.calc-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.calc-row label { font-size: 14px; font-weight: 600; }
.calc input[type="number"] { width: 110px; height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; font: 600 15px var(--f-body); background: var(--bg); color: var(--fg); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: var(--bg); }
.check input { accent-color: var(--primary); width: 16px; height: 16px; }
.calc-out { background: var(--surface-2); border-radius: 12px; padding: 20px; font-variant-numeric: tabular-nums; }
.calc-out .line { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 6px 0; color: var(--fg-2); border-bottom: 1px dashed var(--line); }
.calc-out .total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; }
.calc-out .total b { font: 700 28px/1 var(--f-display); color: var(--fg); }
.calc-out .per { font-size: 13px; color: var(--fg-3); margin-top: 6px; text-align: right; }
.calc-warn { font-size: 13px; color: var(--warn); margin-top: 8px; }
@media (max-width: 820px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* support */
.support { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.support .card-free { border: 2px solid var(--ok); }
.support .card-free .amt { color: var(--ok); }
.support .card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; min-width: 0; }
.support h4 { font-size: 16.5px; font-weight: 600; }
.support .amt { font: 700 22px/1.2 var(--f-display); margin-top: 10px; font-variant-numeric: tabular-nums; }
.support .amt small { font: 500 13.5px var(--f-body); color: var(--fg-3); }
.support p { margin-top: 8px; font-size: 14px; color: var(--fg-2); }
@media (max-width: 1060px) { .support { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .support { grid-template-columns: minmax(0, 1fr); } }

/* migration band */
.migrate { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.migrate h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin-top: 12px; }
.migrate p { color: var(--fg-2); margin-top: 12px; }
.mig-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.mig-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); }
.mig-steps li b { width: 26px; height: 26px; border-radius: 7px; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 13px var(--f-display); }
@media (max-width: 860px) { .migrate { grid-template-columns: minmax(0, 1fr); padding: 24px; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--f-display); color: var(--fg-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--fg-2); font-size: 15.5px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.info-row .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--cyan); display: grid; place-items: center; }
.info-row .ico svg { width: 20px; height: 20px; }
.info-row small { color: var(--band-fg-2); display: block; font-size: 13px; }
.info-row a, .info-row span { color: var(--band-fg); font-weight: 600; text-decoration: none; word-break: break-word; }
.form-card { background: var(--surface); color: var(--fg); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lbl { font-size: 13.5px; font-weight: 600; }
.field .req { color: var(--bad); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--bg); color: var(--fg);
  font: 400 15px/1.4 var(--f-body);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid color-mix(in srgb, var(--primary) 40%, transparent); border-color: var(--primary); }
.field .err { color: var(--bad); font-size: 12.5px; min-height: 0; }
.chk-group { display: flex; flex-wrap: wrap; gap: 8px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.captcha { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.captcha-img { height: 48px; min-width: 150px; border-radius: 8px; border: 1px solid var(--line); background: #f3f6fb; display: grid; place-items: center; overflow: hidden; }
.captcha-img svg { display: block; }
.captcha input { width: 120px; }
.captcha button { height: 40px; width: 40px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--fg-2); cursor: pointer; display: grid; place-items: center; }
.captcha button svg { width: 18px; height: 18px; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; }
.form-foot small { color: var(--fg-3); font-size: 13px; max-width: 32em; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-size: 14.5px; }
.form-status.ok { background: var(--ok-bg); color: var(--ok); }
.form-status.bad { background: var(--bad-bg); color: var(--bad); }
.form-status.info { background: var(--info-bg); color: var(--info); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } .form-card { padding: 20px; } }

/* footer */
.site-footer { background: var(--band); color: var(--band-fg-2); padding-block: 48px 32px; border-top: 1px solid var(--band-line); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-grid img { height: 24px; width: auto; }
.foot-grid h5 { font: 600 13px/1 var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--band-fg); margin: 0 0 12px; }
.foot-grid a { color: var(--band-fg-2); text-decoration: none; display: block; padding: 3px 0; }
.foot-grid a:hover { color: var(--band-fg); }
.foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ===================================================================
   Product mockups: re-drawn IzemNEXT portal screens with sample data
   =================================================================== */
.app {
  --a-bg: #ffffff; --a-side: #fafbfc; --a-fg: #111827; --a-fg2: #6b7280; --a-line: #e5e7eb; --a-hover: #f3f4f6;
  --a-sel: #e8effd; --a-selfg: #2563eb;
  font: 400 12.5px/1.45 var(--f-ui); color: var(--a-fg); background: var(--a-bg);
  border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(5,12,28,.55), 0 0 0 1px rgba(15,23,42,.08);
  text-align: left; letter-spacing: 0;
}
.app-chrome { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #eef1f5; border-bottom: 1px solid var(--a-line); }
.app-chrome .dots { display: flex; gap: 6px; }
.app-chrome .dots i { width: 10px; height: 10px; border-radius: 50%; background: #d4d9e1; display: block; }
.app-chrome .url { flex: 1; min-width: 0; background: #fff; border-radius: 6px; padding: 4px 10px; color: #4b5563; font-size: 11.5px; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-chrome .url svg { width: 12px; height: 12px; color: #16a34a; flex: none; }
.app-shell { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 420px; }
.hero .app-shell { grid-template-columns: 138px minmax(0, 1fr); }
.hero .app-side .grp { margin-top: 7px; }
.hero .app-side .it { padding: 4px 8px; }
.app-side { background: var(--a-side); border-right: 1px solid var(--a-line); padding: 12px 8px; }
.app-side img { height: 17px; width: auto; margin: 2px 6px 14px; }
.app-side .grp { font-size: 9.5px; font-weight: 600; color: #6b7280; letter-spacing: .06em; margin: 10px 8px 4px; }
.app-side .it { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; color: #1f2937; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-side .it svg { width: 14px; height: 14px; color: #4b5563; flex: none; }
.app-side .it.on { background: var(--a-sel); color: var(--a-selfg); font-weight: 500; }
.app-side .it.on svg { color: var(--a-selfg); }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--a-line); }
.co-switch { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--a-line); border-radius: 6px; padding: 4px 9px; font-weight: 500; white-space: nowrap; }
.co-switch svg { width: 12px; height: 12px; color: #6b7280; }
.user { display: flex; align-items: center; gap: 7px; font-weight: 500; white-space: nowrap; overflow: hidden; }
.user i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--a-line); display: grid; place-items: center; font-style: normal; font-size: 10px; color: #6b7280; }
.app-page { padding: 12px 16px 16px; min-width: 0; }
.crumb { font-size: 10.5px; color: #6b7280; }
.ptitle { font-size: 15px; font-weight: 600; margin: 2px 0 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.a-btn { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--a-line); background: #fff; color: #111827; border-radius: 6px; padding: 5px 9px; font: 500 11.5px/1 var(--f-ui); white-space: nowrap; }
.a-btn.pri { background: #2563eb; border-color: #2563eb; color: #fff; }
.a-btn svg { width: 12px; height: 12px; }
.a-row { display: flex; flex-wrap: wrap; gap: 6px; }
.a-card { border: 1px solid var(--a-line); border-radius: 8px; padding: 11px 12px; min-width: 0; background: #fff; }
.a-card h6 { margin: 0 0 8px; font-size: 12px; font-weight: 600; font-family: var(--f-ui); display: flex; justify-content: space-between; }
.a-grid { display: grid; gap: 10px; }
.a-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a-grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a-grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi-sub { color: #6b7280; font-size: 10.5px; }
.a-table-wrap { border: 1px solid var(--a-line); border-radius: 8px; overflow-x: auto; }
.a-table { width: 100%; border-collapse: collapse; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.a-table th { text-align: left; font-weight: 600; color: #111827; padding: 8px 9px; border-bottom: 1px solid var(--a-line); white-space: nowrap; background: #fff; }
.a-table td { padding: 7px 9px; border-bottom: 1px solid #f0f1f3; white-space: nowrap; vertical-align: middle; }
.a-table tr:last-child td { border-bottom: 0; }
.a-table .num { text-align: right; }
.a-table tfoot td { background: #f9fafb; font-weight: 600; border-top: 1px solid var(--a-line); }
.st { display: inline-block; font: 600 9.5px/1 var(--f-ui); padding: 3px 6px; border-radius: 4px; letter-spacing: .02em; white-space: nowrap; }
.st.g { background: #e7f6ec; color: #15803d; }
.st.o { background: #fdf0e1; color: #c2410c; }
.st.r { background: #fde8e8; color: #b91c1c; }
.st.b { background: #e6eefe; color: #1d4ed8; }
.st.n { background: #f1f2f4; color: #6b7280; }
.ev { display: inline-flex; align-items: center; gap: 3px; border: 1px solid var(--a-line); border-radius: 4px; padding: 2px 5px; font-size: 10.5px; margin: 1px 2px 1px 0; white-space: nowrap; }
.ev b { font-weight: 600; }
.ev svg { width: 10px; height: 10px; color: #6b7280; }
.steps { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 11px; margin-bottom: 10px; }
.steps span { display: inline-flex; align-items: center; gap: 4px; color: #16a34a; font-weight: 500; }
.steps span svg { width: 12px; height: 12px; }
.steps span.cur { color: #2563eb; background: #e8effd; padding: 3px 7px; border-radius: 999px; }
.steps span.todo { color: #9ca3af; }
.steps em { width: 14px; height: 1px; background: #d1d5db; display: inline-block; }
.masked { letter-spacing: 1px; color: #6b7280; }
.tabs-mini { display: flex; gap: 2px; background: #f3f4f6; border-radius: 7px; padding: 3px; margin-bottom: 10px; overflow-x: auto; }
.tabs-mini span { padding: 5px 10px; border-radius: 5px; color: #4b5563; white-space: nowrap; font-size: 11.5px; }
.tabs-mini span.on { background: #fff; color: #111827; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.kv { display: grid; gap: 4px; font-size: 11.5px; }
.kv div { display: flex; gap: 6px; }
.kv span { color: #6b7280; }
.chipset { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.chipset i { font-style: normal; border: 1px solid var(--a-line); border-radius: 999px; padding: 2px 7px; font-size: 10px; font-weight: 600; }
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 84px; padding-top: 6px; }
.bar-chart div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9.5px; color: #6b7280; height: 100%; justify-content: flex-end; }
.bar-chart div i { width: 100%; border-radius: 3px 3px 0 0; background: #c7d7fb; display: block; }
.bar-chart div.cur i { background: #2563eb; }
.act { display: grid; gap: 6px; font-size: 11.5px; }
.act div { display: flex; justify-content: space-between; gap: 10px; }
.act span { color: #6b7280; font-size: 10.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; font-size: 11.5px; }
.rep-grid label { display: flex; gap: 6px; align-items: center; }
.cb { width: 13px; height: 13px; border-radius: 3px; border: 1px solid #cbd5e1; display: inline-grid; place-items: center; flex: none; }
.cb.on { background: #2563eb; border-color: #2563eb; }
.cb.on::after { content: ""; width: 6px; height: 3px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.roster td.sh { font-weight: 500; }
.sh-tag { display: inline-block; padding: 2px 6px; border-radius: 4px; font-size: 10.5px; font-weight: 600; }
.sh-am { background: #e6eefe; color: #1d4ed8; }
.sh-pm { background: #f3e8ff; color: #7e22ce; }
.sh-nt { background: #1e293b; color: #e2e8f0; }
.sh-off { background: #f1f2f4; color: #6b7280; }
.sh-lv { background: #fdf0e1; color: #c2410c; }
.sh-ph { background: #e7f6ec; color: #15803d; }
.bal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.bal .a-card b { font-size: 16px; display: block; font-variant-numeric: tabular-nums; }
.bal .a-card small { color: #6b7280; font-size: 10.5px; }
.meter { height: 5px; border-radius: 3px; background: #eef0f3; margin-top: 6px; overflow: hidden; }
.meter i { display: block; height: 100%; background: #2563eb; border-radius: 3px; }
.a-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.a-in { border: 1px solid var(--a-line); border-radius: 6px; padding: 5px 8px; color: #6b7280; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; justify-content: space-between; gap: 4px; }
.a-in svg { width: 11px; height: 11px; flex: none; }
.small-note { color: #6b7280; font-size: 10.5px; margin-top: 8px; }
.tour-panel[hidden] { display: none !important; }
@media (max-width: 720px) {
  .app-shell, .hero .app-shell { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .a-grid.c3, .a-grid.c4, .bal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rep-grid { grid-template-columns: minmax(0, 1fr); }
  .user span { display: none; }
}
@media (max-width: 440px) { .a-grid.c2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- legal pages ---------- */
.legal { padding-block: 48px 88px; }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); font-size: 14px; }
.legal-toc h5 { margin: 0 0 10px; font: 600 12px/1 var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); }
.legal-toc ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 7px; color: var(--fg-3); }
.legal-toc a { color: var(--fg-2); text-decoration: none; }
.legal-toc a:hover { color: var(--primary); }
.legal-other { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--primary) !important; }
.legal-body { max-width: 72ch; min-width: 0; }
.legal-body h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; }
.legal-meta { margin-top: 10px; color: var(--fg-3); font-size: 14px; }
.legal-lede { margin-top: 20px; font-size: 17px; color: var(--fg-2); padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.legal-body h2 { font-size: 21px; font-weight: 600; margin-top: 40px; letter-spacing: -0.01em; }
.legal-body h3 { font-size: 16px; font-weight: 600; margin-top: 20px; font-family: var(--f-body); letter-spacing: 0; }
.legal-body p { margin-top: 12px; color: var(--fg); }
.legal-body ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--blue); }
.legal-body a { color: var(--primary); }
@media (max-width: 900px) { .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .legal-toc { position: static; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; } }
.form-foot small a { color: var(--primary); }
