/* Fonts: self-hosted (no requests to Google from visitors' browsers) */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: oklch(97.6% 0.012 79);
  --paper-strong: oklch(93.8% 0.02 80);
  --ink: oklch(19% 0.012 72);
  --ink-soft: oklch(27% 0.014 72);
  --muted: oklch(43% 0.022 72);
  --line: oklch(84% 0.018 78);
  --accent: oklch(58% 0.17 34);
  --accent-dark: oklch(46% 0.15 34);
  --accent-on-ink: oklch(72% 0.15 42);
  --on-ink: oklch(96% 0.012 79);
  --on-ink-muted: oklch(76% 0.015 79);
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius-bubble: 30px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--accent);
}

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

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--on-ink);
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.wordmark {
  display: inline-flex;
  color: var(--ink);
}

.wordmark svg {
  display: block;
  width: auto;
  height: 26px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav__link {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-nav__link:hover {
  color: var(--ink);
}

.site-nav__link[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px 999px 999px 6px;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, transform 160ms var(--ease-out);
}

.button:hover {
  background: var(--accent-dark);
}

.button:active {
  transform: scale(0.97);
}

.button--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.button--accent {
  background: var(--accent);
}

.button__arrow {
  transition: transform 180ms var(--ease-out);
}

.button:hover .button__arrow {
  transform: translateX(3px);
}

.text-link {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--accent);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px clamp(32px, 5vw, 80px);
  align-items: end;
  padding-top: clamp(40px, 8vw, 104px);
  padding-bottom: clamp(56px, 9vw, 120px);
}

.hero h1 {
  font-size: clamp(3.1rem, 8.4vw, 7.6rem);
  line-height: 0.94;
  max-width: 11ch;
}

.hero__lead {
  max-width: 50ch;
  margin-top: clamp(28px, 4vw, 44px);
  color: var(--ink);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 36px;
}

/* Chat exchange: the logo's speech bubble as the page's motif */

.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.chat__label {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chat__label--right {
  text-align: right;
}

.bubble {
  max-width: 92%;
  margin: 0;
  padding: 20px 24px;
  font-size: 1.06rem;
  line-height: 1.5;
}

.bubble--question {
  align-self: flex-start;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble) 6px;
  color: var(--ink);
}

.bubble--answer {
  align-self: flex-end;
  background: var(--ink);
  border-radius: var(--radius-bubble) var(--radius-bubble) 6px var(--radius-bubble);
  color: var(--on-ink);
}

.chat__footnote {
  margin-top: 18px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.2;
}

@media (prefers-reduced-motion: no-preference) {
  .chat > * {
    opacity: 0;
    transform: translateY(10px);
    animation: rise 520ms var(--ease-out) forwards;
  }

  .chat > :nth-child(1) { animation-delay: 150ms; }
  .chat > :nth-child(2) { animation-delay: 230ms; }
  .chat > :nth-child(3) { animation-delay: 750ms; }
  .chat > :nth-child(4) { animation-delay: 830ms; }
  .chat > :nth-child(5) { animation-delay: 1350ms; }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Proof band */

.proof {
  background: var(--ink);
  color: var(--on-ink);
}

.proof__inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: center;
  padding-top: clamp(56px, 9vw, 112px);
  padding-bottom: clamp(56px, 9vw, 112px);
}

.proof__number {
  margin: 0;
  color: var(--accent-on-ink);
  font-family: var(--display);
  font-size: clamp(5.5rem, 17vw, 15rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums;
}

.proof .eyebrow {
  color: var(--accent-on-ink);
}

.proof h2 {
  color: var(--on-ink);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.05;
}

.proof__text {
  margin-top: 20px;
  color: var(--on-ink-muted);
  max-width: 46ch;
}

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

.proof__metrics li {
  padding: 8px 16px;
  border: 1px solid var(--ink-soft);
  border-radius: 999px 999px 999px 4px;
  background: var(--ink-soft);
  color: var(--on-ink);
  font-size: 0.9rem;
}

.proof__metrics strong {
  color: var(--accent-on-ink);
  font-weight: 650;
}

/* Under construction note */

.note {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px clamp(32px, 6vw, 96px);
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.note h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1;
}

.note p {
  max-width: 58ch;
}

.note p + p {
  margin-top: 14px;
}

.note .hero__actions {
  margin-top: 30px;
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px clamp(32px, 6vw, 96px);
  align-items: start;
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: clamp(56px, 9vw, 120px);
}

.contact h1 {
  font-size: clamp(3rem, 6.6vw, 5.8rem);
  line-height: 0.95;
}

.contact__lead {
  margin-top: 28px;
  max-width: 44ch;
  color: var(--ink);
  font-size: 1.1rem;
}

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

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  counter-increment: step;
}

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

.steps li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--accent-dark);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
}

.form-bubble {
  position: relative;
  padding: clamp(22px, 3.6vw, 40px);
  background: oklch(99.3% 0.005 79);
  border: 1.5px solid var(--ink);
  border-radius: 36px 36px 36px 6px;
  box-shadow: 10px 10px 0 var(--paper-strong);
}

.form-bubble__title {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1.1;
}

/* The HubSpot form renders in an iframe; its look is set in HubSpot form settings. */

.form-bubble__fallback {
  font-size: 0.95rem;
}

/* Footer */

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

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 28px;
  padding-bottom: 36px;
  font-size: 0.9rem;
}

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

.site-footer__brand img {
  width: 36px;
  height: 36px;
}

/* Responsive */

@media (max-width: 900px) {
  .hero,
  .proof__inner,
  .note,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
  }

  .chat {
    max-width: 520px;
  }
}

@media (max-width: 480px) {
  .wordmark svg {
    height: 22px;
  }

  .site-nav__link--secondary {
    display: none;
  }

  .bubble {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
