/* ==========================================================================
   WI-Solar CRM — Early Access landing page
   Plain CSS, no build step. Mobile-first.
   ========================================================================== */

:root {
  --navy-950: #050d1c;
  --navy-900: #0a1830;
  --navy-800: #0f2443;
  --navy-700: #183257;
  --navy-600: #24446f;

  --ink: #0d1a2e;
  --body: #3f4c63;
  --muted: #5f6b80;
  --line: #e2e7ef;
  --line-strong: #cfd7e3;
  --surface: #f5f7fb;
  --surface-2: #eef2f8;
  --white: #ffffff;

  --amber-300: #ffd27a;
  --amber-400: #ffbe3d;
  --amber-500: #f5a524;
  --amber-600: #d98706;
  --amber-700: #a86300;
  --amber-50: #fff7e6;
  --amber-100: #ffecc2;

  --green-700: #15703a;
  --green-600: #16843f;
  --green-500: #22a352;
  --green-50: #ebf8f0;

  --red-700: #b42318;
  --red-50: #fef1f0;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(10, 24, 48, 0.06), 0 1px 3px rgba(10, 24, 48, 0.06);
  --shadow: 0 4px 12px rgba(10, 24, 48, 0.06), 0 12px 32px rgba(10, 24, 48, 0.07);
  --shadow-lg: 0 24px 60px rgba(5, 13, 28, 0.28);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 68px;
  --gutter: 16px;
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--amber-600);
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--amber-400);
  color: var(--navy-950);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--amber-400), var(--amber-500));
  color: var(--navy-950);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 8px 22px rgba(245, 165, 36, 0.32);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--amber-300), var(--amber-400));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 10px 28px rgba(245, 165, 36, 0.42);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-700); }

.btn-outline {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--navy-600); }

.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.btn .icon { transition: transform 0.2s ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.pill-dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber-400);
  box-shadow: 0 0 0 4px rgba(255, 190, 61, 0.22);
  flex: none;
}
.pill-dark {
  background: rgba(255, 190, 61, 0.1);
  border: 1px solid rgba(255, 190, 61, 0.35);
  color: var(--amber-300);
}
.pill-amber {
  background: var(--amber-50);
  border: 1px solid var(--amber-100);
  color: var(--amber-700);
}
.pill-green {
  background: var(--green-50);
  border: 1px solid #c9ecd6;
  color: var(--green-700);
}

.tag-planned {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--amber-50);
  border: 1px solid var(--amber-100);
  color: var(--amber-700);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--navy-950);
  color: #dbe3ef;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 9px var(--gutter);
  text-align: center;
}
.announce-badge {
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 61, 0.5);
  color: var(--amber-300);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.announce strong { color: var(--white); font-weight: 700; letter-spacing: 0.02em; }
.announce a { color: var(--amber-300); font-weight: 600; text-underline-offset: 3px; }
.announce .sep { opacity: 0.4; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(10, 24, 48, 0.06); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-950));
  color: var(--amber-400);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 6px 16px rgba(10, 24, 48, 0.25);
}
.brand-mark .icon { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-sub {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav { display: none; }
.nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav a:hover { color: var(--ink); background: var(--surface); }

.header-cta { display: none; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 8px var(--gutter) 20px;
  box-shadow: 0 18px 30px rgba(10, 24, 48, 0.08);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.mobile-nav .btn { margin-top: 16px; }

@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: 2px; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}
@media (max-width: 380px) {
  .brand-sub { display: none; }
}

/* ---------- Sections (shared) ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); }
@media (min-width: 900px) {
  .section { padding: 104px 0; }
}

.section-head { max-width: 760px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--amber-700);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-head h2 { font-size: clamp(28px, 5.2vw, 44px); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: clamp(16px, 2.2vw, 18px); color: var(--body); }

.note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.55;
}
.note .icon { margin-top: 2px; color: var(--amber-600); }
.note-center { max-width: 760px; margin: 32px auto 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 85% 0%, rgba(245, 165, 36, 0.20), transparent 60%),
    radial-gradient(45% 40% at 0% 100%, rgba(34, 163, 82, 0.12), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #c6d1e1;
  padding: 48px 0 64px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1040px) {
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; }
}

.hero h1 {
  margin-top: 20px;
  color: var(--white);
  font-size: clamp(34px, 7.4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.07;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--amber-300), var(--amber-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin-top: 20px;
  max-width: 600px;
  color: #c6d1e1;
  font-size: clamp(17px, 2.4vw, 19px);
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}
@media (min-width: 520px) {
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
}

.hero-facts {
  display: grid;
  gap: 10px 20px;
  margin-top: 28px;
  list-style: none;
}
@media (min-width: 520px) {
  .hero-facts { grid-template-columns: 1fr 1fr; }
}
.hero-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #dbe3ef;
  font-size: 15px;
  line-height: 1.45;
}
.hero-facts .icon { margin-top: 1px; color: var(--amber-400); }
.hero-facts strong { color: var(--white); font-weight: 700; }

.hero-disclaimer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 600px;
  color: #9fb0c7;
  font-size: 13.5px;
  line-height: 1.55;
}

/* ---------- Dashboard mockup (illustrative) ---------- */
.mockup-wrap { position: relative; }
.mockup {
  position: relative;
  border-radius: 18px;
  background: #f7f9fc;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 9px; height: 9px; border-radius: 50%; background: #d7dde7; }
.mockup-title { font-weight: 700; font-size: 12px; color: var(--ink); }
.mockup-concept {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--amber-50);
  border: 1px solid var(--amber-100);
  color: var(--amber-700);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mockup-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .mockup-body { grid-template-columns: 52px 1fr; }
}
.mockup-side {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  background: var(--navy-900);
}
@media (min-width: 560px) { .mockup-side { display: flex; } }
.mockup-side span {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  color: #8ea0bb;
}
.mockup-side span.active { background: rgba(255, 190, 61, 0.14); color: var(--amber-400); }
.mockup-side .icon { width: 17px; height: 17px; }

.mockup-main { padding: 14px; display: grid; gap: 12px; min-width: 0; }
.mockup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mockup-head b { font-size: 14px; font-family: var(--font-head); }
.mockup-head small { color: var(--muted); font-size: 11px; }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi {
  padding: 10px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
}
.kpi-label { display: block; color: var(--muted); font-size: 10.5px; }
.kpi-value { display: block; margin-top: 4px; font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--ink); }
.kpi-value.amber { color: var(--amber-700); }
.kpi-value.green { color: var(--green-700); }

.panel {
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 11.5px;
}
.panel-head span { color: var(--muted); font-weight: 500; }
.row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid #eef1f6;
}
.row:last-child { border-bottom: 0; }
.row-id { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 11px; }
.row-main { min-width: 0; }
.row-main b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-main small { display: block; color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}
.status-open { background: #fff1e0; color: #a85a00; }
.status-progress { background: #e8f0fe; color: #1d4ed8; }
.status-done { background: var(--green-50); color: var(--green-700); }
.status-soon { background: #fff1e0; color: #a85a00; }
.status-ok { background: #eef2f8; color: #3f4c63; }

.mockup-split { display: grid; gap: 12px; }
@media (min-width: 560px) { .mockup-split { grid-template-columns: 1.25fr 1fr; } }

.mockup-caption {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  color: #9fb0c7;
  font-size: 13px;
  line-height: 1.5;
}
.mockup-caption .icon { margin-top: 1px; color: var(--amber-400); }

.mockup-float {
  display: none;
  position: absolute;
  left: -28px; bottom: 54px;
  width: 210px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(5, 13, 28, 0.35);
  color: var(--ink);
  font-size: 12px;
}
.mockup-float b { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 12.5px; }
.mockup-float b .icon { width: 15px; height: 15px; color: var(--amber-600); }
.mockup-float ul { list-style: none; margin-top: 8px; display: grid; gap: 5px; }
.mockup-float li { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; }
.mockup-float li span:last-child { color: var(--ink); font-weight: 600; }
@media (min-width: 1180px) { .mockup-float { display: block; } }

/* ---------- Problem ---------- */
.card-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.card p { margin-top: 8px; font-size: 15px; color: var(--body); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--amber-50);
  color: var(--amber-700);
  border: 1px solid var(--amber-100);
}
.icon-tile .icon { width: 22px; height: 22px; }
.icon-tile.navy { background: var(--navy-900); color: var(--amber-400); border-color: var(--navy-900); }
.icon-tile.green { background: var(--green-50); color: var(--green-700); border-color: #c9ecd6; }

.problem-foot {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14.5px;
  text-align: center;
}

/* ---------- Workflow ---------- */
.workflow {
  position: relative;
  display: grid;
  gap: 0;
  list-style: none;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding-bottom: 26px;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before {
  content: "";
  position: absolute;
  left: 27px; top: 56px; bottom: 0;
  width: 2px;
  background: linear-gradient(var(--amber-400), var(--line-strong));
}
.flow-step:last-child::before { display: none; }
.flow-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}
.flow-icon .icon { width: 24px; height: 24px; }
.flow-num {
  position: absolute;
  top: -8px; right: -8px;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--amber-400);
  color: var(--navy-950);
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 800;
}
.flow-step h3 { font-size: 17px; font-weight: 700; margin-top: 4px; }
.flow-step p { margin-top: 4px; font-size: 14.5px; color: var(--body); }

@media (min-width: 1040px) {
  .workflow { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
  .flow-step { grid-template-columns: 1fr; gap: 14px; padding-bottom: 0; text-align: center; justify-items: center; }
  .flow-step::before {
    left: calc(50% + 36px); right: calc(-50% + 22px);
    top: 27px; bottom: auto;
    width: auto; height: 2px;
    background: linear-gradient(90deg, var(--amber-400), var(--line-strong));
  }
  .flow-step h3 { font-size: 15.5px; margin-top: 2px; }
  .flow-step p { font-size: 13.5px; }
}

.solution-points {
  display: grid;
  gap: 12px;
  margin-top: 40px;
  list-style: none;
}
@media (min-width: 760px) { .solution-points { grid-template-columns: repeat(3, 1fr); } }
.solution-points li {
  display: flex;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 15px;
}
.solution-points .icon { color: var(--green-600); margin-top: 2px; }
.solution-points b { color: var(--ink); }

/* ---------- Modules (planned features) ---------- */
.modules-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 28px;
}

.module {
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.module-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.module-top .icon-tile { margin-bottom: 14px; }
.module-num {
  color: var(--line-strong);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.module h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.module ul {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  list-style: none;
}
.module li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--body);
}
.module li::before {
  content: "";
  position: absolute;
  left: 2px; top: 7px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--green-500);
  border-bottom: 2px solid var(--green-500);
  transform: rotate(-45deg);
}
.module-note {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.module-note .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--amber-600); }
.module.featured {
  background: linear-gradient(180deg, #fffdf8, var(--white));
  border-color: var(--amber-100);
}

.scope-box {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-strong);
  background: var(--white);
}
@media (min-width: 860px) { .scope-box { grid-template-columns: 260px 1fr; align-items: center; } }
.scope-box h3 { font-size: 17px; }
.scope-box p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.scope-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.scope-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--body);
  font-size: 13.5px;
}
.scope-list .icon { width: 14px; height: 14px; color: var(--muted); }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 16px; list-style: none; }
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.step {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.step-num {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--amber-600);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.step-big {
  position: absolute;
  right: 14px; top: 2px;
  color: var(--surface-2);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 84px;
  line-height: 1;
  pointer-events: none;
}
.step h3 { position: relative; font-size: 19px; }
.step p { position: relative; margin-top: 8px; font-size: 15px; }
.step .icon-tile { position: relative; }

/* ---------- Pricing ---------- */
.pricing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(245, 165, 36, 0.16), transparent 65%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #c6d1e1;
}
.pricing .section-head h2 { color: var(--white); }
.pricing .section-head p { color: #c6d1e1; }
.pricing .eyebrow { color: var(--amber-300); }

.pricing-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .pricing-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; } }

.terms-list { display: grid; gap: 14px; list-style: none; margin-top: 8px; }
.terms-list li { display: flex; gap: 12px; color: #dbe3ef; font-size: 15.5px; line-height: 1.55; }
.terms-list .icon { margin-top: 3px; color: var(--amber-400); }

.price-card {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius-xl);
  background: var(--white);
  color: var(--body);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 560px) { .price-card { padding: 36px; } }
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(90deg, var(--amber-400), var(--amber-600));
}
.price-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.price-card h3 { font-size: 22px; font-weight: 800; }
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 18px;
}
.price-amount {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(48px, 11vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-period { color: var(--body); font-size: 18px; font-weight: 600; }
.price-sub { margin-top: 10px; font-size: 14px; color: var(--muted); }
.price-users {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--amber-50);
  border: 1px solid var(--amber-100);
  color: var(--ink);
  font-weight: 600;
}
.price-users .icon { color: var(--amber-700); }
.price-users small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }

.included-label {
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}
.included {
  display: grid;
  gap: 10px 20px;
  margin-top: 14px;
  list-style: none;
}
@media (min-width: 560px) { .included { grid-template-columns: 1fr 1fr; } }
.included li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.included .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--green-600); }

.price-card .btn { margin-top: 26px; }
.price-fine {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  text-align: center;
}

/* ---------- Apply / form ---------- */
.apply-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) { .apply-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; } }

.next-steps { display: grid; gap: 18px; list-style: none; margin-top: 28px; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.next-steps li::before {
  counter-increment: ns;
  content: counter(ns);
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--amber-400);
  font-family: var(--font-head);
  font-weight: 800;
}
.next-steps b { display: block; color: var(--ink); font-size: 16px; }
.next-steps span { display: block; margin-top: 2px; font-size: 14.5px; }

.apply-contact {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.apply-contact a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

.form-card {
  padding: 24px 18px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@media (min-width: 560px) { .form-card { padding: 36px; } }
.form-card-head h3 { font-size: 22px; font-weight: 800; }
.form-card-head p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

.form-grid { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: 1 / -1; }
}

.field > label:not(.consent), .field legend {
  display: block;
  margin-bottom: 7px;
  padding: 0;
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.4;
}
.req { color: var(--red-700); margin-left: 2px; }
.opt { color: var(--muted); font-weight: 500; font-size: 13px; margin-left: 4px; }

.input, .select, .textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px; /* prevents iOS zoom on focus */
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.textarea { min-height: 96px; resize: vertical; }
.select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235f6b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.input::placeholder, .textarea::placeholder { color: #8b96a8; }
.input:hover, .select:hover, .textarea:hover { border-color: #b4c0d1; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--amber-600);
  box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.2);
}

.phone-group { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }

.field-hint { margin-top: 6px; color: var(--muted); font-size: 13px; }
.field-error {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--red-700);
  font-size: 13.5px;
  font-weight: 500;
}
.field-error .icon { width: 15px; height: 15px; }
.field.has-error .field-error { display: flex; }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--red-700); }
.field.has-error .input:focus,
.field.has-error .select:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.15); }

fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.radio-list { display: grid; gap: 10px; }
.radio {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.radio:hover { border-color: #b4c0d1; }
.radio input {
  width: 20px; height: 20px;
  margin: 0;
  flex: none;
  accent-color: var(--amber-600);
  cursor: pointer;
}
.radio:has(input:checked) { border-color: var(--amber-600); background: var(--amber-50); }
.radio:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.25); }
.field.has-error .radio { border-color: #e7a59f; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--body);
}
.consent input {
  width: 22px; height: 22px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--amber-600);
  cursor: pointer;
}
.consent a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.field.has-error .consent { border-color: var(--red-700); background: var(--red-50); }

.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-actions { margin-top: 24px; }
.form-fine {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  text-align: center;
}

.spinner { display: none; animation: spin 0.8s linear infinite; }
.is-submitting .spinner { display: block; }
.is-submitting .icon-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-alert {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.55;
}
.form-alert[hidden] { display: none; }
.form-alert .icon { margin-top: 2px; }
.form-alert-error { background: var(--red-50); border: 1px solid #f5c2bd; color: #7a1a12; }
.form-alert-error a { color: inherit; font-weight: 700; }

.form-success { text-align: center; padding: 16px 4px; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.success-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid #c9ecd6;
}
.success-icon .icon { width: 30px; height: 30px; }
.form-success h3 { font-size: 24px; }
.form-success p { margin-top: 10px; font-size: 15.5px; }
.form-success .small { font-size: 13.5px; color: var(--muted); }

/* ---------- Company ---------- */
.company-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .company-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; } }

.company-intro p + p { margin-top: 14px; }
.company-intro .btn { margin-top: 26px; }

.facts {
  margin: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.fact {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.fact:last-child { border-bottom: 0; }
@media (min-width: 640px) { .fact { grid-template-columns: 210px 1fr; gap: 16px; } }
.fact dt { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.fact dd { margin: 0; color: var(--ink); font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.fact dd a { color: var(--ink); text-underline-offset: 3px; }
.fact dd small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.faq summary .icon { color: var(--muted); transition: transform 0.2s ease; }
.faq[open] summary .icon { transform: rotate(180deg); color: var(--amber-600); }
.faq-body { padding: 0 20px 18px; font-size: 15.5px; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 0 0 72px; }
@media (min-width: 900px) { .final-cta { padding-bottom: 104px; } }
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 44px 24px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(245, 165, 36, 0.28), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: #c6d1e1;
  text-align: center;
}
@media (min-width: 760px) { .cta-panel { padding: 64px 48px; } }
.cta-panel h2 { color: var(--white); font-size: clamp(28px, 5vw, 42px); font-weight: 800; max-width: 760px; margin: 0 auto; }
.cta-panel p { max-width: 640px; margin: 16px auto 0; font-size: 17px; }
.cta-panel .btn { margin-top: 28px; }
.cta-panel small { display: block; margin-top: 14px; color: #9fb0c7; font-size: 13.5px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #9fb0c7;
  padding: 56px 0 calc(32px + env(safe-area-inset-bottom));
  font-size: 14.5px;
}
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-sub { color: #9fb0c7; white-space: normal; }
.footer-about { margin-top: 16px; max-width: 420px; }
.footer-title {
  margin-bottom: 14px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
}
.footer-links { display: grid; gap: 10px; list-style: none; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  color: #c6d1e1;
  text-decoration: none;
}
.footer-links a:hover { color: var(--amber-300); text-decoration: underline; text-underline-offset: 3px; }
.footer-links .icon { width: 16px; height: 16px; color: #7f91ab; }
.footer-disclaimer {
  margin-top: 40px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  line-height: 1.6;
}
.footer-disclaimer strong { color: #dbe3ef; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}
.footer-bottom a { color: #c6d1e1; text-underline-offset: 3px; }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(10, 24, 48, 0.08);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta small { display: block; margin-top: 6px; text-align: center; color: var(--muted); font-size: 12px; }
@media (min-width: 1000px) { .sticky-cta { display: none; } }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.06s; }
.js .reveal-d2 { transition-delay: 0.12s; }
.js .reveal-d3 { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal / simple pages ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #c6d1e1;
  padding: 56px 0 48px;
}
.page-hero h1 { color: var(--white); font-size: clamp(30px, 6vw, 44px); font-weight: 800; }
.page-hero p { margin-top: 12px; font-size: 16px; }
.prose { padding: 48px 0 80px; }
.prose h2 { margin-top: 40px; font-size: 22px; font-weight: 800; }
.prose h3 { margin-top: 24px; font-size: 17px; font-weight: 700; }
.prose p, .prose ul, .prose ol { margin-top: 12px; font-size: 16px; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--surface); color: var(--ink); }
.table-wrap { overflow-x: auto; }

.thanks {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 64px 0 88px;
  text-align: center;
}
.thanks-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@media (min-width: 560px) { .thanks-card { padding: 48px; } }
.thanks-card h1 { font-size: clamp(28px, 5vw, 38px); font-weight: 800; }
.thanks-card p { margin-top: 14px; font-size: 16.5px; }
.thanks-card ol { margin-top: 24px; text-align: left; display: grid; gap: 12px; padding-left: 22px; font-size: 15.5px; }
.thanks-card .btn { margin-top: 28px; }
.simple-header .header-inner { min-height: 64px; }
.row-2 { grid-template-columns: minmax(0, 1fr) auto; }
