/* Adeptware site styles */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-var.woff2") format("woff2");
}

:root {
  --brand: #16307a;
  --brand-600: #1e40af;
  --brand-50: #eef2fb;
  --brand-100: #dde5f6;
  --accent: #0ea5a4;
  --accent-text: #0f766e;
  --ink: #0d1526;
  --ink-2: #334155;
  --muted: #536176;
  --line: #e2e8f0;
  --surface: #f6f8fc;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(13, 21, 38, 0.04), 0 8px 24px -12px rgba(13, 21, 38, 0.12);
  --shadow-lg: 0 2px 4px rgba(13, 21, 38, 0.04), 0 24px 48px -20px rgba(22, 48, 122, 0.28);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --wrap: 1160px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }

p,
ul,
ol {
  margin: 0 0 1.1em;
}

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

.wrap--narrow {
  max-width: 780px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 8px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.9rem;
}

.eyebrow a {
  color: inherit;
  text-decoration: none;
}

.eyebrow .dot {
  margin: 0 0.4em;
  color: var(--muted);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 40em;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 1.35em;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--brand);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 16px -8px rgba(22, 48, 122, 0.6);
}

.btn:hover {
  background: var(--brand-600);
  color: var(--white);
  transform: translateY(-1px);
}

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

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

.btn--light {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
}

.btn--light:hover {
  background: var(--brand-50);
  color: var(--brand);
}

.btn--small {
  padding: 0.55em 1.05em;
  font-size: 0.9rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

.link-arrow {
  font-weight: 600;
  text-decoration: none;
}

.link-arrow::after {
  content: " \2192";
  transition: margin 0.15s ease;
}

.link-arrow:hover::after {
  margin-left: 4px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand__mark {
  flex: none;
  width: 34px;
  height: 34px;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.brand--invert .brand__name {
  color: var(--white);
}

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

.site-nav a:not(.btn) {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.97rem;
  text-decoration: none;
}

.site-nav a:not(.btn):hover {
  color: var(--ink);
  background: var(--surface);
}

.site-nav a[aria-current="page"]:not(.btn) {
  color: var(--brand);
  background: var(--brand-50);
}

.site-nav li:last-child {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

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

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    gap: 2px;
  }

  .site-nav a:not(.btn) {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .site-nav li:last-child {
    margin: 10px 0 0;
  }

  .site-nav .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85em 1.2em;
  }
}

/* Sections */

.section {
  padding: 96px 0;
}

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

.section--tight {
  padding: 64px 0;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 48px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 104px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(30, 64, 175, 0.12), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(14, 165, 164, 0.10), transparent 60%),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(13, 21, 38, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 21, 38, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.hero h1 {
  max-width: 15em;
  margin-bottom: 0.45em;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero .lead {
  font-size: 1.25rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 720px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.hero__stats li {
  padding: 20px 20px 0 0;
}

.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

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

@media (max-width: 760px) {
  .hero {
    padding: 72px 0 64px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .hero__stats li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 14px 0 0;
  }

  .hero__stats strong {
    font-size: 1.5rem;
    min-width: 3.2em;
  }
}

/* Page hero (inner pages) */

.page-hero {
  padding: 88px 0 64px;
  background:
    radial-gradient(800px 380px at 90% -20%, rgba(30, 64, 175, 0.10), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 16em;
}

.page-hero .lead {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .page-hero {
    padding: 56px 0 44px;
  }
}

/* Grids and cards */

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

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

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

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-100);
}

.card h3 {
  margin-bottom: 0.4em;
}

.card p {
  margin-bottom: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
}

.card p + p {
  margin-top: 0.9em;
}

.card .link-arrow {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand);
}

.icon svg {
  width: 24px;
  height: 24px;
}

/* Service detail blocks */

.service {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.service:first-child {
  border-top: 0;
  padding-top: 0;
}

.service:last-child {
  padding-bottom: 0;
}

.service h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.service__intro p {
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .service {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 44px 0;
  }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.checklist--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

@media (max-width: 640px) {
  .checklist--2 {
    grid-template-columns: 1fr;
  }
}

.checklist li {
  position: relative;
  padding-left: 32px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2316307a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.checklist strong {
  color: var(--ink);
  font-weight: 600;
}

/* Process */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 28px 28px 28px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--accent-text);
}

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

.steps p {
  margin: 0;
  font-size: 0.97rem;
}

/* Product feature */

.product {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}

.product + .product {
  margin-top: 96px;
}

.product--flip .product__visual {
  order: -1;
}

@media (max-width: 900px) {
  .product {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product--flip .product__visual {
    order: 0;
  }

  .product + .product {
    margin-top: 72px;
  }
}

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

.product__logo .badge {
  margin: 0;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge--teal {
  background: #e6f7f6;
  color: #0b7a7a;
}

.badge--grey {
  background: #eef1f5;
  color: var(--ink-2);
}

.product__visual {
  position: relative;
  border-radius: 20px;
  padding: 28px;
  background: linear-gradient(145deg, var(--brand) 0%, #2a4fb8 55%, #1a8e9a 100%);
  box-shadow: var(--shadow-lg);
  min-height: 300px;
  overflow: hidden;
}

.product__visual--teal {
  background: linear-gradient(145deg, #0b5f69 0%, #0e8a8a 50%, #2a4fb8 110%);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  font-size: 0.97rem;
}

.feature-list strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}

@media (max-width: 560px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* Tech list */

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

.tech li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
}

/* Split / about */

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

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.quote {
  margin: 0;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--white);
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
}

.values {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.values li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.values h3 {
  margin-bottom: 0.3em;
  font-size: 1.1rem;
}

.values p {
  margin: 0;
  font-size: 0.98rem;
}

/* CTA band */

.cta {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border-radius: 24px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(14, 165, 164, 0.35), transparent 60%),
    linear-gradient(135deg, #0f2361 0%, var(--brand) 55%, #2346a8 100%);
  color: #dbe4ff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 0.3em;
}

.cta p {
  margin: 0;
  font-size: 1.1rem;
  max-width: 34em;
}

.cta .btn-row {
  margin: 0;
}

.cta .btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

@media (max-width: 860px) {
  .cta {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    border-radius: 18px;
  }
}

/* Contact */

.contact-cards .card {
  display: flex;
  flex-direction: column;
}

.contact-cards .card a.big {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
}

.contact-cards .card a.big:hover {
  color: var(--brand);
}

.faq {
  border-top: 1px solid var(--line);
}

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

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--muted);
}

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

.faq details p {
  margin: 0 0 20px;
  max-width: 48em;
}

/* Prose (markdown pages and archive posts) */

.prose {
  padding: 72px 0 96px;
}

.prose h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.6em;
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 2em;
}

.prose h3 {
  margin-top: 1.8em;
}

.prose img {
  border-radius: var(--radius-sm);
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 0.2em 0 0.2em 1.2em;
  border-left: 3px solid var(--brand-100);
  color: var(--muted);
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 0.15em 0.4em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.prose pre {
  overflow-x: auto;
  margin: 0 0 1.4em;
  padding: 18px 20px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.prose pre code {
  padding: 0;
  background: none;
  border: 0;
  font-size: 1em;
}

.center-block {
  text-align: center;
}

.archive-note {
  margin-top: 56px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--muted);
}

.archive-note p:last-child {
  margin: 0;
}

/* News archive list */

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.post-list li {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.post-list time {
  color: var(--muted);
  font-size: 0.92rem;
  padding-top: 2px;
}

.post-list h2 {
  font-size: 1.12rem;
  margin: 0;
}

.post-list h2 a {
  color: var(--ink);
  text-decoration: none;
}

.post-list h2 a:hover {
  color: var(--brand);
}

@media (max-width: 560px) {
  .post-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Footer */

.site-footer {
  margin-top: 0;
  padding: 72px 0 32px;
  background: var(--ink);
  color: #a9b4c7;
  font-size: 0.95rem;
}

.site-footer a {
  color: #d5dcea;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}

.site-footer__about p {
  margin: 18px 0 0;
  max-width: 26em;
}

.site-footer h2 {
  font-size: 0.8rem;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7d8aa3;
  margin: 8px 0 16px;
}

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

.site-footer__legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #7d8aa3;
}

.site-footer__legal p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .site-footer__about {
    grid-column: 1 / -1;
  }
}

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

/* Home hero artwork */

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}

.hero__art {
  position: relative;
  padding-bottom: 72px;
}

.code-card {
  border-radius: 16px;
  background: #0f1a33;
  box-shadow: 0 40px 80px -30px rgba(15, 26, 51, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  transform: rotate(-1.2deg);
}

.code-card__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-card__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.code-card__bar span {
  margin-left: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #8a97b4;
}

.code-card__body {
  margin: 0;
  padding: 22px 22px 30px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.75;
  color: #d6def0;
  white-space: pre;
  overflow: hidden;
}

.code-card__body .k { color: #7aa2ff; }
.code-card__body .c { color: #5eead4; }
.code-card__body .f { color: #fcd07b; }
.code-card__body .s { color: #f9a8d4; }

.status-card {
  position: absolute;
  left: -28px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
}

.status-card b {
  display: block;
  color: var(--ink);
}

.status-card span {
  color: var(--muted);
  font-size: 0.8rem;
}

.status-card__dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.15);
}

@media (max-width: 1000px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__art {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero .lead {
    font-size: 1.1rem;
  }
}

.section-head .eyebrow {
  font-size: 0.8rem;
  color: var(--accent-text);
  margin-bottom: 0.9rem;
}

/* Syntax highlighting (Rouge token classes emitted by kramdown) */

.highlight .k, .highlight .kd, .highlight .kn, .highlight .nb { color: #1e40af; font-weight: 600; }
.highlight .nf, .highlight .nc, .highlight .nn { color: #7c3aed; }
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sx { color: #047857; }
.highlight .ss { color: #b45309; }
.highlight .vi, .highlight .vc, .highlight .vg { color: #0e7490; }
.highlight .c, .highlight .c1, .highlight .cm { color: #64748b; font-style: italic; }
.highlight .mi, .highlight .mf { color: #b45309; }

/* Utilities and page-specific pieces */

.h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card__title {
  margin-top: 16px;
}

.tech--center {
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}

.btn-row--center {
  justify-content: center;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.jump a {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.jump a:hover {
  border-color: var(--brand-100);
  color: var(--brand);
}

.contact-cards__value {
  margin-top: auto;
  padding-top: 16px;
}

.contact-cards .card span.big {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

dl.values > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

dl.values dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}

dl.values dd {
  margin: 4px 0 0;
}

/* Service hub and detail pages */

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

.service-card .link-arrow {
  margin-top: auto;
  padding-top: 1.2rem;
}

.checklist--compact {
  margin: 18px 0 0;
  gap: 8px;
  font-size: 0.95rem;
}

.checklist--compact li {
  padding-left: 28px;
}

.checklist--compact li::before {
  width: 18px;
  height: 18px;
  background-size: 18px;
}

.checklist--cards li {
  padding: 18px 20px 18px 52px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.checklist--cards li::before {
  left: 18px;
  top: 20px;
}

.page-hero .icon {
  margin-bottom: 16px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.breadcrumbs [aria-current] {
  color: var(--ink);
  font-weight: 500;
}

/* Product screenshots */

.product__name {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(13, 21, 38, 0.15);
}

.product__visual--phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 24px 0;
  min-height: 0;
}

.phone {
  margin: 0;
  width: 46%;
  max-width: 240px;
  padding: 7px;
  border-radius: 36px;
  background: #0d1526;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 29px;
}

.phone--back {
  transform: translate(14%, 12px) rotate(-4deg);
  opacity: 0.96;
}

.phone--front {
  position: relative;
  z-index: 1;
  transform: translate(-6%, 64px) rotate(3deg);
  margin-bottom: -40px;
}

.product__visual--phones {
  overflow: hidden;
  padding-bottom: 0;
  height: 460px;
}

@media (max-width: 560px) {
  .product__visual--phones {
    height: 380px;
    padding: 28px 12px 0;
  }

  .phone {
    border-radius: 28px;
    padding: 5px;
  }

  .phone img {
    border-radius: 23px;
  }
}

/* Work page */

.hero__stats--compact {
  margin-top: 40px;
}

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

.work-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.work-card__years {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.work-card__outcome {
  margin-top: 0.9em;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

.work-card .link-arrow {
  margin-top: auto;
  padding-top: 1.1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.tag-list li {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
}

.section--tint .tag-list li {
  background: var(--white);
}

.work-card--wide {
  grid-column: 1 / -1;
}

/* Transcript Maker app screenshot */

.app-icon--plain {
  box-shadow: none;
  border-radius: 0;
}

.product__visual--app {
  position: relative;
  padding: 32px 32px 0;
  height: 460px;
  overflow: hidden;
}

.browser {
  margin: 0;
  border-radius: 12px 12px 0 0;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #f1f4f9;
  border-bottom: 1px solid var(--line);
}

.browser__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cfd6e2;
}

.browser__bar span {
  margin-left: 10px;
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--white);
  font-size: 0.72rem;
  color: var(--muted);
}

.browser img {
  width: 100%;
  height: auto;
}

.paper {
  position: absolute;
  right: 40px;
  bottom: -60px;
  width: 42%;
  max-width: 230px;
  margin: 0;
  transform: rotate(4deg);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(13, 21, 38, 0.06);
}

.paper img {
  width: 100%;
  height: auto;
}

@media (max-width: 560px) {
  .product__visual--app {
    height: 360px;
    padding: 20px 16px 0;
  }

  .paper {
    right: 10px;
    bottom: -40px;
  }
}
