/*
 * The public site of Twinfield MCP: the landing page, what it can do, and the request form.
 * AAdditum's look made more modern: PT Sans and Dosis, white space, and the three colours of
 * the logo as the three things the service stands for: blue for safety, green for insight,
 * orange for advice. Actions stay blue, as on the admin pages. Light only, no scripts, no
 * inline styles: every page here loads Basecoat, app.css and this file.
 */

.site {
  --ink: #16202b;
  --body: #3d4752;
  --blue: #2563a6;
  --blue-deep: #1b4c82;
  --blue-logo: #4a8fd6;
  --blue-tint: #eaf2fb;
  --green: #1d7a43;
  --green-logo: #2ea152;
  --green-tint: #e5f4ea;
  --orange: #8f5300;
  --orange-logo: #e8961e;
  --orange-tint: #fdf1dc;
  --line: #e3e8ee;
  --shadow-sm: 0 1px 2px rgb(16 32 48 / 0.06);
  --shadow-md: 0 1px 2px rgb(16 32 48 / 0.05), 0 8px 24px -6px rgb(16 32 48 / 0.12);
  --shadow-lg: 0 2px 4px rgb(16 32 48 / 0.04), 0 24px 48px -12px rgb(16 32 48 / 0.22);
  --wrap: 1160px;
}
body.site {
  background: #ffffff;
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
.site h1,
.site h2,
.site h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.005em;
}
.site h1 {
  font-size: clamp(36px, 6.2vw, 60px);
  line-height: 1.04;
}
.site h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
}
.site h3 {
  font-size: 20px;
  line-height: 1.25;
}
.site p {
  margin: 0;
}
.site :focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.site .btn[data-size='lg'] {
  height: 48px;
  padding: 0 22px;
  font-size: 16px;
  border-radius: 10px;
}
.site .btn svg {
  flex: none;
}

.wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .wrap {
    padding: 0 24px;
  }
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}
.site .skip:focus {
  top: 12px;
  color: #fff;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(12px);
}
.site-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin-right: auto;
  text-decoration: none;
}
.site-brand img {
  display: block;
  width: 118px;
  height: auto;
}
.site-product {
  display: none;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}
.site-nav {
  display: none;
  gap: 4px;
}
.site .site-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.site .site-nav a:hover {
  background: var(--muted);
  color: var(--ink);
}
.site .site-nav a[aria-current='page'],
.site .site-menu a[aria-current='page'] {
  color: var(--blue);
}

/* On a phone and a tablet the menu opens from a button, as a popover: no script needed. */
.site .menu-button {
  width: 44px;
  height: 44px;
  padding: 0;
}
.site-menu[popover] {
  inset: 72px 12px auto auto;
  width: min(300px, calc(100vw - 24px));
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}
.site-menu[popover]:popover-open {
  display: flex;
  flex-direction: column;
}
.site-menu[popover]::backdrop {
  background: rgb(10 20 30 / 0.25);
}
.site .site-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.site .site-menu a:hover {
  background: var(--muted);
}
.site .site-menu a:last-child {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
}
.site-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site .site-actions .btn {
  padding: 0 12px;
}
.only-wide {
  display: none;
}
@media (min-width: 400px) {
  .site-brand img {
    width: 136px;
  }
}
@media (min-width: 640px) {
  .site-brand img {
    width: 156px;
  }
  .site-product {
    display: block;
  }
  .only-wide {
    display: inline;
  }
  .only-narrow {
    display: none;
  }
}
/* Logging in sits in the menu on a phone, next to it from a tablet up. */
.site .site-actions .login {
  display: none;
}
@media (min-width: 560px) {
  .site .site-actions .login {
    display: inline-flex;
  }
}
/* From here the menu fits in the header: the button and the popover go. */
@media (min-width: 1120px) {
  .site-nav {
    display: flex;
  }
  .site-actions {
    margin-left: 8px;
  }
  .site .menu-button,
  .site-menu[popover] {
    display: none;
  }
}
@media (min-width: 1120px) and (max-width: 1239px) {
  .site-product {
    display: none;
  }
}

/* ---------- Building blocks ---------- */

.section {
  padding: 72px 0;
}
@media (min-width: 900px) {
  .section {
    padding: 104px 0;
  }
}
.section.tint {
  background: #f6f8fa;
}
.section.tint-blue {
  background: linear-gradient(180deg, var(--blue-tint), #f5f9fd);
}
.section.tint-warm {
  background: linear-gradient(180deg, #fff8ec, #fffcf6);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 44px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  text-align: center;
}
.section-head > p:not(.kicker) {
  font-size: 18px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker::before {
  content: '';
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}
.kicker.green {
  color: var(--green);
}
.kicker.orange {
  color: var(--orange);
}
.tile {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue);
}
.tile.green {
  background: var(--green-tint);
  color: var(--green);
}
.tile.orange {
  background: var(--orange-tint);
  color: var(--orange);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.pill.good {
  background: var(--green-tint);
  color: var(--green);
}

/* The logo's ring, drawn as three arcs. */
.ring {
  display: block;
}
.ring circle {
  fill: none;
  stroke-width: 13;
  stroke-linecap: round;
}
.ring .arc-orange {
  stroke: var(--orange-logo);
}
.ring .arc-green {
  stroke: var(--green-logo);
}
.ring .arc-blue {
  stroke: var(--blue-logo);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 72px;
  background:
    radial-gradient(60% 60% at 88% 8%, rgb(74 143 214 / 0.16), transparent 70%),
    radial-gradient(45% 50% at 70% 92%, rgb(46 161 82 / 0.1), transparent 70%),
    radial-gradient(40% 45% at 4% 0%, rgb(232 150 30 / 0.12), transparent 70%), #ffffff;
}
.hero-ring {
  position: absolute;
  right: -180px;
  top: -140px;
  width: 560px;
  height: 560px;
  opacity: 0.09;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.8);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.eyebrow svg {
  width: 20px;
  height: 20px;
}
.hero h1 span {
  color: var(--blue);
}
.lead {
  max-width: 580px;
  font-size: 19px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trust svg {
  color: var(--green);
}
@media (min-width: 640px) {
  .hero {
    padding: 72px 0 96px;
  }
}
@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
  }
  .hero {
    padding: 88px 0 112px;
  }
}

/* The example conversation next to the headline. */
.demo {
  position: relative;
  margin: 0;
  padding: 0 0 36px;
}
.demo-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}
.demo-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
}
.dots {
  display: inline-flex;
  gap: 6px;
}
.dots span {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #d9dee5;
}
.demo-title {
  flex: 1;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 16px 24px;
  font-size: 15px;
}
@media (min-width: 480px) {
  .demo-body {
    padding: 24px 22px 28px;
  }
}
.bubble {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 16px;
  line-height: 1.5;
}
.bubble.user {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: var(--blue);
  color: #ffffff;
}
.bubble.assistant {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  background: #ffffff;
  color: var(--body);
}
.tool-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-foreground);
  font-size: 13px;
}
.tool-line svg {
  color: var(--green);
}
.mini {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.mini th,
.mini td {
  padding: 7px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}
.mini th {
  color: var(--ink);
  font-weight: 700;
}
.mini td {
  padding-left: 12px;
  text-align: right;
  white-space: nowrap;
}
.age {
  display: inline-block;
  min-width: 46px;
  padding: 1px 8px;
  border-radius: 9999px;
  background: var(--orange-tint);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.advice {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--orange-tint);
  color: #4d3300;
  font-size: 14px;
}
.advice svg {
  flex: none;
  margin-top: 2px;
  color: var(--orange);
}
.demo-badge {
  position: absolute;
  left: 16px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}
.demo-badge > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.demo-badge strong {
  color: var(--ink);
  font-size: 14px;
}
.demo-badge span span {
  color: var(--muted-foreground);
  font-size: 13px;
}
.demo-badge .tile {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
@media (min-width: 1000px) {
  .demo-badge {
    left: -28px;
  }
}

/* ---------- Works with ---------- */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.strip-label {
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.strip li {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  opacity: 0.75;
}

/* ---------- The three pillars ---------- */

.pillars {
  display: grid;
  gap: 20px;
}
@media (min-width: 860px) {
  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}
.site a.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  color: var(--body);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.pillar::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--blue-logo);
}
.pillar.green::before {
  background: var(--green-logo);
}
.pillar.orange::before {
  background: var(--orange-logo);
}
.site a.pillar:hover {
  transform: translateY(-3px);
  border-color: #d3dbe4;
  box-shadow: var(--shadow-md);
}
.pillar ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.pillar li {
  display: flex;
  gap: 8px;
}
.pillar li svg {
  flex: none;
  margin-top: 4px;
  color: var(--green);
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
}
.pillar.green .more {
  color: var(--green);
}
.pillar.orange .more {
  color: var(--orange);
}

/* ---------- Two columns: text and a picture or list ---------- */

.split {
  display: grid;
  gap: 48px;
  align-items: center;
}
.split-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.split-copy > p:not(.kicker) {
  font-size: 18px;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 72px;
  }
  .split.reverse > :first-child {
    order: 2;
  }
}

/* Safety: what happens to a change, and the safeguards. */
.flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.flow li {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 14px;
  padding-bottom: 18px;
}
.flow li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 2px;
  width: 2px;
  background: #c9d9ec;
}
.flow-n {
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: #ffffff;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
}
.flow li:last-child .flow-n {
  background: var(--blue);
  color: #ffffff;
}
.flow strong {
  color: var(--ink);
  padding-top: 5px;
}
.flow span:last-child {
  font-size: 15px;
}
.safeguards {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 600px) {
  .safeguards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.safeguards li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid #d9e5f2;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.85);
  box-shadow: var(--shadow-sm);
}
.safeguards h3 {
  font-size: 18px;
}
.safeguards p {
  font-size: 15px;
}

/* Insight: questions people ask, and an example analysis. */
.questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.questions li {
  padding: 8px 14px;
  border: 1px solid #cfe7d8;
  border-radius: 9999px;
  background: var(--green-tint);
  color: #135c31;
  font-size: 14px;
  font-weight: 700;
}
.panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.kpis > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 22px;
}
.kpis > div + div {
  border-left: 1px solid var(--line);
}
.kpi-label {
  color: var(--muted-foreground);
  font-size: 13px;
}
.kpi-value {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.kpi-value small {
  color: var(--muted-foreground);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
}
.kpi-delta {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}
.kpi-delta.up {
  color: var(--orange);
}
.bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 22px 20px;
}
.bars-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}
.legend {
  display: inline-flex;
  gap: 14px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 400;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend span::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #c8d3df;
}
.legend span.now::before {
  background: var(--green-logo);
}
.bars svg {
  display: block;
  width: 100%;
  height: auto;
}
.bars .last {
  fill: #c8d3df;
}
.bars .now {
  fill: var(--green-logo);
}
.bars .base {
  stroke: var(--line);
  stroke-width: 1;
}
.bars text {
  fill: var(--muted-foreground);
  font-family: var(--font-sans);
  font-size: 11px;
}
.panel figcaption {
  padding: 10px 22px;
  border-top: 1px solid var(--line);
  background: #fafbfc;
  color: var(--muted-foreground);
  font-size: 12px;
}

/* Advice: the ready-made ways of working. */
.prompts {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .prompts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1040px) {
  .prompts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.prompt-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid #f1dfc0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
.prompt-card p {
  font-size: 15px;
}
.prompt-card .example {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #ecd9b8;
  color: var(--orange);
  font-size: 14px;
  font-style: italic;
}
.note-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid #f1dfc0;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.7);
}
.note-box p {
  font-size: 15px;
}

/* How to start. */
.steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}
.step-n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}
.steps p {
  font-size: 15px;
}

/* Connecting an assistant. */
.url-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}
.url-label {
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site .url-box code {
  padding: 6px 10px;
  background: var(--blue-tint);
  color: var(--blue-deep);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.connect {
  display: grid;
  gap: 16px;
}
@media (min-width: 860px) {
  .connect {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.connect article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}
.connect ol {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
}
.connect pre {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #16202b;
  color: #e8eef5;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.site .connect pre code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}
.after-connect {
  margin-top: 28px;
  font-size: 15px;
  text-align: center;
}
.hero-cta.after-connect {
  justify-content: center;
}

/* Questions and answers, open without a script. */
.narrow-wrap {
  max-width: 820px;
}
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.site .faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: var(--muted);
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details > p {
  max-width: 680px;
  padding: 0 0 22px;
}

/* The closing call to action. */
.cta {
  padding: 0 0 88px;
}
.cta-inner {
  position: relative;
}
.cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  overflow: hidden;
  padding: 44px 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1b4c82 0%, #2563a6 55%, #3478bf 100%);
  color: #e6eef8;
}
.site .cta-card h2 {
  max-width: 620px;
  color: #ffffff;
}
.cta-card p {
  max-width: 560px;
  font-size: 18px;
}
.cta-ring {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  opacity: 0.22;
  pointer-events: none;
}
.site .cta-card .btn {
  position: relative;
  background: #ffffff;
  color: var(--blue-deep);
}
.site .cta-card .btn:hover {
  background: #eef4fb;
}
@media (min-width: 640px) {
  .cta-card {
    padding: 64px 56px;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #fafbfc;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 32px;
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 360px;
}
.footer-brand img {
  display: block;
  width: 156px;
  height: auto;
}
.site-footer h2 {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site .site-footer a {
  color: var(--body);
  text-decoration: none;
}
.site .site-footer a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.footer-bottom {
  padding-bottom: 28px;
  color: var(--muted-foreground);
  font-size: 13px;
}
.footer-bottom p {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ---------- Inner pages: what it can do, the request form, thanks ---------- */

.page-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(50% 80% at 95% 0%, rgb(74 143 214 / 0.14), transparent 70%),
    radial-gradient(35% 70% at 0% 0%, rgb(232 150 30 / 0.1), transparent 70%), #ffffff;
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
}
.page-hero .lead {
  max-width: 680px;
}
.page-body {
  padding: 48px 0 88px;
}
.site .capability-card {
  max-width: 920px;
}
.site .capability-card h3 {
  margin-top: 18px;
  font-size: 22px;
}

/* The request form. */
.apply {
  display: grid;
  gap: 40px;
  align-items: start;
}
/* On a phone the form comes first; what happens next follows it. */
@media (max-width: 979px) {
  .apply .form-card {
    order: -1;
  }
}
@media (min-width: 980px) {
  .apply {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 64px;
  }
  .apply-side {
    position: sticky;
    top: 100px;
  }
}
.apply-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.apply-side h2 {
  font-size: 24px;
}
.next-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.next-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 14px;
}
.next-steps .flow-n {
  grid-row: span 2;
}
.next-steps strong {
  padding-top: 5px;
  color: var(--ink);
}
.next-steps span:last-child {
  font-size: 15px;
}
.privacy-note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #d9e5f2;
  border-radius: 14px;
  background: var(--blue-tint);
  font-size: 14px;
}
.privacy-note strong {
  color: var(--ink);
}
.form-card {
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}
@media (min-width: 640px) {
  .form-card {
    padding: 36px;
  }
}
.apply-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.apply-form fieldset {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.apply-form legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}
.legend-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--blue-tint);
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: 14px;
}
.form-divider {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.field-row {
  display: grid;
  gap: 18px;
}
@media (min-width: 560px) {
  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.apply-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.apply-form .field > label,
.apply-form .group-label {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}
.optional {
  color: var(--muted-foreground);
  font-weight: 400;
}
.apply-form input:not([type='checkbox'], [type='radio']),
.apply-form select,
.apply-form textarea {
  width: 100%;
  min-height: 44px;
  font-size: 16px;
}
.apply-form textarea {
  min-height: 110px;
}
.hint {
  color: var(--muted-foreground);
  font-size: 13px;
}
.field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--destructive);
  font-size: 13px;
  font-weight: 700;
}
.options {
  display: grid;
  gap: 8px;
}
@media (min-width: 560px) {
  .options.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--input);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
}
.option:hover {
  border-color: #9fb4ca;
}
.option:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-tint);
  box-shadow: 0 0 0 1px var(--blue);
}
.option input {
  flex: none;
  margin: 0;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}
.consent input {
  flex: none;
  margin-top: 4px;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.form-actions .hint {
  flex: 1 1 200px;
}
.form-alert {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid color-mix(in oklab, var(--destructive) 35%, transparent);
  border-radius: 12px;
  background: color-mix(in oklab, var(--destructive) 6%, #ffffff);
  color: var(--destructive);
  font-size: 15px;
}
.form-alert svg {
  flex: none;
  margin-top: 3px;
}
.form-alert strong {
  display: block;
}
/* A field for robots only: people never see it, and it must stay empty. */
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* After sending. */
.done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.done .ring {
  width: 72px;
  height: 72px;
}
.done p {
  max-width: 480px;
  font-size: 17px;
}
.done .hero-cta {
  justify-content: center;
}
.done h1 {
  font-size: clamp(30px, 4.5vw, 42px);
}
