@font-face {
  font-family: Zain;
  src: url('assets/fonts/zain-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0b133c;
  --ink-900: #0b1735;
  --body: #3d4d6b;
  --muted: #60728f;
  --teal: #08798a;
  --teal-dark: #06616f;
  --teal-soft: #e9f5f6;
  --orange: #d95807;
  --orange-hover: #b84802;
  --paper: #fcfdfc;
  --surface: #ffffff;
  --surface-alt: #f3f8f8;
  --line: #dce7ea;
  --line-strong: #c5d7dc;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(11, 19, 60, 0.05);
  --shadow-md: 0 12px 32px rgba(11, 19, 60, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 19, 60, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: Zain, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

a {
  color: inherit;
}

button {
  cursor: pointer;
}

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

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

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 32px, 1220px);
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 48px, 1220px);
  }
}

/* Typography */
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.025em;
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 1.02;
}

h1 span,
h2 span {
  color: var(--teal);
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.06;
}

h3 {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-label-light {
  color: #6cd7e3;
}

.section-header {
  margin-bottom: clamp(32px, 5vw, 52px);
}

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

.section-header.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px 48px;
  align-items: end;
}

.section-lead {
  margin: 14px 0 0;
  color: var(--body);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
}

.section-header.split .section-lead {
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  min-height: 44px;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.btn-sm {
  padding: 9px 16px;
  min-height: 40px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 14px 26px;
  min-height: 50px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(217, 88, 7, 0.24);
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(217, 88, 7, 0.3);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-soft);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 253, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-text strong {
  font-weight: 800;
  color: var(--ink);
}

.brand-text span {
  font-weight: 600;
  color: var(--teal);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--body);
  transition: color 0.18s;
}

.site-nav a:hover {
  color: var(--teal);
}

.nav-cta-mobile {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-link {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--body);
  white-space: nowrap;
}

.header-link:hover {
  color: var(--teal);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  padding: 0;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded='true'] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(44px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 88% 12%, rgba(8, 121, 138, 0.12), transparent 65%),
    radial-gradient(45% 55% at 10% 88%, rgba(217, 88, 7, 0.08), transparent 65%),
    linear-gradient(180deg, #f7fbfb 0%, var(--paper) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--teal-soft);
  border: 1px solid #c5e4e8;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-lead {
  margin: 20px 0 28px;
  color: var(--body);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-highlights svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Hero Visual App Window */
.app-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.app-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #f2f7f8;
  border-bottom: 1px solid var(--line);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd8dc;
}

.window-dots span:first-child {
  background: #ec8a6d;
}

.window-dots span:nth-child(2) {
  background: #efc366;
}

.window-dots span:nth-child(3) {
  background: #5bc2a7;
}

.window-url {
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0d7a5f;
  background: #dff6ee;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.app-window-body {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.preview-kicker {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 2px;
}

.preview-header strong {
  font-size: 1rem;
  color: var(--ink);
}

.badge-teal {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--teal-soft);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  font-variant-numeric: tabular-nums;
}

.metric-card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.metric-card span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
}

.metric-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.2rem;
  color: var(--ink);
}

.metric-card small {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
}

.trend-up {
  color: #0d7a5f;
}

.trend-neutral {
  color: var(--muted);
}

.preview-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.preview-panel-head {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f6fafa;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preview-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.preview-list-item:last-child {
  border-bottom: 0;
}

.preview-list-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
}

.preview-list-item small {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

.preview-list-meta {
  text-align: right;
  flex-shrink: 0;
}

.pill {
  display: inline-block;
  margin-top: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.pill-success {
  background: #dff6ee;
  color: #0b6b53;
}

.pill-info {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.pill-warn {
  background: #fff1e4;
  color: #a84805;
}

.quick-jump-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.quick-jump-strip a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--teal-soft);
  padding: 6px 11px;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s;
}

.quick-jump-strip a:hover {
  background: var(--teal);
  color: #fff;
}

/* Value Strip */
.value-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 0;
}

.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.value-item strong {
  display: block;
  font-size: 0.96rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.value-item span {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Platform Section */
.platform-section {
  padding: clamp(64px, 8vw, 108px) 0;
  background: var(--surface-alt);
}

.workspace-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.workspace-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: #f9fcfc;
}

.workspace-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
}

.workspace-badge {
  font-size: 0.82rem;
  color: var(--muted);
}

.workspace-tabs {
  display: flex;
  gap: 4px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.workspace-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 15px 18px 13px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}

.workspace-tabs button:hover {
  color: var(--teal);
  background: #f4fafb;
}

.workspace-tabs [aria-selected='true'] {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}

.workspace-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
}

.workspace-panel[hidden] {
  display: none;
}

.module-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 10px;
}

.panel-copy h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.panel-copy p {
  margin: 0 0 20px;
  color: var(--body);
  font-size: 0.98rem;
  line-height: 1.65;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 800;
}

.data-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.data-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: #f2f8f8;
  border-bottom: 1px solid var(--line);
}

.data-card-head strong {
  font-size: 0.9rem;
  color: var(--ink);
}

.data-card-head span {
  font-size: 0.76rem;
  color: var(--muted);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 440px;
}

th,
td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid #e7eff1;
  font-size: 0.86rem;
}

th {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: #fafdfd;
}

.table-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 600;
}

.data-card-foot {
  margin: 0;
  padding: 13px 18px;
  font-size: 0.8rem;
  color: var(--muted);
  background: #fafdfd;
}

.detail-list {
  margin: 0;
}

.detail-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid #e7eff1;
  font-size: 0.88rem;
}

.detail-list > div:last-child {
  border-bottom: 0;
}

.detail-list dt {
  color: var(--muted);
}

.detail-list dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
}

.pipeline-steps,
.report-cards {
  list-style: none;
  margin: 0;
  padding: 8px 18px;
}

.pipeline-steps li,
.report-cards li {
  padding: 15px 0;
  border-bottom: 1px solid #e7eff1;
}

.pipeline-steps li:last-child,
.report-cards li:last-child {
  border-bottom: 0;
}

.pipeline-steps strong,
.report-cards strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}

.pipeline-steps small,
.report-cards small {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Capabilities */
.capabilities-section {
  padding: clamp(64px, 8vw, 108px) 0;
}

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

.cap-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cap-card:hover {
  border-color: #9ec8cf;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.cap-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cap-card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.cap-card p {
  margin: 0;
  color: var(--body);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Workflow */
.workflow-section {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--surface-alt);
  border-block: 1px solid var(--line);
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.workflow-intro p {
  margin: 18px 0 28px;
  color: var(--body);
  font-size: 1.02rem;
  max-width: 440px;
}

.workflow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.workflow-list li {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.step-num {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}

.workflow-list h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.workflow-list p {
  margin: 0;
  color: var(--body);
  font-size: 0.94rem;
}

/* Pricing */
.pricing-section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.billing-btn {
  border: 0;
  background: transparent;
  color: var(--body);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.billing-btn.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.save-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0b6b53;
  background: #dff6ee;
  padding: 2px 7px;
  border-radius: 999px;
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.price-card.is-featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-md);
}

.featured-pill {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--teal);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-head h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.price-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 44px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 22px 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.price-amount strong {
  font-size: 2.35rem;
  line-height: 1;
  color: var(--ink);
}

.price-amount span {
  font-size: 0.9rem;
  color: var(--muted);
}

.price-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 11px;
  flex: 1;
}

.price-features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--body);
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

/* FAQ */
.faq-section {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.faq-note {
  margin: 16px 0 0;
  color: var(--body);
  font-size: 0.96rem;
  max-width: 380px;
}

.faq-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
}

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

.faq-list summary span {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: transform 0.2s var(--ease);
}

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

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

.faq-list details p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Signup / Request Access */
.signup-section {
  background: var(--ink-900);
  color: #f0f6f8;
  padding: clamp(64px, 8vw, 108px) 0;
}

.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.signup-copy h2 {
  color: #fff;
}

.signup-copy > p {
  margin: 18px 0 26px;
  color: #bfd3df;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 480px;
}

.signup-benefits {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.signup-benefits li {
  position: relative;
  padding-left: 26px;
  color: #e4eff4;
  font-size: 0.95rem;
}

.signup-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #6cd7e3;
  font-weight: 800;
}

.signup-direct {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.signup-direct span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #8fb4c7;
  margin-bottom: 6px;
}

.signup-direct a {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.signup-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-lg);
}

.form-head {
  margin-bottom: 22px;
}

.form-head h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.form-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.field label span {
  color: var(--orange);
}

.field label .optional {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 121, 138, 0.16);
}

.field input[aria-invalid='true'],
.field select[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: #c83232;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field-error {
  display: block;
  min-height: 16px;
  margin-top: 4px;
  font-size: 0.78rem;
  color: #c83232;
}

.form-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fff1f1;
  border: 1px solid #f0b8b8;
  color: #9e2121;
  font-size: 0.88rem;
}

.form-footnote {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 16px 8px;
}

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #dff6ee;
  color: #0b6b53;
  display: grid;
  place-items: center;
}

.success-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-success p {
  margin: 0 auto 20px;
  max-width: 400px;
  color: var(--body);
  font-size: 0.94rem;
}

.success-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  margin-bottom: 22px;
  font-size: 0.88rem;
}

.success-meta span {
  color: var(--muted);
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Footer */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 52px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr);
  gap: 32px 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-brand strong {
  font-weight: 800;
}

.footer-brand-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 340px;
}

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

.footer-links strong {
  display: block;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 4px 0;
  overflow-wrap: anywhere;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.84rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid,
  .section-header.split,
  .workspace-panel,
  .workflow-grid,
  .faq-grid,
  .signup-grid {
    grid-template-columns: 1fr;
  }

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

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

  .header-link {
    display: none;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-actions .btn {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.btn) {
    padding: 12px 0;
    border-bottom: 1px solid #eef4f5;
    font-size: 1rem;
  }

  .nav-cta-mobile {
    display: inline-flex;
    margin-top: 14px;
  }

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

@media (max-width: 640px) {
  .capabilities-grid,
  .pricing-grid,
  .value-strip-grid,
  .form-row,
  .footer-links {
    grid-template-columns: 1fr;
  }

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

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .app-window-bar {
    padding: 10px 12px;
  }

  .window-url {
    max-width: 160px;
  }

  .app-window-body {
    padding: 16px;
  }

  .workspace-topbar {
    padding: 14px 16px;
  }

  .workspace-tabs {
    padding: 0 8px;
  }

  .workspace-tabs button {
    padding: 13px 14px 11px;
    font-size: 0.88rem;
  }

  .workspace-panel {
    padding: 22px 16px;
  }

  .price-head p {
    min-height: 0;
  }

  .faq-list summary {
    padding: 18px 18px;
  }

  .faq-list details p {
    padding: 0 18px 18px;
  }

  .success-actions {
    flex-direction: column;
  }

  .success-actions .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
