/* Reading this as: B2B product landing for UK government and university
   AI leads, dashboard-first SaaS language (AI Hub + Collective OS),
   native CSS. Header preserved. Dials: VARIANCE 6, MOTION 4, DENSITY 4.
   Shape: buttons 4px, cards 12px. Accent: forest teal matching the product. */

@font-face {
  font-family: "Geist Sans";
  src: url("../fonts/geist-sans-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("../fonts/geist-sans-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("../fonts/geist-sans-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #ffffff;
  --surface: #ffffff;
  --ink: #1a1c1b;
  --muted: #5c635e;
  --line: #dde3de;
  --accent: #215c4e;
  --accent-hover: #17463c;
  --accent-soft: #e7f0ec;
  --accent-soft-ink: #215c4e;
  --on-accent: #f4f6f4;
  --focus: #215c4e;
  --shadow: 0 18px 50px rgba(33, 92, 78, 0.12);
  --font: "Geist Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius-sm: 4px;
  --radius-md: 12px;
  --max: 1160px;
  --z-nav: 40;
  --z-menu: 45;
  --z-grain: 60;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --canvas: #121413;
  --surface: #1b1e1c;
  --ink: #eceeeb;
  --muted: #9aa09c;
  --line: #2c322f;
  --accent: #4a9b86;
  --accent-hover: #63b39e;
  --accent-soft: #1d322c;
  --accent-soft-ink: #b7d4c8;
  --on-accent: #121413;
  --focus: #4a9b86;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

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

html {
  color-scheme: light;
}

[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

body.nav-locked {
  overflow: hidden;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: calc(var(--z-grain) + 1);
  background: var(--ink);
  color: var(--canvas);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.skip:focus {
  top: 12px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
  vertical-align: -0.12em;
}

.icon-arrow { --icon: url("../icons/arrow-right.svg"); }
.icon-download { --icon: url("../icons/download-simple.svg"); }
.icon-list { --icon: url("../icons/list.svg"); }
.icon-x { --icon: url("../icons/x.svg"); }
.icon-check { --icon: url("../icons/check.svg"); }
.icon-sun { --icon: url("../icons/sun.svg"); }
.icon-moon { --icon: url("../icons/moon.svg"); }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .wrap {
    width: min(calc(20% + 0.8 * var(--max)), calc(100% - 52px));
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  height: 72px;
  background: #ffffff;
  border-bottom: 1px solid #eceeed;
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav-toggle,
.theme-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.theme-toggle .icon-moon,
[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: inline-block;
}

.nav-toggle .icon-x {
  display: none;
}

.site-nav.is-open .nav-toggle .icon-list {
  display: none;
}

.site-nav.is-open .nav-toggle .icon-x {
  display: inline-block;
}

.nav-panel {
  display: none;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 13px 20px;
  white-space: nowrap;
  transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--ink);
  color: var(--canvas);
}

.btn-primary:hover {
  background: #333633;
  color: var(--canvas);
}

[data-theme="dark"] .btn-primary:hover {
  background: #d8dbd6;
  color: #121413;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.btn-accent {
  background: var(--accent);
  color: #f4f6f4;
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #f4f6f4;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 81px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(920px 480px at 82% 38%, rgba(33, 92, 78, 0.18), transparent 62%),
    radial-gradient(640px 360px at 8% 8%, rgba(33, 92, 78, 0.08), transparent 55%),
    linear-gradient(180deg, #dceae4 0%, #e7f1ec 42%, #f4f8f6 78%, #ffffff 100%);
}

.hero::after {
  display: none;
}

[data-theme="dark"] .hero {
  background:
    radial-gradient(920px 480px at 82% 38%, rgba(74, 155, 134, 0.22), transparent 62%),
    radial-gradient(640px 360px at 12% 0%, rgba(33, 92, 78, 0.28), transparent 55%),
    linear-gradient(180deg, #15201c 0%, #121413 78%, #121413 100%);
}

[data-theme="dark"] .hero-pill {
  background: rgba(27, 36, 32, 0.82);
  border-color: rgba(74, 155, 134, 0.22);
}

[data-theme="dark"] .site-header {
  background: #1b1e1c;
  border-bottom-color: #2c322f;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  padding: 6px 14px 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(33, 92, 78, 0.1);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.hero-pill-dot {
  position: relative;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-pill-dot::before,
.hero-pill-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(33, 92, 78, 0.35);
  animation: pill-dot-pulse 2s ease-out infinite;
}

.hero-pill-dot::after {
  animation-delay: 1s;
}

@keyframes pill-dot-pulse {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

[data-theme="dark"] .hero-pill-dot::before,
[data-theme="dark"] .hero-pill-dot::after {
  background: rgba(74, 155, 134, 0.45);
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 5.2vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
  max-width: 16ch;
}

.hero-copy h1 .hero-accent {
  color: var(--accent);
}

.hero-copy p {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

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

.hero-proof .icon {
  color: var(--accent);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  font-size: 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 12px;
}

.product-stage {
  position: relative;
}

.product-stage::before {
  content: "";
  position: absolute;
  inset: -8% -6% 8%;
  background: radial-gradient(ellipse at 55% 45%, rgba(33, 92, 78, 0.28), rgba(33, 92, 78, 0.05) 42%, transparent 70%);
  pointer-events: none;
  filter: blur(8px);
}

.product-frame {
  position: relative;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(33, 92, 78, 0.06),
    0 28px 64px rgba(33, 92, 78, 0.16);
}

[data-theme="dark"] .product-frame {
  background: var(--surface);
  border-color: var(--line);
}

.hero .product-chrome {
  display: none;
}

.product-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.product-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5dad6;
}

.product-frame img {
  width: 100%;
  aspect-ratio: 2580 / 1462;
  object-fit: cover;
  object-position: top center;
}

.section {
  padding: 96px 0;
  background: #ffffff;
}

.hero + .section {
  padding-top: 80px;
}

[data-theme="dark"] .section {
  background: #121413;
}

[data-theme="dark"] .site-nav.is-open .nav-panel {
  background: #121413;
}

.section-head {
  display: grid;
  gap: 14px;
  margin: 0 auto 48px;
  max-width: 38rem;
  text-align: center;
}

.headline {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.5;
  max-width: 42ch;
}

.section-head .lede {
  margin: 0 auto;
}

.walk {
  background: #f4f7f5;
}

[data-theme="dark"] .walk {
  background: #161a18;
}

.walk-row {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 80px;
}

.walk-row:last-child {
  margin-bottom: 0;
}

.walk-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.walk-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
}

[data-theme="dark"] .walk-badge {
  background: var(--accent);
  color: #ffffff;
}

.walk-label span:last-child {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.walk-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 16ch;
}

.walk-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 38ch;
}

.walk-copy .btn {
  border-radius: 999px;
  background: var(--surface);
  padding: 14px 22px;
}

.walk-visual {
  margin: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(33, 92, 78, 0.08);
  box-shadow: 0 18px 50px rgba(33, 92, 78, 0.1);
}

[data-theme="dark"] .walk-visual {
  background: var(--surface);
  border-color: var(--line);
}

.walk-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.walk-visual-report {
  background: #e7eeea;
  padding-bottom: 28px;
}

[data-theme="dark"] .walk-visual-report {
  background: var(--surface);
}

@media (min-width: 900px) {
  .walk-row {
    grid-template-columns: 0.88fr 1.12fr;
    gap: 56px;
  }

  .walk-row-flip {
    grid-template-columns: 1.12fr 0.88fr;
  }

  .walk-row-flip .walk-visual {
    order: -1;
  }
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.why-card p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}

.step strong {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.step h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.pricing {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plans {
  display: grid;
  gap: 14px;
  align-items: stretch;
}

.plan {
  --plan-title: var(--ink);
  --plan-body: var(--muted);
  --plan-item: var(--ink);
  --plan-price: #0f172a;
  --plan-price-meta: #64748b;
  --plan-icon: var(--accent);
  display: flex;
  flex-direction: column;
  background: #f4f7f5;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  min-height: 100%;
  transition:
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    color 180ms var(--ease);
}

[data-theme="dark"] .plan {
  --plan-price: var(--ink);
  background: #161a18;
}

.plans:not(:has(.plan:hover)):not(:has(.plan:focus-within)) .plan-featured,
.plans:has(.plan:hover) .plan:hover,
.plans:not(:has(.plan:hover)) .plan:focus-within {
  --plan-title: #f4f6f4;
  --plan-body: rgba(244, 246, 244, 0.82);
  --plan-item: #f4f6f4;
  --plan-price: #ffffff;
  --plan-price-meta: rgba(255, 255, 255, 0.72);
  --plan-icon: #d7efe7;
  background: var(--accent);
  color: #f4f6f4;
  border-color: var(--accent);
}

.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #f4f6f4;
  color: #215c4e;
  border-radius: 999px;
  padding: 6px 12px;
}

.plan-name {
  margin: 0 0 14px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--plan-title);
  white-space: nowrap;
}

.plan .plan-price {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--plan-price);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}

.plan .plan-price span {
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--plan-price-meta);
}

.plan > p:not(.plan-price) {
  margin: 0 0 22px;
  color: var(--plan-body);
  font-size: 1rem;
  line-height: 1.5;
}

.plan-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
  flex: 1;
}

.plan-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--plan-item);
}

.plan-list .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1.5px solid var(--plan-icon);
  border-radius: 50%;
  background: transparent;
  -webkit-mask: none;
  mask: none;
  color: var(--plan-icon);
  position: relative;
}

.plan-list .icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.plans:not(:has(.plan:hover)):not(:has(.plan:focus-within)) .plan-featured .btn,
.plans:has(.plan:hover) .plan:hover .btn,
.plans:not(:has(.plan:hover)) .plan:focus-within .btn {
  background: #f4f6f4;
  color: #215c4e;
  border-color: #f4f6f4;
}

.plans:not(:has(.plan:hover)):not(:has(.plan:focus-within)) .plan-featured .btn:hover,
.plans:has(.plan:hover) .plan:hover .btn:hover,
.plans:not(:has(.plan:hover)) .plan:focus-within .btn:hover {
  background: #ffffff;
  color: #17463c;
}

.plan .btn {
  width: 100%;
}

.addon {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  padding: 20px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  background: var(--canvas);
}

.addon strong {
  font-weight: 600;
  font-size: 1.15rem;
}

.addon p {
  margin: 0;
  color: var(--muted);
}

.addon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

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

.cta-band .headline {
  max-width: 16ch;
  margin-bottom: 12px;
}

.cta-band .lede {
  margin-bottom: 24px;
}

.prose {
  max-width: 65ch;
}

.prose h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

.prose p strong {
  color: var(--ink);
  font-weight: 500;
}

.faq {
  margin-top: 56px;
}

.faq h2 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1.15rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--muted);
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 65ch;
}

.contact-grid {
  display: grid;
  gap: 40px;
}

.contact-grid h1.headline {
  font-size: clamp(2.1rem, 4vw, 2.75rem);
  text-align: left;
  max-width: 16ch;
}

.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 1rem;
  font-weight: 500;
}

.field .hint {
  font-size: 15px;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  width: 100%;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}

.field .error {
  min-height: 1.2em;
  font-size: 13px;
  color: #9f2f2d;
}

[data-theme="dark"] .field .error {
  color: #f0a8a6;
}

.form-status {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.form-status.is-error {
  background: #fdebec;
  color: #9f2f2d;
  border-color: #f3d0d2;
}

.form-status.is-success {
  background: var(--accent-soft);
  color: var(--accent-soft-ink);
}

.aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  height: fit-content;
}

.aside h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 600;
}

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

.hold {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.hold[hidden] {
  display: none;
}

.page-hero {
  padding: 56px 0 0;
}

.showcase-section {
  padding-top: 64px;
  background: #f4f7f5;
}

[data-theme="dark"] .showcase-section {
  background: #161a18;
}

.showcase-head {
  margin-bottom: 40px;
  max-width: 40rem;
}

.showcase-head-spaced {
  margin-top: 72px;
}

.showcase-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.showcase-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

.showcase-head .headline {
  text-align: left;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
}

.showcase-accent {
  position: relative;
  z-index: 0;
}

.showcase-accent::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.08em;
  height: 0.34em;
  background: var(--accent-soft);
  border-radius: 2px;
}

.showcase-lede {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 46ch;
}

.showcase-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.showcase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #4a9b86 55%, var(--accent-soft));
}

.showcase-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.showcase-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.showcase-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  position: relative;
}

.showcase-icon::before,
.showcase-icon::after {
  content: "";
  position: absolute;
  background: #f4f6f4;
  border-radius: 2px;
}

.showcase-icon::before {
  width: 16px;
  height: 2px;
  top: 14px;
  left: 14px;
  box-shadow: 0 6px 0 #f4f6f4, 0 12px 0 #f4f6f4;
}

.showcase-icon::after {
  width: 2px;
  height: 10px;
  top: 24px;
  left: 22px;
}

.showcase-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-soft-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.showcase-sub {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  max-width: 36ch;
}

.showcase-copy > p:not(.showcase-sub) {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 42ch;
}

.showcase-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 42ch;
}

.showcase-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
}

.showcase-list .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  -webkit-mask: none;
  mask: none;
  color: var(--accent);
  position: relative;
}

.showcase-list .icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.showcase-copy .btn {
  border-radius: 999px;
}

.showcase-copy .btn .icon {
  margin-left: 4px;
}

.showcase-visuals {
  display: grid;
  gap: 18px;
  width: 100%;
}

.showcase-shot {
  margin: 0;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(33, 92, 78, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(33, 92, 78, 0.12);
}

[data-theme="dark"] .showcase-shot {
  background: var(--canvas);
  border-color: var(--line);
}

.showcase-chrome {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #f4f7f5;
  border-bottom: 1px solid var(--line);
}

[data-theme="dark"] .showcase-chrome {
  background: #1b1e1c;
}

.showcase-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d5dad6;
}

.showcase-chrome span:first-child {
  background: #e8a598;
}

.showcase-chrome span:nth-child(2) {
  background: #e8d098;
}

.showcase-chrome span:nth-child(3) {
  background: #98c9a3;
}

.showcase-shot img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 960px) {
  .showcase-card {
    padding: 36px 40px;
  }

  .showcase-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 48px;
  }
}

.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

[data-theme="dark"] .site-footer {
  background: #121413;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

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

.legal {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .split-why {
    grid-template-columns: 1fr 1fr;
  }

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

  .plans {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .plans:not(:has(.plan:hover)):not(:has(.plan:focus-within)) .plan-featured,
  .plans:has(.plan:hover) .plan:hover,
  .plans:not(:has(.plan:hover)) .plan:focus-within {
    transform: none;
    box-shadow: var(--shadow);
  }

  .contact-grid {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 56px;
  }

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

@media (min-width: 1200px) {
  .plans {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-header .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }

  .brand {
    justify-self: start;
  }

  .site-nav {
    justify-self: center;
  }

  .header-actions {
    justify-self: end;
  }

  .nav-panel {
    display: flex;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: 0.92fr 1.2fr;
    gap: 64px;
  }

  .product-frame {
    transform: none;
  }

  .hero .product-frame {
    transform: perspective(1400px) rotateY(-12deg) rotateX(5deg) translateY(8px);
    transform-origin: left center;
  }
}

@media (max-width: 1023px) {
  .site-nav.is-open .nav-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-menu);
    background: #ffffff;
    padding: 24px 20px 40px;
    gap: 20px;
  }

  .site-nav.is-open .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open .nav-links a {
    font-size: 1.2rem;
    padding: 12px 4px;
    color: var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .btn:active,
  .plan-featured,
  .hero .product-frame {
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero {
    background: #e4efe9;
  }

  [data-theme="dark"] .hero {
    background: #15201c;
  }
}

.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;
}

.obs-page {
  padding-top: 64px;
}

.obs-intro {
  margin-bottom: 32px;
  max-width: 62ch;
}

.obs-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.obs-intro p {
  margin: 0;
  color: var(--muted);
}

.obs-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.obs-tabs {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.obs-tabs [role="tab"] {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 14px;
  margin-bottom: -1px;
  cursor: pointer;
}

.obs-tabs [role="tab"]:hover {
  color: var(--ink);
}

.obs-tabs [role="tab"][aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.obs-panel {
  min-height: 280px;
}

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

.risk-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.risk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.4;
}

.risk-table th,
.risk-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.risk-table th {
  background: var(--accent);
  color: #f4f6f4;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.risk-table tbody tr:last-child td {
  border-bottom: 0;
}

.risk-table tbody tr:hover td {
  background: var(--accent-soft);
}

.risk-table tbody tr:hover td.col-score {
  background: #e8cfc4;
}

[data-theme="dark"] .risk-table tbody tr:hover td.col-score {
  background: #5a3c30;
}

.risk-table .col-score {
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: #f3e4dc;
  color: #1a1c1b;
  white-space: nowrap;
}

.risk-table th.col-score {
  background: #c9785a;
  color: #fff;
}

[data-theme="dark"] .risk-table .col-score {
  background: #4a3228;
  color: #f4e8e2;
}

[data-theme="dark"] .risk-table th.col-score {
  background: #a85e42;
  color: #fff;
}

.risk-table td:nth-child(1),
.risk-table td:nth-child(5),
.risk-table td:nth-child(6) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.risk-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.risk-pager .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.risk-pager-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.risk-load-error {
  margin: 0;
  color: var(--muted);
}

.rank-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.rank-filter label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
}

.rank-filter input {
  accent-color: var(--accent);
}

.rank-sort {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-align: inherit;
}

.rank-table {
  table-layout: fixed;
}

.rank-table col.col-agency {
  width: 30%;
}

.rank-table col.col-metric {
  width: 11.666%;
}

.rank-table th {
  white-space: normal;
  hyphens: none;
  line-height: 1.25;
}

.rank-table .rank-sort {
  display: block;
  width: 100%;
  white-space: normal;
  text-wrap: balance;
  line-height: 1.25;
}

.rank-table td.col-agency {
  white-space: normal;
  overflow-wrap: break-word;
}

.rank-table .is-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rank-table th.col-lead {
  background: var(--accent);
}

.rank-table th.col-rest {
  background: #4d7f72;
}

[data-theme="dark"] .rank-table th.col-rest {
  background: #3a6f64;
}

.rank-table td.col-overall {
  font-weight: 600;
}

.rank-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.rank-pill-nascent {
  background: #ece6e2;
  color: #6a5348;
}

.rank-pill-emerging {
  background: #f3e0d2;
  color: #9a4a1c;
}

.rank-pill-developing {
  background: #eee6cc;
  color: #6d5c1f;
}

.rank-pill-maturing {
  background: var(--accent-soft);
  color: var(--accent-soft-ink);
}

.rank-pill-optimised {
  background: #215c4e;
  color: #f4f6f4;
}

[data-theme="dark"] .rank-pill-nascent {
  background: #3a322e;
  color: #e4d4cc;
}

[data-theme="dark"] .rank-pill-emerging {
  background: #4a2e1c;
  color: #f0c4a4;
}

[data-theme="dark"] .rank-pill-developing {
  background: #3d3820;
  color: #e6d89a;
}

[data-theme="dark"] .rank-pill-optimised {
  background: #4a9b86;
  color: #121413;
}

.method-grid {
  display: grid;
  gap: 32px;
}

.method-grid h2 {
  margin: 0 0 14px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.method-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 48ch;
}

.method-pillars {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
}

@media (min-width: 900px) {
  .method-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }
}

.tools-panel-intro {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 62ch;
}

.tool-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tool-card,
.breakthrough-item {
  display: flex;
  flex-direction: column;
  background: #f4f7f5;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 100%;
}

[data-theme="dark"] .tool-card,
[data-theme="dark"] .breakthrough-item {
  background: #161a18;
}

.tool-card h3 {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tool-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.tool-card-lead {
  color: var(--ink) !important;
  font-weight: 500;
}

.tool-card-meta {
  margin: 0 0 8px !important;
  font-size: 13px !important;
  font-weight: 500;
  color: var(--accent-soft-ink) !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tool-card-deadline {
  font-size: 14px !important;
}

.tool-card-actions {
  margin-top: auto;
  padding-top: 8px;
}

.tool-card-actions .btn {
  width: 100%;
}

.tools-filter {
  margin-bottom: 24px;
}

.breakthrough-list {
  display: grid;
  gap: 16px;
}

.breakthrough-item {
  padding: 22px 24px;
}

.breakthrough-tag {
  margin: 0 0 8px !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-soft-ink) !important;
}

.breakthrough-item h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.breakthrough-gov {
  margin-bottom: 0 !important;
  padding-top: 4px;
  color: var(--ink) !important;
  font-weight: 500;
}
