/* ==========================================================================
   TechITEazy | website styles (original teal theme)
   --------------------------------------------------------------------------
    1. Tokens          6. Home: hero, values, services picker, about
    2. Base            7. Shared blocks (tiles, process, FAQ, CTA)
    3. Utilities       8. Feature pages (architecture, agents, kit)
    4. Components      9. Booking & forms
    5. Header & nav   10. Footer, legal, 404, motion
                      11. Website chat
                      12. Cloud providers, contact and legal pages
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink-950: #060a12;
  --ink-900: #0b1220;
  --ink-800: #111a2e;
  --ink-700: #1b2740;

  --mist-50: #f7f9fc;
  --mist-100: #eef2f7;
  --mist-200: #e1e7ef;
  --mist-300: #cbd5e1;

  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --sky-400: #38bdf8;
  --coral-400: #ff8a65;
  --coral-500: #ff6b4a;
  --amber-400: #fbbf24;

  /* Text (all pairings meet WCAG AA on their intended backgrounds) */
  --text: #0b1220;
  --text-muted: #475569;
  --text-soft: #64748b;
  --text-on-dark: #f1f5f9;
  --text-on-dark-muted: #a9b6cb;

  --grad-brand: linear-gradient(135deg, var(--teal-400) 0%, var(--sky-400) 100%);
  --grad-text: linear-gradient(92deg, var(--teal-300) 0%, var(--sky-400) 55%, #a5b4fc 100%);

  --focus: var(--teal-700);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgb(11 18 32 / 0.06), 0 2px 6px rgb(11 18 32 / 0.05);
  --shadow: 0 18px 40px -18px rgb(11 18 32 / 0.22);
  --shadow-lg: 0 30px 70px -28px rgb(11 18 32 / 0.4);

  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(72px, 9vw, 120px);

  /* Motion: the brand's namesake easing curves */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --check-teal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --check-teal-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
}

a {
  color: var(--teal-700);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

[hidden] {
  display: none !important;
}

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

::selection {
  background: rgb(45 212 191 / 0.3);
}

/* 3. Utilities ------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2 * var(--gutter), 860px);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-900);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus {
  transform: none;
}

.icon {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.on-dark {
  --focus: var(--teal-300);
  color: var(--text-on-dark);
}

/* 4. Components ------------------------------------------------------------ */
.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--white {
  background: #fff;
}

.section--mist {
  background: var(--mist-50);
}

.section--dark {
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 100% 0%, rgb(56 189 248 / 0.12), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgb(45 212 191 / 0.12), transparent 70%),
    var(--ink-900);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

.section-head h2,
.split h2,
.faq-intro h2 {
  font-size: clamp(1.9rem, 1.25rem + 2.5vw, 3rem);
}

.on-dark h2,
.on-dark h3 {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.on-dark .eyebrow {
  color: var(--teal-300);
}

.section-lead {
  margin-top: 14px;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--text-muted);
}

.on-dark .section-lead {
  color: var(--text-on-dark-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.8em 1.35em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn .icon {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 2.2;
  transition: transform 0.2s var(--ease-out);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-back:hover .icon {
  transform: translateX(-3px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--grad-brand);
  color: var(--ink-950);
  box-shadow: 0 10px 28px -10px rgb(45 212 191 / 0.65);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgb(45 212 191 / 0.8);
}

.btn-ghost {
  border-color: rgb(255 255 255 / 0.22);
  background: rgb(255 255 255 / 0.04);
  color: #fff;
}

.btn-ghost:hover {
  border-color: rgb(255 255 255 / 0.45);
  background: rgb(255 255 255 / 0.09);
}

.btn-outline {
  border-color: var(--mist-300);
  background: #fff;
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--teal-600);
  color: var(--teal-700);
}

.btn-dark {
  background: var(--ink-900);
  color: #fff;
}

.btn-dark:hover {
  background: var(--ink-700);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.62em 1.1em;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.95em 1.6em;
  font-size: 1.025rem;
}

.btn:disabled,
.btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

/* Tick lists */
.ticks {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  line-height: 1.5;
}

.ticks li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgb(45 212 191 / 0.18) var(--check-teal) center / 11px no-repeat;
}

.on-dark .ticks li {
  color: #e2e8f0;
}

.on-dark .ticks li::before {
  background-color: rgb(94 234 212 / 0.16);
  background-image: var(--check-teal-light);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-700);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.on-dark .link-arrow {
  color: var(--teal-300);
}

.link-arrow .icon {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
  transition: transform 0.2s var(--ease-out);
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

.mini-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.on-dark .mini-title {
  color: var(--text-on-dark-muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.split--top {
  align-items: start;
}

.split .hero-actions {
  margin-top: 30px;
}

@media (max-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 5. Header & navigation --------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled,
.site-header.menu-open,
.site-header--solid {
  background: rgb(11 18 32 / 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  flex: none;
  width: 36px;
  height: 36px;
}

.brand-it {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-list {
  display: flex;
  gap: 2px;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-on-dark-muted);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: #fff;
  background: rgb(255 255 255 / 0.07);
}

.nav-toggle {
  display: none;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 0.16);
    border-radius: 12px;
    background: rgb(255 255 255 / 0.05);
    color: #fff;
    cursor: pointer;
  }

  .nav-toggle .icon {
    width: 22px;
    height: 22px;
  }

  .nav-toggle[aria-expanded="true"] .i-open,
  .nav-toggle[aria-expanded="false"] .i-shut {
    display: none;
  }

  /* Drop-down panel. Solid, because a translucent panel inside the
     blurred header lets the page show through. */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 12px var(--gutter) 24px;
    border-top: 1px solid rgb(255 255 255 / 0.08);
    background: var(--ink-900);
    box-shadow: 0 24px 40px -20px rgb(0 0 0 / 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0s;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-list a {
    padding: 13px 12px;
    font-size: 1.05rem;
  }

  .site-nav .btn {
    width: 100%;
    padding-block: 0.85em;
    font-size: 1rem;
  }
}

/* 6. Home ------------------------------------------------------------------ */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(55% 60% at 8% 0%, rgb(45 212 191 / 0.2), transparent 70%),
    radial-gradient(45% 50% at 100% 15%, rgb(56 189 248 / 0.16), transparent 70%),
    radial-gradient(35% 45% at 75% 100%, rgb(255 107 74 / 0.1), transparent 70%),
    var(--ink-900);
}

.hero {
  padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(128px, 13vw, 176px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 75%);
}

.hero-curves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.hero-curves path {
  fill: none;
  stroke-linecap: round;
}

.hc-1 {
  stroke: rgb(94 234 212 / 0.3);
  stroke-width: 2;
}

.hc-2 {
  stroke: rgb(56 189 248 / 0.16);
  stroke-width: 1.5;
}

.hc-3 {
  stroke: rgb(94 234 212 / 0.1);
  stroke-width: 1.5;
}

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

/* Sized so each sentence of the headline fits on one line on laptop screens,
   keeping the Book a consultation button above the fold. */
.hero h1 {
  font-size: clamp(2.3rem, 1.3rem + 2.6vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
}

.hero-lead {
  max-width: 40ch;
  margin-top: 22px;
  font-size: clamp(1.08rem, 1rem + 0.45vw, 1.28rem);
  color: var(--text-on-dark-muted);
}

/* Each headline sentence on its own line, wrapped evenly on small screens */
.hero h1 .hl {
  display: block;
  text-wrap: balance;
}

/* Homepage introduction: two short paragraphs and a tagline */
.hero-intro .hero-lead + .hero-lead {
  margin-top: 14px;
}

.hero-tagline {
  max-width: 40ch;
  margin-top: 22px;
  padding-left: 14px;
  border-left: 3px solid var(--teal-400);
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.14rem);
  font-weight: 700;
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.03);
  color: var(--text-on-dark-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-tags .icon {
  width: 14px;
  height: 14px;
  color: var(--teal-300);
  stroke-width: 2.2;
}

/* Terminal illustration */
.hero-visual {
  position: relative;
  padding: 30px 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18% 8%;
  z-index: -1;
  border-radius: 50%;
  background: var(--grad-brand);
  filter: blur(70px);
  opacity: 0.28;
}

.terminal {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgb(20 30 52 / 0.95), rgb(11 18 32 / 0.95));
  box-shadow: 0 40px 90px -36px rgb(0 0 0 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.06);
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 0.74rem + 0.22vw, 0.92rem);
  line-height: 1.5;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
  background: rgb(255 255 255 / 0.025);
}

.terminal-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral-500);
}

.terminal-bar .dot:nth-child(2) {
  background: var(--amber-400);
}

.terminal-bar .dot:nth-child(3) {
  background: var(--teal-400);
}

.terminal-title {
  margin-left: 10px;
  color: #7d8ba5;
  font-size: 0.78rem;
}

.terminal-body {
  display: grid;
  gap: 10px;
  padding: 24px 22px 28px;
}

.t-line {
  display: flex;
  gap: 12px;
  color: #cbd5e1;
}

.t-line > :first-child {
  flex: none;
}

.t-prompt,
.t-ok {
  color: var(--teal-300);
}

.t-cmd {
  margin-bottom: 4px;
  color: #fff;
}

.t-done {
  margin-top: 6px;
  color: #fff;
  font-weight: 500;
}

.t-arrow {
  color: var(--coral-400);
}

.t-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.15em;
  margin-left: 6px;
  vertical-align: text-bottom;
  background: var(--teal-300);
  animation: blink 1.1s steps(1) infinite;
}

.terminal.is-animating .t-line:not(.t-cmd) {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
}

.terminal.is-animating .t-line.is-shown {
  opacity: 1;
  transform: none;
}

.terminal.is-typing [data-type]::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--teal-300);
}

/* Floating badges: they only overlap the terminal's top and bottom edges */
.float-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.97);
  color: var(--ink-900);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 22px 44px -18px rgb(0 0 0 / 0.6);
  animation: float 7s var(--ease-in-out) infinite;
}

.fc-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad-brand);
  color: var(--ink-950);
}

.fc-icon .icon {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.float-card--a {
  top: 0;
  right: 6%;
}

.float-card--b {
  bottom: 4px;
  left: -18px;
  animation-delay: -2.3s;
}

.float-card--c {
  bottom: 4px;
  right: -12px;
  animation-delay: -4.6s;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    width: 100%;
    max-width: 560px;
  }

  .float-card--b {
    left: 4%;
  }
}

@media (max-width: 560px) {
  .float-card--b {
    display: none;
  }

  .float-card--a {
    right: 4%;
  }

  .float-card--c {
    right: 6%;
  }

  .terminal-body {
    padding: 20px 16px 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

/* Values: a card overlapping the bottom of the hero */
.values {
  --overlap: clamp(64px, 7vw, 96px);
  position: relative;
  z-index: 2;
  margin-top: calc(var(--overlap) * -1);
  background: linear-gradient(to bottom, transparent var(--overlap), var(--mist-50) var(--overlap));
}

.values-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 8px;
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  list-style: none;
}

.value {
  display: flex;
  gap: 14px;
  padding: 22px 20px;
}

.value + .value {
  border-left: 1px solid var(--mist-200);
}

.value-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(45 212 191 / 0.16), rgb(56 189 248 / 0.16));
  color: var(--teal-700);
}

.value-icon .icon {
  width: 22px;
  height: 22px;
}

.value h3 {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.value p {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.values + .section {
  padding-top: clamp(64px, 8vw, 104px);
}

@media (max-width: 1024px) {
  .values-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value:nth-child(3) {
    border-left: 0;
  }

  .value:nth-child(n + 3) {
    border-top: 1px solid var(--mist-200);
  }
}

@media (max-width: 600px) {
  .values-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 4px 8px;
  }

  .value + .value {
    border-left: 0;
    border-top: 1px solid var(--mist-200);
  }

  .value {
    padding: 18px 12px;
  }
}

/* Services picker: choose a goal, see one short answer */
.goal-tabs {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
}

.js .goal-tabs {
  display: flex;
}

.goal-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--mist-300);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}

.goal-tab:hover {
  border-color: var(--teal-600);
  color: var(--text);
  transform: translateY(-1px);
}

.goal-tab-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mist-100);
  color: var(--teal-700);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.goal-tab-icon .icon {
  width: 17px;
  height: 17px;
}

.goal-tab[aria-selected="true"] {
  border-color: var(--ink-900);
  background: var(--ink-900);
  color: #fff;
}

.goal-tab[aria-selected="true"] .goal-tab-icon {
  background: var(--grad-brand);
  color: var(--ink-950);
}

.goal-panels {
  display: grid;
  gap: 20px;
}

.goal-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}

.goal-panel h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.goal-panel h3 + p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.goal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 26px;
}

/* "How it fits" flow: three steps that picture the outcome */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr);
  align-items: center;
  margin: 0;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 80% at 100% 0%, rgb(56 189 248 / 0.14), transparent 70%),
    var(--ink-900);
  list-style: none;
}

.flow-node {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  text-align: center;
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.05);
  color: var(--teal-300);
}

.flow-node:last-child .flow-icon {
  border-color: transparent;
  background: var(--grad-brand);
  color: var(--ink-950);
}

.flow-icon .icon {
  width: 26px;
  height: 26px;
}

.flow-label {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.flow-link {
  position: relative;
  height: 2px;
  margin-bottom: 30px;
  background: repeating-linear-gradient(90deg, var(--teal-300) 0 6px, transparent 6px 11px);
  background-size: 22px 2px;
  opacity: 0.7;
}

.flow-link::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--teal-300);
  border-right: 2px solid var(--teal-300);
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 860px) {
  .goal-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Phones: a compact two-column grid of goals instead of a tall stack */
@media (max-width: 600px) {
  .js .goal-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .goal-tab {
    gap: 8px;
    padding: 8px 10px 8px 8px;
    border-radius: 14px;
    font-size: 0.86rem;
    line-height: 1.25;
    text-align: left;
  }

  .goal-tab-icon {
    flex: none;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .flow {
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
    padding: 16px 10px;
  }

  .flow-icon {
    width: 46px;
    height: 46px;
  }

  .flow-icon .icon {
    width: 22px;
    height: 22px;
  }

  .flow-label {
    font-size: 0.78rem;
  }
}

/* About */
.about-story p + p {
  margin-top: 16px;
}

.about-story p {
  color: var(--text-on-dark-muted);
  font-size: 1.08rem;
}

.ceo-card {
  position: relative;
  margin: 0;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02));
}

.ceo-quote {
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.ceo-quote::before {
  content: "“";
  display: block;
  margin-bottom: 4px;
  font-size: 3.4rem;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ceo-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

/* GO-LIVE: replace the monogram with a photo if you like (see README) */
.ceo-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--ink-950);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 4px rgb(45 212 191 / 0.18);
}

.ceo-name {
  display: block;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}

.ceo-role {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
}

/* Startup-kit teaser */
.stage-stack {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stage-chip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--mist-200);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.stage-chip .tile-icon {
  margin: 0;
}

.stage-text strong {
  display: block;
  font-size: 1.05rem;
}

.stage-text span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* 7. Shared blocks --------------------------------------------------------- */

/* Tiles: icon, title, one line */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

.tile {
  position: relative;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Gradient border revealed on hover */
.tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tile:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.tile:hover::before {
  opacity: 1;
}

.tile h3 {
  font-size: 1.12rem;
}

.tile p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--ink-900);
  color: var(--teal-300);
}

.tile-icon .icon {
  width: 24px;
  height: 24px;
}

.on-dark .tile {
  border-color: rgb(255 255 255 / 0.09);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.02));
}

.on-dark .tile::before {
  display: none;
}

.on-dark .tile:hover {
  border-color: rgb(94 234 212 / 0.45);
  box-shadow: none;
}

.on-dark .tile p {
  color: var(--text-on-dark-muted);
}

.on-dark .tile-icon {
  background: var(--grad-brand);
  color: var(--ink-950);
}

@media (max-width: 1024px) {
  .tile-grid,
  .tile-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .tile-grid,
  .tile-grid--4,
  .tile-grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Callout card (for example, the Cape Town region) */
.callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid rgb(45 212 191 / 0.35);
  border-radius: var(--radius);
  background: rgb(45 212 191 / 0.07);
}

.callout .icon {
  margin-top: 2px;
  color: var(--teal-700);
}

.callout h3 {
  font-size: 1.02rem;
}

.callout p {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.code-tag {
  padding: 1px 7px;
  border-radius: 6px;
  background: rgb(15 118 110 / 0.1);
  color: var(--teal-700);
  font-family: var(--font-mono);
  font-size: 0.86em;
  white-space: nowrap;
}

/* Process: four steps sitting on the ease-in-out curve */
.steps-wrap {
  position: relative;
}

.steps-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 176px;
  max-width: none;
  overflow: visible;
  pointer-events: none;
}

.steps-curve path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.curve-main {
  stroke: url(#g-curve);
  stroke-width: 3;
}

.curve-tail {
  stroke: var(--mist-300);
  stroke-width: 2;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 0 14px;
  text-align: center;
}

/* Offsets place each node exactly on the curve (y = 148, 123.6, 52.4, 28) */
.step:nth-child(1) {
  margin-top: 120px;
}

.step:nth-child(2) {
  margin-top: 95.6px;
}

.step:nth-child(3) {
  margin-top: 24.4px;
}

.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  border: 2px solid var(--teal-400);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 8px #fff;
  color: var(--teal-700);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
}

.step:last-child .step-num {
  border-color: transparent;
  background: var(--grad-brand);
  color: var(--ink-950);
}

.step h3 {
  font-size: 1.18rem;
}

.step p {
  max-width: 26ch;
  margin: 6px auto 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

@media (max-width: 900px) {
  .steps-curve {
    display: none;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    max-width: 520px;
    margin-inline: auto;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 27px;
    width: 2px;
    background: linear-gradient(var(--teal-400), var(--sky-400));
    opacity: 0.5;
  }

  .step,
  .step:nth-child(n) {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 20px;
    margin-top: 0;
    padding: 0;
    text-align: left;
  }

  .step-num {
    grid-row: span 2;
    margin: 0;
  }

  .step h3 {
    padding-top: 14px;
  }

  .step p {
    max-width: none;
    margin: 4px 0 0;
  }
}

/* FAQ */
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq-intro > p:last-child {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.faq-item {
  border: 1px solid var(--mist-200);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: var(--mist-300);
}

.faq-item[open] {
  border-color: rgb(45 212 191 / 0.7);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

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

.faq-icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mist-100);
  transition: background-color 0.2s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-900);
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] .faq-icon {
  background: var(--grad-brand);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 22px 22px;
  color: var(--text-muted);
}

@supports (interpolate-size: allow-keywords) {
  .faq-item {
    interpolate-size: allow-keywords;
  }

  .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.35s var(--ease-out), content-visibility 0.35s allow-discrete;
  }

  .faq-item[open]::details-content {
    block-size: auto;
  }
}

@media (max-width: 900px) {
  .faq-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-intro {
    position: static;
  }
}

/* Call-to-action band */
.cta-band {
  padding-bottom: var(--section-y);
  background: #fff;
}

.cta-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 5vw, 60px);
  border-radius: var(--radius-xl);
  background: var(--grad-brand);
  color: var(--ink-950);
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' preserveAspectRatio='xMaxYMid slice' fill='none' stroke='%230b1220' stroke-width='2' stroke-linecap='round'%3E%3Cpath stroke-opacity='.16' d='M-20 270C260 270 320 50 620 50'/%3E%3Cpath stroke-opacity='.1' d='M-20 300C260 300 320 80 620 80'/%3E%3Cpath stroke-opacity='.07' d='M-20 240C260 240 320 20 620 20'/%3E%3C/svg%3E") center / cover no-repeat;
}

.cta-card h2 {
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem);
  color: var(--ink-950);
}

.cta-card p {
  max-width: 46ch;
  margin-top: 10px;
  font-size: 1.1rem;
  color: rgb(6 10 18 / 0.78);
}

.cta-card .btn {
  flex: none;
}

@media (max-width: 760px) {
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Inner-page hero */
.page-hero {
  padding: calc(var(--header-h) + clamp(44px, 6vw, 80px)) 0 clamp(52px, 7vw, 88px);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 35%;
  z-index: -1;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 400' preserveAspectRatio='xMaxYMax slice' fill='none' stroke-linecap='round'%3E%3Cpath stroke='%235eead4' stroke-opacity='.28' stroke-width='2' d='M-20 380C380 380 520 60 920 60'/%3E%3Cpath stroke='%2338bdf8' stroke-opacity='.14' stroke-width='1.5' d='M-20 410C380 410 520 90 920 90'/%3E%3Cpath stroke='%235eead4' stroke-opacity='.09' stroke-width='1.5' d='M-20 350C380 350 520 30 920 30'/%3E%3C/svg%3E") right bottom / cover no-repeat;
  pointer-events: none;
}

/* Data page: a faint data-architecture network behind the hero */
.page-hero--data::after {
  inset: 0 0 0 50%;
  opacity: 0.9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 420' preserveAspectRatio='xMaxYMid slice' fill='none'%3E%3Cg stroke='%235eead4' stroke-opacity='.22' stroke-width='1.4'%3E%3Cpath d='M80 90H230M80 170H230M80 250H230M80 330H230M230 90V330M230 210H360M360 130H520V290H360ZM520 210H640M640 120V300M640 120H740M640 210H740M640 300H740'/%3E%3C/g%3E%3Cg fill='%235eead4' fill-opacity='.35'%3E%3Ccircle cx='80' cy='90' r='5'/%3E%3Ccircle cx='80' cy='170' r='5'/%3E%3Ccircle cx='80' cy='250' r='5'/%3E%3Ccircle cx='80' cy='330' r='5'/%3E%3Ccircle cx='740' cy='120' r='5'/%3E%3Ccircle cx='740' cy='210' r='5'/%3E%3Ccircle cx='740' cy='300' r='5'/%3E%3C/g%3E%3Crect x='360' y='130' width='160' height='160' rx='18' stroke='%2338bdf8' stroke-opacity='.28' stroke-width='1.6'/%3E%3C/svg%3E") right center / contain no-repeat;
}

@media (max-width: 900px) {
  .page-hero--data::after {
    inset: 0;
    opacity: 0.3;
  }
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  color: var(--text-on-dark-muted);
  font-size: 0.82rem;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.6;
}

.breadcrumb a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4rem);
  line-height: 1.05;
  color: #fff;
}

.page-hero .hero-lead {
  max-width: 52ch;
}

/* 8. Feature pages --------------------------------------------------------- */

/* Data architecture: five layers plus a security band, interactive */
.arch {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 80% at 100% 0%, rgb(56 189 248 / 0.08), transparent 70%),
    #fff;
  box-shadow: var(--shadow);
}

.arch-layers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.arch-layer {
  position: relative;
  min-width: 0;
}

/* Animated connector to the next layer */
.arch-layer + .arch-layer::before {
  content: "";
  position: absolute;
  top: 46px;
  left: -23px;
  width: 24px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal-600) 0 6px, transparent 6px 10px);
  background-size: 20px 2px;
}

.arch-btn {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 18px 12px;
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-lg);
  background: var(--mist-50);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.arch-btn:hover {
  transform: translateY(-3px);
  border-color: var(--teal-600);
}

.arch-btn[aria-pressed="true"] {
  border-color: var(--teal-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgb(45 212 191 / 0.25), var(--shadow);
}

.arch-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--ink-900);
  color: var(--teal-300);
}

.arch-btn[aria-pressed="true"] .arch-icon {
  background: var(--grad-brand);
  color: var(--ink-950);
}

.arch-name {
  font-size: 1.02rem;
  font-weight: 800;
}

.arch-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.arch-items span {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--mist-100);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.arch-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px dashed rgb(15 118 110 / 0.45);
  border-radius: var(--radius);
  background: rgb(45 212 191 / 0.06);
  color: var(--teal-700);
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.arch-secure .icon {
  width: 20px;
  height: 20px;
}

.arch-secure:hover,
.arch-secure[aria-pressed="true"] {
  border-style: solid;
  border-color: var(--teal-600);
  background: rgb(45 212 191 / 0.12);
}

.arch-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--ink-900);
  color: #e2e8f0;
  font-weight: 500;
}

.arch-caption::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 5px rgb(45 212 191 / 0.18);
}

.arch-caption strong {
  color: #fff;
}

html:not(.js) .arch-caption {
  display: none;
}

@media (max-width: 960px) {
  .arch-layers {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .arch-layer + .arch-layer::before {
    top: -19px;
    left: 50%;
    width: 2px;
    height: 20px;
    background: repeating-linear-gradient(180deg, var(--teal-600) 0 6px, transparent 6px 10px);
    background-size: 2px 20px;
  }

  .arch-btn {
    grid-template-columns: 54px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    column-gap: 14px;
    text-align: left;
  }

  .arch-icon {
    grid-row: span 2;
  }

  .arch-items {
    justify-content: flex-start;
  }
}

/* Example cards */
.example-type {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(45 212 191 / 0.16);
  color: var(--teal-700);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Agent loop: the five steps an AI agent works through */
.agent-loop {
  position: relative;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
  list-style: none;
}

.agent-loop::before {
  content: "";
  position: absolute;
  top: 50px;
  bottom: 50px;
  left: calc(clamp(16px, 2.5vw, 26px) + 34px);
  width: 2px;
  background: linear-gradient(var(--teal-400), var(--sky-400));
  opacity: 0.45;
}

.agent-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px 14px 12px 12px;
  border-radius: var(--radius);
}

.agent-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--teal-400);
  border-radius: 50%;
  background: #fff;
  color: var(--teal-700);
}

.agent-dot .icon {
  width: 19px;
  height: 19px;
}

.agent-step h3 {
  font-size: 1rem;
}

.agent-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Facts list (dark sections) */
.facts {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.facts li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.facts .icon {
  margin-top: 1px;
  color: var(--teal-300);
}

.facts strong {
  display: block;
  color: #fff;
}

.facts span {
  display: block;
  margin-top: 2px;
  color: var(--text-on-dark-muted);
  font-size: 0.94rem;
}

.disclosure {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgb(94 234 212 / 0.25);
  border-radius: var(--radius-lg);
  background: rgb(45 212 191 / 0.05);
}

.disclosure h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem);
}

.disclosure p {
  margin-top: 14px;
  color: var(--text-on-dark-muted);
}

.disclosure a {
  color: var(--teal-300);
}

/* Startup kit checklist */
.kit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

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

.kit-stage {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-lg);
  background: #fff;
}

.kit-stage-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.kit-stage-head h3 {
  font-size: 1.25rem;
}

.kit-stage-when {
  color: var(--teal-700);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.kit-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kit-item {
  border-top: 1px solid var(--mist-200);
}

.kit-item label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  cursor: pointer;
}

.kit-item input {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 2px solid var(--mist-300);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.kit-item input:hover {
  border-color: var(--teal-600);
}

.kit-item input:checked {
  border-color: var(--teal-700);
  background: var(--teal-700) var(--check-white) center / 13px no-repeat;
}

.kit-item strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.4;
}

.kit-why {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.kit-summary {
  --focus: var(--teal-300);
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--ink-900);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-lg);
}

.kit-status {
  color: var(--text-on-dark-muted);
}

.kit-count {
  margin-right: 4px;
  color: #fff;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.kit-progress {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--ink-700);
}

.kit-progress::-webkit-progress-bar {
  border-radius: 999px;
  background: var(--ink-700);
}

.kit-progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--grad-brand);
  transition: width 0.4s var(--ease-out);
}

.kit-progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--grad-brand);
}

.kit-next {
  margin-top: 16px;
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
}

.kit-summary .btn {
  width: 100%;
  margin-top: 22px;
}

.kit-reset {
  display: block;
  margin: 12px auto 0;
  padding: 4px;
  border: 0;
  background: none;
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.kit-note {
  margin-top: 14px;
  color: var(--text-on-dark-muted);
  font-size: 0.8rem;
  text-align: center;
}

html:not(.js) .kit-status,
html:not(.js) .kit-progress,
html:not(.js) .kit-next {
  display: none;
}

@media (max-width: 1100px) {
  .kit-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .kit-summary {
    position: static;
  }
}

@media (max-width: 860px) {
  .kit-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 9. Booking & forms ------------------------------------------------------- */
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: clamp(24px, 4vw, 40px);
}

.booking {
  min-width: 0;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.booking-progress {
  display: flex;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.booking-progress li {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-progress li::before {
  content: "";
  height: 4px;
  border-radius: 4px;
  background: var(--mist-200);
}

.booking-progress li.is-done::before,
.booking-progress li[aria-current="step"]::before {
  background: var(--grad-brand);
}

.booking-progress li[aria-current="step"] {
  color: var(--teal-700);
  font-weight: 500;
}

html:not(.js) .booking-progress {
  display: none;
}

.booking-panel {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

html:not(.js) .booking-panel + .booking-panel {
  margin-top: 40px;
}

.step-title {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.step-title:focus {
  outline: none;
}

.step-intro {
  margin-top: 6px;
  color: var(--text-muted);
}

.group-label {
  display: block;
  margin: 24px 0 10px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.option,
.pill,
.date-option {
  position: relative;
  display: block;
  min-width: 0;
}

.option input,
.pill input,
.date-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.option-body {
  display: grid;
  justify-items: center;
  gap: 10px;
  height: 100%;
  padding: 18px 10px 16px;
  border: 1px solid var(--mist-300);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease-out);
}

.option-body .icon {
  width: 26px;
  height: 26px;
  color: var(--teal-700);
}

.option-body strong {
  font-size: 0.92rem;
  line-height: 1.3;
}

.option:hover .option-body,
.date-option:hover > span {
  border-color: var(--teal-600);
  transform: translateY(-2px);
}

.option input:checked + .option-body,
.date-option input:checked + span {
  border-color: var(--teal-600);
  background: rgb(45 212 191 / 0.08);
  box-shadow: inset 0 0 0 1px var(--teal-600);
}

.option input:focus-visible + .option-body,
.pill input:focus-visible + span,
.date-option input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
}

.pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--mist-300);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pill span .icon {
  width: 16px;
  height: 16px;
}

.pill:hover span {
  border-color: var(--teal-600);
  color: var(--text);
}

.pill input:checked + span {
  border-color: var(--ink-900);
  background: var(--ink-900);
  color: #fff;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.date-option > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 10px 6px;
  border: 1px solid var(--mist-300);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease-out);
}

.date-dow {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.date-day {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.date-mon {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.tz-note {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.step-error {
  margin-top: 14px;
  color: #b91c1c;
  font-size: 0.9rem;
  font-weight: 600;
}

.step-error:empty {
  display: none;
}

.booking-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--mist-200);
}

.booking-nav .btn:only-child {
  margin-left: auto;
}

html:not(.js) [data-next],
html:not(.js) [data-back] {
  display: none;
}

.booking-summary {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--mist-200);
  border-radius: var(--radius);
  background: var(--mist-50);
}

.booking-summary div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
}

.booking-summary dt {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 2;
  text-transform: uppercase;
}

.booking-summary dd {
  margin: 0;
  font-weight: 600;
}

.booking-done {
  padding: clamp(24px, 5vw, 48px) 0 8px;
  text-align: center;
}

.booking-done:focus {
  outline: none;
}

.done-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--ink-950);
}

.done-icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.4;
}

.booking-done h2 {
  font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.4rem);
}

.booking-done > p {
  max-width: 44ch;
  margin: 10px auto 0;
  color: var(--text-muted);
}

.booking-done .booking-summary {
  max-width: 440px;
  margin-inline: auto;
  text-align: left;
}

.booking-done .hero-actions {
  justify-content: center;
}

.expect {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 28px;
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-lg);
  background: #fff;
}

.expect h2 {
  font-size: 1.35rem;
}

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

.expect-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
}

.expect-list .icon {
  width: 22px;
  height: 22px;
  color: var(--teal-700);
}

.expect-list strong {
  display: block;
}

.expect-list span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.expect-contact {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--mist-200);
  color: var(--text-muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .booking-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .expect {
    position: static;
  }
}

@media (max-width: 760px) {
  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 480px) {
  .booking-nav .btn {
    flex: 1 1 auto;
  }
}

/* Form fields */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin-top: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field > label {
  font-size: 0.92rem;
  font-weight: 600;
}

.req {
  color: #c2410c;
}

.optional {
  color: var(--text-soft);
  font-weight: 400;
}

.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--mist-300);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:hover {
  border-color: #94a3b8;
}

.input:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 4px rgb(13 148 136 / 0.2);
}

.input[aria-invalid="true"] {
  border-color: #dc2626;
}

.input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgb(220 38 38 / 0.15);
}

textarea.input {
  min-height: 120px;
  resize: vertical;
}

.field-meta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.field-error {
  color: #b91c1c;
  font-size: 0.86rem;
  font-weight: 500;
}

.field-error:empty {
  display: none;
}

.char-count {
  margin-left: auto;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
  cursor: pointer;
}

.check-row input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--teal-700);
  cursor: pointer;
}

.check-row input[aria-invalid="true"] {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.95rem;
}

.form-status:empty {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-status.is-success {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
}

.form-status.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.form-status.is-info {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
}

.form-status a {
  color: inherit;
  font-weight: 700;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 10. Footer, legal, 404, motion ------------------------------------------- */
.site-footer {
  padding: clamp(56px, 7vw, 80px) 0 32px;
  background: var(--ink-950);
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
}

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

.footer-brand p {
  max-width: 34ch;
  margin-top: 16px;
}

.footer-email {
  display: inline-block;
  margin-top: 16px;
  color: var(--teal-300);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-title {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.footer-links a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.86rem;
}

.footer-legal-note {
  font-size: 0.78rem;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
}

.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 48px;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
}

.prose h3 {
  margin-top: 28px;
  font-size: 1.1rem;
}

.prose p,
.prose ul {
  margin-top: 14px;
  color: var(--text-muted);
}

.prose ul {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 6px;
}

.prose strong {
  color: var(--text);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.notice {
  padding: 16px 18px;
  border: 1px solid #fcd34d;
  border-radius: 14px;
  background: #fffbeb;
  color: #78350f;
}

.prose .notice p {
  margin: 0;
  color: inherit;
}

.placeholder {
  padding: 1px 6px;
  border-radius: 6px;
  background: #fef3c7;
  color: #92400e;
  font-family: var(--font-mono);
  font-size: 0.86em;
}

.error-page {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: calc(var(--header-h) + 48px) 0 64px;
  background:
    radial-gradient(55% 60% at 10% 0%, rgb(45 212 191 / 0.18), transparent 70%),
    radial-gradient(45% 50% at 100% 100%, rgb(56 189 248 / 0.14), transparent 70%),
    var(--ink-900);
  text-align: center;
}

.error-page .container {
  display: grid;
  justify-items: center;
}

.error-code {
  font-size: clamp(5rem, 3rem + 10vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.error-page h1 {
  margin-top: 12px;
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  color: #fff;
}

.error-page p {
  max-width: 46ch;
  margin-top: 14px;
  color: var(--text-on-dark-muted);
  font-size: 1.1rem;
}

.error-page .hero-actions {
  justify-content: center;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes flow {
  to {
    background-position: 22px 0;
  }
}

@keyframes flow-down {
  to {
    background-position: 0 20px;
  }
}

@keyframes agent-step {
  0%,
  22%,
  100% {
    background-color: transparent;
  }

  5%,
  17% {
    background-color: rgb(45 212 191 / 0.1);
  }
}

@keyframes agent-dot {
  0%,
  22%,
  100% {
    box-shadow: 0 0 0 0 rgb(45 212 191 / 0);
  }

  5%,
  17% {
    box-shadow: 0 0 0 6px rgb(45 212 191 / 0.22);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .page-hero .container > * {
    animation: rise 0.9s var(--ease-out) backwards;
  }

  .hero-copy > :nth-child(2),
  .page-hero .container > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero-copy > :nth-child(3),
  .page-hero .container > :nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-copy > :nth-child(4),
  .page-hero .container > :nth-child(4) {
    animation-delay: 0.24s;
  }

  .hero-copy > :nth-child(5),
  .page-hero .container > :nth-child(5) {
    animation-delay: 0.32s;
  }

  .hero-visual {
    animation: rise 1s 0.3s var(--ease-out) backwards;
  }

  .hero-curves path {
    stroke-dasharray: 1;
    animation: draw 2.4s 0.2s var(--ease-in-out) backwards;
  }

  .hero-curves .hc-2 {
    animation-delay: 0.45s;
  }

  .hero-curves .hc-3 {
    animation-delay: 0.7s;
  }

  .js .goal-panel {
    animation: fade-in 0.45s var(--ease-out);
  }

  .flow-link,
  .arch-layer + .arch-layer::before {
    animation: flow 1.2s linear infinite;
  }

  .agent-step {
    animation: agent-step 10s var(--ease-in-out) infinite;
  }

  .agent-dot {
    animation: agent-dot 10s var(--ease-in-out) infinite;
  }

  .agent-step:nth-child(2),
  .agent-step:nth-child(2) .agent-dot {
    animation-delay: 2s;
  }

  .agent-step:nth-child(3),
  .agent-step:nth-child(3) .agent-dot {
    animation-delay: 4s;
  }

  .agent-step:nth-child(4),
  .agent-step:nth-child(4) .agent-dot {
    animation-delay: 6s;
  }

  .agent-step:nth-child(5),
  .agent-step:nth-child(5) .agent-dot {
    animation-delay: 8s;
  }

  /* Scroll reveal: JS adds .reveal-ready to <html>, then .is-visible per element */
  .reveal-ready .reveal {
    opacity: 0;
  }

  .reveal-ready .reveal.is-visible {
    opacity: 1;
    animation: rise 0.8s var(--ease-out) backwards;
    animation-delay: var(--delay, 0s);
  }

  .reveal-ready .reveal.no-anim {
    animation: none;
  }

  .tile-grid > :nth-child(2),
  .steps > :nth-child(2) {
    --delay: 0.08s;
  }

  .tile-grid > :nth-child(3),
  .steps > :nth-child(3) {
    --delay: 0.16s;
  }

  .tile-grid > :nth-child(4),
  .steps > :nth-child(4) {
    --delay: 0.24s;
  }

  .reveal-ready .reveal-draw .steps-curve {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.6s var(--ease-in-out) 0.1s;
  }

  .reveal-ready .reveal-draw.is-visible .steps-curve {
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 960px) and (prefers-reduced-motion: no-preference) {
  .arch-layer + .arch-layer::before {
    animation-name: flow-down;
  }
}

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

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

/* 11. Website chat --------------------------------------------------------- */
/* Built by assets/js/chat.js. Hidden entirely until CHAT_API_URL is set there. */
.chat {
  --chat-edge: 20px;
}

.chat-launcher {
  position: fixed;
  right: calc(var(--chat-edge) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--chat-edge) + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--grad-brand);
  color: var(--ink-950);
  font: inherit;
  font-weight: 700;
  box-shadow: 0 16px 34px -12px rgb(45 212 191 / 0.75), 0 6px 18px -6px rgb(11 18 32 / 0.35);
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

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

.chat-launcher .icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--coral-500);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.chat.is-open .chat-launcher {
  visibility: hidden;
}

.chat-panel {
  position: fixed;
  right: calc(var(--chat-edge) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--chat-edge) + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: min(392px, calc(100vw - 2 * var(--chat-edge)));
  height: min(620px, calc(100dvh - 2 * var(--chat-edge) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)));
  overflow: hidden;
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-lg);
  background: var(--mist-50);
  color: var(--text);
  box-shadow: var(--shadow-lg), 0 2px 8px rgb(11 18 32 / 0.12);
}

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

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px 14px 16px;
  background: var(--ink-900);
  color: var(--text-on-dark);
}

.chat-avatar {
  flex: none;
  width: 36px;
  height: 36px;
}

.chat-head-text {
  flex: 1;
  min-width: 0;
}

.chat-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.chat-status {
  margin: 2px 0 0;
  color: var(--text-on-dark-muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

.chat-icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.chat-icon-button:hover {
  background: rgb(255 255 255 / 0.08);
}

.chat-icon-button .icon {
  width: 20px;
  height: 20px;
}

.chat-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 14px 8px;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-log:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: 86%;
  min-width: 0;
}

.chat-msg--me {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-from {
  margin: 4px 0 0 4px;
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.chat-bubble {
  padding: 10px 14px;
  border: 1px solid var(--mist-200);
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  font-size: 0.93rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.chat-msg--me .chat-bubble {
  border-color: transparent;
  border-radius: 18px 18px 6px 18px;
  background: var(--grad-brand);
  color: var(--ink-950);
}

.chat-bubble a {
  color: var(--teal-700);
  font-weight: 600;
}

.chat-book {
  margin-left: 2px;
}

.chat-system {
  align-self: center;
  max-width: 92%;
  margin: 4px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: center;
}

.chat-typing {
  display: inline-flex;
  gap: 5px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--mist-200);
  border-radius: 18px 18px 18px 6px;
  background: #fff;
}

.chat-typing[hidden] {
  display: none;
}

.chat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-600);
  opacity: 0.35;
}

.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 14px 10px;
}

.chat-actions[hidden],
.chat-chips[hidden],
.chat-chip[hidden] {
  display: none;
}

.chat-chips {
  display: contents;
}

.chat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--mist-300);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.chat-chip:hover {
  border-color: var(--teal-600);
  color: var(--teal-700);
}

.chat-chip .icon {
  width: 16px;
  height: 16px;
}

.chat-notice {
  margin: 0 14px 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: #fff4e5;
  color: #7a4100;
  font-size: 0.82rem;
  line-height: 1.4;
}

.chat-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 12px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--mist-300);
  border-radius: 22px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-form:focus-within {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgb(13 148 136 / 0.15);
}

.chat-form[hidden],
.chat-restart[hidden] {
  display: none;
}

.chat-input {
  flex: 1;
  min-width: 0;
  max-height: 132px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  resize: none;
}

.chat-input:focus {
  outline: none;
}

.chat-send {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink-900);
  color: #fff;
  cursor: pointer;
}

.chat-send:disabled {
  opacity: 0.5;
  cursor: progress;
}

.chat-send .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.chat-restart {
  align-self: center;
  margin: 2px 12px 0;
}

.chat-footnote {
  margin: 0;
  padding: 8px 16px 12px;
  color: var(--text-soft);
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: center;
}

.chat-footnote a {
  color: var(--teal-700);
}

@media (max-width: 600px) {
  .chat {
    --chat-edge: 14px;
  }

  .chat-launcher {
    width: 56px;
    padding: 0;
    justify-content: center;
  }

  .chat-launcher-label {
    display: none;
  }

  /* Full screen on phones */
  .chat-panel {
    inset: 0;
    width: auto;
    height: auto;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    border: 0;
    border-radius: 0;
    background: var(--mist-50);
  }

  .chat-head {
    margin: calc(-1 * env(safe-area-inset-top, 0px)) calc(-1 * env(safe-area-inset-right, 0px)) 0 calc(-1 * env(safe-area-inset-left, 0px));
    padding-top: calc(14px + env(safe-area-inset-top, 0px));
    padding-left: calc(16px + env(safe-area-inset-left, 0px));
    padding-right: calc(12px + env(safe-area-inset-right, 0px));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .chat-panel {
    animation: chat-in 0.25s var(--ease-out);
  }

  .chat-dot {
    animation: chat-dot 1.2s ease-in-out infinite;
  }

  .chat-dot:nth-child(3) {
    animation-delay: 0.15s;
  }

  .chat-dot:nth-child(4) {
    animation-delay: 0.3s;
  }
}

@keyframes chat-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

@keyframes chat-dot {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: none;
  }

  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@media print {
  .chat {
    display: none;
  }
}
/* 12. Cloud providers, contact and legal pages ----------------------------- */
.provider-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.provider {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-lg);
  background: var(--mist-50);
}

.provider-name {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

.provider-region {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.provider-region .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--teal-700);
}

.provider--mixed {
  border-color: rgb(45 212 191 / 0.35);
  background: rgb(45 212 191 / 0.07);
}

/* Columns follow the number of cards (the office card is hidden until there's an address). */
.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.contact-grid > li {
  display: flex;
  min-width: 0;
}

.contact-grid > li[hidden] {
  display: none;
}

.contact-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

a.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgb(45 212 191 / 0.55);
  box-shadow: var(--shadow);
}

a.contact-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.contact-label {
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-value {
  margin-top: 6px;
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

a.contact-card .contact-value {
  color: var(--teal-700);
}

.contact-note {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.expect-action {
  margin: 22px 0 0;
}

.legal-list {
  display: grid;
  margin: 18px 0 8px;
  border-top: 1px solid var(--mist-200);
}

.legal-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
  gap: 6px 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mist-200);
}

.legal-list dt {
  color: var(--text-muted);
  font-weight: 700;
}

.legal-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.legal-list address {
  font-style: normal;
}

.footer-contact {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.footer-contact a {
  color: var(--teal-300);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .provider-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .provider-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-list > div {
    grid-template-columns: minmax(0, 1fr);
  }
}