@font-face { font-family: "Inter"; src: url("./fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("./fonts/space-grotesk-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
/* Octo AI public website styles.
   Palette and typography follow docs/brand/octo-ai-brand-system.md. */

:root {
  color-scheme: dark;
  --ink-navy: #0F1218;
  --deep-night: #171C24;
  --control-panel: #242A33;
  --electric-cyan: #E3C76A;
  --prism-violet: #C79A2B;
  --signal-mint: #D9DEE5;
  --aperture-gold: #C79A2B;
  --paper: #FFFFFF;
  --soft-blue: #D9DEE5;
  --muted-steel: #AEB7C4;
  --font-stack: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1120px;
  --radius: 10px;
  --nav-height: 68px;
  /* The sticky header is the nav plus its own bottom border. */
  --header-height: calc(var(--nav-height) + 1px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* The header is sticky at the top of the scrollport, so an anchor jump would
     otherwise land the section underneath it and hide the eyebrow and part of
     the heading. This also applies when focus moves to an off-screen element,
     which is how a keyboard user reaches the same sections. */
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--ink-navy);
  color: var(--paper);
  font-family: var(--font-stack);
  font-size: 1rem;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 1.15;
  margin: 0 0 0.6em;
  overflow-wrap: anywhere;
}

h1, h2, h3, h4, h5 { font-family: "Space Grotesk", "Inter", sans-serif; }

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 600;
}

h3 {
  font-size: 1.08rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--electric-cyan);
}

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

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

.container {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 24px;
}

.skip-link {
  background: var(--electric-cyan);
  border-radius: 0 0 8px 0;
  color: var(--ink-navy);
  font-weight: 600;
  left: 0;
  padding: 10px 16px;
  position: absolute;
  top: -60px;
  transition: top 0.2s ease;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Header and navigation */

.site-header {
  backdrop-filter: blur(10px);
  background: rgba(15, 18, 24, 0.88);
  border-bottom: 1px solid rgba(142, 168, 195, 0.18);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max-width);
  min-height: var(--nav-height);
  padding: 10px 24px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.nav-links a {
  color: var(--soft-blue);
  font-size: 0.94rem;
  font-weight: 500;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--electric-cyan);
}

.nav-links a[aria-current="page"] {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--electric-cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.nav-toggle {
  background: transparent;
  border: 1px solid rgba(142, 168, 195, 0.35);
  border-radius: 8px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.nav-toggle-bar {
  background: var(--paper);
  border-radius: 2px;
  display: block;
  height: 2px;
  width: 20px;
}

/* Buttons */

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-block;
  font-family: var(--font-stack);
  font-size: 0.96rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  padding: 12px 26px;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.btn-primary {
  background: var(--electric-cyan);
  color: var(--ink-navy);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ECD996;
}

.btn-ghost {
  border-color: rgba(142, 168, 195, 0.5);
  color: var(--paper);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--electric-cyan);
  color: var(--electric-cyan);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 15px 34px;
}

.nav-links .nav-cta {
  color: var(--ink-navy);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: var(--ink-navy);
}

/* Shared section chrome */

.eyebrow {
  color: var(--electric-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
  text-transform: none;
}

.section {
  background: var(--deep-night);
  padding: 88px 0;
}

.section-dark {
  background: var(--ink-navy);
}

.section-lede {
  color: var(--muted-steel);
  font-size: 1.08rem;
  max-width: 46rem;
}

/* Hero */

.hero {
  background:
    radial-gradient(1000px 500px at 78% -10%, rgba(199, 154, 43, 0.14), transparent 65%),
    radial-gradient(800px 420px at 12% 110%, rgba(227, 199, 106, 0.12), transparent 60%),
    var(--deep-night);
  padding: 110px 0 100px;
}

.hero-inner {
  max-width: 800px;
}

.hero-lede {
  color: var(--soft-blue);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-tagline {
  color: var(--muted-steel);
  font-size: 0.94rem;
  margin-top: 30px;
}

/* Problem cards */

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 40px;
}

.card {
  background: var(--control-panel);
  border: 1px solid rgba(142, 168, 195, 0.18);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  color: var(--electric-cyan);
}

.card p {
  color: var(--soft-blue);
  font-size: 0.95rem;
  margin: 0;
}

.stakes {
  border-left: 4px solid var(--aperture-gold);
  margin-top: 40px;
  max-width: 52rem;
  padding: 4px 0 4px 22px;
}

.stakes h3 {
  color: var(--aperture-gold);
}

.stakes p {
  color: var(--soft-blue);
  margin: 0;
}

/* Method steps */

.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}

.step {
  background: var(--control-panel);
  border: 1px solid rgba(142, 168, 195, 0.18);
  border-radius: var(--radius);
  border-top: 3px solid var(--electric-cyan);
  padding: 24px;
}

.step:nth-child(2) {
  border-top-color: var(--prism-violet);
}

.step:nth-child(3) {
  border-top-color: var(--signal-mint);
}

.step:nth-child(4) {
  border-top-color: var(--aperture-gold);
}

.step-number {
  color: var(--muted-steel);
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--soft-blue);
  font-size: 0.95rem;
  margin: 0;
}

/* Outcomes */

.outcome-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}

.outcome {
  background: var(--control-panel);
  border: 1px solid rgba(142, 168, 195, 0.18);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.outcome h3 {
  color: var(--signal-mint);
  font-size: 1rem;
}

.outcome p {
  color: var(--soft-blue);
  font-size: 0.92rem;
  margin: 0;
}

.solutions-teaser {
  align-items: center;
  background: linear-gradient(120deg, rgba(199, 154, 43, 0.12), rgba(227, 199, 106, 0.1));
  border: 1px solid rgba(199, 154, 43, 0.32);
  border-radius: var(--radius);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-top: 34px;
  padding: 26px 28px;
}

.solutions-teaser .eyebrow {
  margin-bottom: 8px;
}

.solutions-teaser h3 {
  font-size: 1.25rem;
}

.solutions-teaser p:last-child {
  color: var(--soft-blue);
  margin-bottom: 0;
  max-width: 44rem;
}

.text-link {
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

/* Public solutions catalogue */

.solutions-hero {
  padding-bottom: 88px;
}

.offer-grid,
.solution-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 38px;
}

.offer-card,
.solution-card {
  background: var(--control-panel);
  border: 1px solid rgba(142, 168, 195, 0.18);
  border-radius: var(--radius);
  padding: 26px;
}

.offer-card {
  border-top: 3px solid var(--prism-violet);
}

.offer-card h3,
.process-category > h3 {
  color: var(--electric-cyan);
}

.offer-card p,
.solution-card p,
.solution-card li {
  color: var(--soft-blue);
  font-size: 0.94rem;
}

.process-category {
  border-top: 1px solid rgba(142, 168, 195, 0.2);
  margin-top: 52px;
  padding-top: 34px;
}

.process-category > h3 {
  font-size: clamp(1.28rem, 2.5vw, 1.7rem);
}

.solution-card {
  display: flex;
  flex-direction: column;
}

.solution-card h4 {
  color: var(--paper);
  font-size: 1.18rem;
  margin-top: 4px;
}

.solution-card h5 {
  color: var(--signal-mint);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-top: 10px;
}

.solution-card ul {
  display: grid;
  gap: 6px;
  margin: 0 0 20px;
  padding-left: 20px;
}

.solution-outcome {
  border-left: 3px solid var(--prism-violet);
  padding-left: 14px;
}

.approval-note {
  border-top: 1px solid rgba(142, 168, 195, 0.18);
  margin-top: auto;
  padding-top: 16px;
}

.solution-card .text-link {
  align-self: flex-start;
}

.status-label {
  align-self: flex-start;
  border-radius: 999px;
  color: var(--ink-navy) !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
  padding: 5px 11px;
}

.status-tailored {
  background: var(--signal-mint);
}

.status-pilot {
  background: var(--aperture-gold);
}

.receive-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  list-style: none;
  margin: 38px 0 0;
  padding: 0;
}

.receive-grid li {
  background: var(--control-panel);
  border: 1px solid rgba(142, 168, 195, 0.18);
  border-radius: var(--radius);
  display: grid;
  gap: 5px;
  padding: 20px 22px;
}

.receive-grid strong {
  color: var(--signal-mint);
}

.receive-grid span {
  color: var(--soft-blue);
  font-size: 0.92rem;
}

.delivery-steps {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 38px 0 0;
  max-width: 58rem;
  padding: 0;
}

.delivery-steps li {
  align-items: start;
  background: var(--control-panel);
  border: 1px solid rgba(142, 168, 195, 0.18);
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
  grid-template-columns: 42px minmax(0, 1fr);
  padding: 20px 22px;
}

.delivery-steps li > span {
  align-items: center;
  background: var(--electric-cyan);
  border-radius: 50%;
  color: var(--ink-navy);
  display: flex;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.delivery-steps h3 {
  color: var(--paper);
  margin-bottom: 4px;
}

.delivery-steps p {
  color: var(--soft-blue);
  margin: 0;
}

/* ChatGPT Business products */

.product-hero {
  padding-bottom: 82px;
}

.product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  margin-top: 40px;
}

.product-card {
  background: var(--control-panel);
  border: 1px solid rgba(142, 168, 195, 0.18);
  border-radius: var(--radius);
  padding: 28px;
}

.product-card-featured {
  border-color: var(--signal-mint);
  box-shadow: 0 18px 50px rgba(124, 247, 200, 0.08);
}

.product-card h3 {
  color: var(--paper);
  font-size: 1.3rem;
}

.product-card h4 {
  color: var(--signal-mint);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin: 22px 0 6px;
}

.product-card p {
  color: var(--soft-blue);
  font-size: 0.94rem;
}

.product-card .product-type {
  color: var(--electric-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.split-layout {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
}

.clinic-list {
  background: var(--control-panel);
  border: 1px solid rgba(142, 168, 195, 0.18);
  border-radius: var(--radius);
  color: var(--soft-blue);
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 28px 28px 28px 48px;
}

/* Octo HQ tiers */

.tier-grid {
  align-items: stretch;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  margin-top: 40px;
}

.tier {
  background: var(--control-panel);
  border: 1px solid rgba(142, 168, 195, 0.18);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px;
}

.tier-featured {
  border-color: var(--electric-cyan);
  box-shadow: 0 18px 50px rgba(199, 154, 43, 0.12);
}

.tier-flag {
  color: var(--aperture-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}

.tier-level {
  color: var(--electric-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}

.tier h3 {
  color: var(--paper);
  font-size: 1.25rem;
}

.tier-purpose {
  color: var(--muted-steel);
  font-size: 0.94rem;
  min-height: 3em;
}

.tier ul {
  color: var(--soft-blue);
  display: grid;
  flex-grow: 1;
  font-size: 0.93rem;
  gap: 9px;
  margin: 0 0 22px;
  padding-left: 20px;
}

.tier .btn {
  align-self: flex-start;
}

.tier-note {
  color: var(--muted-steel);
  font-size: 0.9rem;
  margin-top: 28px;
  max-width: 52rem;
}

/* Contact */

.section-contact {
  background:
    radial-gradient(900px 460px at 50% 120%, rgba(124, 247, 200, 0.1), transparent 60%),
    var(--ink-navy);
}

.contact-options {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 36px 0;
}

.contact-option {
  background: var(--control-panel);
  border: 1px solid rgba(142, 168, 195, 0.18);
  border-radius: var(--radius);
  padding: 22px;
}

.contact-option h3 {
  color: var(--prism-violet);
  font-size: 1rem;
}

.contact-option p {
  color: var(--soft-blue);
  font-size: 0.92rem;
  margin: 0;
}

.contact-note {
  color: var(--muted-steel);
  font-size: 0.9rem;
  margin-top: 26px;
}

/* Footer */

.site-footer {
  background: var(--ink-navy);
  border-top: 1px solid rgba(142, 168, 195, 0.18);
  padding: 36px 0;
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner p {
  color: var(--muted-steel);
  font-size: 0.9rem;
  margin: 0;
}

/* At 0.9rem on the body's 1.6 line height the link's line box is 23px, just
   under the 24px minimum target size in WCAG 2.2 AA. */
.footer-inner a {
  display: inline-block;
  padding: 4px 0;
}

/* Responsive */

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    background: var(--deep-night);
    border-bottom: 1px solid rgba(142, 168, 195, 0.18);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    left: 0;
    padding: 20px 24px 26px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 72px 0 66px;
  }

  .section {
    padding: 64px 0;
  }

  .tier .btn {
    align-self: stretch;
  }

  .split-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .solutions-teaser {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .container,
  .nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card-grid,
  .steps,
  .outcome-grid,
  .product-grid,
  .tier-grid,
  .contact-options,
  .offer-grid,
  .solution-grid,
  .receive-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 240px) {
  .nav {
    gap: 8px;
  }

  .nav-logo img {
    height: 26px;
  }
}

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

  .btn {
    transition: none;
  }

  .skip-link {
    transition: none;
  }
}

.legal-line { text-align: center; font-size: .78rem; color: var(--muted-steel); padding: 1rem; }
.investment { font-weight: 700; color: var(--paper); }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media(max-width: 700px) { .offer-grid { grid-template-columns: minmax(0,1fr); } }
