:root {
  color-scheme: light;
  --text: #1f2328;
  --text-muted: #656d76;
  --text-subtle: #7d8590;
  --background: #ffffff;
  --surface: #f6f8fa;
  --surface-accent: #f7f5ff;
  --border: #d8dee4;
  --border-subtle: #e7ebef;
  --accent: #5b3cdb;
  --accent-hover: #472ec0;
  --accent-strong: #472ec0;
  --accent-focus: #f2af69;
  --accent-text: #ffffff;
  --border-accent: #ddd6f7;
  --warm-surface: #fff7ee;
  --warm-border: #ead4bd;
  --warm-accent: #f2af69;
  --warm-accent-strong: #a85525;
  --cta-primary: var(--accent);
  --cta-primary-hover: var(--accent-hover);
  --cta-focus: var(--accent-focus);
  --cta-text: var(--accent-text);
  --content-width: 1200px;
  font-family: "Segoe UI", SegoeUI, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  padding: 0.65rem 0.9rem;
  color: #ffffff;
  background: var(--accent-strong);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 100vh;
}

.site-header {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content-width), calc(100% - 3rem));
  min-height: 4.5rem;
  margin: 0 auto;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  color: #202a44;
  font-size: 1.8rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 auto;
}

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

.site-nav ul {
  gap: 0.5rem;
}

.nav-link {
  display: block;
  padding: 0.65rem 0.75rem;
  color: var(--text-muted);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
  background: var(--surface);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cta-text);
  background: var(--cta-primary);
  border: 1px solid var(--cta-primary);
  border-radius: 12px;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

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

.button:focus-visible {
  outline: 3px solid var(--cta-focus);
  outline-offset: 3px;
}

.button-small {
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
}

.button-large {
  min-width: 15rem;
  min-height: 3.75rem;
  padding: 0.85rem 1.4rem;
  flex-direction: column;
  font-size: 1rem;
}

.button-detail {
  margin-top: 0.18rem;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.82;
}

.landing-main {
  width: min(var(--content-width), calc(100% - 3rem));
  min-width: 0;
  margin: 0 auto;
}

.hero {
  padding: clamp(5.5rem, 10vw, 8.5rem) 0 clamp(5rem, 9vw, 7.5rem);
}

.hero-copy {
  max-width: 66rem;
}

.section-label,
.footer-eyebrow,
.footer-link-group h2 {
  margin: 0 0 1rem;
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
  text-wrap: balance;
}

h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(3.5rem, 6vw, 4.25rem);
  font-weight: 650;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.hero-lede {
  max-width: 51rem;
  margin: 1.75rem 0 2rem;
  color: var(--text-muted);
  font-size: clamp(1.125rem, 1.8vw, 1.3rem);
  line-height: 1.58;
}

.hero .button-large {
  align-items: flex-start;
  text-align: left;
}

.section-rule {
  border-top: 1px solid var(--border-subtle);
}

.overview {
  display: grid;
  padding: clamp(5rem, 9vw, 7.5rem) 0;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.section-heading {
  max-width: 31rem;
}

.section-heading h2,
.feature-copy h2,
.ai-copy h2,
.closing-cta h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 3.45rem);
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-intro {
  max-width: 37rem;
  margin: 1.6rem 0 0;
  color: var(--text-muted);
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.feature {
  display: grid;
  padding: clamp(5rem, 10vw, 8rem) 0;
  align-items: center;
  gap: clamp(3rem, 7vw, 6.5rem);
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
}

.feature-reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(16rem, 0.72fr);
}

.feature-reverse .feature-copy {
  order: 2;
}

.feature-copy {
  min-width: 0;
}

.feature-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.feature-copy > p:not(.section-label),
.ai-copy > p:not(.section-label),
.closing-cta > p:not(.section-label),
.foundation-grid article > p:not(.item-number) {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.feature-copy > p:not(.section-label) {
  margin: 1.5rem 0 0;
}

.feature-points {
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--border-subtle);
  list-style: none;
}

.feature-points li {
  padding: 0.75rem 0;
  color: #424a53;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  font-weight: 600;
}

.feature-visual {
  min-width: 0;
  margin: 0;
  padding: 0.55rem;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.feature-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
}

.feature-visual-wide {
  padding: 0.45rem;
}

.ai-section {
  display: grid;
  padding: clamp(5rem, 10vw, 8rem) 0;
  align-items: start;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.86fr);
}

.ai-copy > p:not(.section-label) {
  max-width: 36rem;
  margin: 1.5rem 0 0;
}

.workflow-list {
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 1.25rem;
}

.workflow-list li + li {
  border-top: 1px solid var(--border-subtle);
}

.workflow-list .item-number {
  margin: 0.15rem 0 0;
}

.workflow-list h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.workflow-list p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.foundations {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.foundation-grid {
  display: grid;
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.foundation-grid article {
  padding: 2rem clamp(1.25rem, 3vw, 2.5rem) 2.25rem;
}

.foundation-grid article:first-child {
  padding-left: 0;
}

.foundation-grid article:last-child {
  padding-right: 0;
}

.foundation-grid article + article {
  border-left: 1px solid var(--border);
}

.item-number {
  margin: 0 0 2.75rem;
  color: var(--text-subtle);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
}

.foundation-grid h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.foundation-grid article > p:not(.item-number) {
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
}

.closing-cta {
  padding: clamp(5.5rem, 11vw, 9rem) 0;
  text-align: center;
}

.closing-cta h2 {
  margin-inline: auto;
}

.closing-cta > p:not(.section-label) {
  max-width: 38rem;
  margin: 1.4rem auto 2rem;
  font-size: 1.125rem;
}

.pricing-main {
  width: min(var(--content-width), calc(100% - 3rem));
  min-width: 0;
  margin: 0 auto;
}

.pricing-hero {
  max-width: 58rem;
  padding: clamp(5.25rem, 9vw, 8rem) 0 clamp(4.5rem, 8vw, 6.5rem);
}

.pricing-hero h1 {
  max-width: none;
}

.pricing-hero > p:not(.section-label) {
  max-width: 47rem;
  margin: 1.75rem 0 0;
  color: var(--text-muted);
  font-size: clamp(1.125rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.pricing-plan {
  min-width: 0;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--surface-accent);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
}

.plan-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.plan-price {
  display: flex;
  margin-top: 2.5rem;
  padding: 2rem 0;
  align-items: baseline;
  gap: 0.9rem;
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border-accent);
}

.plan-price strong {
  color: var(--text);
  font-size: clamp(3rem, 6vw, 4.25rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1;
}

.plan-price span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.plan-features {
  display: grid;
  margin: 1.75rem 0 0;
  padding: 0;
  gap: 0.85rem;
  color: #424a53;
  font-size: 0.9rem;
  line-height: 1.5;
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 1.5rem;
}

.plan-features li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 700;
}

.plan-action {
  width: 100%;
  min-height: 3.75rem;
  margin-top: 2.25rem;
  padding: 0.85rem 1.4rem;
  flex-direction: column;
  font-size: 1rem;
}

.pricing-promises {
  display: flex;
  margin: 2rem 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  list-style: none;
}

.pricing-promises li {
  position: relative;
  padding-left: 1.25rem;
  color: #424a53;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-promises li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 700;
}

.plans-section,
.calculator-section,
.faq-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.pricing-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.pricing-section-heading h2,
.calculator-intro h2,
.faq-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.billing-toggle {
  display: inline-grid;
  min-width: 15rem;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #b6bec7;
  border-radius: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.billing-toggle label {
  position: relative;
  cursor: pointer;
}

.billing-toggle label + label {
  border-left: 1px solid #b6bec7;
}

.billing-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.billing-toggle span {
  display: flex;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.7rem 1rem;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 0;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1;
}

.billing-toggle input:checked + span {
  color: #ffffff;
  background: var(--accent);
  box-shadow: none;
}

.billing-toggle input:focus-visible + span {
  outline: 2px solid var(--accent-focus);
  outline-offset: 2px;
}

.pricing-grid {
  display: grid;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  align-items: stretch;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-grid .pricing-plan {
  display: flex;
  min-width: 0;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.pricing-grid .plan-header {
  display: block;
}

.pricing-grid .plan-header h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 640;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.pricing-grid .plan-price {
  display: flex;
  min-height: 5.2rem;
  margin-top: 1.5rem;
  padding: 0;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  border: 0;
}

.pricing-grid .plan-price strong {
  font-size: clamp(2.65rem, 4vw, 3.5rem);
}

.pricing-grid .plan-price span {
  max-width: 7.5rem;
  padding-bottom: 0.25rem;
  line-height: 1.35;
}

.plan-billing-detail {
  min-height: 2.5rem;
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.pricing-grid .plan-features {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  align-content: start;
  flex: 1;
  gap: 0.9rem;
  border-top: 1px solid var(--border-subtle);
}

.pricing-grid .plan-action {
  min-height: 3rem;
  margin-top: 2rem;
  padding: 0.75rem 1rem;
  flex-direction: row;
  font-size: 0.875rem;
}

/* Keep Free aligned with paid plans while reducing its visual emphasis. */
.pricing-grid [data-plan-id="free"] .plan-price strong {
  font-size: clamp(2.125rem, 3.2vw, 2.75rem);
}

.pricing-grid [data-plan-id="free"] .plan-features li::before {
  color: var(--text-muted);
}

.pricing-grid [data-plan-id="free"] .plan-action {
  color: var(--text);
  background: var(--background);
  border-color: var(--border);
}

.pricing-grid [data-plan-id="free"] .plan-action:hover {
  background: var(--surface);
  border-color: var(--text-subtle);
}

.calculator-section {
  display: grid;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 6rem);
  grid-template-columns: minmax(16rem, 0.7fr) minmax(25rem, 1.3fr);
}

.calculator-intro > p:not(.section-label) {
  max-width: 30rem;
  margin: 1.35rem 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.pricing-calculator {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.calculator-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.calculator-controls > .form-field {
  flex: 1 1 6rem;
}

.calculator-controls > .billing-field {
  flex-basis: 18rem;
}

.form-field {
  display: grid;
  min-width: 0;
  gap: 0.55rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 650;
}

.form-field select,
.form-field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  color: var(--text);
  background: #ffffff;
  border: 1px solid #b6bec7;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
}

.form-field select {
  padding-right: 2.75rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23656d76' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 0.9rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
}

.form-field select:hover,
.form-field input:hover {
  border-color: #8c959f;
}

.form-field select:focus-visible,
.form-field input:focus-visible {
  outline: 2px solid var(--accent-focus);
  outline-offset: 1px;
  border-color: var(--accent);
}

.billing-toggle-calculator {
  display: flex;
  width: auto;
  min-width: 0;
  min-height: 3rem;
  align-items: center;
  gap: 1.25rem;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.billing-toggle-calculator label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.billing-toggle-calculator label + label {
  border-left: 0;
}

.billing-toggle-calculator input {
  position: static;
  width: 1rem;
  height: 1rem;
  margin: 0;
  opacity: 1;
  accent-color: var(--accent);
}

.billing-toggle-calculator span {
  display: inline;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  border: 0;
  font-weight: 600;
}

.billing-toggle-calculator input:checked + span {
  color: var(--text);
  background: transparent;
  border: 0;
}

.billing-toggle-calculator input:focus-visible {
  outline: 2px solid var(--accent-focus);
  outline-offset: 2px;
}

.billing-toggle-calculator input:focus-visible + span {
  outline: 0;
}

.calculator-limit,
.calculator-noscript {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.calculator-result {
  display: block;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.calculator-result-label,
.calculator-equivalent {
  display: block;
}

.calculator-result-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 650;
}

.calculator-total-line {
  display: flex;
  margin-top: 0.65rem;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
}

.calculator-total-line strong {
  font-size: clamp(2.65rem, 6vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1;
}

.calculator-total-line span,
.calculator-equivalent {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.calculator-equivalent {
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* The annual discount badge uses the marketing site’s existing brand tokens. */
.billing-toggle-calculator .billing-savings {
  display: inline-flex;
  padding: 0.3rem 0.5rem;
  background: var(--surface-accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  white-space: nowrap;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.5;
}

.billing-toggle-calculator .billing-savings[hidden] {
  display: none;
}

.faq-section {
  display: grid;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 6rem);
  grid-template-columns: minmax(16rem, 0.7fr) minmax(25rem, 1.3fr);
}

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

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding: 1.3rem 2.5rem 1.3rem 0;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 1.2rem;
  right: 0.25rem;
  color: var(--accent);
  content: "+";
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

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

.faq-list details p {
  max-width: 43rem;
  margin: -0.2rem 0 1.3rem;
  padding-right: 2.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.sales-contact {
  grid-column: 2;
  margin: -3.8rem 0 0;
  padding-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.sales-contact a {
  color: var(--accent-strong);
  font-weight: 650;
  text-underline-offset: 0.2em;
}

.sales-contact a:hover {
  color: var(--accent-hover);
}

.document-main {
  display: block;
  width: min(var(--content-width), calc(100% - 3rem));
  min-width: 0;
  margin: 0 auto;
}

.content-card {
  width: min(100%, 52rem);
  margin: clamp(4rem, 9vw, 7rem) auto clamp(5rem, 10vw, 8rem);
}

.content-card > h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.last-updated {
  margin: 1.25rem 0 0;
  color: var(--text-subtle);
  font-size: 0.8125rem;
}

.page-content {
  min-width: 0;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.page-content > p:first-child {
  color: #454d56;
  font-size: 1.125rem;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.page-content h2 {
  margin: 3.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 1.65rem;
}

.page-content h3 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.25rem;
}

.page-content h4 {
  margin: 2rem 0 0.65rem;
  font-size: 1.0625rem;
}

.page-content p,
.page-content ul,
.page-content ol {
  margin: 0 0 1rem;
}

.page-content ul,
.page-content ol {
  padding-left: 1.35rem;
}

.page-content li + li {
  margin-top: 0.4rem;
}

.page-content a {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration-color: var(--accent-focus);
  text-underline-offset: 0.2em;
}

.page-content a:hover {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
}

.page-content blockquote {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  background: var(--surface-accent);
  border-left: 3px solid var(--accent);
}

.page-content blockquote p:last-child {
  margin-bottom: 0;
}

.page-content strong {
  color: var(--text);
}

.page-content code {
  padding: 0.12rem 0.3rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

.page-content table {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 1.75rem 0;
  overflow-x: auto;
  border-collapse: collapse;
}

.page-content th,
.page-content td {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.page-content th {
  color: var(--text);
  background: var(--surface);
  font-weight: 600;
}

.page-content hr {
  margin: 3rem 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.site-footer {
  width: 100%;
  margin: 0;
  color: var(--text-muted);
  background: var(--background);
  border-top: 1px solid var(--border-subtle);
  scroll-margin-top: 1rem;
}

.footer-content {
  width: min(var(--content-width), calc(100% - 3rem));
  margin: 0 auto;
}

.footer-support {
  padding: 2.25rem 0;
  background: var(--surface);
  transition: background-color 600ms ease-out;
}

/* Hold a visible arrival tint without changing the section layout. */
.footer-support.is-highlighted {
  background: #e9e2ff;
  transition: none;
}

.footer-support-grid {
  display: grid;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.8fr) minmax(8rem, 0.7fr) minmax(8rem, 0.7fr);
}

.footer-support h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.footer-support-details > p {
  max-width: 35rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.footer-support-details {
  grid-column: 2 / -1;
}

.footer-contact-row {
  display: flex;
  margin-top: 1.15rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-support-action {
  display: inline-flex;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.15;
  text-decoration: none;
}

.footer-support-action:hover {
  border-color: #b6bec7;
  background: var(--surface-accent);
}

.footer-support-action svg,
.footer-availability svg {
  display: block;
  flex: 0 0 auto;
}

.footer-availability svg {
  width: 1rem;
  height: 1rem;
}

.footer-support-address {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.footer-support-details > .footer-availability {
  display: flex;
  max-width: none;
  margin: 1rem 0 0;
  align-items: center;
  gap: 0.2rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
}

.footer-main {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.site-footer > .footer-main:first-child {
  border-top: 0;
}

.footer-main-grid {
  display: grid;
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #202a44;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
}

.footer-brand img {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
}

.footer-brand-block > p {
  max-width: 32rem;
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.footer-link-group ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.6rem;
  list-style: none;
}

.footer-status {
  display: flex;
  width: fit-content;
  max-width: 100%;
}

.footer-link-group a,
.footer-link-button {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  text-decoration-color: #b6bec7;
  text-underline-offset: 0.2em;
}

.footer-link-button {
  margin: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration-line: underline;
}

.footer-link-group a:hover,
.footer-link-group a[aria-current="page"],
.footer-link-button:hover {
  color: var(--text);
  text-decoration-color: currentColor;
}

.footer-link-button:focus-visible {
  color: var(--text);
  outline: 3px solid var(--accent-focus);
  outline-offset: 3px;
}

.footer-bottom {
  padding: 1.2rem 0;
  border-top: 1px solid var(--border);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.tracking-consent {
  position: fixed;
  z-index: 40;
  bottom: 1rem;
  left: 50%;
  width: min(52rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  color: var(--text);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(31, 35, 40, 0.18);
  transform: translateX(-50%);
}

.tracking-consent-inner {
  display: grid;
  padding: 0.78rem 0.9rem;
  align-items: center;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.tracking-consent-copy {
  max-width: 31rem;
}

.tracking-consent h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.tracking-consent h2:focus {
  outline: 0;
}

.tracking-consent-copy > p {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.tracking-consent-copy a {
  color: var(--text);
  text-decoration-color: #b6bec7;
  text-underline-offset: 0.18em;
}

.tracking-consent-copy a:hover {
  text-decoration-color: currentColor;
}

.tracking-consent-actions {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(8.5rem, 1fr));
}

.tracking-consent-action {
  min-height: 2.5rem;
  padding: 0.55rem 0.75rem;
  color: var(--accent-strong);
  background: var(--background);
  border: 1px solid var(--accent);
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.2;
}

.tracking-consent-action-primary {
  color: var(--accent-text);
  background: var(--accent);
}

.tracking-consent-action:hover {
  color: var(--accent-text);
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

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

@media (max-width: 700px) {
  .tracking-consent-inner {
    align-items: stretch;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .tracking-consent-copy {
    max-width: none;
  }
}

@media (max-width: 500px) {
  .tracking-consent {
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 1rem);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 12px 12px 0 0;
    transform: none;
  }

  .tracking-consent-inner {
    padding: 0.7rem 0.8rem;
  }
}

@media (max-width: 900px) {
  .overview,
  .feature,
  .feature-reverse,
  .ai-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-reverse .feature-copy {
    order: initial;
  }

  .feature-copy,
  .ai-copy {
    max-width: 42rem;
  }

  .feature-visual {
    width: 100%;
  }

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

  .calculator-section,
  .faq-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .calculator-intro,
  .faq-heading {
    max-width: 42rem;
  }

  .sales-contact {
    margin: -1rem 0 0;
    grid-column: auto;
  }

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

  .foundation-grid article,
  .foundation-grid article:first-child,
  .foundation-grid article:last-child {
    padding: 1.75rem 0;
  }

  .foundation-grid article + article {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .item-number {
    margin-bottom: 1.5rem;
  }

  .footer-support-grid {
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-support-details {
    grid-column: auto;
  }

  .footer-main-grid {
    gap: 3.5rem 2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .landing-main,
  .pricing-main,
  .document-main,
  .footer-content {
    width: min(100% - 1.5rem, var(--content-width));
  }

  .header-inner {
    min-height: 4rem;
    flex-wrap: wrap;
    padding-block: 0.5rem;
    gap: 0.75rem;
  }

  .brand {
    gap: 0.5rem;
    font-size: 0.9375rem;
  }

  .site-nav {
    max-width: 100%;
  }

  .site-nav ul {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.2rem;
  }

  .nav-link {
    padding-inline: 0.55rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .button-small {
    min-height: 2.25rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    font-size: 0.8125rem;
  }

  .hero {
    padding: 4rem 0 4.5rem;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.25rem);
    line-height: 1.04;
  }

  .hero-lede {
    margin-top: 1.4rem;
    font-size: 1.0625rem;
  }

  .overview,
  .feature,
  .ai-section,
  .foundations,
  .plans-section,
  .calculator-section,
  .faq-section {
    padding: 4.5rem 0;
  }

  .pricing-hero {
    padding: 4rem 0 4.5rem;
  }

  .pricing-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .billing-toggle {
    width: 100%;
    min-width: 0;
  }

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

  .pricing-grid .pricing-plan {
    padding: 1.5rem;
    border-radius: 8px;
  }

  .pricing-grid .plan-price {
    min-height: 0;
    align-items: flex-end;
    flex-direction: row;
    gap: 0.45rem 0.65rem;
  }

  .plan-billing-detail {
    min-height: 0;
  }

  .calculator-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-calculator {
    border-radius: 8px;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .section-heading h2,
  .feature-copy h2,
  .ai-copy h2,
  .closing-cta h2 {
    font-size: 2.25rem;
  }

  .feature,
  .ai-section {
    gap: 2.5rem;
  }

  .feature-visual {
    padding: 0.3rem;
    border-radius: 12px;
  }

  .feature-visual img {
    border-radius: 8px;
  }

  .workflow-list {
    border-radius: 12px;
  }

  .closing-cta {
    padding: 5rem 0;
  }

  .content-card {
    margin: 3.5rem auto 5rem;
  }

  .content-card > h1 {
    font-size: clamp(2.5rem, 12vw, 3.25rem);
  }

  .page-content {
    margin-top: 2.5rem;
  }

  .site-footer {
    width: 100%;
    margin: 0;
  }

  .footer-support {
    padding: 1.75rem 0;
  }

  .footer-support-grid {
    gap: 1.5rem;
  }

  .footer-contact-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-support h2 {
    font-size: 1.5rem;
    line-height: 1.08;
  }

  .footer-main {
    padding: 1.75rem 0;
  }

  .footer-main-grid {
    gap: 1.5rem 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block > p {
    margin-top: 0.85rem;
  }

  .footer-bottom {
    padding: 1rem 0;
  }

  .footer-bottom-row {
    align-items: center;
    flex-direction: row;
    gap: 1rem;
  }

  .footer-bottom p {
    white-space: nowrap;
  }

  .footer-bottom p:last-child {
    text-align: right;
  }
}

@media (max-width: 500px) {
  .brand span {
    display: none;
  }
}

@media (max-width: 390px) {
  .header-inner {
    gap: 0.35rem;
  }

  .nav-link {
    padding-inline: 0.3rem;
    font-size: 0.75rem;
  }

  .button-small {
    padding-inline: 0.5rem;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .footer-bottom-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .footer-bottom p,
  .footer-bottom p:last-child {
    text-align: left;
    white-space: normal;
  }
}

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

  /* Keep the Support arrival tint's gentle fade in both motion modes. */
  *:not(.footer-support),
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Landing page */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hero {
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(4.5rem, 8vw, 6.5rem);
}

.hero-copy h1 > span:not(.visually-hidden) {
  display: block;
}

.hero-word-line {
  min-height: 1.03em;
}

.hero-word {
  display: inline-block;
  color: var(--accent);
  transition: opacity 130ms ease, transform 130ms ease;
}

.hero-word.is-changing {
  opacity: 0;
  transform: translateY(0.12em);
}

.hero .hero-action {
  min-width: 10.5rem;
  margin-top: 2rem;
  align-items: center;
  flex-direction: row;
  text-align: center;
}

.modern-teams,
.business-section,
.easy-start-section {
  padding: clamp(4.75rem, 8vw, 7rem) 0;
}

.modern-teams {
  padding-bottom: clamp(4rem, 6vw, 5.5rem);
}

.business-section {
  padding-top: clamp(4rem, 6vw, 5.5rem);
}

.hero-showcase {
  margin-top: clamp(4.5rem, 8vw, 6.5rem);
}

.timed-tabs {
  min-width: 0;
  --tab-interval: 6000ms;
}

.timed-tabs-product {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(31, 35, 40, 0.12);
}

.timed-tabs-product .timed-tabs-bar {
  min-height: 4.5rem;
  padding: 0 1.25rem;
  background: rgba(255, 255, 255, 0.98);
}

.timed-tabs .tabs-autoplay {
  min-width: 2.5rem;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: color 140ms ease, background-color 140ms ease, opacity 140ms ease;
}

.timed-tabs .timed-tabs-bar:hover .tabs-autoplay,
.timed-tabs .timed-tabs-bar:focus-within .tabs-autoplay,
.timed-tabs .tabs-autoplay:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.timed-tabs .tabs-autoplay [data-tabs-toggle-label] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.timed-tabs-bar {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.timed-tablist {
  display: flex;
  min-width: 0;
  align-items: stretch;
  gap: 0.2rem;
}

.timed-tab {
  position: relative;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  color: var(--text-subtle);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.timed-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  content: "";
}

.timed-tab:hover,
.timed-tab[aria-selected="true"] {
  color: var(--text);
}

.timed-tab[aria-selected="true"]::after {
  width: 100%;
}

.timed-tab:focus-visible,
.tabs-autoplay:focus-visible,
.timed-panel:focus-visible {
  outline: 3px solid var(--accent-focus);
  outline-offset: 3px;
}

.timed-tabs.is-running .timed-tab[aria-selected="true"]::after {
  animation: timed-tab-progress var(--tab-interval) linear forwards;
}

@keyframes timed-tab-progress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.tabs-autoplay {
  display: none;
  min-height: 2.5rem;
  padding: 0.5rem 0.65rem;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.5rem;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 650;
}

.timed-tabs.is-enhanced .tabs-autoplay {
  display: inline-flex;
}

.tabs-autoplay[hidden] {
  display: none !important;
}

.tabs-autoplay:hover {
  color: var(--text);
  background: var(--surface);
}

.tabs-autoplay-icon {
  position: relative;
  display: block;
  width: 0.8rem;
  height: 0.8rem;
}

.tabs-autoplay-icon::before,
.tabs-autoplay-icon::after {
  position: absolute;
  top: 0.05rem;
  width: 2px;
  height: 0.7rem;
  background: currentColor;
  content: "";
}

.tabs-autoplay-icon::before {
  left: 0.18rem;
}

.tabs-autoplay-icon::after {
  right: 0.18rem;
}

.tabs-autoplay.is-paused .tabs-autoplay-icon::before {
  top: 0;
  left: 0.18rem;
  width: 0;
  height: 0;
  background: transparent;
  border-top: 0.4rem solid transparent;
  border-bottom: 0.4rem solid transparent;
  border-left: 0.62rem solid currentColor;
}

.tabs-autoplay.is-paused .tabs-autoplay-icon::after {
  display: none;
}

.timed-panel + .timed-panel {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}

.timed-tabs.is-enhanced .timed-panel {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.timed-tabs.is-enhanced .timed-panel[hidden] {
  display: none;
}

.product-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  /* Reserve viewport space for the tab bar and breathing room around the frame. */
  height: min(56rem, calc(100svh - 6.5rem));
  min-height: 0;
  background: var(--surface);
}

.product-panel-copy {
  position: absolute;
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  left: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 1;
  display: grid;
  width: min(28rem, calc(100% - clamp(2rem, 5vw, 3.5rem)));
  min-width: 0;
  margin: 0;
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  order: 2;
  flex-shrink: 0;
  align-items: start;
  column-gap: 1rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(31, 35, 40, 0.14);
  grid-template-columns: 2rem minmax(0, 1fr);
}

.panel-index {
  margin: 0.26rem 0 0;
  grid-column: 1;
  grid-row: 1 / span 3;
  color: var(--text-subtle);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
}

.product-panel-copy h3 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.product-panel-copy > p:not(.panel-index, .panel-annotation) {
  margin: 0.65rem 0 0;
  grid-column: 2;
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.55;
}

.panel-annotation {
  display: flex;
  margin: 0.8rem 0 0;
  flex-wrap: wrap;
  gap: 0.35rem;
  grid-column: 2;
  color: #424a53;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.5;
}

.panel-annotation span {
  color: var(--accent);
}

.product-panel-visual {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: clamp(1rem, 2.5vw, 2rem) clamp(0.75rem, 2vw, 1.5rem);
  order: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface);
}

.product-panel-visual picture {
  display: contents;
}

.product-panel-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top left;
  border-radius: 12px;
}

.modern-teams {
  display: block;
}

.modern-copy h2,
.business-heading h2,
.easy-start-heading h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.modern-copy h2 > span {
  display: block;
}

.modern-copy {
  display: grid;
  column-gap: clamp(3rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
}

.modern-copy .section-label,
.modern-copy h2 {
  grid-column: 1;
}

.modern-copy > p:not(.section-label) {
  max-width: 38rem;
  margin: 0 0 0.15rem;
  align-self: end;
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.modern-scenarios {
  display: grid;
  margin-top: clamp(3.5rem, 6vw, 5rem);
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.modern-scenario {
  min-width: 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.scenario-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.scenario-role {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.scenario-role {
  color: var(--accent);
}

.modern-scenario h3 {
  margin: 0.7rem 0 1.2rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 640;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.scenario-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #eef1f5;
  border: 1px solid var(--border);
  border-radius: 14px;
  aspect-ratio: 16 / 10;
}

.scenario-demo-window {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Preserve the full recording inside the shared responsive demo frames. */
.scenario-video-poster,
.scenario-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #222831;
}

.scenario-video[hidden],
.demo-dialog-placeholder[hidden] {
  display: none;
}

.scenario-video-trigger {
  position: absolute;
  inset: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.scenario-video-trigger::before {
  position: absolute;
  inset: 0;
  background: rgba(31, 35, 40, 0);
  content: "";
  transition: background-color 160ms ease;
}

.scenario-video-trigger:hover::before {
  background: rgba(31, 35, 40, 0.05);
}

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

.scenario-demo-bar {
  display: flex;
  height: 1.75rem;
  padding: 0 0.75rem;
  align-items: center;
  gap: 0.32rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
}

.scenario-demo-bar span {
  width: 0.35rem;
  height: 0.35rem;
  background: #c4cbd3;
  border-radius: 50%;
}

.scenario-demo-content {
  display: grid;
  padding: clamp(0.75rem, 2vw, 1rem);
  gap: 0.65rem;
}

.scenario-demo-prompt,
.scenario-demo-result {
  padding: clamp(0.6rem, 1.5vw, 0.85rem);
  border-radius: 9px;
  font-size: clamp(0.62rem, 1vw, 0.76rem);
  line-height: 1.45;
}

.scenario-demo-prompt {
  width: 86%;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-subtle);
}

.scenario-demo-result {
  display: grid;
  width: 92%;
  justify-self: end;
  gap: 0.25rem;
  color: var(--text-muted);
  background: var(--surface-accent);
  border: 1px solid var(--border-accent);
}

.scenario-demo-result strong {
  color: var(--text);
  font-weight: 650;
}

.scenario-demo-file {
  width: fit-content;
  margin-top: 0.25rem;
  padding: 0.25rem 0.45rem;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-accent);
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78em;
  font-weight: 650;
}

.scenario-demo-result i {
  display: block;
  width: 78%;
  height: 0.25rem;
  margin-top: 0.16rem;
  background: #d8d2ef;
  border-radius: 999px;
}

.scenario-demo-result i:nth-of-type(2) {
  width: 58%;
}

.scenario-demo-result i:nth-of-type(3) {
  width: 69%;
}

.scenario-video-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  color: #ffffff;
  background: rgba(31, 35, 40, 0.92);
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(31, 35, 40, 0.22);
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, background-color 160ms ease;
}

.scenario-video-trigger:hover .scenario-video-mark {
  background: var(--accent-strong);
  transform: translate(-50%, -50%) scale(1.06);
}

.scenario-video-mark svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}


/* Fade the cropped follow-up text below the table, keeping the review in focus. */
.scenario-media-review::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, #171717 75%);
  pointer-events: none;
  content: "";
}

.scenario-media-review .scenario-video-trigger {
  z-index: 1;
}

.scenario-caption {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.scenario-caption strong {
  color: var(--text);
  font-weight: 650;
}

body.demo-dialog-open {
  overflow: hidden;
}

.demo-dialog {
  width: min(68rem, calc(100% - 4rem));
  max-width: none;
  max-height: calc(100% - 4rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: var(--text);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(31, 35, 40, 0.3);
}

.demo-dialog::backdrop {
  background: rgba(22, 25, 30, 0.7);
  backdrop-filter: blur(4px);
}

.demo-dialog-header {
  display: flex;
  min-height: 5.25rem;
  padding: 1.15rem 1.25rem 1.1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.demo-dialog-role {
  margin: 0 0 0.25rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.demo-dialog-header h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 640;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.demo-dialog-close {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  flex: 0 0 auto;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
}

.demo-dialog-close:hover {
  color: var(--text);
  background: var(--surface-accent);
  border-color: var(--border-accent);
}

.demo-dialog-close:focus-visible {
  outline: 3px solid var(--accent-focus);
  outline-offset: 2px;
}

.demo-dialog-close svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.demo-dialog-media {
  position: relative;
  overflow: hidden;
  background: #eef1f5;
  aspect-ratio: 16 / 10;
}

.demo-dialog-placeholder,
.demo-dialog-placeholder .scenario-demo-window {
  width: 100%;
  height: 100%;
}

.demo-dialog-placeholder .scenario-demo-bar {
  height: 2.6rem;
  padding-inline: 1.25rem;
}

.demo-dialog-placeholder .scenario-demo-bar span {
  width: 0.48rem;
  height: 0.48rem;
}

.demo-dialog-placeholder .scenario-demo-content {
  padding: clamp(1.25rem, 4vw, 3.5rem);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.demo-dialog-placeholder .scenario-demo-prompt,
.demo-dialog-placeholder .scenario-demo-result {
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 14px;
  font-size: clamp(0.9rem, 2vw, 1.25rem);
}

.demo-dialog-placeholder .scenario-demo-result i {
  height: 0.4rem;
  margin-top: 0.35rem;
}

.demo-dialog-caption {
  margin: 0;
  padding: 1.1rem 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  border-top: 1px solid var(--border);
}

.business-heading {
  max-width: 52rem;
}

.business-grid {
  display: grid;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.business-grid article {
  min-width: 0;
  padding: 1.6rem 2rem 1.7rem 0;
}

.business-grid article:nth-child(even) {
  padding-right: 0;
  padding-left: 2rem;
}

.business-grid .item-number {
  margin-bottom: 1.3rem;
}

.business-grid h3,
.easy-start-list h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.business-grid article > p:last-child,
.easy-start-list p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.easy-start-section {
  display: grid;
  align-items: start;
  gap: clamp(3rem, 7vw, 6rem);
  background: var(--warm-surface);
  box-shadow: 0 0 0 100vmax var(--warm-surface);
  clip-path: inset(0 -100vmax);
  grid-template-columns: minmax(17rem, 0.7fr) minmax(0, 1.3fr);
}

.easy-start-section.section-rule {
  border-top: 0;
}

.easy-start-heading {
  max-width: 32rem;
}

.easy-start-heading .section-label {
  color: var(--warm-accent-strong);
}

.easy-start-heading::after {
  display: block;
  width: 3.5rem;
  height: 0.3125rem;
  margin-top: 1.75rem;
  background: var(--warm-accent);
  border-radius: 999px;
  content: "";
}

.easy-start-content {
  min-width: 0;
}

.easy-start-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--warm-border);
  border-bottom: 1px solid var(--warm-border);
  list-style: none;
}

.easy-start-list li {
  display: grid;
  min-height: 8rem;
  padding: clamp(1.5rem, 2.5vw, 1.75rem) 0;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: 3.75rem minmax(9.5rem, 0.78fr) minmax(0, 1.22fr);
}

.easy-start-list li + li {
  border-top: 1px solid var(--warm-border);
}

.easy-start-list h3 {
  color: var(--text);
  font-size: 1.0625rem;
}

.easy-start-item-copy {
  min-width: 0;
}

.easy-start-item-copy p {
  margin: 0;
  color: #625d57;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.easy-start-mark {
  display: grid;
  width: 3.75rem;
  min-width: 0;
  place-items: center;
}

.easy-start-mark img {
  display: block;
  width: 3.5rem;
  height: auto;
}

.easy-start-action {
  padding-top: 1rem;
}

.easy-start-link {
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.easy-start-link:hover {
  color: var(--accent-hover);
}

.easy-start-link-human {
  display: inline-flex;
  min-height: 2.5rem;
  padding: 0.55rem 0.85rem;
  align-items: center;
  color: #3d291c;
  background: var(--warm-accent);
  border: 1px solid #dc9350;
  border-radius: 8px;
  line-height: 1.25;
  text-decoration: none;
}

.easy-start-link-human:hover {
  color: #2e1d13;
  background: #ef9f50;
  border-color: #cf7f38;
}

.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

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

.closing-cta .button-large {
  min-width: 10.5rem;
  flex-direction: row;
}

@media (max-width: 900px) {
  .product-panel,
  .easy-start-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-panel {
    min-height: 0;
    align-items: stretch;
  }

  .product-panel-copy,
  .modern-copy,
  .business-heading {
    max-width: 42rem;
  }

  .product-panel-visual img {
    height: 100%;
    max-height: none;
  }

  .modern-copy {
    display: block;
  }

  .modern-copy > p:not(.section-label) {
    max-width: 42rem;
    margin-top: 1.5rem;
  }

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

  .modern-scenario:last-child {
    grid-column: 1 / -1;
    width: calc(50% - clamp(0.5rem, 1vw, 0.75rem));
  }

  .easy-start-content {
    width: min(100%, 44rem);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3.75rem 0 4rem;
  }

  .hero-word-line {
    min-height: 1.04em;
  }

  .modern-teams,
  .business-section,
  .easy-start-section {
    padding: 4rem 0;
  }

  .hero-showcase {
    margin-top: 4.25rem;
  }

  .timed-tabs-product .timed-tabs-bar {
    min-height: 3.75rem;
    padding: 0 0.5rem;
    background: rgba(255, 255, 255, 0.98);
  }

  .timed-tabs-bar {
    align-items: flex-end;
  }

  .timed-tablist {
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .timed-tablist::-webkit-scrollbar {
    display: none;
  }

  .timed-tab {
    min-height: 2.75rem;
    padding: 0.65rem 0.75rem;
    flex: 0 0 auto;
    font-size: 0.8125rem;
    scroll-snap-align: start;
  }

  .tabs-autoplay {
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.65rem;
  }

  .tabs-autoplay [data-tabs-toggle-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .product-panel {
    display: flex;
    flex-direction: column;
    height: auto;
    padding-bottom: 0;
  }

  .panel-index {
    margin: 0.22rem 0 0;
  }

  .product-panel-copy {
    position: static;
    display: grid;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 1.25rem;
    order: 2;
    background: var(--background);
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    grid-template-columns: 1.75rem minmax(0, 1fr);
  }

  .product-panel-copy > p:not(.panel-index, .panel-annotation) {
    margin-top: 0.65rem;
  }

  .panel-annotation {
    margin-top: 0.8rem;
  }

  .product-panel-copy h3,
  .modern-copy h2,
  .business-heading h2,
  .easy-start-heading h2 {
    font-size: 2.15rem;
  }

  .product-panel-copy h3 {
    font-size: 1.4rem;
  }

  .product-panel-visual {
    flex: none;
    height: auto;
    min-height: 0;
    padding: 0.5rem;
    order: 1;
  }

  .product-panel-visual img {
    height: auto;
    border-radius: 10px;
  }

  .easy-start-section {
    gap: 2.75rem;
  }

  .modern-scenarios {
    margin-top: 3rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .modern-scenario:last-child {
    width: auto;
    grid-column: auto;
  }

  .scenario-media {
    aspect-ratio: 16 / 9;
  }

  .demo-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100% - 1rem);
    border-radius: 14px;
  }

  .demo-dialog-header {
    min-height: 4.5rem;
    padding: 0.9rem 0.9rem 0.85rem 1rem;
  }

  .demo-dialog-media {
    aspect-ratio: 16 / 9;
  }

  .demo-dialog-caption {
    padding: 0.9rem 1rem 1rem;
  }

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

  .business-grid article,
  .business-grid article:nth-child(even) {
    padding: 1.4rem 0;
  }

  .easy-start-content {
    width: 100%;
  }

  .easy-start-list li {
    min-height: 0;
    padding: 1.4rem 0;
    align-items: start;
    gap: 0.65rem 0.85rem;
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }

  .easy-start-mark {
    width: 3.5rem;
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .easy-start-mark img {
    width: 3.125rem;
  }

  .easy-start-list h3,
  .easy-start-item-copy {
    grid-column: 2;
  }
}

@media (hover: none) {
  .timed-tabs .tabs-autoplay {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 390px) {
  .hero .hero-action,
  .closing-cta .button-large {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timed-tabs.is-running .timed-tab[aria-selected="true"]::after {
    animation: none;
  }
}
