:root {
  --site-max: 1200px;
  --header-height: 76px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
a,
button,
span,
strong,
li,
summary,
dt,
dd {
  letter-spacing: 0;
}

.vt-eyebrow {
  letter-spacing: 0;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.icon-small {
  width: 0.95rem;
  height: 0.95rem;
}

.container {
  width: min(100% - 2rem, var(--site-max));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

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

.section-ink {
  background: var(--ink);
  color: var(--text-on-dark);
}

.section-ink h2,
.section-ink h3 {
  color: var(--neutral-50);
}

.section-ink .vt-eyebrow {
  color: var(--saffron-300);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard);
}

.site-header.is-scrolled {
  background: rgba(252, 252, 248, 0.86);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-primary);
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.brand-word {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1;
  color: inherit;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a,
.site-footer a,
.site-footer span {
  color: inherit;
  text-decoration: none;
}

.main-nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--dur-fast) var(--ease-standard);
}

.main-nav a:hover {
  color: var(--primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.82rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-standard),
    background-color var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
  white-space: normal;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px);
}

.button-small {
  min-height: 2.55rem;
  padding: 0.68rem 0.85rem;
  font-size: 0.92rem;
}

.button-primary {
  color: var(--on-primary);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-brand);
}

.button-primary:hover {
  color: var(--on-primary);
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.button-secondary {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: var(--border-brand);
}

.button-secondary:hover {
  color: var(--primary-active);
  background: var(--primary-softer);
  border-color: var(--terracotta-300);
}

.button-ghost-light {
  color: var(--neutral-50);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost-light:hover {
  color: var(--neutral-50);
  background: rgba(255, 255, 255, 0.08);
}

.button.light {
  background: var(--neutral-50);
  color: var(--terracotta-700);
  border-color: var(--neutral-50);
  box-shadow: 0 12px 32px rgba(28, 27, 23, 0.18);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(23rem, 0.98fr);
  gap: 4rem;
  align-items: center;
}

.eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero h1 {
  max-width: 13ch;
  margin-top: 1.1rem;
  font-size: 4.4rem;
  font-weight: var(--weight-light);
  line-height: 0.98;
}

.hero-lede {
  max-width: 39rem;
  margin-top: 1.45rem;
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-actions.centered {
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 39rem;
  margin-top: 2.3rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

.hero-stats div {
  min-width: 0;
}

.hero-stats dt {
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 2.05rem;
  line-height: 1;
}

.hero-stats dd {
  margin-top: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  min-height: 34rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.lotus-watermark {
  position: absolute;
  right: -6rem;
  top: -5.5rem;
  width: 20rem;
  opacity: 0.07;
  pointer-events: none;
}

.visual-topbar,
.visual-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 700;
}

.status-dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: var(--radius-pill);
  background: var(--success);
  box-shadow: 0 0 0 4px var(--success-bg);
}

.signal-thread {
  position: absolute;
  z-index: 1;
  left: 3.05rem;
  top: 5rem;
  bottom: 5.2rem;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    var(--terracotta-200) 0 8px,
    transparent 8px 16px
  );
  animation: threadFlow 1.8s linear infinite;
}

.signal-thread span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(166, 73, 49, 0.12);
  transform: translateX(-50%);
  animation: signalPulse 4.6s var(--ease-in-out) infinite;
}

.automation-flow {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-left: 1.65rem;
}

.flow-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 6.4rem;
  padding: 1rem;
  background: rgba(252, 252, 248, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.flow-card.active {
  border-color: var(--border-brand);
  background: var(--terracotta-50);
}

.flow-icon,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: var(--radius-md);
}

.flow-card p {
  margin-bottom: 0.22rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.flow-card strong {
  display: block;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.35;
}

.visual-footer {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.visual-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.business-strip {
  padding: 1.15rem 0;
  background: var(--ink);
  color: var(--neutral-150);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.strip-inner span {
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  color: var(--neutral-200);
  font-size: 0.88rem;
}

.section-head {
  max-width: 47rem;
  margin-bottom: 2.8rem;
}

.section-head.compact {
  margin-bottom: 0;
}

.section-head h2 {
  margin-top: 0.85rem;
  font-size: 3rem;
  font-weight: var(--weight-light);
  line-height: 1.06;
}

.section-head p:not(.vt-eyebrow) {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.65;
}

.section-ink .section-head p:not(.vt-eyebrow) {
  color: var(--neutral-300);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.price-card,
.language-panel,
.roi-board,
details {
  background: var(--color-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.feature-card {
  min-height: 16.5rem;
  padding: 1.35rem;
  transition: transform var(--dur-base) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
}

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

.feature-card h3 {
  margin-top: 1.25rem;
  font-size: 1.55rem;
}

.feature-card p {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
}

.price-card-featured {
  border-color: var(--terracotta-300);
  box-shadow: var(--shadow-xl);
}

.popular-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--saffron-700);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.plan-kicker {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price-top {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.price-top h3 {
  margin-top: 0.65rem;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: var(--weight-light);
  line-height: 1.05;
}

.price-top h3 span {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
}

.price-top p:last-child {
  margin-top: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.price-block {
  padding: 1.35rem 0 1.2rem;
}

.price-block h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.9rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.82rem;
  height: 0.82rem;
  border-radius: var(--radius-pill);
  background: var(--success-bg);
  box-shadow: inset 0 0 0 4px var(--success);
}

.owner-math {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.owner-math p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.5;
}

.owner-math p + p {
  margin-top: 0.7rem;
}

.owner-math strong {
  color: var(--text-primary);
}

.language-grid,
.roi-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.language-panel {
  overflow: hidden;
  padding: 1.1rem;
}

.marquee {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--color-surface-warm);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  padding: 0.85rem;
  animation: languageMove 26s linear infinite;
}

.marquee-track span {
  flex: 0 0 auto;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 700;
}

.support-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.support-metrics div {
  padding: 1rem;
  background: var(--ink);
  border-radius: var(--radius-md);
  color: var(--neutral-300);
}

.support-metrics strong {
  display: block;
  color: var(--saffron-300);
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1;
}

.support-metrics span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.86rem;
  line-height: 1.35;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.process-step span {
  color: var(--saffron-300);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.process-step h3 {
  margin-top: 1.1rem;
  font-size: 1.75rem;
}

.process-step p {
  margin-top: 0.75rem;
  color: var(--neutral-300);
  line-height: 1.65;
}

.roi-board {
  padding: 1.2rem;
}

.roi-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.roi-row strong {
  color: var(--text-primary);
  white-space: nowrap;
}

.roi-row.total {
  align-items: center;
  margin-top: 0.4rem;
  padding: 1.1rem;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--terracotta-50);
  color: var(--terracotta-800);
}

.roi-row.total strong {
  color: var(--terracotta-700);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: var(--weight-regular);
}

.roi-note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  padding: 1rem 1.1rem;
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 800;
  list-style: none;
}

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

summary::after {
  content: "+";
  color: var(--primary);
  font-weight: 800;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin-top: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.closing-cta {
  padding: 5.5rem 0;
  background: var(--ink);
  color: var(--neutral-200);
  text-align: center;
}

.cta-inner {
  max-width: 48rem;
}

.cta-mark {
  width: 4.25rem;
  margin: 0 auto 1.1rem;
}

.closing-cta .vt-eyebrow {
  color: var(--saffron-300);
}

.closing-cta h2 {
  margin-top: 0.85rem;
  color: var(--neutral-50);
  font-size: 3.7rem;
  font-weight: var(--weight-light);
  line-height: 1.02;
}

.closing-cta p:not(.vt-eyebrow) {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: var(--neutral-300);
  font-size: 1.08rem;
  line-height: 1.65;
}

.site-footer {
  padding: 3.6rem 0 2rem;
  background: var(--neutral-900);
  color: var(--neutral-300);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(11rem, 0.6fr) minmax(11rem, 0.6fr);
  gap: 2rem;
}

.footer-brand {
  color: var(--neutral-50);
}

.site-footer p {
  max-width: 32rem;
  margin-top: 1rem;
  color: var(--neutral-400);
  line-height: 1.65;
}

.site-footer h3 {
  margin-bottom: 0.8rem;
  color: var(--neutral-100);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer div:not(.footer-grid):not(.footer-base) > a,
.site-footer div:not(.footer-grid):not(.footer-base) > span {
  display: block;
  margin-top: 0.55rem;
  color: var(--neutral-400);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--neutral-500);
  font-size: 0.9rem;
}

.footer-base a {
  color: var(--saffron-300);
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slower) var(--ease-standard),
    transform var(--dur-slower) var(--ease-standard);
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes threadFlow {
  from {
    background-position-y: 0;
  }
  to {
    background-position-y: 16px;
  }
}

@keyframes signalPulse {
  0%,
  100% {
    top: 0;
  }
  48% {
    top: calc(100% - 0.78rem);
  }
}

@keyframes languageMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .language-grid,
  .roi-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 13ch;
    font-size: 4rem;
  }

  .hero-visual {
    max-width: 39rem;
  }

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

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

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

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

@media (max-width: 700px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 1.25rem, var(--site-max));
  }

  .section {
    padding: 4.25rem 0;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .header-inner {
    gap: 0.8rem;
  }

  .brand-word {
    font-size: 1.35rem;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .header-inner .button {
    padding-inline: 0.7rem;
  }

  .hero-grid {
    gap: 2.5rem;
  }

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

  .hero-lede {
    font-size: 1.05rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .hero-stats dt {
    font-size: 1.8rem;
  }

  .hero-stats dd {
    font-size: 0.82rem;
  }

  .hero-visual {
    display: none;
  }

  .automation-flow {
    padding-left: 1.25rem;
  }

  .flow-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .signal-thread {
    left: 2.3rem;
    top: 4.6rem;
    bottom: 5.2rem;
  }

  .visual-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head h2,
  .closing-cta h2 {
    font-size: 2.55rem;
  }

  .feature-grid,
  .process-grid,
  .support-metrics,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 1.1rem;
  }

  .popular-badge {
    position: static;
    width: fit-content;
    margin-bottom: 0.8rem;
  }

  .roi-row,
  .roi-row.total,
  .footer-base {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .button-small {
    font-size: 0;
    width: 2.55rem;
    padding: 0;
  }

  .button-small .icon {
    width: 1rem;
    height: 1rem;
  }

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

  .section-head h2,
  .closing-cta h2 {
    font-size: 2.2rem;
  }

  .price-top h3 {
    font-size: 2.05rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .section-reveal {
    opacity: 1;
    transform: none;
  }
}
