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

:root {
  --teal: #0f6b4f;
  --teal-dark: #0a4c38;
  --teal-light: rgba(15, 107, 79, 0.1);
  --sage: #a8e6d4;
  --bg: #faf9f5;
  --ink: #faf9f5; /* page wash (design token) — not for text */
  --chalk: #15211d; /* primary text */
  --charcoal: #15211d;
  --muted: #6c7873;
  --white: #ffffff;
  --surface: #ffffff;
  --raised: #f2f1ea;
  --border: rgba(20, 32, 28, 0.11);
  --max: 1180px;
  --max-prose: 820px;
  --page-pad: 20px;
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --font-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --shell-half: 590px;
}

/* Display serif ships Regular/Italic only — block synthetic bold stretch */
:where(
  .nav-logo,
  .hero h1,
  .section-title,
  .page-hero h1,
  .niche-card h3,
  .quote-text,
  .prose h2,
  .blog-card h2,
  .blog-hero h1,
  .blog-feature__body h2,
  .price-card__name
) {
  font-weight: 400;
  font-synthesis: none;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

::selection {
  background-color: rgba(15, 107, 79, 0.18);
  color: var(--chalk);
}

.grid-lines {
  background-image:
    linear-gradient(to right, rgba(20, 32, 28, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 32, 28, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}

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

a {
  color: var(--teal);
}

/* Shared horizontal rhythm — explicit padding for Safari/Firefox/mobile */
.container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(var(--page-pad) + var(--safe-left));
  padding-right: calc(var(--page-pad) + var(--safe-right));
}

.site-main {
  width: 100%;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  :root {
    --page-pad: 32px;
  }
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 245, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding-top: 0;
  padding-bottom: 0;
  padding-left: max(calc(var(--page-pad) + var(--safe-left)), calc(50% - var(--shell-half)));
  padding-right: max(calc(var(--page-pad) + var(--safe-right)), calc(50% - var(--shell-half)));
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--chalk);
  text-decoration: none;
  min-width: 0;
  letter-spacing: -0.02em;
}

.nav-logo img {
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: contain;
  width: 32px;
  height: 32px;
}

.nav-logo__cap {
  font-size: 1.08em;
}

.nav-cta {
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 0.45rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--teal-dark);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
  text-align: left;
}

.hero--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hero--split::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(20, 32, 28, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 32, 28, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%);
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-media {
  width: 100%;
}

.hero-media__frame {
  display: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero h1 em {
  font-style: italic;
  color: var(--teal);
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  width: 100%;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Qualify */
.qualify-box {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 2rem 0 0;
  margin-bottom: 2.8rem;
  max-width: 540px;
  width: 100%;
}

.qualify-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.qualify-list {
  display: block;
  list-style: none;
}

.qualify-item {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.qualify-item:last-child {
  margin-bottom: 0;
}

.qualify-dot {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* Buttons */
.book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  max-width: 100%;
}

.book-btn:hover {
  background: var(--teal-dark);
  transform: scale(1.02);
  color: var(--white);
}

.book-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.book-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 540px;
  opacity: 0.85;
}

/* Sections */
.divider {
  display: none;
}

section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  border-top: 1px solid var(--border);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-body {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 3rem;
  line-height: 1.75;
}

/* Steps */
.steps {
  display: block;
  list-style: none;
}

.step {
  display: block;
  padding-bottom: 2.5rem;
  position: relative;
  padding-left: 64px;
}

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

.step:not(:last-child) .step-line {
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--teal);
  z-index: 1;
}

.step-content {
  padding-top: 0.6rem;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  border: none;
  border-radius: 0;
  padding: 1.5rem;
  min-width: 0;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--raised);
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: var(--teal-light);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Niche / audience */
.niche-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  counter-reset: niche;
}

.niche-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.niche-card:hover {
  border-color: rgba(21, 33, 29, 0.2);
}

.niche-card::before {
  counter-increment: niche;
  content: counter(niche, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--teal);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.niche-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.niche-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* FAQ */
.faq-section .section-body {
  margin-bottom: 0;
}

.faq-list {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--surface);
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.35rem;
}

.faq-item:first-child {
  border-top: none;
}

.faq-item:last-child {
  padding-bottom: 1.25rem;
}

.faq-item dt {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.faq-item dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Quote */
.quote-block {
  background: var(--teal);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border: none;
  margin: 0;
  width: 100%;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 24px;
  font-family: var(--font-serif);
  font-size: 10rem;
  color: rgba(168, 230, 212, 0.2);
  line-height: 1;
  pointer-events: none;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 1.5rem;
  position: relative;
}

.quote-attr {
  font-size: 0.875rem;
  color: var(--sage);
  font-weight: 500;
}

/* Calendly */
.calendly-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.calendly-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  width: 100%;
}

.calendly-inline-widget {
  width: 100%;
  min-width: 0 !important;
}

/* Footer */
.site-footer {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  font-size: 0.8rem;
  color: #9bada6;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0 0 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.6rem;
}

.site-footer__logo {
  border-radius: 6px;
  object-fit: contain;
  width: 24px;
  height: 24px;
}

.site-footer a {
  color: var(--teal);
  text-decoration: none;
}

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

.site-footer__note {
  max-width: 40rem;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0.75rem !important;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #8a9a94;
  display: block;
}

.site-footer__note a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__legal {
  max-width: 36rem;
  margin: 1.25rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  line-height: 1.55;
  color: #8a9a94;
}

.site-footer__legal p {
  display: block;
  margin: 0 0 0.2rem;
}

.site-footer__patent {
  margin-bottom: 0.55rem !important;
  color: #6e7f78;
  letter-spacing: 0.02em;
}

.site-footer__domains {
  font-weight: 500;
}

/* Tablet+ typography */
@media (min-width: 600px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-sub {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .quote-text {
    font-size: 1.5rem;
  }

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

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

@media (min-width: 900px) {
  .hero h1 {
    font-size: 3.25rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .quote-text {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .hero--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 4rem;
    padding-top: 8rem;
    padding-bottom: 7rem;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

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

@media (min-width: 768px) {
  section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* Mobile */
@media (max-width: 599px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero--split {
    gap: 2rem;
  }

  section,
  .calendly-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .quote-block {
    padding: 2rem 1.5rem;
  }

  .nav-cta {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
  }

  .nav-logo {
    font-size: 1.05rem;
  }

  .qualify-box {
    padding-top: 1.5rem;
  }

  .book-btn {
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-size: 0.95rem;
  }

  .cta-band .book-btn {
    width: min(100%, 20rem);
  }

  .calendly-inline-widget {
    min-height: 620px !important;
    height: 620px !important;
  }

  .step {
    padding-left: 56px;
  }

  .step-num {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .step:not(:last-child) .step-line {
    left: 19px;
    top: 40px;
  }
}

@media (max-width: 380px) {
  :root {
    --page-pad: 16px;
  }

  .nav-logo span {
    display: none;
  }

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

/* ——— Multi-page site: nav links, interior pages, blog, testimonials ——— */

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin-left: auto;
  min-width: 0;
}

.nav-links a:not(.nav-cta) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.35rem 0.2rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a.is-active {
  color: var(--chalk);
}

.nav-links .nav-cta {
  margin-left: 0.25rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.nav-toggle:hover {
  background: var(--teal-light);
  border-color: rgba(15, 107, 79, 0.25);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.nav-toggle[aria-expanded='true'] {
  background: var(--teal-light);
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 107, 79, 0.12);
}

.nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}

.nav-toggle__icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--charcoal);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease, background 0.2s;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__icon span {
  background: var(--teal-dark);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle__label {
  display: none;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(30, 30, 28, 0.28);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@keyframes nav-popover-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 901px) {
  .nav-backdrop {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links.is-open {
    animation: none;
  }

  .nav-backdrop {
    transition: none;
  }

  .nav-toggle__icon span {
    transition: none;
  }
}

.page-hero {
  padding-top: 110px;
  padding-bottom: 2.5rem;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.85rem;
  color: var(--charcoal);
}

.page-hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 40rem;
}

.prose {
  padding-bottom: 3rem;
  max-width: var(--max-prose);
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  margin: 2rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--muted);
  margin-bottom: 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

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

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.why-grid,
.values-grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.why-card,
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
}

.why-card h3,
.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--charcoal);
}

.why-card p,
.value-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.testimonial-grid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 0;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
}

.testimonial-card__stars {
  color: var(--teal);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.testimonial-card__quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--charcoal);
  margin: 0 0 0.85rem;
}

.testimonial-card__attr {
  font-size: 0.9rem;
  color: var(--muted);
}

.blog-grid {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 3rem;
}

.blog-card {
  display: grid;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  border-color: var(--sage);
  box-shadow: 0 10px 30px rgba(29, 106, 86, 0.1);
  transform: translateY(-2px);
}

.blog-card__visual {
  min-height: 140px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.blog-card__body {
  padding: 1.15rem 1.35rem 1.4rem;
}

.blog-card__meta {
  font-size: 0.78rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.blog-card h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  color: var(--charcoal);
}

.blog-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
}

.container--wide {
  max-width: var(--max);
}

.page-blog {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(168, 230, 212, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(228, 244, 238, 0.8), transparent 50%),
    var(--bg);
}

.blog-hero {
  padding-top: 110px;
  padding-bottom: 1.75rem;
}

.blog-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0.35rem 0 0;
  color: var(--charcoal);
}

.blog-hero__row {
  display: grid;
  gap: 1rem 2.5rem;
  align-items: end;
}

.blog-hero__lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 28rem;
  margin: 0;
}

.blog-index {
  padding-bottom: 1rem;
}

.blog-feature {
  display: grid;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.blog-feature:hover {
  border-color: var(--sage);
  box-shadow: 0 14px 40px rgba(29, 106, 86, 0.12);
  transform: translateY(-2px);
}

.blog-feature__visual {
  min-height: 200px;
  background: #0a4c38;
}

.blog-feature__visual svg {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
}

.blog-feature__body {
  padding: 1.5rem 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.blog-feature__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}

.blog-feature__body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.2;
  margin: 0;
  color: var(--charcoal);
}

.blog-feature__body > p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  font-size: 1rem;
}

.blog-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal-dark);
}

.blog-feature__cta::after {
  content: '→';
  transition: transform 0.2s;
}

.blog-feature:hover .blog-feature__cta::after {
  transform: translateX(4px);
}

.blog-grid--balanced {
  margin: 0 0 2rem;
  gap: 1rem;
}

.blog-card--row {
  grid-template-columns: auto 1fr;
  align-items: stretch;
  min-height: 0;
}

.blog-card--row .blog-card__body {
  padding: 1.15rem 1.2rem 1.25rem 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card--row h2 {
  font-size: 1.15rem;
}

.blog-card--row p {
  font-size: 0.9rem;
}

.blog-card__mark {
  width: 88px;
  min-height: 100%;
  display: grid;
  place-items: center;
  margin: 0.75rem 0 0.75rem 0.75rem;
  border-radius: 14px;
  flex-shrink: 0;
}

.blog-card__mark svg {
  width: 40px;
  height: 40px;
}

.blog-card__mark--diff {
  background: linear-gradient(160deg, #fff1f2, #ecfdf5);
}

.blog-card__mark--search {
  background: linear-gradient(160deg, #ecfeff, #ccfbf1);
}

.blog-card__mark--integrity {
  background: linear-gradient(160deg, #f0fdfa, #99f6e4);
}

.blog-card__mark--presets {
  background: linear-gradient(160deg, #ecfdf5, #bbf7d0);
}

.blog-visual {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 1.25rem 0 1.75rem;
  background: linear-gradient(145deg, rgba(15, 107, 79, 0.1) 0%, #faf9f5 55%, #dceee7 100%);
  min-height: 200px;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.blog-visual svg {
  width: min(100%, 420px);
  height: auto;
}

.blog-article {
  max-width: 720px;
}

.blog-article .byline {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.analytics-callout {
  background: var(--teal-light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  color: var(--teal-dark);
}

.analytics-callout strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--charcoal);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: var(--bg);
  color: var(--charcoal);
}

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

.contact-form button {
  justify-self: start;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--teal-dark);
}

.form-status {
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.3em;
}

.form-status--ok {
  color: var(--teal-dark);
}

.form-status--err {
  color: #b45309;
}

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

.cta-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  margin: 2.5rem auto 3rem;
  width: 100%;
  box-sizing: border-box;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  margin: 0 0 0.5rem;
  max-width: 28rem;
}

.cta-band p {
  color: var(--muted);
  margin: 0 0 1.15rem;
  max-width: 26rem;
  line-height: 1.55;
}

.cta-band .book-btn {
  width: auto;
  min-width: 11rem;
  margin-left: auto;
  margin-right: auto;
}

/* —— Regional pricing —— */
.pricing-region-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid rgba(20, 32, 28, 0.16);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(21, 33, 29, 0.04);
}

.pricing-region-bar__title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin: 0 0 0.35rem;
  font-weight: 400;
  color: var(--chalk);
}

.pricing-region-bar__meta,
.pricing-region-bar__hint {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.pricing-region-bar__hint {
  margin-top: 0.35rem;
}

.pricing-region-bar__reset {
  margin: 0.55rem 0 0;
}

.pricing-region-override {
  width: 100%;
  max-width: 22rem;
}

.pricing-region-override summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-dark);
  list-style: none;
}

.pricing-region-override summary::-webkit-details-marker {
  display: none;
}

.pricing-region-override[open] summary {
  margin-bottom: 0.65rem;
}

.pricing-region-override .region-toggle {
  width: 100%;
}

.region-reset {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.region-reset:hover {
  color: var(--chalk);
}

.region-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 0.25rem;
  gap: 0.25rem;
  background: var(--bg, #f3f7f5);
  border: 1px solid var(--border);
  border-radius: 999px;
  max-width: 100%;
}

.region-toggle--wide {
  border-radius: 14px;
  justify-content: stretch;
}

.region-toggle--wide .region-toggle__btn {
  flex: 1 1 auto;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  font-size: 0.82rem;
  padding: 0.55rem 0.75rem;
}

.region-toggle__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.region-toggle--wide .region-toggle__btn {
  border-radius: 10px;
}

.region-toggle__btn:hover {
  color: var(--teal-dark);
}

.region-toggle__btn.is-active {
  background: var(--teal-dark);
  color: #fff;
}

.region-toggle__btn:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 2px;
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}

@media (min-width: 720px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

.price-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(20, 32, 28, 0.16);
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.35rem;
  box-sizing: border-box;
  box-shadow: 0 10px 28px rgba(21, 33, 29, 0.05);
}

.price-card__badge {
  align-self: flex-start;
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 107, 79, 0.12);
  color: #0a4c38;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.price-card--featured {
  border-color: rgba(15, 107, 79, 0.45);
  box-shadow: 0 12px 32px rgba(10, 76, 56, 0.1);
}

.price-card__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a4c38;
}

.price-card__name {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  margin: 0 0 0.65rem;
  color: #15211d;
}

.price-card__price {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #15211d;
  line-height: 1.1;
}

.price-card__period {
  font-size: 0.95rem;
  font-weight: 500;
  color: #6c7873;
}

.price-card__blurb {
  margin: 0 0 1rem;
  color: #6c7873;
  line-height: 1.55;
  font-size: 0.95rem;
}

.price-card__features {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card__features li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.35rem;
  font-size: 0.94rem;
  line-height: 1.45;
  color: #15211d;
  border-top: 1px solid rgba(20, 32, 28, 0.11);
  list-style: none;
}

.price-card__features li:first-child {
  border-top: 0;
  padding-top: 0;
}

.price-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #0a4c38;
}

.price-card__features li:first-child::before {
  top: 0.45em;
}

.price-card__cta {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.pricing-noscript {
  margin: 0 0 2rem;
}

.pricing-noscript table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pricing-noscript th,
.pricing-noscript td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  text-align: left;
}

.visually-v1 {
  background: linear-gradient(135deg, #0f6b4f 0%, #2a8f74 50%, #a8e6d4 100%);
}
.visually-v2 {
  background: linear-gradient(135deg, #0a4c38 0%, #0f6b4f 40%, rgba(15, 107, 79, 0.1) 100%);
}
.visually-v3 {
  background: linear-gradient(145deg, #0f766e 0%, #5eead4 100%);
}
.visually-v4 {
  background: linear-gradient(160deg, #134e4a 0%, #99f6e4 100%);
}
.visually-v5 {
  background: linear-gradient(120deg, #0f6b4f 0%, #bbf7d0 100%);
}

.blog-card__visual svg,
.blog-visual svg {
  filter: drop-shadow(0 6px 16px rgba(15, 80, 64, 0.18));
}

@media (min-width: 700px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .blog-hero__row {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .blog-feature {
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
  }

  .blog-feature__visual {
    min-height: 100%;
  }

  .blog-feature__body {
    padding: 2rem 2rem 2rem 1.75rem;
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

@media (max-width: 699px) {
  .blog-card--row {
    grid-template-columns: 1fr;
  }

  .blog-card__mark {
    width: auto;
    min-height: 88px;
    margin: 0.85rem 0.85rem 0;
    border-radius: 12px;
  }

  .blog-card--row .blog-card__body {
    padding: 1rem 1.15rem 1.25rem;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: calc(var(--page-pad) + var(--safe-right));
    left: auto;
    width: min(17.5rem, calc(100vw - 1.5rem - var(--safe-left) - var(--safe-right)));
    margin-left: 0;
    z-index: 110;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 0.45rem;
    gap: 0.15rem;
    max-height: min(24rem, calc(100dvh - 5.5rem));
    overflow-y: auto;
    box-shadow:
      0 4px 6px rgba(30, 30, 28, 0.04),
      0 16px 40px rgba(30, 30, 28, 0.14);
    transform-origin: top right;
  }

  .nav-links.is-open {
    display: flex;
    animation: nav-popover-in 0.2s ease both;
  }

  .nav-links a:not(.nav-cta) {
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
    color: var(--charcoal);
    border-radius: 10px;
    border-bottom: none;
    white-space: normal;
    transition: background 0.15s, color 0.15s;
  }

  .nav-links a:not(.nav-cta):hover,
  .nav-links a:not(.nav-cta):focus-visible {
    background: var(--teal-light);
    color: var(--teal-dark);
    outline: none;
  }

  .nav-links a.is-active {
    background: var(--teal-light);
    color: var(--teal-dark);
    font-weight: 600;
  }

  .nav-links .nav-cta {
    text-align: center;
    margin: 0.35rem 0.2rem 0.2rem;
    padding: 0.7rem 1.1rem;
    width: auto;
    box-sizing: border-box;
    border-radius: 12px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* === editor-mock (bundled) === */
/* Homepage editor preview — port of site-design EditorMock.
   Hardcoded fallbacks so the card still paints if token CSS is stale. */

.hero-media {
  width: 100%;
  max-width: 100%;
}

.editor-mock {
  display: block;
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(20, 32, 28, 0.11);
  background: #ffffff;
  box-shadow: 0 30px 80px -40px rgba(20, 32, 28, 0.35);
  color: #15211d;
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
  font-size: 10px;
  line-height: 1.4;
  user-select: none;
  pointer-events: none;
}

.editor-mock * {
  box-sizing: border-box;
}

.editor-mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(20, 32, 28, 0.11);
  background: #f2f1ea;
}

.editor-mock__bar-left,
.editor-mock__bar-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.editor-mock__dots {
  display: inline-flex;
  gap: 0.25rem;
}

.editor-mock__dots span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(21, 33, 29, 0.15);
}

.editor-mock__brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 13px;
  color: #15211d;
  margin-left: 0.15rem;
}

.editor-mock__status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 9px;
  color: #6c7873;
}

.editor-mock__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0f6b4f;
}

.editor-mock__pill {
  display: none;
  border-radius: 999px;
  border: 1px solid rgba(20, 32, 28, 0.11);
  padding: 0.1rem 0.45rem;
  font-size: 9px;
  color: #6c7873;
  background: #ffffff;
}

.editor-mock__pill--moss {
  border-color: rgba(15, 107, 79, 0.3);
  background: rgba(15, 107, 79, 0.1);
  color: #0f6b4f;
}

.editor-mock__words {
  display: none;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  color: #6c7873;
}

.editor-mock__offline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  background: #ffffff;
  padding: 0.15rem 0.45rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  color: #6c7873;
}

.editor-mock__offline svg {
  color: #0f6b4f;
}

/* Mobile: document only — avoids a tall text dump */
.editor-mock__body {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 220px;
}

.editor-mock__sidebar,
.editor-mock__assistant {
  display: none !important;
}

.editor-mock__label {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6c7873;
}

.editor-mock__label--moss {
  color: #0f6b4f;
}

.editor-mock__tabs {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.45rem;
  font-size: 9px;
}

.editor-mock__tabs span {
  padding: 0.15rem 0.35rem;
  color: #6c7873;
}

.editor-mock__tabs .is-active {
  border-radius: 4px;
  background: #ffffff;
  color: #15211d;
  box-shadow: 0 1px 2px rgba(20, 32, 28, 0.06);
}

.editor-mock__tools {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  font-size: 10px;
  color: #6c7873;
}

.editor-mock__tools li {
  padding: 0.1rem 0;
}

.editor-mock__tools .is-active {
  color: #15211d;
}

.editor-mock__new {
  display: block;
  margin-top: 0.85rem;
  width: 100%;
  text-align: center;
  border-radius: 6px;
  background: #0f6b4f;
  color: #fff;
  padding: 0.3rem 0.4rem;
  font-size: 9px;
  font-weight: 500;
}

.editor-mock__files {
  margin-top: 0.65rem;
  font-size: 10px;
}

.editor-mock__folder {
  margin: 0 0 0.25rem;
  color: #15211d;
}

.editor-mock__file {
  margin: 0 0 0.15rem 0.65rem;
  padding: 0.15rem 0.3rem;
  color: #6c7873;
  border-radius: 4px;
}

.editor-mock__file.is-active {
  background: rgba(15, 107, 79, 0.1);
  color: #15211d;
}

.editor-mock__doc {
  min-width: 0;
  background: #ffffff;
}

.editor-mock__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid rgba(20, 32, 28, 0.11);
  color: #6c7873;
  font-size: 9px;
}

.editor-mock__chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(20, 32, 28, 0.11);
  border-radius: 4px;
  background: #f2f1ea;
  padding: 0.1rem 0.4rem;
  color: #15211d;
}

.editor-mock__chip--lg {
  display: none;
}

.editor-mock__fmt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  border: 1px solid rgba(20, 32, 28, 0.11);
  border-radius: 4px;
  padding: 0.1rem 0.3rem;
  font-weight: 600;
  color: #15211d;
}

.editor-mock__focus {
  margin-left: auto;
  border: 1px solid rgba(20, 32, 28, 0.11);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.editor-mock__canvas {
  padding: 0.75rem 1rem 1rem;
}

.editor-mock__doc-title {
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 15px;
  color: #15211d;
}

.editor-mock__h1 {
  margin: 0.75rem 0 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 11.5px;
  color: #15211d;
}

.editor-mock__typed {
  margin: 0.5rem 0 0;
  min-height: 42px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 10.5px;
  line-height: 1.55;
  color: #6c7873;
}

.editor-mock__caret {
  display: inline-block;
  width: 1.5px;
  height: 12px;
  margin-left: 1px;
  background: #0f6b4f;
  vertical-align: -2px;
  animation: editor-caret-blink 1.1s steps(1) infinite;
}

.editor-mock__caret.is-hidden {
  display: none;
}

@keyframes editor-caret-blink {
  0%,
  45% {
    opacity: 1;
  }
  55%,
  100% {
    opacity: 0;
  }
}

.editor-mock__table {
  width: 100%;
  margin-top: 0.5rem;
  border-collapse: collapse;
  font-size: 9.5px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease;
}

.editor-mock__table.is-visible {
  opacity: 1;
  transform: none;
}

.editor-mock__table.is-applied {
  background: rgba(15, 107, 79, 0.1);
}

.editor-mock__table td {
  padding: 0.3rem 0.45rem 0.3rem 0;
  border-bottom: 1px solid rgba(20, 32, 28, 0.11);
  color: #6c7873;
  vertical-align: top;
}

.editor-mock__table tr:first-child td {
  color: #15211d;
  font-weight: 600;
}

.editor-mock__assistant {
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(20, 32, 28, 0.11);
  background: rgba(242, 241, 234, 0.6);
  padding: 0.65rem;
  min-width: 0;
}

.editor-mock__assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 500;
  color: #15211d;
}

.editor-mock__assistant-head span {
  color: #6c7873;
  font-weight: 400;
}

.editor-mock__model {
  margin-top: 0.45rem;
  border: 1px solid rgba(20, 32, 28, 0.11);
  border-radius: 6px;
  background: #ffffff;
  padding: 0.3rem 0.4rem;
  font-size: 9px;
  color: #15211d;
}

.editor-mock__modes {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.35rem;
  font-size: 9px;
}

.editor-mock__modes span {
  border-radius: 4px;
  padding: 0.15rem 0.35rem;
  color: #6c7873;
}

.editor-mock__modes .is-active {
  background: #0f6b4f;
  color: #fff;
}

.editor-mock__deep {
  margin-left: auto;
  border: 1px solid rgba(20, 32, 28, 0.11);
}

.editor-mock__bubble {
  margin-top: 0.55rem;
  border: 1px solid rgba(20, 32, 28, 0.11);
  border-radius: 6px;
  background: #ffffff;
  padding: 0.45rem;
}

.editor-mock__bubble p:last-child {
  margin: 0.3rem 0 0;
  font-size: 9.5px;
  line-height: 1.35;
  color: rgba(21, 33, 29, 0.8);
}

.editor-mock__bubble--reply {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.editor-mock__bubble--reply.is-visible {
  opacity: 1;
  transform: none;
}

.editor-mock__actions {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.45rem;
}

.editor-mock__apply {
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-size: 9px;
  background: rgba(15, 107, 79, 0.1);
  color: #0f6b4f;
  transition: background 0.2s, color 0.2s;
}

.editor-mock__apply.is-ready,
.editor-mock__apply.is-applied {
  background: #0f6b4f;
  color: #fff;
}

.editor-mock__discard {
  border: 1px solid rgba(20, 32, 28, 0.11);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-size: 9px;
  color: #6c7873;
}

.editor-mock__meta {
  margin: 0.45rem 0 0 !important;
  font-size: 8px !important;
  color: #6c7873 !important;
}

.editor-mock__composer {
  margin-top: 0.65rem;
  border: 1px solid rgba(20, 32, 28, 0.11);
  border-radius: 6px;
  background: #ffffff;
  padding: 0.4rem;
}

.editor-mock__composer > p {
  margin: 0;
  font-size: 9px;
  color: #6c7873;
}

.editor-mock__composer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  color: #6c7873;
}

.editor-mock__send {
  border-radius: 4px;
  background: #0f6b4f;
  color: #fff;
  padding: 0.15rem 0.4rem;
  font-family: Inter, sans-serif;
  font-size: 9px;
}

@media (min-width: 480px) {
  .editor-mock__pill--moss {
    display: inline;
  }

  .editor-mock__words {
    display: inline;
  }
}

@media (min-width: 720px) {
  .editor-mock__body {
    grid-template-columns: 104px minmax(0, 1fr) 168px;
    min-height: 300px;
  }

  .editor-mock__sidebar {
    display: block !important;
    border-right: 1px solid rgba(20, 32, 28, 0.11);
    background: rgba(242, 241, 234, 0.6);
    padding: 0.65rem;
  }

  .editor-mock__assistant {
    display: flex !important;
  }
}

@media (min-width: 1024px) {
  .editor-mock__pill--quiet {
    display: inline;
  }

  .editor-mock__chip--lg {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editor-mock__caret {
    animation: none;
  }

  .editor-mock__table,
  .editor-mock__bubble--reply {
    transition: none;
  }
}

