:root {
  --ink: #0c1c3d;
  --ink-soft: #3c4d6e;
  --paper: #f4f7fc;
  --paper-2: #e5edf8;
  --white: #ffffff;
  --red: #d0122d;
  --red-deep: #9d0e22;
  --blue: #1d4e9e;
  --blue-deep: #0c2f6e;
  --line: rgba(29, 78, 158, 0.16);
  --line-strong: rgba(29, 78, 158, 0.36);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 100% -8%, rgba(29, 78, 158, 0.12), transparent 55%),
    radial-gradient(680px 420px at -8% 18%, rgba(208, 18, 45, 0.08), transparent 48%),
    var(--paper);
}

body.nav-open,
html:has(.mobile-nav[open]) { overflow: hidden; }

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

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

a { color: inherit; text-underline-offset: 0.18em; }

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

::selection { background: var(--blue); color: white; }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: white;
  color: var(--ink);
  padding: 0.55rem 0.75rem;
}

.skip:focus { top: 0.7rem; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 0;
}

body:not(.home) .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0 68%, var(--red) 68%);
  pointer-events: none;
}

.topbar {
  background: var(--blue);
  border-bottom: 0;
  color: white;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-inner {
  min-height: 34px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.88);
}

.topbar a,
.login-link,
.hero-contact a,
.contact-card a,
.giant-phone a { text-decoration: none; }

.login-link:hover,
.hero-contact a:hover { color: var(--red); }

.topbar-links { display: flex; gap: 1rem; }

.bar { min-height: 72px; }

.logo {
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.05em;
  text-decoration: none;
  color: #1d4e9e;
  line-height: 1;
}

.logo span { color: #d0122d; }

.desk-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0.72rem;
  white-space: nowrap;
}


.desk-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  padding: 0.25rem 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.25s ease, color 0.2s ease;
}

.desk-nav a:hover { background-size: 100% 1px; }

.desk-nav a[aria-current="page"] {
  color: var(--red);
  background-size: 100% 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.mobile-nav { display: none; }

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 0.68rem 0.85rem;
}

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

.mobile-nav summary .when-open { display: none; }

.mobile-nav[open] summary {
  position: fixed;
  top: 0.9rem;
  right: 1rem;
  z-index: 70;
  background: var(--paper);
}

.mobile-nav[open] summary .when-closed { display: none; }

.mobile-nav[open] summary .when-open { display: inline; }

.nav-overlay { display: none; }

.mobile-nav[open] .nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(208, 18, 45, 0.35), transparent 60%),
    linear-gradient(165deg, #1d4e9e 0%, #071633 72%);
  color: white;
  padding: 5rem 1.35rem 2rem;
  overflow: auto;
}

.mobile-nav[open] summary {
  position: relative;
  z-index: 70;
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
}

.mobile-nav[open] .btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.mobile-nav[open] .overlay-contact a { color: rgba(255, 255, 255, 0.82); }

.overlay-nav a {
  display: block;
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 8vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  padding: 0.08rem 0;
}

.overlay-nav a[aria-current="page"] { color: var(--red); }

.overlay-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.2rem 0; }

.overlay-contact {
  display: grid;
  gap: 0.15rem;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.overlay-contact a { text-decoration: none; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn span[aria-hidden] { transition: transform 0.2s ease; }

.btn:hover span[aria-hidden] { transform: translateX(3px); }

.btn-ink { background: var(--blue); color: white; }

.btn-ink:hover { background: var(--blue-deep); }

.btn-red { background: var(--red); color: white; }

.btn-red:hover { background: var(--red-deep); }

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

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

/* Type helpers */

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: var(--red);
  flex: 0 0 auto;
}

.kicker span { color: var(--red); }

.lede {
  max-width: 40rem;
  margin-top: 1rem;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  max-width: 11em;
}

.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 480px;
  padding: 6.6rem 0 2.7rem;
  overflow: hidden;
  color: white;
  background: var(--blue-deep);
}

.page-hero .banner {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 20, 52, 0.12) 0%, rgba(7, 20, 52, 0.28) 42%, rgba(7, 20, 52, 0.86) 100%);
}

.page-hero h1,
.page-hero .giant-phone a { color: white; }

.page-hero .kicker,
.page-hero .lede,
.page-hero .jump a,
.page-hero .contact-card,
.page-hero .contact-card dt { color: rgba(255, 255, 255, 0.86); }

.page-hero .kicker span { color: #ff8a98; }

.page-hero .jump a:hover,
.page-hero .contact-card a:hover,
.page-hero .giant-phone a:hover { color: white; }

.page-hero .contact-card div { border-top-color: rgba(255, 255, 255, 0.28); }

.page-hero .btn-ink { background: white; color: var(--blue); }

.page-hero .btn-ink:hover { background: var(--red); color: white; }

.page-hero .btn-ghost { color: white; border-color: rgba(255, 255, 255, 0.45); }

.page-hero .btn-ghost:hover { background: white; color: var(--blue); }

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  max-width: 14em;
}

h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }

.section { padding: 4.6rem 0; }

.section.tight { padding-top: 2rem; }

.section-head { max-width: 16em; margin-bottom: 1.6rem; }

.section-head.wide { max-width: none; }

.section-head h2,
.split h2,
.closing h2 { max-width: 14em; }

.section-head.wide h2 { max-width: none; }

@media (max-width: 520px) {
  .section-head.wide h2 { font-size: clamp(1.4rem, 7.2vw, 2rem); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.05rem;
}

.text-link:hover { color: var(--red); }

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin-top: 1.5rem;
}

.jump a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
}

.jump a:hover { color: var(--red); }

/* Hero */

.hero { padding: 2.8rem 0 3.4rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 3.5rem;
  align-items: center;
}

.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}

.hero-actions,
.closing .hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
  margin-top: 1.15rem;
  font-family: var(--mono);
  font-size: 0.75rem;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.8rem;
  list-style: none;
  padding: 1rem 0 0;
  margin: 1.35rem 0 0;
  border-top: 1px solid var(--line);
}

.facts li { max-width: 11rem; color: var(--ink-soft); font-size: 0.92rem; }

.facts strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.board { display: grid; gap: 0.85rem; }

.slip {
  background: var(--blue);
  color: white;
  padding: 1rem 1.15rem 1.35rem;
  margin-left: 14%;
  transform: rotate(2deg);
}

.slip span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.slip strong {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.board-card {
  background: var(--white);
  border: 1px solid var(--line-strong);
  padding: 1.1rem 1.1rem 1rem;
  transform: rotate(-1.35deg);
  box-shadow: 0 28px 60px rgba(20, 28, 24, 0.1);
}

.board-top,
.board-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.live { display: inline-flex; align-items: center; gap: 0.4rem; color: #137a43; }

.live i {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #1f9d55;
  box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.55);
  animation: pulse 2.2s infinite;
}

.board-card > p {
  margin: 0.85rem 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.thread { display: grid; gap: 0.45rem; margin-top: 0.95rem; }

.thread span {
  max-width: 92%;
  padding: 0.55rem 0.7rem;
  font-size: 0.92rem;
  line-height: 1.35;
}

.thread .out {
  justify-self: end;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px 14px 4px 14px;
}

.thread .in {
  justify-self: start;
  background: #efe6d6;
  border-radius: 14px 14px 14px 4px;
}

.board-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }

.board-stats div {
  background: white;
  border: 1px solid var(--line);
  padding: 0.8rem 0.85rem 0.7rem;
}

.board-stats span,
.board-stats em {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.board-stats strong {
  display: block;
  margin: 0.15rem 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.marquee {
  overflow: hidden;
  background: var(--red);
  color: white;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: drift 36s linear infinite;
}

.marquee p {
  margin: 0;
  padding: 0.85rem 1.5rem 0.85rem 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes drift { to { transform: translateX(-50%); } }

.clients-strip {
  background: white;
  padding: 1.35rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.clients-strip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.clients-strip-head .eyebrow { margin: 0; }

.clients-strip-head .text-link { margin-top: 0; }

.logo-marquee { overflow: hidden; }

.logo-track {
  display: flex;
  width: max-content;
  animation: drift 52s linear infinite;
}

.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track { animation-play-state: paused; }

.logo-track ul {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  padding: 0 0.45rem;
  list-style: none;
}

.logo-track li {
  display: grid;
  place-items: center;
  width: 168px;
  height: 86px;
  padding: 0.45rem 0.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.logo-track img {
  max-width: 148px;
  max-height: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.client-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1.25rem 1rem 1.1rem;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.client-grid img {
  width: 100%;
  height: 108px;
  object-fit: contain;
}

.client-grid p {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.client-grid a {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.client-grid a:hover { color: var(--red); }

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(31, 157, 85, 0); }
}

.split,
.ink-grid,
.pricing,
.who,
.faq-layout,
.contact-hero,
.form-layout,
.mission,
.master,
.prose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}

.split p,
.prose p,
.mission p,
.who > div p,
.pricing > div p,
.docs > p { color: var(--ink-soft); margin-top: 0.8rem; }

.services { list-style: none; padding: 0; margin: 0.4rem 0 0; }

.services a {
  display: grid;
  grid-template-columns: 2.7rem 1fr;
  grid-template-areas:
    "num title"
    "text text"
    "go go";
  gap: 0.2rem 0.75rem;
  align-items: baseline;
  padding: 1.15rem 0;
  text-decoration: none;
  border-top: 1px solid var(--line);
}

.services li:last-child a { border-bottom: 1px solid var(--line); }

.services a > span:first-child {
  grid-area: num;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--red);
}

.services h3 {
  grid-area: title;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
}

.services p { grid-area: text; color: var(--ink-soft); }

.services .go { grid-area: go; color: var(--blue); }

.ink {
  background:
    radial-gradient(540px 280px at 92% 20%, rgba(208, 18, 45, 0.45), transparent 60%),
    linear-gradient(110deg, #0c2f6e, #1d4e9e 72%);
  color: white;
  padding: 4.5rem 0;
}

.ink h2,
.price-hero strong { color: white; }

.ink p { color: rgba(255, 255, 255, 0.82); max-width: 38rem; margin-top: 0.9rem; }

.ink .eyebrow { color: #efe8dc; }

.ink .btn-ghost { color: var(--paper); border-color: rgba(243, 239, 230, 0.35); }

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

.price-hero span,
.price-hero em {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-style: normal;
  color: rgba(255, 255, 255, 0.72);
}

.price-hero strong {
  display: block;
  margin: 0.2rem 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4.2rem, 8vw, 6.4rem);
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.price-hero small {
  font-family: var(--sans);
  font-size: 0.28em;
  letter-spacing: 0;
  margin-right: 0.15em;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  padding: 0;
  margin: 0.4rem 0 0;
}

.steps li { border-top: 1px solid var(--ink); padding-top: 0.85rem; }

.steps span,
.courses .meta,
.block .num {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.block:nth-child(even) .num { color: var(--red); }

.steps span,
.courses .meta { color: var(--red); }

.steps h3,
.feature-grid h2,
.reasons h2,
.courses h3,
.value-list h3 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  margin: 0.35rem 0 0.4rem;
}

.steps p,
.feature-grid p,
.reasons p,
.courses p,
.value-list p { color: var(--ink-soft); }

.band-warm { background: var(--paper-2); padding: 4.5rem 0; }

.master ol { list-style: none; padding: 0; margin: 0; }

.master li {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
}

.master li:last-child { border-bottom: 1px solid var(--line-strong); }

.master li span {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--red);
}

.letters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.letters a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1.15rem 0.8rem 1rem;
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.letters a:last-child { border-right: 0; }

.letters b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 0.9;
  color: var(--blue);
}

.letters span { color: var(--ink-soft); }

.letters a:nth-child(even) b { color: var(--red); }

.letters a:hover b { color: var(--red); }

.letters a:nth-child(even):hover b { color: var(--blue); }

.closing { padding: 4.4rem 0 5rem; }

.closing h2 { font-size: clamp(2.4rem, 5vw, 4.15rem); }

/* Inner pages */

.statement {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.block { border-top: 1px solid var(--line); scroll-margin-top: 7rem; }

.block:nth-child(even) { background: rgba(230, 222, 206, 0.55); }

.block-grid {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1.35fr) minmax(220px, 0.8fr);
  gap: 1.2rem 2rem;
  padding: 2.8rem 0;
}

.block h2 { font-size: clamp(2rem, 3vw, 2.7rem); }

.block .summary { margin-top: 0.75rem; color: var(--ink-soft); max-width: 46rem; }

.block ul { list-style: none; padding: 0; margin: 0.2rem 0 0; }

.block li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.feature-grid article {
  padding: 1.5rem 1.6rem 1.5rem 0;
  border-top: 1px solid var(--line);
}

.feature-grid article:nth-child(even) {
  padding-left: 1.6rem;
  border-left: 1px solid var(--line);
}

.rates,
.docs-table {
  width: 100%;
  border-collapse: collapse;
}

.rates { min-width: 32rem; }

.docs-table { min-width: 40rem; }

.scroll { overflow-x: auto; }

caption {
  caption-side: bottom;
  text-align: left;
  padding-top: 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.rates th,
.rates td,
.docs-table th,
.docs-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 0.8rem 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.rates thead th,
.docs-table thead th {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom-color: var(--ink);
}

.rates td:last-child,
.rates th:last-child { text-align: right; }

.rates td:last-child {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.reasons article { border-top: 1px solid var(--ink); padding-top: 0.85rem; }

.courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 1.5rem;
}

.courses article { border-top: 2px solid var(--ink); padding-top: 0.9rem; }

.courses .meta { margin-bottom: 0.7rem; }

.people { columns: 2; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }

.people li {
  break-inside: avoid;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

#values, #pricing, #sms-api, #email-api, #faq { scroll-margin-top: 7rem; }

.value-list { border-bottom: 1px solid var(--line); }

.value-list article {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.value-list article > span {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 0.9;
  color: var(--blue);
}

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

.faq details:last-of-type { border-bottom: 1px solid var(--line); }

summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  list-style: none;
}

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

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

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

.faq details p { margin: 0 0 1rem; color: var(--ink-soft); max-width: 65ch; }

.docs h3 {
  margin: 1.4rem 0 0.45rem;
  font-size: 1.35rem;
}

pre {
  margin: 0 0 1rem;
  padding: 1.05rem 1.1rem;
  overflow-x: auto;
  background: var(--ink);
  color: #f4efe6;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.6;
}

code { font-family: var(--mono); font-size: 0.86em; }

p code, td code, li code {
  background: rgba(20, 28, 24, 0.06);
  padding: 0.08em 0.35em;
}

pre code { background: none; padding: 0; color: inherit; font-size: inherit; }

.note { margin-top: 0.3rem; color: var(--ink-soft); }

.docs .btn { margin-top: 0.6rem; }

.contact-card { display: grid; gap: 0.9rem; margin: 0; }

.contact-card div { border-top: 1px solid var(--line); padding-top: 0.65rem; }

.contact-card dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-card dd { margin: 0.2rem 0 0; font-size: 1.12rem; }

.contact-card a:hover,
.giant-phone a:hover { color: var(--red); }

.giant-phone {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.form { display: grid; gap: 1.05rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form label {
  display: grid;
  gap: 0.3rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  padding: 0.65rem 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
}

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

.form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 10px) 1.15rem, calc(100% - 4px) 1.15rem;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--blue);
  box-shadow: 0 1px 0 var(--blue);
}

.honey {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}

.form-note { min-height: 1.4em; }

.form-note.is-error { color: var(--red-deep); }

.form-note.is-ok { color: var(--blue); }

.form-layout > div p { color: var(--ink-soft); margin-top: 0.7rem; }

/* Footer */

.footer {
  background: #071633;
  color: #d5e2f5;
  padding: 3.6rem 0 0;
}

.footer .logo { color: #8eb6ff; }

.footer .logo span { color: #ff4d63; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr 1fr;
  gap: 2rem;
}

.footer p { color: #b7c8e4; margin-top: 0.9rem; max-width: 28rem; }

.foot-label {
  margin: 0 0 0.7rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f4efe6;
}

.footer nav a,
.footer .visit a {
  display: block;
  padding: 0.18rem 0;
  text-decoration: none;
  color: #d5e2f5;
}

.footer a:hover { color: white; }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
  padding: 1rem 0 1.15rem;
  border-top: 1px solid rgba(243, 239, 230, 0.14);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #8ea4c8;
}

.footer-base a { text-decoration: none; }

@media (min-width: 860px) {
  .services a {
    grid-template-columns: 4rem minmax(13rem, 0.85fr) minmax(0, 1.45fr) auto;
    grid-template-areas: "num title text go";
    gap: 0.8rem 1.3rem;
    align-items: center;
    padding: 1.3rem 0.35rem;
  }

  .services a:hover h3 { color: var(--blue); }
}

@media (max-width: 1240px) {
  .desk-nav,
  .login-link { display: none; }

  .mobile-nav { display: block; }
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .ink-grid,
  .pricing,
  .who,
  .faq-layout,
  .contact-hero,
  .form-layout,
  .mission,
  .master,
  .prose-grid,
  .block-grid {
    grid-template-columns: 1fr;
  }

  .board { max-width: 520px; }

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

  .courses,
  .people { columns: 1; grid-template-columns: 1fr; }

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

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

@media (max-width: 720px) {
  .letters { display: flex; overflow-x: auto; }

  .letters a {
    min-width: 9.5rem;
    border-bottom: 0;
  }

  .topbar-address,
  .hero-contact { display: none; }
}

@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 1.7rem)); }

  .desk-cta { display: none; }

  .steps,
  .reasons,
  .form-row,
  .footer-grid,
  .client-grid { grid-template-columns: 1fr; }

  .hero { padding-top: 1.7rem; }

  .page-hero { min-height: 390px; padding: 5.4rem 0 2rem; }

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

  .feature-grid article:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Homepage slideshow */

body.home .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: transparent;
  border-bottom-color: transparent;
  color: #f4efe6;
}

body.home .site-header.is-solid {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

body.home .site-header.is-solid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0 68%, var(--red) 68%);
  pointer-events: none;
}

body.home .site-header:not(.is-solid) .topbar {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

body.home .site-header:not(.is-solid) .desk-nav a,
body.home .site-header:not(.is-solid) .login-link,
body.home .site-header:not(.is-solid) .topbar a {
  color: white;
}

body.home .site-header:not(.is-solid) .logo { color: #8eb6ff; }

body.home .site-header:not(.is-solid) .logo span { color: #ff4d63; }

body.home .site-header:not(.is-solid) .btn-ink {
  background: var(--red);
  color: white;
}

body.home .site-header:not(.is-solid) .btn-ink:hover {
  background: white;
  color: var(--red);
}

body.home .site-header:not(.is-solid) .mobile-nav summary {
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.show {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100svh;
  color: white;
  background: #071633;
  overflow: hidden;
}

.show-stage {
  position: relative;
  min-height: 0;
  z-index: 2;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 8.2rem 0 1.5rem;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  background: #071633;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7.4s ease;
}

.slide.is-active .slide-photo { transform: scale(1); }

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 18, 48, 0.18) 0%, rgba(6, 18, 48, 0.22) 46%, rgba(6, 18, 48, 0.72) 100%),
    linear-gradient(90deg, rgba(6, 18, 48, 0.42) 0%, rgba(6, 18, 48, 0.08) 58%, rgba(208, 18, 45, 0.22) 100%);
}

.slide-copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.slide.is-active .slide-copy {
  transform: none;
  opacity: 1;
}

.show .eyebrow { color: rgba(255, 255, 255, 0.78); }

.show h1,
.show h2 {
  max-width: 11em;
  color: white;
  font-size: clamp(2.7rem, 5.3vw, 5.05rem);
  line-height: 0.96;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.show h1 em,
.show h2 em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: #ff5a6c;
}

.show .slide-copy > p {
  max-width: 36rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

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

.btn-light:hover { background: var(--red); color: white; }

.show .btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.42);
}

.show .btn-ghost:hover {
  background: white;
  color: var(--blue);
}

.panel {
  position: relative;
  z-index: 2;
  background: rgba(12, 16, 14, 0.46);
  border: 1px solid rgba(244, 239, 230, 0.16);
  border-radius: 20px;
  padding: 1.15rem 1.15rem 1.2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.62);
}

.panel .live { color: #7dcea0; }

.modules {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.modules li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 0.1rem;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
}

.modules b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  color: #ff6b7a;
}

.modules em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.58);
}

.chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.12);
}

.chrome i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(244, 239, 230, 0.28);
}

.chrome i:first-child { background: #ff5a6c; }

.chrome span {
  margin-left: 0.45rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(244, 239, 230, 0.62);
}

.mock strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mock .line {
  display: block;
  height: 8px;
  width: 92%;
  margin-top: 0.75rem;
  border-radius: 99px;
  background: rgba(244, 239, 230, 0.14);
}

.mock .line.short { width: 56%; }

.mock-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.mock-row b {
  display: block;
  height: 68px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(29, 78, 158, 0.7), rgba(244, 239, 230, 0.08));
}

.panel-quote {
  margin: 1rem 0 0.3rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #f6f2e8;
}

.panel .thread { margin-top: 1rem; }

.panel .thread .out {
  background: #f4efe6;
  color: #141c18;
}

.panel .thread .in {
  background: rgba(244, 239, 230, 0.12);
  color: #f4efe6;
}

.uptime {
  margin: 0.7rem 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4rem, 7vw, 5.5rem);
  letter-spacing: -0.05em;
  line-height: 0.88;
  color: #f6f2e8;
}

.uptime span { font-size: 0.42em; margin-left: 0.05em; }

.uptime-label {
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.6);
}

.meters {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.meters span {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: rgba(244, 239, 230, 0.12);
  overflow: hidden;
}

.meters span::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--w, 70%);
  background: linear-gradient(90deg, #2e8c68, #f4efe6);
}

.meters span:nth-child(1) { --w: 92%; }
.meters span:nth-child(2) { --w: 71%; }
.meters span:nth-child(3) { --w: 84%; }

.show-controls {
  position: relative;
  z-index: 3;
  padding: 0.85rem 0 1.05rem;
  background: #071633;
}

.show-controls::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d4e9e 0 68%, #d0122d 68%);
}

.show-controls-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.4rem;
}

.slide-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  flex: 1;
}

.slide-tabs button {
  position: relative;
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  width: 100%;
  padding: 0.35rem 0 0.75rem;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: transparent;
  color: rgba(244, 239, 230, 0.5);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
}

.slide-tabs button span { color: #ff6b7a; }

.slide-tabs button.is-active,
.slide-tabs button[aria-selected="true"] { color: #f4efe6; }

.slide-tabs button .tick {
  position: absolute;
  left: 0;
  right: 0.6rem;
  bottom: 0;
  height: 2px;
  background: rgba(244, 239, 230, 0.16);
}

.slide-tabs button .tick::after {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background: #ff4d63;
}

.slide-tabs button.is-active .tick::after {
  animation: fill 6.8s linear forwards;
}

.show.is-paused .slide-tabs button.is-active .tick::after {
  animation-play-state: paused;
}

@keyframes fill { to { width: 100%; } }

.show-nav { display: flex; gap: 0.4rem; }

.show-nav button {
  height: 42px;
  min-width: 42px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 230, 0.32);
  appearance: none;
  background: transparent;
  color: #f4efe6;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.show-nav button:hover { background: rgba(244, 239, 230, 0.1); }

@media (max-width: 860px) {
  .show-controls-inner { align-items: stretch; flex-wrap: wrap; }
  .slide-tabs { flex: 1 1 100%; }
  .show-nav { justify-content: flex-end; }
  .slide { padding-top: 7.4rem; }
}

@media (max-width: 680px) {
  .slide-tabs { gap: 0.35rem; }
  .slide-tabs button { font-size: 0.62rem; letter-spacing: 0.04em; }
  .show h1,
  .show h2 { font-size: clamp(2.35rem, 11vw, 3.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .slide-photo { transform: none; }

  .logo-track { width: auto; flex-wrap: wrap; justify-content: center; }

  .logo-track ul[aria-hidden="true"] { display: none; }
}

