/* Self-hosted fonts (latin subsets) — the marketing site makes zero third-party requests. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/geist-variable-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2");
}

:root {
  --bg: #f7f8f3;
  --surface: #ffffff;
  --surface-2: #f1f4ee;
  --surface-3: #eef2ff;
  --ink: #121418;
  --ink-2: #242830;
  --muted: #626972;
  --muted-2: #818892;
  --line: #dfe4dc;
  --line-strong: #cfd6cc;
  --accent: #655cf6;
  --accent-dark: #4d45cf;
  --accent-soft: #e9e7ff;
  --lime: #d8ff72;
  --lime-strong: #bce94e;
  --mint: #c9f4dd;
  --mint-soft: #ebfbf2;
  --blue-soft: #e9f1ff;
  --peach-soft: #fff0df;
  --danger: #c43d4d;
  --danger-soft: #ffebee;
  --warning: #8a5a00;
  --warning-soft: #fff3ce;
  --success: #247a4f;
  --success-soft: #e7f8ee;
  --shadow-sm: 0 8px 24px rgba(24, 30, 24, 0.07);
  --shadow-md: 0 22px 60px rgba(26, 31, 25, 0.10);
  --shadow-lg: 0 38px 100px rgba(26, 30, 25, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 38px;
  --shell: 1220px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a,
input,
textarea,
select {
  font-family: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  margin: 0;
}

p,
h1,
h2,
h3,
h4,
ul,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

p {
  color: var(--muted);
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(207, 214, 204, 0.72);
  background: rgba(247, 248, 243, 0.84);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(18, 20, 24, 0.12);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--lime), var(--mint));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 16px rgba(56, 69, 39, 0.12);
  color: var(--ink);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  color: #4e555e;
  font-size: 14px;
  font-weight: 590;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.open > span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open > span:nth-child(3) {
  opacity: 0;
}

.menu-toggle.open > span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 680;
  line-height: 1;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.site-nav a:focus-visible,
.role-tab:focus-visible,
.role-choice:focus-visible,
.billing-option:focus-visible,
.text-button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(101, 92, 246, 0.25);
  outline-offset: 3px;
}

.button-small {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 13px;
}

.button-primary,
.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(18, 20, 24, 0.17);
  color: #fff;
}

.button-primary:hover,
.button-dark:hover {
  background: #292d34;
  box-shadow: 0 14px 30px rgba(18, 20, 24, 0.22);
}

.button-secondary,
.button-outline,
.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.button-secondary:hover,
.button-outline:hover,
.button-ghost:hover {
  border-color: #b9c0b6;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.button-light {
  border-color: rgba(18, 20, 24, 0.12);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

/* Shared section styles */
.section {
  position: relative;
  padding: 116px 0;
}

.section-light {
  background: #fbfcf8;
}

.section-mist {
  background:
    radial-gradient(circle at 95% 5%, rgba(201, 244, 221, 0.72), transparent 28%),
    linear-gradient(180deg, #eff4ff 0%, #f4f7ff 100%);
}

.section-dark,
.section-ink {
  color: var(--ink);
}

.section-heading {
  max-width: 700px;
}

.section-heading.centered {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 64px);
}

.section-heading p {
  margin-bottom: 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 22px;
  padding: 8px 11px;
  border: 1px solid rgba(18, 20, 24, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #4e555e;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow.light {
  border-color: rgba(101, 92, 246, 0.16);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #71b73a;
  box-shadow: 0 0 0 4px rgba(113, 183, 58, 0.12);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 154px 0 92px;
  background:
    radial-gradient(circle at 10% 14%, rgba(216, 255, 114, 0.44), transparent 24%),
    radial-gradient(circle at 88% 22%, rgba(101, 92, 246, 0.20), transparent 28%),
    radial-gradient(circle at 68% 92%, rgba(201, 244, 221, 0.50), transparent 28%),
    linear-gradient(180deg, #fbfcf7 0%, #f6f8f2 100%);
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 20, 24, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 24, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 85%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 112px;
  right: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(101, 92, 246, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-orb-one {
  top: 138px;
  left: -100px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(18, 20, 24, 0.08);
}

.hero-orb-two {
  right: 7%;
  bottom: 44px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(216, 255, 114, 0.75), rgba(201, 244, 221, 0.78));
  box-shadow: 0 18px 48px rgba(70, 95, 61, 0.16);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(540px, 1.08fr);
  align-items: center;
  gap: clamp(44px, 6vw, 82px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 27px;
  font-size: clamp(58px, 6.6vw, 86px);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero-copy h1 span {
  color: var(--accent);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.12em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 31px;
  color: #555d66;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.trust-row > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(18, 20, 24, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 14px rgba(39, 46, 37, 0.04);
  color: #535b64;
  font-size: 12px;
  font-weight: 600;
}

.trust-row svg {
  width: 15px;
  height: 15px;
  padding: 2px;
  border-radius: 50%;
  background: var(--lime);
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Product demo */
.product-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(18, 20, 24, 0.12);
  border-radius: 27px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.product-window::before {
  position: absolute;
  z-index: -1;
  inset: -22px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(216, 255, 114, 0.65), rgba(101, 92, 246, 0.28), rgba(201, 244, 221, 0.55));
  content: "";
  filter: blur(32px);
  opacity: 0.55;
}

.window-topbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 17px;
  border-bottom: 1px solid #e7ebe5;
  background: rgba(250, 251, 248, 0.96);
}

.window-brand,
.window-status {
  display: flex;
  align-items: center;
}

.window-brand {
  gap: 9px;
  color: #252a31;
  font-size: 13px;
  font-weight: 720;
}

.mini-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--lime), var(--mint));
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.window-status {
  gap: 7px;
  color: #687078;
  font-size: 10px;
  font-weight: 650;
}

.window-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dac6b;
  box-shadow: 0 0 0 3px rgba(61, 172, 107, 0.12);
}

.window-body {
  padding: 18px;
  background: #f8faf7;
}

.role-switcher {
  display: inline-flex;
  max-width: 100%;
  padding: 4px;
  gap: 3px;
  overflow-x: auto;
  border: 1px solid #e3e7e1;
  border-radius: 12px;
  background: #eef1ec;
  scrollbar-width: none;
}

.role-switcher::-webkit-scrollbar {
  display: none;
}

.role-tab {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #697078;
  cursor: pointer;
  font-size: 10px;
  font-weight: 680;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.role-tab.active {
  background: #fff;
  box-shadow: 0 4px 12px rgba(28, 35, 28, 0.08);
  color: var(--ink);
}

.brief-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 20px 0 14px;
}

.micro-label,
.panel-kicker {
  color: #7a818a;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brief-heading h2 {
  margin: 3px 0 0;
  color: #20242a;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.date-chip {
  flex: 0 0 auto;
  padding: 6px 8px;
  border: 1px solid #dce2da;
  border-radius: 8px;
  background: #fff;
  color: #717981;
  font-size: 9px;
  font-weight: 650;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.metric-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid #e0e5de;
  border-radius: 13px;
  background: #fff;
}

.metric-card > span,
.metric-card > strong,
.metric-card > small {
  display: block;
}

.metric-card > span {
  overflow: hidden;
  margin-bottom: 7px;
  color: #747b84;
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-card > strong {
  margin-bottom: 4px;
  color: #20242a;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.metric-card > small {
  color: #747b84;
  font-size: 8px;
  line-height: 1.35;
}

.metric-card > small.negative {
  color: var(--danger);
}

.insight-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #cae9d7;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--mint-soft), #f5fff9);
}

.insight-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--lime);
  color: var(--ink);
}

.insight-icon svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.insight-card p {
  margin: 5px 0 7px;
  color: #343a40;
  font-size: 10px;
  line-height: 1.5;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 9px;
  font-weight: 720;
}

.action-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 17px 1px 8px;
}

.action-heading h3 {
  margin: 0;
  color: #2b3036;
  font-size: 12px;
  letter-spacing: -0.02em;
}

.action-heading > span {
  color: #7c838b;
  font-size: 9px;
  font-weight: 600;
}

.action-list {
  display: grid;
  gap: 7px;
}

.action-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e1e6df;
  border-radius: 12px;
  background: #fff;
}

.action-type {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 760;
}

.action-type.email {
  background: var(--blue-soft);
  color: #315dbe;
}

.action-type.approval {
  background: var(--mint-soft);
  color: var(--success);
}

.action-type.project {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.action-copy {
  min-width: 0;
}

.action-copy strong,
.action-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-copy strong {
  margin-bottom: 2px;
  color: #2c3137;
  font-size: 9px;
  font-weight: 690;
}

.action-copy span {
  color: #7b828a;
  font-size: 8px;
}

.risk-chip {
  padding: 5px 7px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}

.risk-chip.warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.risk-chip.danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.window-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding: 0 2px;
  color: #8a9198;
  font-size: 8px;
}

.window-footer > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.window-footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #77ba42;
}

/* Proof strip */
.proof-strip {
  position: relative;
  z-index: 4;
  padding: 0 0 28px;
  background: #fbfcf8;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-top: -34px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.proof-grid > div {
  padding: 24px 22px;
}

.proof-grid > div + div {
  border-left: 1px solid var(--line);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -0.02em;
}

.proof-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

/* Product map */
.system-map {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 70px minmax(260px, 1.25fr) 70px minmax(180px, 1fr);
  align-items: stretch;
  gap: 16px;
  margin-top: 58px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
}

.source-column,
.role-column {
  display: grid;
  align-content: center;
  gap: 10px;
}

.column-label {
  margin-bottom: 4px;
  color: #858d95;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.source-pill,
.role-pill {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e1e6df;
  border-radius: 13px;
  background: #fbfcfa;
  color: #444b53;
  font-size: 12px;
  font-weight: 620;
}

.source-icon,
.role-pill > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--surface-2);
  color: #49505a;
  font-size: 11px;
  font-weight: 760;
}

.role-pill:nth-child(2) > span,
.role-pill:nth-child(5) > span {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.role-pill:nth-child(3) > span {
  background: var(--mint-soft);
  color: var(--success);
}

.role-pill:nth-child(4) > span {
  background: var(--blue-soft);
  color: #315dbe;
}

.role-pill:nth-child(6) > span {
  background: var(--peach-soft);
  color: #a15a1e;
}

.map-arrow {
  display: grid;
  place-items: center;
  color: #a5aca4;
}

.map-arrow svg {
  width: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.moglee-core {
  position: relative;
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(101, 92, 246, 0.20);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 255, 114, 0.72), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(201, 244, 221, 0.85), transparent 36%),
    linear-gradient(135deg, #f5f3ff, #fbfffa);
  text-align: center;
}

.moglee-core::after {
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(101, 92, 246, 0.20);
  border-radius: 17px;
  content: "";
}

.core-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(101, 92, 246, 0.15);
  filter: blur(38px);
  transform: translate(-50%, -50%);
}

.core-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(18, 20, 24, 0.12);
  border-radius: 21px;
  background: linear-gradient(135deg, var(--lime), var(--mint));
  box-shadow: 0 18px 34px rgba(67, 86, 51, 0.16);
  color: var(--ink);
  font-size: 25px;
  font-weight: 800;
}

.moglee-core strong,
.moglee-core small {
  position: relative;
  z-index: 1;
}

.moglee-core strong {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 19px;
  letter-spacing: -0.03em;
}

.moglee-core small {
  max-width: 230px;
  color: #646b73;
  font-size: 11px;
  line-height: 1.5;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 34, 28, 0.04);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.feature-card::before {
  position: absolute;
  top: -70px;
  right: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(216, 255, 114, 0.28);
  content: "";
}

.feature-card:nth-child(2)::before {
  background: rgba(101, 92, 246, 0.13);
}

.feature-card:nth-child(3)::before {
  background: rgba(201, 244, 221, 0.55);
}

.feature-card:nth-child(4)::before {
  background: rgba(233, 241, 255, 0.9);
}

.feature-card:hover {
  border-color: #cbd2c8;
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.feature-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(18, 20, 24, 0.09);
  border-radius: 15px;
  background: linear-gradient(135deg, var(--lime), var(--mint));
  color: var(--ink);
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--mint-soft);
  color: var(--success);
}

.feature-card:nth-child(4) .feature-icon {
  background: var(--blue-soft);
  color: #315dbe;
}

.feature-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.availability {
  width: fit-content;
  margin-bottom: 15px;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.availability.available {
  background: var(--success-soft);
  color: var(--success);
}

.availability.preview {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.feature-card p {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.65;
}

.feature-card > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.feature-card > a span {
  transition: transform 180ms ease;
}

.feature-card > a:hover span {
  transform: translateX(4px);
}

/* Outcome section */
#outcomes .section-heading {
  max-width: 760px;
}

.outcome-loop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  padding: 24px;
  border: 1px solid rgba(101, 92, 246, 0.15);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.loop-step {
  position: relative;
  min-height: 190px;
  padding: 20px 14px 16px;
  border: 1px solid #e1e6df;
  border-radius: 17px;
  background: #fff;
  text-align: center;
}

.loop-step > span {
  position: absolute;
  top: 10px;
  right: 11px;
  color: #a0a7af;
  font-size: 9px;
  font-weight: 760;
}

.loop-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 7px auto 16px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--ink);
  font-size: 18px;
}

.loop-step:nth-of-type(2) .loop-icon {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.loop-step:nth-of-type(3) .loop-icon {
  background: var(--blue-soft);
  color: #315dbe;
}

.loop-step:nth-of-type(4) .loop-icon {
  background: var(--mint-soft);
  color: var(--success);
}

.loop-step:nth-of-type(5) .loop-icon {
  background: var(--peach-soft);
  color: #9c571e;
}

.loop-step strong,
.loop-step small {
  display: block;
}

.loop-step strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -0.02em;
}

.loop-step small {
  color: #717981;
  font-size: 10px;
  line-height: 1.5;
}

.loop-connector {
  color: #a1a8b0;
  font-size: 17px;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.use-case-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  min-height: 365px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(18, 20, 24, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(34, 41, 34, 0.04);
}

.use-case-card:nth-child(1) {
  background: linear-gradient(160deg, #fff 42%, #f1f7ff 100%);
}

.use-case-card:nth-child(2) {
  background: linear-gradient(160deg, #fff 42%, #f0edff 100%);
}

.use-case-card:nth-child(3) {
  background: linear-gradient(160deg, #fff 42%, #eaf9f1 100%);
}

.use-case-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(18, 20, 24, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 760;
}

.use-case-card h3 {
  margin: 5px 0 14px;
  font-size: 27px;
}

.use-case-card p {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.65;
}

.use-case-card ul,
.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.use-case-card li,
.price-card li {
  position: relative;
  padding-left: 22px;
  color: #545c64;
  font-size: 13px;
  line-height: 1.45;
}

.use-case-card li + li,
.price-card li + li {
  margin-top: 10px;
}

.use-case-card li::before,
.price-card li::before {
  position: absolute;
  top: 0.23em;
  left: 0;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  content: "✓";
  font-size: 9px;
  font-weight: 800;
}

/* Role section */
.role-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(216, 255, 114, 0.42), transparent 28%),
    radial-gradient(circle at 90% 88%, rgba(201, 244, 221, 0.60), transparent 28%),
    linear-gradient(135deg, #f5f1ff 0%, #f0f5ff 52%, #f6fbf4 100%);
}

.role-section::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(101, 92, 246, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  opacity: 0.34;
  mask-image: linear-gradient(to right, transparent, #000 30%, #000 70%, transparent);
}

.role-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(48px, 7vw, 90px);
}

.role-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(44px, 5vw, 64px);
}

.role-copy > p {
  max-width: 590px;
  margin-bottom: 30px;
  font-size: 18px;
}

.role-list {
  display: grid;
  gap: 8px;
  max-width: 560px;
}

.role-choice {
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(18, 20, 24, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
  color: #525a63;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.role-choice > span {
  color: #9299a1;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.role-choice:hover {
  background: #fff;
  transform: translateX(4px);
}

.role-choice.active {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(18, 20, 24, 0.16);
  color: #fff;
}

.role-choice.active > span {
  color: var(--lime);
}

.role-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(18, 20, 24, 0.10);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.role-panel::before {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(216, 255, 114, 0.72), rgba(201, 244, 221, 0.7));
  content: "";
  filter: blur(4px);
}

.role-panel > * {
  position: relative;
  z-index: 1;
}

.panel-kicker {
  margin-bottom: 16px;
  color: var(--accent-dark);
}

.role-panel h3 {
  max-width: 610px;
  margin-bottom: 16px;
  font-size: clamp(32px, 3.2vw, 44px);
}

.role-panel > p {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: 16px;
}

.role-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #e1e6df;
  border-radius: 18px;
  background: #f8faf7;
}

.role-panel-grid > div {
  min-width: 0;
  padding: 17px;
}

.role-panel-grid > div + div {
  border-left: 1px solid #e1e6df;
}

.role-panel-grid span,
.role-panel-grid strong,
.role-panel-grid small {
  display: block;
}

.role-panel-grid span {
  margin-bottom: 8px;
  overflow: hidden;
  color: #767e86;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.role-panel-grid strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.role-panel-grid small {
  color: #767e86;
  font-size: 9px;
}

.role-panel blockquote {
  margin: 20px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--lime-strong);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, var(--mint-soft), rgba(235, 251, 242, 0.25));
  color: #383e45;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.45;
}

/* Integration map */
.integration-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(48px, 7vw, 90px);
}

.integration-grid .section-heading .button {
  margin-top: 30px;
}

.unlock-map {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.unlock-row {
  display: grid;
  grid-template-columns: minmax(165px, 0.9fr) minmax(28px, 0.2fr) minmax(235px, 1.2fr);
  align-items: center;
  gap: 15px;
  padding: 13px;
  border-radius: 15px;
  transition: background 160ms ease;
}

.unlock-row:hover {
  background: #f7f9f5;
}

.unlock-row + .unlock-row {
  margin-top: 4px;
}

.unlock-source,
.unlock-outcome {
  color: #3d444c;
  font-size: 12px;
  font-weight: 630;
}

.unlock-source {
  display: flex;
  align-items: center;
  gap: 9px;
}

.unlock-source > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
}

.unlock-row:nth-child(2) .unlock-source > span {
  background: var(--mint-soft);
  color: var(--success);
}

.unlock-row:nth-child(3) .unlock-source > span {
  background: var(--peach-soft);
  color: #9c571e;
}

.unlock-row:nth-child(4) .unlock-source > span {
  background: var(--blue-soft);
  color: #315dbe;
}

.unlock-row:nth-child(5) .unlock-source > span {
  background: #f1f3ef;
  color: #59616a;
}

.unlock-line {
  position: relative;
  height: 1px;
  background: repeating-linear-gradient(90deg, #cbd1c9 0 5px, transparent 5px 10px);
}

.unlock-line::after {
  position: absolute;
  top: 50%;
  right: -2px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #aeb5ad;
  border-right: 1.5px solid #aeb5ad;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.unlock-outcome {
  color: #626a73;
  font-weight: 520;
}

.metric-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  padding: 15px;
  border-top: 1px solid #e7ebe5;
}

.metric-statuses > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #69717a;
  font-size: 10px;
  font-weight: 620;
}

.metric-statuses i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.metric-statuses .certified { background: #2e9b63; }
.metric-statuses .calculated { background: #557eea; }
.metric-statuses .partial { background: #d49b23; }
.metric-statuses .inferred { background: #8a6ce8; }
.metric-statuses .unavailable { background: #a6adb5; }

/* Security */
.section-ink {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 90%, rgba(216, 255, 114, 0.40), transparent 26%),
    radial-gradient(circle at 90% 5%, rgba(101, 92, 246, 0.15), transparent 28%),
    linear-gradient(180deg, #f2f5f8 0%, #f6f8f6 100%);
}

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(52px, 7vw, 94px);
}

.security-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(18, 20, 24, 0.10);
  border-radius: 34px;
  background:
    linear-gradient(rgba(18, 20, 24, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 24, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 25% 20%, rgba(216, 255, 114, 0.78), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(201, 244, 221, 0.9), transparent 38%),
    linear-gradient(135deg, #f7f5ff, #f8fcf6);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
  box-shadow: var(--shadow-md);
}

.permission-card {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  width: min(335px, calc(100% - 60px));
  padding: 14px;
  border: 1px solid rgba(18, 20, 24, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.permission-card-one {
  top: 62px;
  left: 34px;
}

.permission-card-two {
  top: 154px;
  right: 32px;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 780;
}

.avatar.green {
  background: var(--mint-soft);
  color: var(--success);
}

.avatar.blue {
  background: var(--blue-soft);
  color: #315dbe;
}

.permission-card strong,
.permission-card small {
  display: block;
}

.permission-card strong {
  color: #2c3137;
  font-size: 12px;
}

.permission-card small {
  color: #7b828a;
  font-size: 9px;
}

.permission-state {
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 760;
}

.permission-state.allow {
  background: var(--success-soft);
  color: var(--success);
}

.permission-state.deny {
  background: var(--danger-soft);
  color: var(--danger);
}

.policy-card {
  position: absolute;
  z-index: 3;
  right: 42px;
  bottom: 38px;
  left: 42px;
  overflow: hidden;
  padding: 21px;
  border: 1px solid rgba(18, 20, 24, 0.10);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.policy-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e2e7e0;
}

.policy-top span {
  color: #7a828a;
  font-size: 10px;
  font-weight: 650;
}

.policy-top strong {
  color: var(--accent-dark);
  font-size: 12px;
  text-align: right;
}

.policy-rule {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4e565e;
  font-size: 11px;
  font-weight: 570;
}

.policy-rule + .policy-rule {
  margin-top: 11px;
}

.policy-rule > span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.security-points {
  display: grid;
  gap: 9px;
  margin: 30px 0;
}

.security-points > div {
  display: grid;
  grid-template-columns: 37px 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(18, 20, 24, 0.09);
}

.security-points > div > span {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 9px;
  font-weight: 780;
}

.security-points p {
  margin: 2px 0 0;
  color: #5b636b;
  font-size: 13px;
  line-height: 1.55;
}

.security-points strong {
  color: #30353c;
}

/* Pricing */
.pricing-section {
  background:
    radial-gradient(circle at 6% 25%, rgba(201, 244, 221, 0.45), transparent 25%),
    #fbfcf8;
}

.pricing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.billing-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}

.billing-option {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #707780;
  cursor: pointer;
  font-size: 11px;
  font-weight: 680;
}

.billing-option.active {
  background: #fff;
  box-shadow: 0 5px 14px rgba(31, 37, 31, 0.08);
  color: var(--ink);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.price-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 575px;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(33, 39, 33, 0.04);
}

.price-card.featured {
  border-color: rgba(101, 92, 246, 0.42);
  background:
    radial-gradient(circle at 90% 0%, rgba(216, 255, 114, 0.52), transparent 27%),
    linear-gradient(180deg, #fbfaff 0%, #fff 100%);
  box-shadow: 0 25px 55px rgba(79, 71, 204, 0.12);
  transform: translateY(-9px);
}

.recommended {
  position: absolute;
  top: 0;
  right: 25px;
  padding: 7px 10px;
  border-radius: 0 0 10px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 8px;
  font-weight: 790;
  letter-spacing: 0.10em;
}

.plan-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: #5e666e;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.10em;
}

.price-card.featured .plan-tag {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.price-top h3 {
  min-height: 68px;
  margin-bottom: 12px;
  font-size: 27px;
}

.price-top p {
  min-height: 92px;
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.58;
}

.price {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 7px;
  color: var(--ink);
}

.price .currency {
  align-self: flex-start;
  margin: 7px 3px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.price strong {
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.price .period {
  margin: 0 0 4px 5px;
  color: #7c848c;
  font-size: 9px;
  line-height: 1.25;
}

.seat-price {
  min-height: 39px;
  margin-bottom: 20px;
  color: #6e767e;
  font-size: 11px;
  font-weight: 590;
}

.price-card ul {
  margin-bottom: 24px;
}

.price-card li {
  font-size: 12px;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
  padding-inline: 12px;
  font-size: 12px;
}

.pilot-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 34px;
  margin-top: 28px;
  padding: 30px 34px;
  overflow: hidden;
  border: 1px solid rgba(18, 20, 24, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 15%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(135deg, var(--lime), var(--mint));
  box-shadow: var(--shadow-sm);
}

.pilot-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #45621f;
  font-size: 9px;
  font-weight: 790;
  letter-spacing: 0.10em;
}

.pilot-banner h3 {
  margin-bottom: 8px;
  font-size: 26px;
}

.pilot-banner p {
  max-width: 670px;
  margin-bottom: 0;
  color: #4c5b4d;
  font-size: 13px;
}

.pilot-price {
  min-width: 150px;
  text-align: right;
}

.pilot-price strong,
.pilot-price span {
  display: block;
}

.pilot-price strong {
  font-size: 32px;
  letter-spacing: -0.045em;
}

.pilot-price span {
  max-width: 150px;
  color: #556455;
  font-size: 9px;
  line-height: 1.35;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(44px, 7vw, 90px);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid rgba(18, 20, 24, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 7px 18px rgba(31, 37, 31, 0.035);
}

.faq-list summary {
  position: relative;
  padding: 19px 52px 19px 20px;
  color: #30363d;
  cursor: pointer;
  font-size: 14px;
  font-weight: 680;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 21px;
  width: 13px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--accent-dark);
  content: "";
  transition: transform 180ms ease;
}

.faq-list summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list summary::before {
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-list details[open] summary {
  color: var(--accent-dark);
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 21px;
  color: #626a72;
  font-size: 13px;
  line-height: 1.65;
}

/* Final CTA */
.final-cta {
  overflow: hidden;
  padding: 110px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.74), transparent 24%),
    radial-gradient(circle at 85% 90%, rgba(101, 92, 246, 0.22), transparent 30%),
    linear-gradient(135deg, #dfff82 0%, #c9f4dd 46%, #e2ddff 100%);
}

.final-cta::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18, 20, 24, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  content: "";
  opacity: 0.24;
  mask-image: linear-gradient(to bottom, transparent 8%, #000 40%, transparent 94%);
}

.final-orb {
  position: absolute;
  top: -150px;
  right: 10%;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(18, 20, 24, 0.12);
  border-radius: 50%;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 930px;
  text-align: center;
}

.final-cta-inner .eyebrow {
  margin-inline: auto;
}

.final-cta-inner h2 {
  margin-bottom: 20px;
  font-size: clamp(48px, 6vw, 76px);
}

.final-cta-inner > p {
  max-width: 760px;
  margin: 0 auto 30px;
  color: #4d5a50;
  font-size: 19px;
}

.final-cta .hero-actions {
  justify-content: center;
}

.final-cta .button-secondary {
  background: rgba(255, 255, 255, 0.72);
}

.sample-note {
  display: block;
  max-width: 740px;
  margin: 24px auto 0;
  color: rgba(40, 52, 43, 0.66);
  font-size: 10px;
  line-height: 1.55;
}

/* Footer */
.site-footer {
  padding: 62px 0 24px;
  border-top: 1px solid var(--line);
  background: #fbfcf8;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.9fr);
  gap: 70px;
  padding-bottom: 50px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-grid > div:first-child > p {
  max-width: 390px;
  margin-bottom: 0;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links strong {
  margin-bottom: 4px;
  color: #353b42;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-links a {
  width: fit-content;
  color: #747c84;
  font-size: 12px;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #899098;
  font-size: 11px;
}

/* Motion: content remains visible when JavaScript is unavailable. */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Large tablet */
@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(490px, 1.12fr);
    gap: 40px;
  }

  .hero-copy h1 {
    font-size: clamp(54px, 6.1vw, 74px);
  }

  .system-map {
    grid-template-columns: minmax(170px, 1fr) 42px minmax(240px, 1.2fr) 42px minmax(170px, 1fr);
    padding: 24px;
  }

  .map-arrow svg {
    width: 42px;
  }

  .feature-card {
    padding: 21px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 1020px) {
  .nav-wrap {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    position: fixed;
    top: 86px;
    right: 24px;
    left: 24px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-nav a {
    padding: 13px 14px;
    border-radius: 11px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover {
    background: var(--surface-2);
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 138px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    max-width: 830px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-actions,
  .trust-row {
    margin-inline: auto;
    justify-content: center;
  }

  .hero-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .product-window {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .proof-grid > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .system-map {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .source-column,
  .role-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .column-label {
    grid-column: 1 / -1;
  }

  .map-arrow {
    min-height: 42px;
  }

  .map-arrow svg {
    width: 54px;
    transform: rotate(90deg);
  }

  .moglee-core {
    min-height: 260px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .outcome-loop {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .loop-step {
    display: grid;
    min-height: auto;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 16px;
    padding: 17px;
    text-align: left;
  }

  .loop-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .loop-step strong {
    align-self: end;
    margin: 0 28px 2px 0;
  }

  .loop-step small {
    align-self: start;
  }

  .loop-connector {
    height: 22px;
    text-align: center;
    transform: rotate(90deg);
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .use-case-card {
    min-height: 0;
  }

  .role-showcase,
  .integration-grid,
  .security-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .role-copy,
  .integration-grid .section-heading,
  .security-grid .section-heading,
  .faq-grid .section-heading {
    max-width: 760px;
  }

  .role-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .security-visual {
    width: min(720px, 100%);
    margin-inline: auto;
  }

  .security-grid .section-heading {
    order: -1;
  }

  .pilot-banner {
    grid-template-columns: 1fr auto;
  }

  .pilot-banner .button {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .section {
    padding: 86px 0;
  }

  .section-heading h2,
  .role-copy h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .section-heading p,
  .role-copy > p {
    font-size: 16px;
  }

  .hero {
    padding: 126px 0 78px;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 13vw, 62px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(410px, 100%);
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    max-width: 530px;
  }

  .product-window {
    border-radius: 22px;
  }

  .window-body {
    padding: 14px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 12px;
  }

  .metric-card > span {
    margin: 0;
  }

  .metric-card > strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    margin: 0;
  }

  .metric-card > small {
    grid-row: 2;
    grid-column: 1;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    margin-top: -25px;
  }

  .proof-grid > div + div,
  .proof-grid > div:nth-child(3),
  .proof-grid > div:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .source-column,
  .role-column,
  .feature-grid,
  .role-list,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .system-map {
    margin-top: 42px;
    padding: 18px;
    border-radius: 24px;
  }

  .feature-card {
    min-height: 0;
  }

  .outcome-loop {
    margin-top: 38px;
    padding: 16px;
  }

  .use-case-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .role-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-panel-grid > div:nth-child(3) {
    border-top: 1px solid #e1e6df;
    border-left: 0;
  }

  .role-panel-grid > div:nth-child(4) {
    border-top: 1px solid #e1e6df;
  }

  .unlock-row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 13px 8px;
  }

  .unlock-line {
    display: none;
  }

  .unlock-outcome {
    padding-left: 40px;
  }

  .security-visual {
    min-height: 520px;
  }

  .permission-card {
    width: calc(100% - 40px);
  }

  .permission-card-one {
    top: 40px;
    left: 20px;
  }

  .permission-card-two {
    top: 126px;
    right: 20px;
  }

  .policy-card {
    right: 20px;
    bottom: 22px;
    left: 20px;
  }

  .pricing-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-card {
    min-height: 0;
  }

  .price-top h3,
  .price-top p {
    min-height: 0;
  }

  .pilot-banner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px;
  }

  .pilot-price {
    text-align: left;
  }

  .pilot-price span {
    max-width: none;
  }

  .pilot-banner .button {
    width: 100%;
  }

  .final-cta {
    padding: 88px 0;
  }

  .final-cta-inner h2 {
    font-size: clamp(43px, 12vw, 60px);
  }

  .final-cta-inner > p {
    font-size: 16px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav-wrap {
    min-height: 68px;
  }

  .site-nav {
    top: 76px;
    right: 16px;
    left: 16px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
    border-radius: 11px;
  }

  .brand {
    font-size: 19px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-copy h1 {
    font-size: clamp(43px, 13.4vw, 55px);
  }

  .eyebrow {
    font-size: 9px;
  }

  .trust-row > span {
    font-size: 10px;
  }

  .window-topbar {
    min-height: 52px;
    padding: 10px 12px;
  }

  .window-status {
    font-size: 8px;
  }

  .brief-heading h2 {
    font-size: 20px;
  }

  .insight-card {
    grid-template-columns: 1fr;
  }

  .action-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .risk-chip {
    grid-column: 2;
    width: fit-content;
  }

  .window-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .role-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .role-panel-grid {
    grid-template-columns: 1fr;
  }

  .role-panel-grid > div + div,
  .role-panel-grid > div:nth-child(3),
  .role-panel-grid > div:nth-child(4) {
    border-top: 1px solid #e1e6df;
    border-left: 0;
  }

  .role-panel blockquote {
    font-size: 18px;
  }

  .security-visual {
    min-height: 560px;
  }

  .permission-card {
    grid-template-columns: auto 1fr;
  }

  .permission-state {
    grid-column: 2;
    width: fit-content;
  }

  .policy-top {
    flex-direction: column;
    gap: 6px;
  }

  .policy-top strong {
    text-align: left;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-option {
    flex: 1;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Legal / utility pages */
.legal-main {
  padding: 72px 0 88px;
}
.legal-main .shell {
  max-width: 760px;
}
.legal-main h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
  display: block;
}
.legal-main h2 {
  font-size: 1.15rem;
  margin: 32px 0 10px;
}
.legal-main p,
.legal-main li {
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 12px;
}
.legal-main ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.legal-main a {
  color: var(--accent-dark);
}
.legal-note {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 40px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
}
.legal-table th,
.legal-table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px 10px 0;
  vertical-align: top;
}
.legal-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .legal-table {
    display: block;
    overflow-x: auto;
  }
}
