/** 10XPS Option B Clarity SaaS design system — production (Phase 3) */
/* Legacy aliases for templates migrating from inline styles */
:root { --blue: #0e2841; --blue-light: #1f5fb8; --bg: #f8fafc; --border: #e2e8f0; }
/**
 * POAP SaaS — shared design tokens (preview pack)
 * Override per option in option-*-*.css
 */

:root {
  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 6px 16px rgba(15, 23, 42, 0.08);
  --shadow-card-hover: 0 12px 28px rgba(15, 23, 42, 0.12);
  --shadow-nav: 0 1px 0 rgba(15, 23, 42, 0.06);

  /* Typography (overridden per option) */
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  /* Semantic colours (defaults — options override) */
  --color-primary: #0e2841;
  --color-accent: #1f5fb8; /* Spectrum Pro blue — canonical accent */
  --color-text: #1f2933;
  --color-text-muted: #475569;
  --color-surface: #f5f7fb;
  --color-surface-alt: #f8fafc;
  --color-border: #e2e8f0;
  /* 1.4.11: control edges only; decorative dividers keep --color-border. */
  --color-border-control: #64748b;
  --color-white: #ffffff;

  /* Status */
  --color-success-bg: #ecfdf3;
  --color-success-text: #166534;
  --color-warning-bg: #fffbeb;
  --color-warning-text: #92400e;
  --color-error-bg: #fef2f2;
  --color-error-text: #991b1b;
  --color-info-bg: #eff6ff;
  --color-info-text: #1e3a5f;

  /* Layout */
  --max-width-content: 70rem;
  --max-width-narrow: 38rem;
  --nav-height: 3.5rem;

  /* Transitions */
  --transition-fast: 120ms ease;
  --transition-base: 180ms ease;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-surface);
}

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
a:hover { text-decoration-thickness: 2px; }

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

/* Screen-reader only — keep in the DOM, do not use display:none */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link — revealed on keyboard focus */
.skip-link {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 200;
  padding: 0.5rem 0.9rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  transform: translateY(-150%);
}
.skip-link:focus,
.skip-link:focus-visible,
.skip-link.is-visible {
  transform: none;
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Shell */
.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content { flex: 1; }

.main-inner {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: var(--space-6) var(--space-6) var(--space-10);
}

/* Navigation */
.nav {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-nav);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.nav .brand-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  text-decoration: none;
  flex-shrink: 0;
}
.nav .brand-link:hover { text-decoration: none; color: var(--color-accent); }

.nav-actions {
  display: flex;
  gap: var(--space-5);
  align-items: center;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-block;
  padding: var(--space-2) var(--space-1);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--transition-fast);
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

/* Buttons */
.btn {
  border-radius: var(--radius-full);
  padding: 0.45rem 0.95rem;
  font-size: var(--text-sm);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-decoration: none;
  font-family: inherit;
  font-weight: 500;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.btn:hover { text-decoration: none; }

.btn-outline {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-border-control);
}
.btn-outline:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-accent);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  font-weight: 600;
}
.btn-primary:hover {
  filter: brightness(0.95);
  box-shadow: 0 4px 12px rgba(31, 95, 184, 0.35);
}

.btn-lg {
  padding: 0.65rem 1.35rem;
  font-size: var(--text-base);
}

/* Footer */
footer {
  padding: var(--space-4) var(--space-6) var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}
footer a { color: var(--color-text-muted); }
footer a:hover { color: var(--color-accent); }

/* Section utilities */
.section { margin-bottom: var(--space-10); }
.section--alt {
  background: var(--color-surface-alt);
  margin-left: calc(-1 * var(--space-6));
  margin-right: calc(-1 * var(--space-6));
  padding: var(--space-8) var(--space-6);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  text-align: center;
}

/* Hero */
.hero {
  text-align: center;
  padding: var(--space-10) 0 var(--space-8);
  position: relative;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.6vw, 2.55rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  max-width: 52rem;
  margin: 0 auto var(--space-4);
}
.hero__pill {
  display: inline-block;
  max-width: min(56rem, 100%);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-weight: 600;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  font-size: clamp(0.85rem, 2.1vw, 1rem);
  line-height: 1.45;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}
.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
  border-color: var(--color-accent);
}
.feature-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Icon badge (circular) */
.feature-icon-badge {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  background: rgba(31, 95, 184, 0.1);
  color: var(--color-accent);
}
.feature-icon-badge svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Cards */
.app-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
}
.app-card h2 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

/* Tables */
.app-table-wrap {
  overflow-x: auto;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.app-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-xs);
}
.app-table thead {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}
.app-table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.app-table td {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--color-border);
}
.app-table tbody tr:nth-child(even) { background: var(--color-surface-alt); }
.app-table tbody tr:hover { background: rgba(31, 95, 184, 0.04); }

/* Status badges */
.badge {
  display: inline-block;
  border-radius: var(--radius-full);
  padding: 0.12rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge--success { background: var(--color-success-bg); color: var(--color-success-text); }
.badge--warning { background: var(--color-warning-bg); color: var(--color-warning-text); }
.badge--error { background: var(--color-error-bg); color: var(--color-error-text); }
.badge--info { background: var(--color-info-bg); color: var(--color-info-text); }
.badge--plan { background: rgba(31, 95, 184, 0.12); color: var(--color-accent); }

/* Stepper */
.app-stepper {
  margin-bottom: var(--space-6);
}
.app-stepper__label {
  font-size: var(--text-base);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--space-2);
}
.app-stepper__bar {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  overflow: hidden;
}
.app-stepper__fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

/* Form fields */
.field { margin-bottom: var(--space-4); }
.field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field select {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--color-border-control);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-family: inherit;
  background: var(--color-white);
}
.field input:focus,
.field input:focus-visible,
.field select:focus,
.field select:focus-visible {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(31, 95, 184, 0.15);
}

/* Notice boxes */
.notice {
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.notice--success { border: 1px solid #bbf7d0; background: var(--color-success-bg); color: var(--color-success-text); }
.notice--info { border: 1px solid #bfdbfe; background: var(--color-info-bg); color: var(--color-info-text); }
.notice--warning { border: 1px solid #fde68a; background: var(--color-warning-bg); color: var(--color-warning-text); }

/* Page heading */
.page-heading {
  margin-bottom: var(--space-6);
}
.page-heading h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.page-heading p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}
.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
  border-color: var(--color-accent);
  text-decoration: none;
}
.product-card__thumb {
  height: 120px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-alt);
}
.product-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card__title { font-weight: 600; color: var(--color-primary); }
.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  flex: 1;
  margin: var(--space-2) 0;
  line-height: 1.5;
}
.product-card__cta {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .nav-actions { display: none; }
  .main-inner { padding: var(--space-4) var(--space-4) var(--space-8); }
  .section--alt {
    margin-left: calc(-1 * var(--space-4));
    margin-right: calc(-1 * var(--space-4));
    padding: var(--space-6) var(--space-4);
  }
}
/**
 * Option B layout + Spectrum Pro blue palette (founder 2026-09-01).
 * Plus Jakarta Sans, soft circular icon badges, navy + #1f5fb8 accent.
 */

:root {
  /* Palette — Spectrum Pro blue (Option A), not indigo */
  --color-primary: #0e2841;
  --color-accent: #1f5fb8;
  --color-accent-hover: #1d4ed8;
  --color-accent-secondary: #2563eb;
  --color-text: #334155;
  --color-text-muted: #475569;
  --color-surface: #ffffff;
  --color-surface-alt: #f8fafc;
  --color-border: #e2e8f0;
  --color-border-control: #64748b;

  /* Typography */
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Hero gradient mesh */
  --gradient-hero-mesh:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(31, 95, 184, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 10% 30%, rgba(31, 95, 184, 0.06) 0%, transparent 50%);

  /* Shadows (blue tint) */
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.06), 0 6px 16px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 4px 12px rgba(31, 95, 184, 0.12), 0 12px 28px rgba(15, 23, 42, 0.1);
}

body {
  background: var(--color-surface);
  color: var(--color-text);
}

a { color: var(--color-accent); }
a:hover { color: var(--color-accent-hover); }

/* Nav */
.nav .brand-link { color: var(--color-accent); }
.nav .brand-link:hover { color: var(--color-accent-hover); }

.btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: 0 4px 14px rgba(31, 95, 184, 0.4);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Hero with mesh blob */
.hero--clarity {
  background: var(--gradient-hero-mesh);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-6) var(--space-10);
  margin-bottom: var(--space-8);
}
.hero--clarity .hero__title { color: var(--color-primary); }
.hero--clarity .hero__pill {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--color-border);
  backdrop-filter: blur(8px);
}

/* Feature icon badges — circular blue tint */
.feature-icon-badge {
  background: rgba(31, 95, 184, 0.1);
  color: var(--color-accent);
}

.feature-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card-hover);
}

/* POAP question boxes */
.poap-q-box {
  margin: 0;
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  font-size: var(--text-base);
  font-style: italic;
  font-weight: 600;
  line-height: 1.6;
}

/* Confidence banner */
.conf-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-top: var(--space-5);
}
.conf-banner__subhead {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.conf-banner__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* Example carousel frame */
.example-frame {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}
.example-frame__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
}
.example-frame__item {
  text-align: center;
}
.example-frame__item img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  margin: 0 auto var(--space-2);
}
.example-frame__title {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
}

/* Configure journey */
.cfg-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-5);
  max-width: 62rem;
  margin: 0 auto;
}
.cfg-prep-guide {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
}
.cfg-prep-guide summary {
  list-style: none;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.cfg-prep-guide summary::-webkit-details-marker { display: none; }
.cfg-prep-guide summary::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
  transition: transform 120ms ease;
  flex-shrink: 0;
}
.cfg-prep-guide[open] summary {
  margin-bottom: var(--space-2);
}
.cfg-prep-guide[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}
.cfg-prep-guide h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.cfg-prep-guide ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.cfg-upload-zone {
  border: 2px dashed var(--color-border-control);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  background: var(--color-surface-alt);
  margin-bottom: 0;
}
.cfg-upload-zone:hover {
  border-color: var(--color-accent);
  background: rgba(31, 95, 184, 0.04);
}
.cfg-upload-split {
  display: grid;
  grid-template-columns: minmax(11rem, 0.72fr) minmax(0, 1.6fr);
  gap: var(--space-3);
  align-items: stretch;
  margin-bottom: var(--space-4);
}
.cfg-sample-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  text-align: left;
}
.cfg-sample-card__title {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}
.cfg-sample-card a {
  font-size: 0.82rem;
  font-weight: 600;
}
.cfg-upload-zone__row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.cfg-upload-zone__body {
  min-width: 0;
  flex: 1;
}
.cfg-upload-zone__title {
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.15rem;
}
@media (max-width: 720px) {
  .cfg-upload-split {
    grid-template-columns: 1fr;
  }
}

.app-stepper__fill {
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
}

/* Billing grid */
.billing-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-5);
}
@media (max-width: 720px) {
  .billing-grid { grid-template-columns: 1fr; }
}

.billing-plan-highlight {
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: rgba(31, 95, 184, 0.03);
}

/* Pricing table — Pro column accent blue */
.pricing-table-wrap {
  overflow-x: auto;
  margin-top: var(--space-4);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: var(--text-sm);
}
.pricing-table th,
.pricing-table td {
  padding: 0.62rem 0.75rem;
  vertical-align: middle;
  border-top: 1px solid var(--color-border);
}
.pricing-table thead th {
  background: var(--color-surface-alt);
  color: var(--color-primary);
  font-weight: 700;
  border-top: none;
}
.pricing-table thead th:nth-child(3) {
  background: var(--color-accent);
  color: var(--color-white);
}
.pricing-table-cat th {
  background: var(--color-surface-alt);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.btn-pricing-pro {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  border-color: var(--color-accent-hover) !important;
  font-weight: 700;
}
.btn-pricing-pro:hover {
  background: var(--color-accent-hover) !important;
  box-shadow: 0 4px 14px rgba(31, 95, 184, 0.4);
}

/* Testimonial */
.testimonial-card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.testimonial-card__name {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.testimonial-card__quote {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text);
}

/* Account grid */
.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-5);
}
@media (max-width: 720px) {
  .account-grid { grid-template-columns: 1fr; }
}

/* Signup form card */
.auth-card {
  max-width: 34rem;
  margin: var(--space-6) auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
}

/* Why POAP articles */
.why-grid {
  display: grid;
  gap: var(--space-4);
}
.why-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.why-article h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.why-article p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .why-article { grid-template-columns: 1fr; }
}

/* ── Reference screens (founder sign-off set) ───────────────────────── */

/* Trial / status banner with icon */
.trial-banner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid #bbf7d0;
  background: var(--color-success-bg);
  color: var(--color-success-text);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-5);
}
.trial-banner__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #16a34a;
}

/* Billing — current plan + upgrade (ref: mockup-option-b-billing.png) */
.billing-grid--ref {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
}
@media (max-width: 900px) {
  .billing-grid--ref { grid-template-columns: 1fr; }
}

.plan-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}
.plan-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.plan-card__badge-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.badge--pro {
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
  letter-spacing: 0.08em;
}
.plan-meta {
  display: grid;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.plan-meta dt {
  font-weight: 600;
  color: var(--color-text-muted);
  display: inline;
}
.plan-meta dd {
  display: inline;
  margin: 0;
}
.plan-meta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}
.badge--trialing {
  background: var(--color-success-bg);
  color: var(--color-success-text);
  border: 1px solid #bbf7d0;
  text-transform: none;
  font-size: var(--text-xs);
  letter-spacing: 0;
}

.usage-block {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.usage-block__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}
.usage-block__value {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.usage-meter {
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  overflow: hidden;
}
.usage-meter__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary));
  border-radius: var(--radius-full);
}

.upgrade-card__price-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.upgrade-card__price {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
}
.upgrade-card__sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}
.feature-checklist {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.45;
}
.feature-checklist__check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-accent);
  margin-top: 0.1rem;
}
.stripe-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
}
.stripe-footnote svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}

/* Account — ref: mockup-option-b-account.png */
.page-heading--account h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
}
.access-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-6);
}
.access-banner__copy {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  flex: 1;
  min-width: 14rem;
}
.access-banner__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background: rgba(31, 95, 184, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.access-banner__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}
.access-banner__text {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}
.access-banner__text strong {
  color: var(--color-primary);
}
.access-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.btn-with-icon {
  text-decoration: none;
}
.btn-with-icon:hover { text-decoration: none; }
.btn-with-icon svg {
  width: 1rem;
  height: 1rem;
}

.account-grid--ref {
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 900px) {
  .account-grid--ref { grid-template-columns: 1fr; }
}

.panel-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  position: relative;
}
.panel-card__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.panel-card__header-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: rgba(31, 95, 184, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel-card__header-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}
.panel-card__header-text h2 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.panel-card__header-text p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.45;
}
.panel-card__plan-badge {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
}
.btn-block {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-4);
}

/* All products — ref: mockup-option-b-all-products.png (layout only, not nav) */
.page-heading--catalog {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto var(--space-10);
}
.page-heading--catalog h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}
.page-heading--catalog p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.product-grid--ref {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}
@media (max-width: 960px) {
  .product-grid--ref { grid-template-columns: 1fr; }
}

.product-card-v2 {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}
.product-card-v2:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: rgba(31, 95, 184, 0.45);
  text-decoration: none;
}
.product-card-v2--soon {
  cursor: default;
}
.product-card-v2--soon:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 95, 184, 0.25);
}
.product-card-v2__preview {
  aspect-ratio: 16 / 10;
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.product-card-v2__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}
.product-card-v2:hover .product-card-v2__preview img {
  transform: scale(1.04);
}
.product-card-v2--soon:hover .product-card-v2__preview img {
  transform: scale(1.02);
}
.product-card-v2__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-v2__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.product-card-v2__title-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
  min-width: 0;
}
.product-card-v2__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-v2__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}
.product-card-v2__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}
.badge--live {
  background: #dcfce7;
  color: #166534;
  flex-shrink: 0;
}
.badge--soon {
  background: #ffedd5;
  color: #9a3412;
  flex-shrink: 0;
  font-size: 0.62rem;
}
.product-card-v2__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: var(--space-4);
}
.product-card-v2__cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: color var(--transition-fast), gap var(--transition-fast);
}
.product-card-v2__cta svg {
  width: 1rem;
  height: 1rem;
  transition: transform var(--transition-base);
}
.product-card-v2:hover .product-card-v2__cta {
  color: var(--color-accent-hover);
  gap: var(--space-2);
}
.product-card-v2:hover .product-card-v2__cta svg {
  transform: translateX(3px);
}
.product-card-v2--soon .product-card-v2__cta {
  color: var(--color-text-muted);
}
.product-card-v2--soon:hover .product-card-v2__cta {
  color: var(--color-accent);
}
.product-card-v2--soon:hover .product-card-v2__cta svg {
  transform: translateX(2px);
}
.product-card-v2__icon {
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.product-card-v2:hover .product-card-v2__icon {
  background: rgba(31, 95, 184, 0.12);
  border-color: var(--color-accent);
  color: var(--color-accent-hover);
}

/* POAP landing — ref: mockup-option-b-poap-landing.png */
.poap-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-8);
  align-items: center;
  margin-bottom: var(--space-8);
}
@media (max-width: 900px) {
  .poap-hero-split { grid-template-columns: 1fr; }
}
.poap-hero-split__title {
  font-size: clamp(2.35rem, 5.5vw, 3.25rem);
  font-weight: 900;
  color: #0a1628;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: var(--space-4);
}
.poap-hero-split__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 32rem;
}

.poap-insight-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.poap-insight-card {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.poap-insight-card:hover {
  border-color: rgba(31, 95, 184, 0.3);
  box-shadow: var(--shadow-sm);
}
.poap-insight-card__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: rgba(31, 95, 184, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.poap-insight-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.poap-insight-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
  line-height: 1.35;
}
.poap-insight-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

.conf-banner--shield {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.conf-banner--shield__copy {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  flex: 1;
  min-width: 16rem;
}
.conf-banner--shield__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background: rgba(31, 95, 184, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.conf-banner--shield__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}
.conf-banner--shield__title {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.conf-banner--shield__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}
.conf-banner--shield__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.examples-section {
  margin-top: var(--space-10);
}
.examples-section__head {
  margin-bottom: var(--space-5);
}
.examples-section__head h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.examples-section__head p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

.asset-landing-example {
  position: relative;
  max-width: 60rem;
  margin: 0 auto;
  padding: var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.asset-landing-example img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}
.asset-landing-example__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.asset-landing-example__watermark span {
  transform: rotate(-16deg);
  color: rgba(14, 40, 65, 0.13);
  font-weight: 800;
  font-size: clamp(1.15rem, 4.2vw, 2.2rem);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.asset-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.asset-type-pill {
  min-height: 5.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}
.asset-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-8);
}
.asset-soon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 40, 65, 0.92);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  border: 4px solid var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-card);
}

.carousel-ref {
  position: relative;
}
.carousel-ref__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
@media (max-width: 768px) {
  .carousel-ref__track { grid-template-columns: 1fr; }
}
.carousel-ref__slide {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.carousel-ref__slide img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  margin: 0 auto var(--space-3);
  width: 100%;
  height: auto;
}
.carousel-ref__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.carousel-ref__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.carousel-ref__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.carousel-ref__btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
}
.carousel-ref__btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.carousel-ref__dots {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}
.carousel-ref__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-border);
  padding: 0;
  cursor: pointer;
}
.carousel-ref__dot.is-active {
  background: var(--color-accent);
  width: 1.5rem;
}

/* Why teams choose — benefit rows with vector illustrations */
.why-benefits-section {
  --why-benefit-img-height: 14rem;
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border);
}
.why-benefits-section > h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}
.why-benefit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
}
.why-benefit-row:last-child {
  border-bottom: none;
}
.why-benefit-row--reverse .why-benefit-row__copy {
  order: 2;
}
.why-benefit-row--reverse .why-benefit-row__visual {
  order: 1;
}
@media (max-width: 768px) {
  .why-benefit-row,
  .why-benefit-row--reverse .why-benefit-row__copy,
  .why-benefit-row--reverse .why-benefit-row__visual {
    grid-template-columns: 1fr;
    order: unset;
  }
}
.why-benefit-row__copy h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.why-benefit-row__copy p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}
.why-benefit-visual {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--why-benefit-img-height) + var(--space-6) * 2);
}
.why-benefit-visual img,
.why-benefit-visual svg {
  display: block;
  height: var(--why-benefit-img-height);
  width: auto;
  max-width: 100%;
  flex-shrink: 0;
}
/* Landscape art — shared height and width across timeline, narrative, palette, saved */
.why-benefit-visual--landscape img,
.why-benefit-visual--landscape svg {
  aspect-ratio: 480 / 280;
  width: calc(var(--why-benefit-img-height) * 480 / 280);
}
/* Portrait-style art — same height, slightly narrower width */
.why-benefit-visual--portrait img,
.why-benefit-visual--portrait svg {
  aspect-ratio: 400 / 280;
  width: calc(var(--why-benefit-img-height) * 400 / 280);
}
@media (max-width: 768px) {
  .why-benefits-section {
    --why-benefit-img-height: 12.75rem;
  }
  .why-benefit-visual--landscape img,
  .why-benefit-visual--landscape svg,
  .why-benefit-visual--portrait img,
  .why-benefit-visual--portrait svg {
    width: auto;
    max-width: 100%;
  }
}

/* Icon helper for img tags */
.icon-inline {
  display: inline-block;
  vertical-align: middle;
}

/* ── Phase 2 reference screens ─────────────────────────────────────────── */

/* Home — ref: mockup-option-b-clarity-saas-home.png */
.home-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-8) 0 var(--space-10);
  margin-bottom: var(--space-4);
}
@media (max-width: 900px) {
  .home-hero-split { grid-template-columns: 1fr; }
  .home-hero-split__visual { min-height: 0; }
}
.home-hero-split__title {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: var(--space-4);
}
.home-hero-split__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 34rem;
  margin-bottom: var(--space-6);
}
.home-hero-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}
.home-hero-split__visual {
  min-height: 0;
  border-radius: var(--radius-xl);
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.home-hero-video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero-video-placeholder__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  text-align: center;
}
.home-hero-video-placeholder__play {
  display: flex;
  color: #94a3b8;
  width: 4.5rem;
  height: 4.5rem;
}
.home-hero-video-placeholder__play svg {
  width: 100%;
  height: 100%;
}
.home-hero-video-placeholder__label {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* Launch film — click to play. 16:9 on desktop, 9:16 below 720px. */
.launch-film {
  margin: 0;
  width: 100%;
  background: var(--color-primary);
}
.launch-film__player {
  display: block;
  width: 100%;
  height: auto;
  background: var(--color-primary);
}
.launch-film__player:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
}
.launch-film__player--tall {
  display: none;
}
@media (max-width: 720px) {
  .launch-film__player--wide {
    display: none;
  }
  .launch-film__player--tall {
    display: block;
    width: min(100%, calc(70vh * 9 / 16));
    max-height: 70vh;
    margin-inline: auto;
  }
}

.home-section-label {
  display: block;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.home-section-label--left {
  text-align: left;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}
@media (max-width: 960px) {
  .home-product-grid { grid-template-columns: 1fr; }
}

.home-testimonial-wrap {
  max-width: 40rem;
  margin: 0 auto;
}

/* Pricing — ref: mockup-option-b-pricing.png */
.page-heading--pricing {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto var(--space-8);
}
.page-heading--pricing h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}
.page-heading--pricing p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.pricing-table--ref {
  font-size: var(--text-sm);
}
.pricing-table--ref thead th:nth-child(2),
.pricing-table--ref thead th:nth-child(4) {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}
.pricing-table--ref thead th .pricing-col-sub {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  margin-top: var(--space-1);
  opacity: 0.9;
}
.pricing-table--ref thead th:nth-child(3) .pricing-col-sub {
  color: rgba(255, 255, 255, 0.85);
}
.pricing-table--ref tbody td:nth-child(3) {
  background: rgba(31, 95, 184, 0.04);
}
.pricing-table--ref .pricing-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.pricing-table--ref .pricing-check svg {
  width: 1.1rem;
  height: 1.1rem;
}
.pricing-table--ref .pricing-dash {
  color: var(--color-text-muted);
}
.pricing-table--ref .pricing-cta-row td {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
  border-top: 1px solid var(--color-border);
}
.btn-pricing-free {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  border-color: var(--color-primary) !important;
  font-weight: 700;
}
.btn-pricing-free:hover {
  background: #1a3a5c !important;
  border-color: #1a3a5c !important;
  box-shadow: 0 4px 14px rgba(14, 40, 65, 0.35);
}
.btn-pricing-enterprise {
  background: var(--color-white) !important;
  color: var(--color-accent) !important;
  border: 2px solid var(--color-accent) !important;
  font-weight: 700;
}
.btn-pricing-enterprise:hover {
  background: rgba(31, 95, 184, 0.06) !important;
}

/* Configure — ref: mockup-option-b-clarity-saas-configure.png */
.cfg-stepper-ref {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
@media (max-width: 640px) {
  .cfg-stepper-ref { flex-wrap: wrap; justify-content: flex-start; }
}
.cfg-stepper-ref__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  min-width: 4.5rem;
  text-align: center;
}
.cfg-stepper-ref__dot {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-muted);
}
.cfg-stepper-ref__item--done .cfg-stepper-ref__dot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}
.cfg-stepper-ref__item--active .cfg-stepper-ref__dot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(31, 95, 184, 0.15);
}
.cfg-stepper-ref__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.3;
  max-width: 5.5rem;
}
.cfg-stepper-ref__item--active .cfg-stepper-ref__label,
.cfg-stepper-ref__item--done .cfg-stepper-ref__label {
  color: var(--color-primary);
}

.cfg-card--ref {
  max-width: 52rem;
}
.cfg-upload-zone--ref {
  position: relative;
}
.cfg-upload-zone--ref .feature-icon-badge {
  margin: 0;
  flex-shrink: 0;
}

/* Jobs — ref: mockup-option-b-jobs.png */
.jobs-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.jobs-panel__head {
  padding: var(--space-5) var(--space-5) var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.jobs-panel__head h1 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.jobs-panel__head p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}
.jobs-table--ref .app-table thead {
  background: var(--color-surface-alt);
}
.jobs-table--ref .app-table th {
  font-size: 0.68rem;
  white-space: nowrap;
}
.jobs-table--ref .app-table td {
  font-size: var(--text-xs);
  vertical-align: middle;
}
.jobs-table--ref .jobs-asset-cell {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  white-space: nowrap;
}
.jobs-table--ref .jobs-asset-thumb {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  overflow: hidden;
  flex-shrink: 0;
}
.jobs-table--ref .jobs-asset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jobs-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.jobs-pagination__btn {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
}
.jobs-pagination__btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.jobs-pagination__btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.jobs-pagination__page {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.jobs-pagination__page.is-active {
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
}
.jobs-pagination__page:hover:not(.is-active) {
  background: rgba(31, 95, 184, 0.08);
  color: var(--color-accent);
}

/* Sign up — ref: mockup-option-b-signup.png */
.auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-8) 0 var(--space-10);
}
.auth-card--ref {
  width: 100%;
  max-width: 28rem;
  margin: 0;
}
.auth-card--ref h1 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.auth-card--ref .auth-card__lead {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  line-height: 1.55;
}
.auth-social {
  margin-bottom: var(--space-5);
}
.auth-social .auth-microsoft,
.auth-social .auth-google {
  margin-bottom: var(--space-3);
}
.auth-social .auth-microsoft:last-of-type,
.auth-social .auth-google:last-of-type {
  margin-bottom: 0;
}
.auth-microsoft {
  margin-bottom: var(--space-5);
}
.btn-microsoft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #8a8a8a;
  font-weight: 600;
}
.btn-microsoft:hover,
.btn-microsoft:focus-visible {
  background: #f5f5f5;
  color: #1f1f1f;
}
.btn-microsoft svg {
  flex-shrink: 0;
}
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #8a8a8a;
  font-weight: 600;
}
.btn-google:hover,
.btn-google:focus-visible {
  background: #f5f5f5;
  color: #1f1f1f;
}
.btn-google svg {
  flex-shrink: 0;
}
.auth-social__divider,
.auth-microsoft__divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: lowercase;
}
.auth-social__divider::before,
.auth-social__divider::after,
.auth-microsoft__divider::before,
.auth-microsoft__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border, #e2e8f0);
}
.field__password-wrap {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
}
.field__password-wrap input {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-height: 2.35rem;
  padding-right: 2.75rem;
  box-sizing: border-box;
}
.field__toggle-pw {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  width: 2rem;
  height: 2rem;
  margin: 0 0.25rem 0 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  z-index: 1;
  font: inherit;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.field__toggle-pw:hover {
  color: var(--color-accent);
  background: rgba(31, 95, 184, 0.06);
}
.field__toggle-pw svg {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
  flex-shrink: 0;
}
.field__hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}
.auth-opt-in {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: var(--color-surface-alt);
  margin-bottom: var(--space-4);
}
.auth-opt-in label {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
  font-weight: 400;
  cursor: pointer;
}
.auth-opt-in input[type="checkbox"] {
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.account-setup-flag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.4rem;
  border-radius: var(--radius-sm);
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.01em;
  vertical-align: middle;
}
.field--needs-attention input[type="text"],
.field--needs-attention input[type="email"] {
  border-color: var(--color-warning-text);
  background: var(--color-warning-bg);
}
.auth-opt-in--needs-attention {
  border-color: var(--color-warning-text);
  background: var(--color-warning-bg);
}
.account-setup-list {
  margin: 0;
  padding-left: 1.15rem;
}
.account-setup-list li + li {
  margin-top: 0.2rem;
}
.account-pro-promo {
  margin-bottom: var(--space-5);
}
.account-pro-promo .feature-checklist {
  margin-bottom: var(--space-4);
}
.auth-card__footer {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  text-align: center;
  color: var(--color-text-muted);
}
.auth-card__footer--split {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  text-align: left;
}
.notice--compact {
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}
.login-help {
  margin-top: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.55rem;
  padding: 0.75rem 0.85rem;
  background: #f8fafc;
}
.login-help__title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}
.login-help__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.5;
}
.auth-signup-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.field--flush {
  margin: 0;
}
.label-muted {
  font-weight: 400;
  color: var(--color-text-muted);
}

/* ── Production shell extensions (nav dropdown, mobile) ─────────────────── */

.nav .brand-link .brand-text { color: inherit; font: inherit; }
.nav .brand-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.logout-form { display: inline; margin: 0; padding: 0; }
.logout-form .nav-link { padding-left: 0; padding-right: 0; }
.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border-control);
  background: var(--color-white);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nav-burger .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  margin: 2.5px auto;
  border-radius: 2px;
}
.nav-panel {
  display: none;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  padding: 0.75rem 1rem 1rem;
}
.nav-panel .nav-link {
  display: block;
  width: 100%;
  padding: 0.65rem 0.25rem;
  font-size: 1rem;
  border-bottom: 1px solid #eef0f4;
}
.nav-panel .logout-form { display: block; width: 100%; }
.nav-panel .logout-form .nav-link { width: 100%; text-align: left; }
.nav-panel > *:last-child .nav-link { border-bottom: none; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-dropdown-toggle::after {
  content: "";
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 17rem;
  padding-top: 0.45rem;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 20;
}
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.45rem;
}
.nav-dropdown-menu-inner {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  padding: 0.35rem 0;
}
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.nav-dropdown-link {
  display: block;
  padding: 0.55rem 0.9rem;
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}
.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible,
.nav-dropdown-link.is-active {
  background: var(--color-surface-alt);
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
}
.nav-group {
  border-bottom: 1px solid #eef0f4;
  padding-bottom: 0.35rem;
  margin-bottom: 0.35rem;
}
.nav-group-label {
  display: block;
  padding: 0.65rem 0.25rem 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}
.nav-panel .nav-sublink { padding-left: 1rem; font-size: 0.95rem; }
.nav-panel .nav-link.is-active { color: var(--color-accent); font-weight: 700; }
.nav[data-open="true"] .nav-panel { display: block; }

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-border-control);
  font-weight: 600;
}
.btn-secondary:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-inner { padding: 0.65rem 1rem; }
  .nav .brand-link { font-size: 1.25rem; max-width: min(60vw, calc(100vw - 5.25rem)); }
  .nav-actions { display: none; }
  .nav-burger { display: inline-flex; }
}

/* Billing page — production state banners (Phase 3) */
.billing-status-banner {
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.billing-status-banner--success {
  border: 1px solid #bbf7d0;
  background: var(--color-success-bg);
  color: var(--color-success-text);
}
.billing-status-banner--cancel {
  border: 1px solid #fde68a;
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
}
.billing-notice {
  border-radius: var(--radius-md);
  padding: var(--space-3);
  font-size: var(--text-xs);
  margin-top: var(--space-3);
}
.billing-notice--info { border: 1px solid #bfdbfe; background: var(--color-info-bg); color: var(--color-info-text); }
.billing-notice--success { border: 1px solid #bbf7d0; background: var(--color-success-bg); color: var(--color-success-text); }
.billing-notice--renewal { border: 1px solid #dbeafe; background: #f8fbff; color: var(--color-info-text); }
.billing-cancel-line {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.billing-action-panel { font-size: var(--text-sm); color: var(--color-text-muted); }
.billing-action-price {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  margin: var(--space-2) 0;
}
.billing-action-list {
  font-size: var(--text-xs);
  color: var(--color-text);
  margin: var(--space-2) 0 var(--space-3) 1rem;
}
.billing-feedback { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); }
.billing-feedback--error { color: var(--color-error-text); }
.billing-feedback--success { color: var(--color-success-text); }
.billing-meta { display: grid; gap: var(--space-2); font-size: var(--text-sm); }
.billing-meta-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }

/* Pricing table — production sticky/mobile (_pricing_table.html) */
#pricing .pricing-table-wrap { overflow-x: visible; }
#pricing .pricing-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--color-surface-alt);
  box-shadow: 0 1px 0 var(--color-border);
}
#pricing .pricing-table thead th:nth-child(3) {
  background: var(--color-accent);
  color: var(--color-white);
}
#pricing .pricing-table thead th:nth-child(3) .pricing-pro-sub { color: rgba(255,255,255,0.85); }
#pricing .pricing-row--new td { background: #ecfdf5; }
.pricing-help-btn {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  min-width: 24px;
  min-height: 24px;
  border-radius: var(--radius-full);
  border: 1px solid #94a3b8;
  background: var(--color-white);
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pricing-help-btn:hover,
.pricing-help-btn:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(31, 95, 184, 0.25);
}

/* Pricing help dialog — restored from pre-Phase 3 inline styles */
.pricing-help-dialog {
  border: none;
  border-radius: 0.75rem;
  padding: 0;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  max-width: calc(100vw - 1.5rem);
  width: min(26rem, 100%);
  max-height: min(90vh, 28rem);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}
.pricing-help-dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
}
.pricing-help-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}
.pricing-help-dialog-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0e2841;
  line-height: 1.25;
}
.pricing-help-dialog-close {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  border-radius: 0.4rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}
.pricing-help-dialog-close:hover {
  background: #eef4ff;
  border-color: #1f5fb8;
}
.pricing-help-dialog-body {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #334155;
  max-height: min(65vh, 22rem);
  overflow-y: auto;
}
.pricing-help-dialog-body p {
  margin: 0 0 0.65rem;
}
.pricing-help-dialog-body p:last-child {
  margin-bottom: 0;
}
.pricing-help-dialog-body .pricing-help-dialog-title {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.pricing-highlight-name { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-2); }
.pricing-highlight-txt { flex: 1; min-width: 0; line-height: 1.45; }
@media (max-width: 720px) {
  #pricing .pricing-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border-radius: 0.75rem;
  }
  #pricing .pricing-table { min-width: 700px; font-size: 0.9rem; }
  #pricing .pricing-table td:not(.pricing-highlight-cell),
  #pricing .pricing-table th:not(:first-child) {
    white-space: nowrap;
  }
  #pricing .pricing-highlight-cell,
  #pricing .pricing-table thead th:first-child {
    white-space: normal;
  }
  #pricing .pricing-table thead th:first-child,
  #pricing .pricing-table tbody tr > :first-child {
    position: sticky;
    left: 0;
    z-index: 4;
    min-width: 11rem;
    max-width: 15rem;
    box-shadow: 4px 0 14px rgba(15, 23, 42, 0.12);
  }
  #pricing .pricing-table thead th:first-child {
    top: 0;
    z-index: 6;
    background: var(--color-surface-alt);
    vertical-align: bottom;
  }
  #pricing .pricing-table thead th:not(:first-child) {
    top: 0;
    z-index: 5;
  }
  #pricing .pricing-table tbody tr:not(.pricing-table-cat) > :first-child {
    background: var(--color-white);
  }
  #pricing .pricing-table tbody tr.pricing-table-cat th.pricing-cat-label {
    background: var(--color-surface-muted, #f1f5f9);
    z-index: 4;
    font-weight: 700;
    text-align: left;
  }
  #pricing .pricing-table tbody tr.pricing-table-cat td.pricing-cat-rest {
    background: var(--color-surface-muted, #f1f5f9);
  }
  #pricing .pricing-table tbody tr.pricing-row--new:not(.pricing-table-cat) > :first-child {
    background: #ecfdf5;
  }
  #pricing .pricing-scroll-hint { display: block; text-align: center; margin: 0.35rem 0; color: var(--color-text-muted); font-size: var(--text-sm); }
}
.pricing-scroll-hint { display: none; }

/* Configure journey — map legacy cfg-* to design tokens */
.cfg-shell { max-width: 52rem; margin: 0 auto; }
@media (min-width: 1100px) {
  .cfg-shell.is-preview-focus .configure-slide-preview__body {
    min-height: 12.5rem;
  }
}
.cfg-auth { margin-bottom: var(--space-4); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: var(--text-sm); }
.cfg-auth-ok { border: 1px solid #bbf7d0; background: var(--color-success-bg); color: var(--color-success-text); }
.cfg-auth-warn { border: 1px solid #fde68a; background: var(--color-warning-bg); color: var(--color-warning-text); }

/* Home testimonial carousel */
.testimonial-section { --t-card-max: min(40rem, 100%); }
.testimonial-carousel { max-width: var(--t-card-max); margin: 0 auto; }
.testimonial-carousel-viewport { overflow: hidden; border-radius: var(--radius-md); }
.testimonial-carousel-track { display: flex; transition: transform 0.55s ease; will-change: transform; }
.testimonial-carousel-slide { flex: 0 0 100%; min-width: 0; }
.testimonial-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.t-carousel-btn, .t-carousel-playpause {
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-primary);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.t-carousel-btn:hover, .t-carousel-playpause:hover {
  background: rgba(31, 95, 184, 0.08);
  border-color: var(--color-accent);
}
.t-carousel-dots { display: flex; gap: var(--space-2); align-items: center; }
.t-carousel-dot {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: var(--radius-full);
}
.t-carousel-dot::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--color-border);
  display: block;
}
.t-carousel-dot[aria-current="true"]::after {
  background: var(--color-accent);
  width: 1.25rem;
}
.t-carousel-progress-row { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-3) 0; }
.t-carousel-progress { flex: 1; min-width: 0; height: 5px; background: var(--color-border); border-radius: var(--radius-full); overflow: hidden; }
.t-carousel-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary)); border-radius: var(--radius-full); }
.testimonial-pause-hint { text-align: center; font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); }
@media (prefers-reduced-motion: reduce) {
  .testimonial-carousel-track { transition: none; }
  .t-carousel-progress-row.is-reduced { display: none; }
  .btn:hover,
  .feature-card:hover,
  .product-card:hover,
  .product-card-v2:hover,
  .product-card-v2--soon:hover,
  .product-card-v2:hover .product-card-v2__cta svg,
  .product-card-v2--soon:hover .product-card-v2__cta svg {
    transform: none;
  }
}

/* About pages — Option B prose + iconography (Phase 3b) */
.about-page--ref {
  max-width: 47.5rem;
  margin: 0 auto var(--space-10);
  color: var(--color-text);
}
.about-page--in-heading h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 var(--space-5);
  line-height: 1.2;
}
.about-page--ref h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-8) 0 var(--space-3);
  line-height: 1.35;
}
.about-page--ref h2.about-section-heading {
  font-size: var(--text-lg);
  margin-top: var(--space-10);
}
.about-page--ref .about-pull-quote {
  max-width: 36rem;
  margin: var(--space-8) auto 0;
  padding: var(--space-5) var(--space-6);
  border-left: 4px solid var(--color-accent);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
}
.about-page--ref h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-6) 0 var(--space-2);
}
.about-page--ref p {
  font-size: var(--text-base);
  line-height: 1.65;
  margin: 0 0 var(--space-4);
}
.about-page--ref .about-closing {
  margin-top: 0;
  font-weight: 600;
  color: var(--color-primary);
}
.about-founder-hero {
  text-align: center;
  padding: var(--space-6) var(--space-5);
  margin-bottom: var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.about-founder-photo img {
  width: 16.25rem;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.about-founder-photo--circle img {
  border-radius: var(--radius-full);
  box-shadow: 0 4px 24px rgba(14, 40, 65, 0.12);
  border: 3px solid rgba(31, 95, 184, 0.22);
}
.about-founder-hero .about-founder-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-4) 0 var(--space-1);
}
.about-founder-role {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-2);
}
.about-founder-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
}
.about-founder-link:hover { text-decoration-thickness: 2px; }

.about-lead-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, rgba(31, 95, 184, 0.08) 0%, rgba(14, 40, 65, 0.04) 100%);
  border: 1px solid rgba(31, 95, 184, 0.18);
  border-radius: var(--radius-lg);
}
.about-lead-banner__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: rgba(31, 95, 184, 0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-lead-banner__icon svg { width: 1.35rem; height: 1.35rem; }
.about-lead-banner__text {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.45;
  margin: 0;
}

.about-value-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: var(--space-5) 0 var(--space-8);
  padding: 0;
  list-style: none;
}
.about-value-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.about-value-card:hover {
  border-color: rgba(31, 95, 184, 0.28);
  box-shadow: var(--shadow-card-hover);
}
.about-value-card__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: rgba(31, 95, 184, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-value-card__icon svg { width: 1.25rem; height: 1.25rem; }
.about-value-card__body h2,
.about-value-card__body h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 var(--space-1);
  line-height: 1.35;
}
.about-value-card__body p {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}
.about-value-card__body p + p {
  margin-top: var(--space-3);
}
.about-value-card--no-visual {
  grid-template-columns: auto 1fr;
}

.about-mission-panel {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5) var(--space-6);
  margin-top: var(--space-4);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
}
.about-mission-panel__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: rgba(31, 95, 184, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-mission-panel__icon svg { width: 1.15rem; height: 1.15rem; }
.about-mission-panel__body p { margin: 0 0 var(--space-3); }
.about-mission-panel__body p:last-child { margin-bottom: 0; }
.about-mission-panel--closing {
  margin-top: var(--space-8);
  background: var(--color-white);
  box-shadow: none;
}

.about-value-card__visual {
  flex-shrink: 0;
  width: 5.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2);
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.about-value-card__visual img,
.about-value-card__visual svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 640px) {
  .about-value-card { grid-template-columns: auto 1fr; }
  .about-value-card__visual { display: none; }
  .about-lead-banner { flex-direction: column; align-items: flex-start; }
}

/* Configure journey v2 — mockup-aligned steps + bottom POAP preview */
.cfg-shell { padding-bottom: var(--space-8); }
.cfg-page-header { margin-bottom: var(--space-5); }
.cfg-page-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 var(--space-2);
  line-height: 1.2;
}
.cfg-page-header__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  margin: 0 0 var(--space-2);
}
.cfg-page-header .cfg-page-header__row h1 { margin: 0; }
.cfg-page-header .cfg-plan-status {
  margin: 0;
  max-width: none;
  font-size: var(--text-sm);
  font-weight: 650;
  line-height: 1.4;
  color: #166534;
  white-space: nowrap;
}
.cfg-page-header p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 40rem;
}
.cfg-stepper-ref { position: relative; }
.cfg-stepper-ref__item { position: relative; z-index: 1; }
.cfg-stepper-ref__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1rem;
  left: calc(50% + 1.15rem);
  width: calc(100% - 2.3rem);
  height: 2px;
  background: var(--color-border);
  z-index: -1;
  transform: translateX(0.5rem);
}
.cfg-stepper-ref__item--done:not(:last-child)::after,
.cfg-stepper-ref__item--active:not(:last-child)::after {
  background: var(--color-accent);
}
.cfg-step { display: none; }
.cfg-step.is-active { display: block; }
.cfg-step-heading {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.cfg-step-heading__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  flex-shrink: 0;
}
.cfg-section-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-5) 0 var(--space-2);
}
.cfg-upload-zone--ref .cfg-upload-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-2);
  margin-top: 0.45rem;
}
.cfg-upload-zone--ref .cfg-help {
  margin: 0;
}
.cfg-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cfg-upload-filename {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cfg-map-empty {
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-4);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.45;
  margin-bottom: var(--space-4);
}
.cfg-map-table { max-height: 16rem; }
.cfg-help { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: 0.2rem; line-height: 1.45; }
.cfg-label-row { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.25rem; }
.cfg-label-text { font-size: 0.8rem; font-weight: 500; color: var(--color-primary); margin: 0; }
.cfg-label-text--bold { font-size: 0.82rem; font-weight: 700; }
.cfg-info-wrap { position: relative; display: inline-flex; flex-shrink: 0; }
.cfg-info-btn {
  width: 1.5rem;
  height: 1.5rem;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  border: 1px solid #94a3b8;
  background: #f8fafc;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cfg-info-btn:hover, .cfg-info-btn:focus-visible, .cfg-info-btn.is-open {
  border-color: var(--color-accent); color: var(--color-accent);
  background: rgba(31, 95, 184, 0.06);
}
.cfg-info-popover {
  position: absolute; left: 0; bottom: calc(100% + 0.4rem);
  width: min(17rem, calc(100vw - 2.5rem)); padding: 0.55rem 0.65rem;
  border-radius: 0.5rem; border: 1px solid #dbe2ea; background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14); font-size: 0.76rem;
  color: #475569; line-height: 1.45; z-index: 30; opacity: 0; visibility: hidden;
  pointer-events: none; transition: opacity 120ms ease, visibility 120ms ease;
}
.cfg-info-popover--wide {
  width: min(22rem, calc(100vw - 2rem));
}
.cfg-info-popover p { margin: 0 0 0.4rem; }
.cfg-info-popover p:last-child { margin-bottom: 0; }
.cfg-scale-demo { margin: 0.45rem 0 0.35rem; }
.cfg-scale-demo__track {
  display: flex;
  height: 1.7rem;
  border: 1px solid #dbe2ea;
  border-radius: 0.3rem;
  overflow: hidden;
  background: #f8fafc;
}
.cfg-scale-demo__focus {
  display: flex;
  width: 50%;
  background: #dbeafe;
  min-width: 0;
}
.cfg-scale-demo__compressed {
  flex: 1;
  display: flex;
  min-width: 0;
  background: repeating-linear-gradient(-45deg, #e2e8f0, #e2e8f0 5px, #f1f5f9 5px, #f1f5f9 10px);
}
.cfg-scale-demo__focus span,
.cfg-scale-demo__compressed span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1e3a8a;
  min-width: 0;
}
.cfg-scale-demo__compressed span { color: #475569; }
.cfg-info-wrap.is-open .cfg-scale-demo__focus,
.cfg-info-wrap:hover .cfg-scale-demo__focus {
  animation: cfg-scale-focus-pulse 2.6s ease-in-out infinite;
}
@keyframes cfg-scale-focus-pulse {
  0%, 100% { width: 50%; }
  45%, 65% { width: 72%; }
}
.cfg-scale-demo__legend {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.35rem;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cfg-scale-demo__leg--focus { color: #1d4ed8; }
.cfg-scale-demo__leg--comp { color: #64748b; }
.cfg-scale-demo__note {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  color: #64748b;
}
.cfg-slider-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cfg-slider-field input[type="range"] {
  flex: 1;
  min-width: 0;
  accent-color: var(--color-accent);
  height: 1.4rem;
}
.cfg-slider-field input[type="number"] {
  width: 3.6rem;
  padding: 0.3rem 0.35rem;
  border-radius: 0.4rem;
  border: 1px solid var(--color-border-control);
  background: white;
  font-size: 0.8rem;
  text-align: center;
}
.cfg-slider-field__suffix {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}
.cfg-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cfg-scale-block {
  margin-top: 0.85rem;
}
.cfg-scale-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 0.65rem;
  margin: 0.4rem 0 0.75rem;
}
.cfg-scale-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  text-align: left;
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid #dbe2ea;
  border-radius: var(--radius-md);
  background: #fff;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.cfg-scale-card:hover:not(:disabled) {
  border-color: var(--color-accent);
}
.cfg-scale-card.is-selected {
  border-color: var(--color-accent);
  background: rgba(31, 95, 184, 0.05);
  box-shadow: 0 0 0 1px rgba(31, 95, 184, 0.18);
}
.cfg-scale-card:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.cfg-scale-card__radio {
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  border: 1.5px solid #94a3b8;
  background: #fff;
  position: relative;
}
.cfg-scale-card.is-selected .cfg-scale-card__radio {
  border-color: var(--color-accent);
}
.cfg-scale-card.is-selected .cfg-scale-card__radio::after {
  content: "";
  position: absolute;
  inset: 0.18rem;
  border-radius: 50%;
  background: var(--color-accent);
}
.cfg-scale-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  flex: 1;
}
.cfg-scale-card__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
}
.cfg-scale-card__copy {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.4;
}
.cfg-scale-card__bar {
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  margin-top: 0.2rem;
  overflow: hidden;
}
.cfg-scale-card__bar--even {
  background: #94a3b8;
}
.cfg-scale-card__bar--focus {
  background: linear-gradient(90deg, #1f5fb8 0 68%, #cbd5e1 68% 100%);
}
.cfg-scale-extras {
  margin-top: 0.15rem;
}
.cfg-info-popover::after {
  content: ""; position: absolute; top: 100%; left: 0.45rem;
  border: 6px solid transparent; border-top-color: #fff;
  filter: drop-shadow(0 1px 0 #dbe2ea);
}
.cfg-info-wrap.is-open .cfg-info-popover { opacity: 1; visibility: visible; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) {
  .cfg-info-wrap:hover .cfg-info-popover { opacity: 1; visibility: visible; }
}
.cfg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; overflow: visible; }
.cfg-box { border: 1px solid #e5e7eb; border-radius: 0.6rem; background: #f8fafc; padding: 0.7rem; overflow: visible; }
.cfg-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.55rem; margin-top: 0.9rem; padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.cfg-actions-right { display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center; }
.cfg-note { border-radius: 0.5rem; border: 1px dashed #cbd5e1; background: #f8fafc; color: #475569; padding: 0.65rem 0.75rem; font-size: 0.78rem; }
.cfg-badge-row { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.55rem; font-size: 0.76rem; }
.cfg-badge { border-radius: 999px; padding: 0.18rem 0.55rem; }
.cfg-badge-ok { background: #dcfce7; color: #166534; }
.cfg-badge-warn { background: #fef3c7; color: #92400e; }
.cfg-badge-bad { background: #fee2e2; color: #991b1b; }
.cfg-ai-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.45rem 0.8rem; }
.cfg-modal-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,0.5); display: none; align-items: center; justify-content: center; padding: 1rem; z-index: 1000; }
.cfg-modal-backdrop.is-open { display: flex; }
.cfg-modal { width: min(30rem, 100%); background: #fff; border-radius: 0.85rem; border: 1px solid #dbe2ea; box-shadow: 0 20px 45px rgba(15,23,42,0.3); padding: 1rem; }
.cfg-modal h3 { margin: 0 0 0.35rem; font-size: 1.08rem; color: var(--color-primary); }
.cfg-modal-msg { margin: 0.4rem 0 0.5rem; color: #334155; font-size: 0.9rem; line-height: 1.45; }
.cfg-modal-timer { font-size: 0.82rem; color: #475569; margin-bottom: 0.65rem; }
.cfg-inline-status { display: none; border-radius: 0.45rem; padding: 0.55rem 0.65rem; margin-bottom: 0.75rem; font-size: 0.78rem; }
.cfg-prep-quota { margin-top: 0.55rem; padding-top: 0.55rem; border-top: 1px solid #e2e8f0; font-size: 0.76rem; color: #64748b; }
.cfg-palette-preview { display: flex; flex-wrap: wrap; gap: 0.2rem; margin-top: 0.45rem; }
#palette-preset-preview { display: none !important; }
.cfg-palette-preview-swatch {
  width: 1.35rem; height: 1.35rem; border-radius: 0.25rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.cfg-custom-palette-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.45rem; margin-top: 0.35rem; }
.cfg-custom-palette-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.6rem, 1fr));
  gap: 0.55rem 0.45rem;
  margin-top: 0.35rem;
}
.cfg-palette-strip-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  min-width: 0;
}
.cfg-palette-strip-slot__name {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.2;
}
.cfg-palette-strip-slot__hex {
  font-size: 0.62rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}
.cfg-palette-strip-slot input[type="color"] {
  width: 2.25rem;
  height: 2rem;
  min-width: 24px;
  min-height: 24px;
  padding: 0.1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.35rem;
  background: #fff;
  cursor: pointer;
}
.cfg-design-section--compact {
  padding: 0.55rem 0.65rem 0.6rem;
}
.cfg-shape-groups--compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.45rem 0.65rem;
  margin-top: 0.45rem;
  align-items: start;
}
.cfg-shape-groups--compact .cfg-shape-picker {
  gap: 0.25rem;
}
.cfg-shape-groups--compact .cfg-shape-picker--milestones {
  flex-wrap: wrap;
  gap: 0.25rem;
}
.cfg-shape-groups--compact .cfg-shape-picker--milestones .cfg-shape-option {
  min-width: 3rem;
  flex: 1 1 3rem;
  padding: 0.22rem 0.28rem 0.2rem;
  font-size: 0.64rem;
  gap: 0.2rem;
}
.cfg-shape-groups--compact .cfg-shape-picker--milestones .cfg-shape-glyph {
  width: 0.95rem;
  height: 0.95rem;
}
.cfg-shape-groups--compact .cfg-shape-option {
  min-width: 3rem;
  padding: 0.22rem 0.28rem 0.2rem;
  font-size: 0.64rem;
}
.cfg-shape-groups--compact .cfg-shape-glyph {
  width: 1.25rem;
  height: 0.65rem;
}
.cfg-inline-pickers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 0.35rem;
  margin-top: 0.45rem;
}
.cfg-inline-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.28rem 0.4rem;
  border: 1px solid #eef2f6;
  border-radius: 0.55rem;
  background: #f8fafc;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
}
.cfg-inline-picker input[type="color"] {
  width: 2rem;
  height: 1.65rem;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 0.3rem;
  cursor: pointer;
  flex-shrink: 0;
}
.cfg-inline-select {
  min-width: 0;
  max-width: 6.5rem;
  padding: 0.18rem 0.3rem;
  border: 1px solid var(--color-border-control);
  border-radius: 0.35rem;
  background: #fff;
  font-size: 0.72rem;
  color: var(--color-primary);
}
.cfg-step .configure-slide-preview {
  margin-top: 0.65rem;
  margin-bottom: 0.35rem;
}
.cfg-shell.is-preview-focus .configure-slide-preview {
  border-color: rgba(31, 95, 184, 0.22);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}
.cfg-palette-slot { border: 1px solid #e2e8f0; border-radius: 0.45rem; padding: 0.4rem 0.45rem; background: #fff; }
.cfg-palette-slot-label { display: block; font-size: 0.72rem; font-weight: 600; color: #64748b; margin-bottom: 0.3rem; }
.cfg-palette-slot-controls { display: flex; align-items: center; gap: 0.35rem; }
.cfg-palette-color-input { width: 2.35rem; height: 2rem; padding: 0.1rem; border: 1px solid var(--color-border-control); border-radius: 0.35rem; background: #fff; cursor: pointer; }
.cfg-palette-hex-input {
  flex: 1; min-width: 0; padding: 0.22rem 0.35rem; border-radius: 0.35rem;
  border: 1px solid var(--color-border-control); font-size: 0.74rem; font-family: ui-monospace, monospace; color: #334155;
}
.cfg-step-error { display: none; font-size: 0.78rem; color: #991b1b; background: #fee2e2; border-radius: 0.35rem; padding: 0.45rem 0.5rem; margin-bottom: 0.5rem; }
.cfg-step-error.is-visible { display: block; }
.cfg-pro-lock { border: 1px dashed #cbd5e1; border-radius: 0.6rem; background: #f8fafc; padding: 0.75rem; font-size: 0.78rem; color: #475569; line-height: 1.45; }
.cfg-design {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}
.cfg-design--compact { gap: 0.5rem; }
.cfg-design-section {
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  background: #fff;
  padding: 0.65rem 0.75rem 0.7rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.cfg-design-lead {
  margin: -0.15rem 0 0.7rem;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}
.cfg-design-note {
  margin: 0.55rem 0 0;
  font-size: 0.74rem;
  color: #64748b;
}
.cfg-design-note--inline {
  margin: 0;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}
.cfg-palette-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  margin-bottom: 0.4rem;
}
.cfg-palette-head .cfg-label-row {
  margin: 0;
}
.cfg-design-custom { margin-top: 0.75rem; }
.cfg-palette-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr));
  gap: 0.35rem;
}
.cfg-palette-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.28rem;
  padding: 0.32rem;
  border: 1px solid #dbe2ea;
  border-radius: 0.7rem;
  background: #fff;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.cfg-palette-tile:hover:not(:disabled) { border-color: var(--color-accent); }
.cfg-palette-tile.is-selected {
  border-color: var(--color-accent);
  background: rgba(31, 95, 184, 0.05);
  box-shadow: 0 0 0 1px rgba(31, 95, 184, 0.18);
}
.cfg-palette-tile:disabled { opacity: 0.5; cursor: not-allowed; }
.cfg-palette-tile__cluster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 1.35rem;
  border-radius: 0.35rem;
  overflow: hidden;
}
.cfg-palette-tile__swatch { display: block; min-width: 0; }
.cfg-palette-tile__name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
.cfg-font-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}
.cfg-font-chip {
  padding: 0.26rem 0.55rem;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.cfg-font-chip:hover { border-color: var(--color-accent); }
.cfg-font-chip.is-selected {
  border-color: var(--color-accent);
  background: rgba(31, 95, 184, 0.08);
  box-shadow: 0 0 0 1px rgba(31, 95, 184, 0.16);
  font-weight: 700;
}
.cfg-font-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}
.cfg-font-rows.cfg-font-rows--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
}
.cfg-font-rows.cfg-font-rows--compact .cfg-font-row {
  grid-template-columns: auto minmax(0, 1fr) 1.75rem;
  gap: 0.2rem 0.25rem;
  padding: 0.22rem 0.3rem;
}
.cfg-font-rows.cfg-font-rows--compact .cfg-font-row__label {
  font-size: 0.68rem;
  white-space: nowrap;
}
.cfg-font-rows.cfg-font-rows--compact .cfg-font-row input[type="range"] {
  min-width: 0;
}
.cfg-font-rows.cfg-font-rows--compact .cfg-font-row__value {
  font-size: 0.68rem;
}
.cfg-display-mode {
  margin-top: 0.7rem;
}
.cfg-display-mode .cfg-font-chips {
  margin-bottom: 0;
}
.cfg-font-row {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr) 2.8rem;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.4rem;
  border: 1px solid #eef2f6;
  border-radius: 0.55rem;
  background: #f8fafc;
}
.cfg-font-row__label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #334155;
}
.cfg-font-row input[type="range"] { width: 100%; accent-color: var(--color-accent); }
.cfg-font-row__value {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: right;
  white-space: nowrap;
}
.cfg-color-rows {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.cfg-color-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.cfg-color-row__label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #334155;
}
.cfg-color-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.cfg-color-swatch {
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.16);
  cursor: pointer;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.cfg-color-swatch.is-selected {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-accent);
}
.cfg-color-swatch--light { border-color: #cbd5e1; }
.cfg-color-swatch--custom {
  position: relative;
  overflow: hidden;
  background:
    conic-gradient(#ef4444, #eab308, #22c55e, #3b82f6, #a855f7, #ef4444);
}
.cfg-color-swatch--custom input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
.cfg-shape-groups {
  display: grid;
  gap: 0.55rem;
}
.cfg-shape-group__label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}
.cfg-shape-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.cfg-shape-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 3.6rem;
  padding: 0.32rem 0.28rem 0.28rem;
  border: 1px solid #dbe2ea;
  border-radius: 0.65rem;
  background: #fff;
  color: #475569;
  font-size: 0.66rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.cfg-shape-option:hover { border-color: var(--color-accent); }
.cfg-shape-option.is-selected {
  border-color: var(--color-accent);
  background: rgba(31, 95, 184, 0.06);
  box-shadow: 0 0 0 1px rgba(31, 95, 184, 0.16);
  color: var(--color-primary);
}
.cfg-shape-glyph {
  display: block;
  width: 1.7rem;
  height: 0.85rem;
  background: var(--color-accent);
}
.cfg-shape-glyph--rect { border-radius: 0.12rem; }
.cfg-shape-glyph--round { border-radius: 0.7rem; }
.cfg-shape-glyph--chevron { clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%, 22% 50%); }
.cfg-shape-glyph--arrow { clip-path: polygon(0 22%, 62% 22%, 62% 0, 100% 50%, 62% 100%, 62% 78%, 0 78%); }
.cfg-shape-glyph--diamond,
.cfg-shape-glyph--circle,
.cfg-shape-glyph--square,
.cfg-shape-glyph--star,
.cfg-shape-glyph--triangle,
.cfg-shape-glyph--hex,
.cfg-shape-glyph--pent {
  width: 0.95rem;
  height: 0.95rem;
}
.cfg-shape-glyph--diamond { transform: rotate(45deg); border-radius: 0.12rem; }
.cfg-shape-glyph--circle { border-radius: 50%; }
.cfg-shape-glyph--square { border-radius: 0.12rem; }
.cfg-shape-glyph--star { clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.cfg-shape-glyph--triangle { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.cfg-shape-glyph--hex { clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%); }
.cfg-shape-glyph--pent { clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); }
@media (max-width: 720px) {
  .cfg-font-rows { grid-template-columns: 1fr; }
  .cfg-font-rows.cfg-font-rows--compact { grid-template-columns: 1fr; }
  .cfg-shape-groups--compact { grid-template-columns: 1fr; }
  .cfg-font-row { grid-template-columns: 1fr auto; }
  .cfg-font-row input[type="range"] { grid-column: 1 / -1; order: 3; }
}
.cfg-suggest-chip {
  padding: 0.22rem 0.55rem;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.cfg-suggest-chip:hover { border-color: var(--color-accent); }
.cfg-suggest-chip.is-selected {
  border-color: var(--color-accent);
  background: rgba(31, 95, 184, 0.08);
  box-shadow: 0 0 0 1px rgba(31, 95, 184, 0.16);
}
.cfg-suggest-chip--inline { flex-shrink: 0; }
.cfg-narrative-stack {
  display: grid;
  gap: 0.5rem;
}
.cfg-narrative-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}
.cfg-narrative-field__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.cfg-narrative-field__head .cfg-label-row { margin: 0; }
.cfg-narrative-input {
  width: 100%;
  border: 1px solid var(--color-border-control);
  border-radius: 0.5rem;
  background: #f8fafc;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0.42rem 0.6rem;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.cfg-narrative-input:focus,
.cfg-narrative-input:focus-visible {
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 95, 184, 0.12);
}
.cfg-narrative-input--commentary {
  min-height: 3.25rem;
  resize: vertical;
}
.cfg-narrative-meta {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  font-size: 0.68rem;
  color: #64748b;
}
.cfg-pro-lock a { font-weight: 600; }
.cfg-timeline-preview__bar {
  display: flex; height: 1.65rem; border-radius: 0.35rem; overflow: hidden;
  border: 1px solid #dbe2ea; margin: 0.35rem 0;
}
.cfg-timeline-preview__seg--focus {
  background: linear-gradient(180deg, #3b82f6, #1d4ed8); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 600; min-width: 2rem;
}
.cfg-timeline-preview__seg--compressed {
  background: repeating-linear-gradient(-45deg, #e2e8f0, #e2e8f0 6px, #f1f5f9 6px, #f1f5f9 12px);
  color: #475569; display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 600; min-width: 2rem;
}
.cfg-timeline-preview__seg--standard {
  background: linear-gradient(180deg, #64748b, #475569); color: #fff; flex: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 600;
}
.cfg-quota-note { font-size: 0.76rem; color: #64748b; }

/* Bottom POAP preview panel — mockup-aligned progressive build-up */
.configure-slide-preview {
  margin-top: var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-4) var(--space-5) var(--space-5);
}
.configure-slide-preview__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-bottom: var(--space-4);
}
.configure-slide-preview__header h2 {
  margin: 0;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
}
.configure-slide-preview__badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(31, 95, 184, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(31, 95, 184, 0.2);
}
.configure-slide-preview__body {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  padding: var(--space-4);
  min-height: 9rem;
}
.configure-slide-preview__empty {
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  background: #fafbfc;
  padding: 2.75rem var(--space-4);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
  max-width: 36rem;
  margin: 0 auto;
}
.configure-slide-preview__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: var(--space-3);
}
.configure-slide-preview__chip {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(31, 95, 184, 0.08);
  border: 1px solid rgba(31, 95, 184, 0.18);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-accent);
}
.configure-slide-preview__meta {
  margin: 0 0 var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}
.configure-slide-preview__chart {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  overflow: hidden;
}
.configure-slide-preview__placeholders {
  padding: var(--space-3) var(--space-3) 0;
  border-bottom: 1px solid #f1f5f9;
}
.configure-slide-preview__ph {
  height: 0.55rem;
  border-radius: 999px;
  background: #e2e8f0;
  margin-bottom: 0.35rem;
}
.configure-slide-preview__ph--title { width: 42%; max-width: 14rem; }
.configure-slide-preview__ph--sub { width: 28%; max-width: 9rem; margin-bottom: 0.5rem; }
.configure-slide-preview__title-block {
  padding: var(--space-3) var(--space-3) 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}
.configure-slide-preview__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--preview-text, var(--color-primary));
  font-family: var(--preview-font, inherit);
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.configure-slide-preview__subheading {
  font-size: 0.72rem;
  color: var(--preview-text, var(--color-text-muted));
  font-family: var(--preview-font, inherit);
  margin-top: 0.2rem;
  line-height: 1.35;
}
.configure-slide-preview__title-block--dummy .configure-slide-preview__title {
  letter-spacing: 0.04em;
}
.configure-slide-preview__months {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.configure-slide-preview__months-spacer {
  flex: 0 0 6.25rem;
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
}
.configure-slide-preview__months-labels {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem;
  padding: 0.28rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--preview-text, #64748b);
  font-family: var(--preview-font, inherit);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  overflow: hidden;
}
.configure-slide-preview__months-labels span {
  flex: 1;
  text-align: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.configure-slide-preview__months-labels--mixed span {
  flex: none;
  box-sizing: border-box;
}
.configure-slide-preview__months-labels span.is-compressed {
  background: #f1f5f9;
  color: #475569;
}
.configure-slide-preview__ratio-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}
.configure-slide-preview__ratio-spacer {
  flex: 0 0 6.25rem;
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
}
.configure-slide-preview__ratio-track {
  flex: 1;
  padding: 0.35rem 0.45rem;
}
.configure-slide-preview__ratio-track .cfg-timeline-preview__bar {
  height: 1.5rem;
  margin: 0;
}
.configure-slide-preview__gantt {
  background: var(--color-white);
}
.configure-slide-preview__lane {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #eef2f6;
  min-height: 1.65rem;
}
.configure-slide-preview__lane:last-child { border-bottom: none; }
.configure-slide-preview__lane-label {
  flex: 0 0 6.25rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.4rem;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--preview-font, inherit);
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  overflow: hidden;
}
.configure-slide-preview__lane-label--filled {
  /* Fill and label colour are applied inline from palette + swimlane-label picker. */
}
.configure-slide-preview__lane-label-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.configure-slide-preview__lane-swatch {
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 0.1rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
}
.configure-slide-preview__lane-track {
  flex: 1;
  position: relative;
  min-height: 1.55rem;
  background-image: repeating-linear-gradient(
    to right,
    transparent,
    transparent calc(8.33% - 1px),
    #f1f5f9 calc(8.33% - 1px),
    #f1f5f9 8.33%
  );
}
.configure-slide-preview__bar {
  position: absolute;
  top: 0.22rem;
  bottom: 0.22rem;
  border-radius: 0.2rem;
  font-size: 0.58rem;
  font-weight: 500;
  font-family: var(--preview-font, inherit);
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 0.2rem;
  display: flex;
  align-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.configure-slide-preview__bar--grey {
  background: #cbd5e1 !important;
  border: 1px solid #94a3b8;
  color: #334155;
}
.configure-slide-preview__bar--task-rounded { border-radius: 0.7rem; }
.configure-slide-preview__bar--task-chevron {
  border-radius: 0;
  clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%, 14% 50%);
}
.configure-slide-preview__bar--task-arrow {
  border-radius: 0;
  clip-path: polygon(0 18%, 68% 18%, 68% 0, 100% 50%, 68% 100%, 68% 82%, 0 82%);
}
.configure-slide-preview__bar--milestone {
  width: 0.62rem !important;
  min-width: 0.62rem;
  height: 0.62rem !important;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 0.08rem;
  padding: 0;
  box-shadow: none;
  z-index: 2;
  overflow: visible;
  color: transparent;
}
.configure-slide-preview__ms-wrap {
  position: absolute;
  top: 50%;
  width: 0.95rem;
  height: 0.95rem;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}
.configure-slide-preview__ms-wrap .configure-slide-preview__bar--milestone {
  left: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
}
.configure-slide-preview__ms-wrap .configure-slide-preview__bar--ms-diamond {
  transform: translate(-50%, -50%) rotate(45deg);
}
.configure-slide-preview__ms-wrap .configure-slide-preview__bar--ms-star,
.configure-slide-preview__ms-wrap .configure-slide-preview__bar--ms-triangle,
.configure-slide-preview__ms-wrap .configure-slide-preview__bar--ms-hexagon,
.configure-slide-preview__ms-wrap .configure-slide-preview__bar--ms-pentagon,
.configure-slide-preview__ms-wrap .configure-slide-preview__bar--ms-circle,
.configure-slide-preview__ms-wrap .configure-slide-preview__bar--ms-square {
  transform: translate(-50%, -50%);
}
.configure-slide-preview__rag {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 0 2px rgba(15, 23, 42, 0.65);
}
.configure-slide-preview__bar--ms-diamond { transform: translateY(-50%) rotate(45deg); }
.configure-slide-preview__bar--ms-circle { border-radius: 50%; }
.configure-slide-preview__bar--ms-square { border-radius: 0.08rem; }
.configure-slide-preview__bar--ms-star {
  border-radius: 0;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.configure-slide-preview__bar--ms-triangle {
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.configure-slide-preview__bar--ms-hexagon {
  border-radius: 0;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
}
.configure-slide-preview__bar--ms-pentagon {
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}
.configure-slide-preview__in-window {
  margin: 0;
  padding: 0.35rem 0.55rem;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  background: #fafbfc;
  border-top: 1px solid #eef2f6;
}
.configure-slide-preview__overflow {
  padding: 0.35rem 0.55rem;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  background: #f8fafc;
  border-top: 1px solid #eef2f6;
}
.configure-slide-preview__commentary-box {
  margin: 0;
  padding: 0.8rem 1rem;
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  font-size: 10pt;
  color: var(--color-text);
  line-height: 1.55;
  font-family: var(--font-display);
}
.configure-slide-preview__commentary-box strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.28rem;
  letter-spacing: 0.01em;
  font-family: var(--font-display);
}
.configure-slide-preview__commentary-box p {
  margin: 0;
  font-family: var(--font-display);
}
.configure-slide-preview__fallback {
  padding: var(--space-4);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.45;
}
.configure-slide-preview__footer {
  margin: var(--space-3) 0 0;
  font-size: 0.68rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  text-align: center;
}
details.cfg-prep-guide summary {
  list-style: none;
}
details.cfg-prep-guide summary::-webkit-details-marker { display: none; }

/* WCAG 2.2 1.4.10 reflow — 320px CSS px. 200% zoom on a 1280px laptop is ~640px (existing queries). */
@media (max-width: 320px) {
  .main-inner {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
    padding-top: var(--space-4);
  }
  .nav-inner {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
  footer {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
  .hero--clarity {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
}

/* Pro trial landing (/pro-trial/) */
.pro-trial-page {
  max-width: 44rem;
  margin: 0 auto;
}
.pro-trial-hero {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}
.pro-trial-hero h1 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}
.pro-trial-hero__lead {
  margin: 0 0 var(--space-5);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--color-text);
}
.pro-trial-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.pro-trial-hero__note {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.pro-trial-section {
  margin-bottom: var(--space-8);
}
.pro-trial-section h2 {
  margin: 0 0 var(--space-2);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--color-primary);
}
.pro-trial-section__intro {
  margin: 0 0 var(--space-4);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.pro-trial-value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.pro-trial-value-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: 0;
  border: none;
  background: transparent;
}
.pro-trial-value-list__tick {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: rgba(31, 95, 184, 0.12);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pro-trial-value-list__tick svg {
  width: 0.85rem;
  height: 0.85rem;
}
.pro-trial-value-list__text {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-primary);
}
.pro-trial-price-callout {
  margin: var(--space-5) 0 0;
  padding: var(--space-4);
  border-radius: var(--radius-md, 8px);
  background: rgba(31, 95, 184, 0.08);
  color: var(--color-primary);
  font-size: 1.02rem;
  text-align: center;
}
.pro-trial-bonus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  table-layout: fixed;
}
.pro-trial-bonus-table th,
.pro-trial-bonus-table td {
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  text-align: left;
}
.pro-trial-bonus-table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
}
.pro-trial-bonus-table thead th:first-child {
  width: 78%;
}
.pro-trial-bonus-table__value-head {
  text-align: right !important;
  width: 22%;
}
.pro-trial-bonus-table__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.pro-trial-bonus-table__tick {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: rgba(31, 95, 184, 0.12);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pro-trial-bonus-table__tick svg {
  width: 0.85rem;
  height: 0.85rem;
}
.pro-trial-bonus-table__name {
  display: block;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}
.pro-trial-bonus-table__desc {
  display: block;
  color: var(--color-text);
  line-height: 1.45;
}
.pro-trial-bonus-table__book {
  margin-top: var(--space-2);
  display: inline-flex;
}
.pro-trial-bonus-table__value {
  white-space: nowrap;
  font-weight: 700;
  color: var(--color-primary);
  text-align: right !important;
}
.pro-trial-bonus-table__total {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.pro-trial-bonus-table tfoot th,
.pro-trial-bonus-table tfoot td {
  border-bottom: none;
  padding-top: var(--space-4);
  font-size: 1rem;
  vertical-align: middle;
}
.pro-trial-bonus-footnote {
  margin: var(--space-3) 0 0;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.45;
}
.pro-trial-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  counter-reset: none;
}
.pro-trial-steps li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.pro-trial-steps__num {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pro-trial-steps__title {
  display: block;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}
.pro-trial-steps p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-text);
}
.pro-trial-cta-band {
  margin: 0 0 var(--space-8);
  padding: var(--space-6) var(--space-4);
  border-radius: var(--radius-md, 8px);
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}
.pro-trial-cta-band h2 {
  margin: 0 0 var(--space-2);
  font-size: 1.28rem;
  color: #fff;
}
.pro-trial-cta-band p {
  margin: 0 0 var(--space-4);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}
.pro-trial-cta-band .btn-primary {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.pro-trial-cta-band .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
}
.pro-trial-cta-band__links {
  margin: var(--space-4) 0 0 !important;
  font-size: var(--text-sm);
}
.pro-trial-cta-band__links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pro-trial-cta-band__links a:hover {
  color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 640px) {
  .pro-trial-bonus-table thead {
    display: none;
  }
  .pro-trial-bonus-table,
  .pro-trial-bonus-table tbody,
  .pro-trial-bonus-table tr,
  .pro-trial-bonus-table td {
    display: block;
    width: 100%;
  }
  .pro-trial-bonus-table tr {
    padding: var(--space-3) 0;
  }
  .pro-trial-bonus-table__value {
    text-align: left !important;
    margin-top: var(--space-1);
    padding-left: calc(1.5rem + var(--space-3));
  }
  .pro-trial-bonus-table tfoot th,
  .pro-trial-bonus-table tfoot td {
    display: block;
  }
}
/* Team Structure Charts configure journey */
.tt-roster-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fafbfc;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.75rem;
}
.tt-roster-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.tt-roster-panel__count { font-size: 0.74rem; color: #64748b; margin-left: auto; }
.tt-roster-team {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: 0.4rem;
  overflow: hidden;
}
.tt-roster-team__summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  list-style: none;
}
.tt-roster-team__summary::-webkit-details-marker { display: none; }
.tt-roster-team__toggle { display: flex; align-items: center; gap: 0.45rem; flex: 1; font-weight: 600; color: var(--color-primary); font-size: 0.82rem; }
.tt-roster-team__meta { font-size: 0.72rem; color: #64748b; }
.tt-roster-members { list-style: none; margin: 0; padding: 0 0.55rem 0.45rem; border-top: 1px solid #f1f5f9; }
.tt-roster-member {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.35rem 0.55rem;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.78rem;
  border-bottom: 1px solid #f8fafc;
}
.tt-roster-member__role { color: #475569; font-weight: 600; }
.tt-roster-member__name { color: #0f172a; }
.tt-roster-member__tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: #4338ca;
  background: #eef2ff;
  border-radius: 999px;
  padding: 0.1rem 0.4rem;
}
.tt-layout-simple { display: flex; flex-direction: column; gap: 0.45rem; }
.tt-layout-simple__option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.75rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tt-layout-simple__option.is-selected,
.tt-layout-simple__option:hover {
  border-color: rgba(31, 95, 184, 0.45);
  box-shadow: 0 0 0 1px rgba(31, 95, 184, 0.12);
}
.tt-layout-simple__option--rec.is-selected { border-color: #6366f1; }
.tt-layout-simple__option input { position: absolute; opacity: 0; pointer-events: none; }
.tt-layout-simple__radio {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid #cbd5e1;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.tt-layout-simple__option.is-selected .tt-layout-simple__radio {
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px var(--color-primary);
}
.tt-layout-simple__body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.tt-layout-simple__title { font-size: 0.86rem; font-weight: 700; color: var(--color-primary); }
.tt-layout-simple__lead { font-size: 0.78rem; color: #475569; line-height: 1.4; }
.tt-layout-simple__meta { font-size: 0.72rem; color: #64748b; }
.tt-preview-chart__lead {
  margin: 0.65rem 0.75rem 0.5rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: #f0f2f5;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
}
.tt-preview-chart__lead--ghost { opacity: 0.55; }
.tt-preview-chart__grid {
  display: grid;
  grid-template-columns: repeat(var(--tt-preview-cols, 4), minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0 0.65rem 0.75rem;
}
.tt-preview-chart__team {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  min-height: 4.5rem;
  overflow: hidden;
  font-size: 0.62rem;
}
.tt-preview-chart__team.is-shared { border-style: dashed; border-color: #6366f1; }
.tt-preview-chart__team--ghost { background: #f8fafc; border-style: dashed; min-height: 3.5rem; }
.tt-preview-chart__team-head {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  padding: 0.25rem 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tt-preview-chart__team--ghost .tt-preview-chart__team-head { background: #cbd5e1; height: 0.85rem; padding: 0; }
.tt-preview-chart__team-body { padding: 0.3rem 0.35rem; line-height: 1.25; }
.tt-preview-chart__team--ghost .tt-preview-chart__team-body { min-height: 2rem; }
.tt-preview-chart__member { display: block; margin-bottom: 0.2rem; }
.tt-preview-chart__member.is-risk .tt-preview-chart__name { color: #b40000; font-weight: 600; }
.tt-preview-chart__role { display: block; color: #64748b; font-weight: 600; }
.tt-preview-chart__name { display: block; color: #334155; }
.tt-preview-chart__shared { color: #6366f1; font-size: 0.55rem; }
.tt-preview-chart__fte { color: #6366f1; font-weight: 600; }
.tt-preview-chart__more { font-size: 0.6rem; color: #64748b; margin-top: 0.15rem; }
.tt-preview-chart__more--wide { grid-column: 1 / -1; text-align: center; padding: 0.35rem; }
.tt-preview-chart__empty,
.tt-preview-chart__empty-team { font-size: 0.72rem; color: #64748b; padding: 0.75rem; text-align: center; grid-column: 1 / -1; }
.tt-team-order-list { list-style: none; margin: 0; padding: 0; }
.tt-team-order-item {
  display: flex; align-items: center; gap: 0.45rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  padding: 0.4rem 0.5rem; margin-bottom: 0.35rem; background: #fff;
}
.tt-team-order-item__name { flex: 1; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); }
.tt-layout-card--recommended { border-color: #6366f1; box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.25); }
.tt-layout-rec-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  color: #4338ca; background: #eef2ff; border-radius: 999px;
  padding: 0.12rem 0.45rem; margin-left: 0.25rem;
}
.cfg-shell--team-topology-wide { max-width: min(120rem, calc(100vw - 1.25rem)); }

/* Branded HTTP / recovery error pages */
.error-page {
  max-width: var(--max-width-narrow);
  margin: var(--space-8) auto var(--space-10);
  padding: var(--space-6) var(--space-6) var(--space-8);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.error-page__code {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.error-page__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: var(--space-4);
}
.error-page__lead {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.error-page__body {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-6) 0 var(--space-5);
}
.error-page__support {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

/* Pre-launch 10xps.com landing */
.launch-body {
  font-family: "Plus Jakarta Sans", var(--font-body);
  background: linear-gradient(165deg, #f0f4fa 0%, #f8fafc 42%, #eef2ff 100%);
  color: var(--color-text);
  min-height: 100vh;
}
.launch-shell { min-height: 100vh; display: flex; flex-direction: column; }
.launch-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: 72rem; margin: 0 auto; width: 100%;
}
.launch-brand {
  display: inline-flex; align-items: center; gap: var(--space-3);
  text-decoration: none; color: var(--color-primary); font-weight: 700;
}
.launch-brand__mark { border-radius: var(--radius-sm); }
.launch-brand__text { font-size: var(--text-lg); letter-spacing: -0.02em; }
.launch-header__nav { display: flex; gap: var(--space-4); font-size: var(--text-sm); }
.launch-header__nav a { color: var(--color-text-muted); text-decoration: none; font-weight: 600; }
.launch-header__nav a:hover { color: var(--color-accent); }
.launch-footer {
  margin-top: auto; padding: var(--space-6);
  text-align: center; font-size: var(--text-sm); color: var(--color-text-muted);
}
.launch-footer__links { margin-top: var(--space-2); }
.launch-footer__links a { color: var(--color-accent); font-weight: 600; text-decoration: none; }
.launch-hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8);
  max-width: 72rem; margin: 0 auto; padding: var(--space-6) var(--space-6) var(--space-10);
  align-items: center;
}
@media (max-width: 900px) {
  .launch-hero { grid-template-columns: 1fr; }
}
.launch-hero__visual {
  min-height: 0;
  border-radius: var(--radius-xl);
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.launch-domain {
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
.launch-domain__x {
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0;
}
.launch-honeypot-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.launch-turnstile {
  margin: var(--space-4) 0 var(--space-2);
}
.launch-form-success--page-top {
  max-width: var(--layout-max, 72rem);
  margin: 0 auto var(--space-6);
  scroll-margin-top: var(--space-4);
}
.launch-legal {
  max-width: var(--layout-max, 72rem);
  margin: 0 auto var(--space-10);
  padding: 0 var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.launch-legal__block {
  scroll-margin-top: var(--space-6);
}
.launch-eyebrow {
  font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-3);
}
.launch-hero__title {
  font-size: clamp(1.85rem, 4vw, 2.65rem); line-height: 1.12;
  font-weight: 800; color: var(--color-primary); margin-bottom: var(--space-4);
  text-wrap: balance;
}
.launch-hero__lead { font-size: var(--text-lg); line-height: 1.65; color: var(--color-text-muted); margin-bottom: var(--space-4); }
.launch-hero__tagline { font-size: var(--text-lg); line-height: 1.5; color: var(--color-primary); margin: 0 0 var(--space-5); }
.launch-teasers {
  list-style: none; margin: 0 0 var(--space-5); padding: 0;
  display: grid; gap: var(--space-3);
}
.launch-teasers li {
  position: relative; padding-left: 1.35rem; line-height: 1.55; color: var(--color-text);
}
.launch-teasers li::before {
  content: ""; position: absolute; left: 0; top: 0.55rem;
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--color-accent);
}
.launch-hero__cta-hint { font-size: var(--text-base); color: var(--color-text-muted); }
.launch-scroll-link { color: var(--color-accent); font-weight: 700; text-decoration: none; }
.launch-scroll-link:hover { text-decoration: underline; }
.launch-video-note { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); }
.launch-countdown-band {
  background: var(--color-primary); color: #fff;
  padding: var(--space-6) var(--space-6);
}
.launch-countdown-band__inner {
  max-width: 72rem; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-8); align-items: center;
}
@media (max-width: 720px) {
  .launch-countdown-band__inner { grid-template-columns: 1fr; gap: var(--space-4); }
}
.launch-countdown-band__label {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.85; margin: 0;
}
.launch-countdown-band__date {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0.15rem 0 0;
}
.launch-countdown-band__text { margin: 0; line-height: 1.65; font-size: var(--text-base); opacity: 0.92; }
.launch-form-section {
  max-width: 72rem; margin: 0 auto; padding: var(--space-10) var(--space-6) var(--space-12);
}
.launch-form-panel {
  background: var(--color-white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card); border: 1px solid var(--color-border);
  padding: var(--space-8);
}
.launch-form-panel__intro h2 {
  font-size: var(--text-2xl); font-weight: 800; color: var(--color-primary); margin: 0 0 var(--space-3);
}
.launch-form-panel__intro p { color: var(--color-text-muted); line-height: 1.65; margin: 0 0 var(--space-6); }
.launch-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4);
}
@media (max-width: 640px) {
  .launch-form-grid { grid-template-columns: 1fr; }
}
.launch-field--full { grid-column: 1 / -1; }
.launch-field label { display: block; font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--space-2); color: var(--color-primary); }
.launch-required { font-weight: 500; color: #b45309; font-size: var(--text-xs); }
.launch-optional { font-weight: 500; color: var(--color-text-muted); font-size: var(--text-xs); }
.launch-input {
  width: 100%; padding: 0.65rem 0.75rem; border: 1px solid var(--color-border-control);
  border-radius: var(--radius-md); font-size: var(--text-base); font-family: inherit;
  background: #fff;
}
.launch-input:focus {
  outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: var(--color-accent);
}
.launch-privacy { margin: var(--space-6) 0; }
.launch-privacy__label {
  display: flex; gap: var(--space-3); align-items: flex-start;
  font-size: var(--text-sm); line-height: 1.6; color: var(--color-text-muted);
}
.launch-privacy__label input { margin-top: 0.25rem; flex-shrink: 0; }
.launch-privacy a { color: var(--color-accent); font-weight: 600; }
.launch-submit { margin-top: var(--space-2); min-width: 12rem; }
.launch-form-success {
  background: var(--color-success-bg); color: var(--color-success-text);
  border-radius: var(--radius-md); padding: var(--space-4); margin-bottom: var(--space-5);
  font-weight: 600;
}
.launch-form-errors, .field-error { color: var(--color-error-text); font-size: var(--text-sm); margin-top: var(--space-2); }

.launch-section {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--space-10) var(--space-6);
}
.launch-section__title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
}
.launch-section__lead {
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0 0 var(--space-6);
  font-size: var(--text-lg);
  max-width: 46rem;
}
.launch-section--tight {
  padding-top: 0;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 900px) {
  .pain-grid { grid-template-columns: 1fr; }
}
.pain-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
}
.pain-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.pain-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0 0 var(--space-3);
}
.pain-card p {
  margin: 0;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}
.steps li {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
  padding-left: 4.25rem;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: var(--space-5);
  top: var(--space-6);
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 2rem;
  text-align: center;
}
.steps p {
  margin: 0;
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.65;
  font-weight: 600;
}
.launch-trust-band .launch-countdown-band__date {
  max-width: 28rem;
}
.launch-trust-band .launch-countdown-band__text {
  font-size: var(--text-lg);
  max-width: 40rem;
}
.product-blocks {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin: 0;
}
.product-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
}
.product-block__icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: #eff6ff;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}
.product-block__icon svg { width: 1.875rem; height: 1.875rem; }
.product-block h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0 0 var(--space-3);
}
.product-block p {
  margin: 0;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}
.product-block__film--wide {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2);
}
.product-block__film--tall {
  display: none;
}
.launch-product-film__player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--color-primary);
  vertical-align: middle;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-card);
}
.launch-product-film__player:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
@media (min-width: 961px) {
  .launch-product-film__player:not(.launch-product-film__player--tall) {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: none;
  }
}
@media (max-width: 960px) {
  .product-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .product-block {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: var(--space-6);
  }
  .product-block__film--wide {
    display: none;
  }
  .product-block__film--tall {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-5) 0 0;
    width: 100%;
  }
  .product-block__film-frame {
    width: 100%;
    max-width: 15.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-primary);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
  }
  .launch-product-film__player--tall {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: var(--color-primary);
    vertical-align: middle;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }
}

/* Legal pages (privacy / terms / launch legal sections) — was inline in _legal_styles.html */
.legal-page {
  max-width: 760px;
  margin: 1.5rem auto 2.75rem;
  color: #374151;
}
.launch-legal .legal-page {
  max-width: none;
  margin: 0;
}
.legal-page h1,
.launch-legal__title {
  font-size: 2rem;
  font-weight: 800;
  color: #0e2841;
  margin-bottom: 0.35rem;
}
.legal-page .legal-effective {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}
.legal-page .legal-lead {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.legal-page .legal-body,
.launch-legal__body {
  background: white;
  border-radius: 0.85rem;
  padding: 1.2rem 1.35rem;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
.legal-page h2,
.launch-legal__body h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0e2841;
  margin: 1.35rem 0 0.45rem;
}
.legal-page h2:first-child,
.launch-legal__body h2:first-child {
  margin-top: 0;
}
.legal-page p,
.launch-legal__body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 0.85rem;
}
.legal-page ul,
.launch-legal__body ul {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
}
.legal-page li,
.launch-legal__body li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 0.4rem;
}
.legal-page a,
.launch-legal__body a {
  color: #1f5fb8;
  font-weight: 600;
}
.legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 0.85rem;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.legal-table th,
.legal-table td {
  border: 1px solid #e2e8f0;
  padding: 0.45rem 0.55rem;
  text-align: left;
  vertical-align: top;
  color: #475569;
  line-height: 1.45;
}
.legal-table th {
  background: #f8fafc;
  color: #0e2841;
  font-weight: 600;
}

