:root {
  --bg: var(--theme-bg);
  --surface: var(--theme-surface);
  --surface-strong: var(--theme-surface-strong);
  --ink: var(--theme-text);
  --muted: var(--theme-muted);
  --line: var(--theme-border);
  --line-strong: var(--theme-chrome-border-strong);
  --accent: var(--theme-accent);
  --accent-dark: var(--theme-accent-dark);
  --accent-soft: var(--theme-accent-soft);
  --success-bg: var(--theme-success-bg);
  --success-ink: var(--theme-success-ink);
  --danger-bg: var(--theme-danger-bg);
  --danger-ink: var(--theme-danger-ink);
  --shadow-card: var(--theme-shadow-card);
  --shadow-soft: var(--theme-shadow-soft);
  --radius-sm: var(--theme-radius-sm);
  --radius-md: var(--theme-radius-md);
  --radius-lg: var(--theme-radius-lg);
  --container: 1180px;
  --nav-height: 84px;
  --ease: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(22, 89, 214, 0.08), transparent 32%),
    linear-gradient(180deg, #f8f5ef 0%, #f5f1e8 100%);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 100;
  padding: 10px 14px;
  border: 2px solid rgba(16, 16, 16, 0.8);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  transition: top var(--ease);
}

.skip-link:focus {
  top: 16px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
.brand,
.button,
.workflow-number,
.price-tier {
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.05em;
}

p {
  color: var(--muted);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 64px 0;
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px);
  background: rgba(248, 245, 239, 0.78);
  border-bottom: 2px solid var(--line-strong);
}

.nav-row {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 2px solid var(--line-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.96rem;
  font-weight: 700;
  color: rgba(16, 16, 16, 0.72);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 6px;
  border: 2px solid var(--line-strong);
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform var(--ease), background-color var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: var(--accent);
  border: 2px solid var(--line-strong);
  box-shadow: 0 12px 22px rgba(22, 89, 214, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
  border: 2px solid var(--line-strong);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(16, 16, 16, 0.04);
}

.button-light {
  background: #ffffff;
  border: 2px solid rgba(16, 16, 16, 0.8);
  color: var(--accent-dark);
}

.button-light:hover,
.button-light:focus-visible {
  background: #eef4ff;
  border: 2px solid rgba(16, 16, 16, 0.8);
}

.button-nav {
  min-height: 46px;
  padding: 0 20px;
}

.hero {
  padding: 56px 0 40px;
}

.hero-inner {
  display: grid;
  gap: 32px;
  align-items: start;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 6px;
  border: 2px solid rgba(16, 16, 16, 0.8);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin: 0 auto;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.92;
}

.hero-lead {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-proof {
  max-width: 820px;
  margin: 18px auto 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.pricing-page-hero {
  padding-top: 56px;
  padding-bottom: 24px;
}

.features-page-hero {
  padding-top: 56px;
  padding-bottom: 28px;
}

.features-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.features-page-copy h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.94;
}

.features-page-lead {
  max-width: 62ch;
  margin-top: 22px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.72;
}

.pricing-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.pricing-page-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: 0.94;
}

.pricing-page-lead {
  max-width: 60ch;
  margin-top: 22px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.72;
}

.download-page-hero {
  padding-top: 56px;
  padding-bottom: 28px;
}

.download-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.download-page-copy h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.94;
}

.download-page-lead {
  max-width: 64ch;
  margin-top: 22px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.72;
}

.pricing-summary-card,
.feature-summary-card,
.download-summary-card,
.comparison-note-card {
  padding: 24px;
  border: 2px solid rgba(16, 16, 16, 0.8);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.download-status-pill {
  margin-top: 16px;
  padding: 12px 14px;
  border: 2px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(22, 89, 214, 0.08);
  color: var(--ink);
  font-weight: 800;
}

.release-metrics {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.release-metric {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 2px solid rgba(16, 16, 16, 0.08);
}

.release-metric span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.release-metric strong {
  color: var(--ink);
  font-size: 0.95rem;
  text-align: right;
}

.summary-kicker {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.summary-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.6;
}

.summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-stage {
  position: relative;
  margin-top: 10px;
  min-height: 470px;
  width: min(100%, 1120px);
  margin-inline: auto;
}

.hero-frame {
  position: relative;
  width: min(100%, 820px);
  margin: 0;
  border: 2px solid rgba(16, 16, 16, 0.8);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hero-stage-editor {
  margin-left: 74px;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%);
  pointer-events: none;
}

.hero-frame-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 16px 18px;
  border-bottom: 2px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
}

.hero-frame-app {
  display: inline-flex;
  align-items: center;
}

.mockup-app-logo {
  width: 30px;
  height: 30px;
  display: grid;
  background-color: #2b579a;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.word-logo {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/microsoftword.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/microsoftword.svg');
}

.hero-mockup {
  padding: 20px 18px 22px;
  background:
    linear-gradient(180deg, rgba(241, 246, 255, 0.86), rgba(255, 255, 255, 0.98));
}

.hero-mockup-body {
  min-height: 0;
}

.hero-mockup-editor {
  position: relative;
  min-height: 360px;
  padding: 30px 28px 92px;
  background: #ffffff;
  border: 2px solid rgba(16, 16, 16, 0.8);
  background-image: linear-gradient(180deg, rgba(246, 250, 255, 0.72), rgba(255, 255, 255, 0));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-mockup-text {
  max-width: 58ch;
  color: #334155;
  font-size: calc(1.02rem + 4px);
  line-height: 1.72;
  font-family: "Segoe UI", "Manrope", sans-serif;
  transform-origin: left top;
  transition: color 240ms ease, opacity 320ms ease, transform 320ms ease, filter 320ms ease;
}

.hero-mockup-text.is-swapping {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(2px);
}

.hero-mockup-text.is-corrected {
  color: #1f2937;
  animation: hero-text-settle 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.selection-highlight {
  background: rgba(77, 142, 255, 0.22);
  box-shadow: inset 0 -2px 0 rgba(43, 87, 154, 0.55);
  padding: 2px 0;
}

.grammar-error {
  text-decoration: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='4' viewBox='0 0 12 4'%3E%3Cpath d='M0 3 Q1.5 1 3 3 T6 3 T9 3 T12 3' fill='none' stroke='%23dc2626' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 12px 4px;
  background-position: 0 calc(100% - 1px);
  padding-bottom: 0.08em;
}

.hero-balloon-anchor {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
}

.hero-balloon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid rgba(16, 16, 16, 0.8);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(250, 253, 255, 0.98), rgba(239, 247, 255, 0.94));
  box-shadow: 0 14px 28px rgba(67, 106, 163, 0.12);
  transition: opacity 260ms ease, transform 260ms ease;
}

.hero-balloon[hidden],
.hero-balloon-arrow[hidden] {
  display: none;
}

.hero-balloon.is-hiding,
.hero-balloon-arrow.is-hiding {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.hero-balloon-dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(97, 152, 231, 0.18);
}

.hero-balloon-copy strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.1;
}

.hero-balloon-copy p {
  margin-top: 4px;
  font-size: 0.92rem;
  color: #556170;
}

.hero-balloon-button {
  min-height: 42px;
  padding-inline: 16px;
  white-space: nowrap;
  animation: hero-arrow-bob 1.8s ease-in-out infinite;
}

.hero-balloon-arrow {
  position: absolute;
  right: -18px;
  top: -42px;
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #436aa3;
  animation: hero-arrow-bob 1.8s ease-in-out infinite;
  transition: opacity 260ms ease, transform 260ms ease;
}

.hero-balloon-arrow span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-balloon-arrow svg {
  width: 80px;
  height: 48px;
  overflow: visible;
}

.hero-review-shell {
  position: absolute;
  right: 74px;
  top: 186px;
  width: min(42%, 500px);
  z-index: 2;
  transform-origin: center top;
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.app-review-card {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(16, 16, 16, 0.8);
  border-radius: 6px;
  background-image: linear-gradient(180deg, rgba(245, 248, 253, 0.92), rgba(255, 255, 255, 0.98) 22%);
  box-shadow: 0 26px 44px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  animation: hero-card-float 4.6s ease-in-out infinite;
  transform-origin: center top;
  transition: box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-review-shell[hidden],
.app-review-card[hidden] {
  display: none;
}

.hero-review-shell.is-replacing,
.app-review-card.is-replacing {
  pointer-events: none;
}

.hero-review-shell.is-replacing {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
}

.hero-review-shell.is-entering {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.app-review-card.is-replacing {
  animation: none;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
}

.app-review-card.is-entering {
  animation: hero-card-float 4.6s ease-in-out infinite;
}

@keyframes hero-card-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

@keyframes hero-arrow-bob {
  0% { transform: translateY(0); }
  50% { transform: translateY(6px); }
  100% { transform: translateY(0); }
}

@keyframes hero-text-settle {
  0% {
    opacity: 0;
    transform: translateY(-12px);
    filter: blur(3px);
  }
  55% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.app-review-card-header {
  padding: 14px 16px 12px;
  border-bottom: 2px solid rgba(16, 16, 16, 0.8);
  background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-review-card-body {
  padding: 16px;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.74;
}

.diff-old,
.diff-new {
  display: inline;
  padding: 0.08rem 0.25rem;
  font-weight: 700;
}

.diff-old {
  background: #fee2e2;
  color: #b42318;
  text-decoration: line-through;
}

.diff-new {
  background: #dcfce7;
  color: #15803d;
}

.app-review-card-actions {
  padding: 0 16px 16px;
  display: flex;
  justify-content: flex-end;
}

.app-review-card-btn {
  min-height: 46px;
  padding-inline: 18px;
}

.hero-editor-retry {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease, background-color var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.hero-editor-retry svg {
  width: 20px;
  height: 20px;
}

.hero-editor-retry.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.support-strip {
  padding: 54px 0 18px;
}

.support-strip-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 0 0;
  border-top: 2px solid var(--line-strong);
}

.support-strip-row p {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.section-head {
  margin-bottom: 34px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.section-head p {
  margin-top: 10px;
  font-size: 1.02rem;
}

.workflow {
  padding-top: 74px;
}

.workflow-list {
  display: grid;
  gap: 18px;
}

.workflow-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-top: 2px solid var(--line-strong);
}

.workflow-item:last-child {
  border-bottom: 2px solid var(--line-strong);
}

.workflow-marker {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding-top: 2px;
}

.workflow-number {
  width: 1ch;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  font-weight: 700;
  color: var(--ink);
}

.workflow-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  color: var(--ink);
}

.workflow-icon svg {
  display: block;
  width: 40px;
  height: 40px;
}

.workflow-icon-select {
  transform: translateX(-4px);
}

.workflow-icon-review {
  transform: translateX(-1px);
}

.workflow-copy h3 {
  margin-bottom: 8px;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
}

.workflow-copy p {
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.7;
}

.features {
  padding-top: 84px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-box {
  min-height: 100%;
  padding: 26px 24px 28px;
  border: 2px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
}

.feature-box h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.feature-box p {
  font-size: 0.98rem;
  line-height: 1.68;
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.feature-detail-card {
  padding: 22px;
  border: 2px solid rgba(16, 16, 16, 0.8);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.feature-detail-card h3 {
  font-size: 1.22rem;
}

.feature-detail-card p {
  margin-top: 10px;
  line-height: 1.68;
}

.compat-marquee {
  margin-top: 28px;
}

.compat-title {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.compat-marquee-window {
  position: relative;
  overflow: hidden;
  padding: 0.35rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.compat-marquee-rail {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: compat-slide-right 28s linear infinite;
}

.compat-marquee-group {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.compat-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px 0 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--line-strong);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.compat-chip::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--chip-color, var(--accent));
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.logo-word { --chip-color: #2b579a; }
.logo-word::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/microsoftword.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/microsoftword.svg');
}

.logo-notepad { --chip-color: #0067b8; }
.logo-notepad::before {
  -webkit-mask-image: url('data:image/svg+xml,%3Csvg viewBox=%220 0 24 24%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath fill=%22black%22 d=%22M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 1.5L18.5 8H13zM8 13h8v1H8zm0 3h8v1H8z%22/%3E%3C/svg%3E');
  mask-image: url('data:image/svg+xml,%3Csvg viewBox=%220 0 24 24%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath fill=%22black%22 d=%22M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 1.5L18.5 8H13zM8 13h8v1H8zm0 3h8v1H8z%22/%3E%3C/svg%3E');
}

.logo-chrome { --chip-color: #4285f4; }
.logo-chrome::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/googlechrome.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/googlechrome.svg');
}

.logo-edge { --chip-color: #0078d7; }
.logo-edge::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/microsoftedge.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/microsoftedge.svg');
}

.logo-firefox { --chip-color: #ff7139; }
.logo-firefox::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/firefox.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/firefox.svg');
}

.logo-brave { --chip-color: #fb542b; }
.logo-brave::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/brave.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/brave.svg');
}

.logo-outlook { --chip-color: #0078d4; }
.logo-outlook::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/microsoftoutlook.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/microsoftoutlook.svg');
}

.logo-slack { --chip-color: #4a154b; }
.logo-slack::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/slack.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/slack.svg');
}

.logo-telegram { --chip-color: #26a5e4; }
.logo-telegram::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/telegram.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/telegram.svg');
}

.logo-teams { --chip-color: #6264a7; }
.logo-teams::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/microsoftteams.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/microsoftteams.svg');
}

.logo-discord { --chip-color: #5865f2; }
.logo-discord::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/discord.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/discord.svg');
}

.logo-obsidian { --chip-color: #7c3aed; }
.logo-obsidian::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/obsidian.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/obsidian.svg');
}

.logo-libreoffice { --chip-color: #18a303; }
.logo-libreoffice::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/libreoffice.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/libreoffice.svg');
}

.logo-notion { --chip-color: #111111; }
.logo-notion::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/notion.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/notion.svg');
}

.logo-more { --chip-color: #1659d6; }
.logo-more::before {
  -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/windows11.svg');
  mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons/icons/windows11.svg');
}

@keyframes compat-slide-right {
  0% { transform: translateX(calc(-50% - 7px)); }
  100% { transform: translateX(0); }
}

.engine-section {
  padding-bottom: 8px;
}

.pricing {
  padding-top: 88px;
}

.mode-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 72px;
  padding: 28px 30px;
  border: 2px solid rgba(16, 16, 16, 0.82);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 238, 228, 0.92));
  box-shadow: 0 18px 40px rgba(16, 16, 16, 0.08);
}

.mode-panel-copy {
  max-width: 760px;
  text-align: center;
}

.mode-panel-copy h2 {
  margin-bottom: 12px;
}

.mode-copy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mode-copy-list li {
  position: relative;
  padding-left: 18px;
}

.mode-copy-list li + li {
  margin-top: 8px;
}

.mode-copy-list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
}

.engine-chooser {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.engine-label {
  min-width: 52px;
  color: rgba(16, 16, 16, 0.7);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.engine-switch {
  position: relative;
  width: 88px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.engine-switch-knob {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform var(--ease);
  box-shadow: 0 6px 16px rgba(16, 16, 16, 0.18);
}

.engine-section[data-mode="cloud"] .engine-switch-knob {
  transform: translateX(50px);
}

.mode-compare {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mode-card {
  padding: 24px;
  border: 2px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.mode-card:hover,
.mode-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 16px 32px rgba(16, 16, 16, 0.1);
  outline: none;
}

.mode-card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #101010;
}

.mode-card-icon svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.mode-card h3 {
  margin-bottom: 14px;
}

.pricing-head {
  margin-bottom: 22px;
}

.billing-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.billing-toggle {
  display: inline-flex;
  grid-column: 2;
  padding: 4px;
  border: 2px solid rgba(16, 16, 16, 0.8);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.86);
}

.billing-option {
  min-width: 104px;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(16, 16, 16, 0.68);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease);
}

.billing-option.active {
  background: var(--accent);
  color: #ffffff;
}

.billing-save {
  grid-column: 3;
  justify-self: start;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pricing-page-shell {
  gap: 20px;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 2px solid rgba(16, 16, 16, 0.8);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.price-card.featured {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.price-card.featured p,
.price-card.featured li,
.price-card.featured .price-meta {
  color: rgba(255, 255, 255, 0.82);
}

.price-card.featured h3,
.price-card.featured .price-tier,
.price-card.featured .price-value {
  color: #ffffff;
}

.price-tier {
  margin-bottom: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card h3 {
  max-width: 12ch;
  min-height: 2.1em;
  font-size: 2rem;
  line-height: 1.02;
}

.price-value {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-top: 22px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1rem;
  color: var(--ink);
}

.price-value-free {
  font-size: 2.4rem;
  font-weight: 700;
}

.price-amount {
  display: none;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 700;
}

.price-unit {
  padding-bottom: 4px;
  font-size: 1rem;
  font-weight: 700;
}

.price-meta {
  min-height: 24px;
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.price-meta .price-yearly,
.price-meta .price-monthly {
  display: none;
}

.pricing-shell[data-billing="yearly"] .price-yearly,
.pricing-shell[data-billing="monthly"] .price-monthly {
  display: inline;
}

.price-cta {
  width: 100%;
  margin-top: auto;
}

.price-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 2px solid var(--line-strong);
}

.price-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--muted);
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 6px;
  background: currentColor;
}

.price-card.featured .price-list {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.comparison-section {
  padding-top: 48px;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 2px solid rgba(16, 16, 16, 0.8);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.comparison-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.comparison-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 16px;
  border-bottom: 2px solid rgba(16, 16, 16, 0.08);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background: rgba(16, 16, 16, 0.04);
  color: var(--ink);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
}

.comparison-table tbody th {
  width: 22%;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 800;
}

.comparison-table td {
  color: #425066;
  line-height: 1.62;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.comparison-note-card h3 {
  font-size: 1.3rem;
}

.comparison-note-card p {
  margin-top: 10px;
  line-height: 1.68;
}

.download-section {
  padding-top: 48px;
}

.download-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-card,
.download-step,
.download-plan-card {
  border: 2px solid rgba(16, 16, 16, 0.8);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.download-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.download-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.download-card-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  border: 2px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(22, 89, 214, 0.08);
  color: var(--accent);
}

.download-card-icon svg {
  width: 30px;
  height: 30px;
}

.download-card-badge {
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-card h3,
.download-step h3,
.download-plan-card h3 {
  font-size: 1.45rem;
}

.download-card p,
.download-step p,
.download-plan-card p {
  line-height: 1.68;
}

.download-card-actions {
  margin-top: 22px;
}

.download-button {
  width: 100%;
}

.download-button.is-unavailable {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.download-meta {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding-top: 4px;
}

.download-meta-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 2px solid rgba(16, 16, 16, 0.08);
}

.download-meta dt {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.download-meta dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.download-inline-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  text-align: center;
}

.download-inline-note strong,
.download-plan-card strong {
  color: var(--ink);
}

.download-install-section,
.download-update-section {
  padding-top: 56px;
}

.download-install-grid,
.download-plan-grid {
  display: grid;
  gap: 18px;
}

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

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

.download-step,
.download-plan-card {
  padding: 22px;
}

.download-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border: 2px solid var(--line-strong);
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
}

.download-step h3,
.download-plan-card h3 {
  margin-bottom: 10px;
}

.faq {
  padding-top: 86px;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--line-strong);
}

.faq-item {
  border-bottom: 2px solid var(--line-strong);
}

.faq-item summary {
  position: relative;
  padding: 22px 42px 22px 0;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 600;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  max-width: 72ch;
  padding: 0 0 22px;
  font-size: 0.98rem;
  line-height: 1.72;
}

.faq-inline-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.faq-inline-action svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.cta-band {
  padding-top: 72px;
  padding-bottom: 80px;
}

.cta-panel {
  padding: 54px 30px;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  text-align: center;
}

.cta-panel h2 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

.cta-panel .button {
  margin-top: 24px;
}

.cta-note {
  max-width: 640px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cta-links,
.cta-caption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.cta-caption {
  margin-top: 16px;
}

.reveal {
  opacity: 1;
  animation: rise-in 700ms ease both;
}

.workflow-item:nth-child(2),
.feature-box:nth-child(2),
.price-card:nth-child(2),
.faq-item:nth-child(2) {
  animation-delay: 80ms;
}

.workflow-item:nth-child(3),
.feature-box:nth-child(3),
.price-card:nth-child(3),
.faq-item:nth-child(3) {
  animation-delay: 160ms;
}

.faq-item:nth-child(4) {
  animation-delay: 240ms;
}

@keyframes rise-in {
  from {
    transform: translateY(18px);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .engine-switch-knob,
  .billing-option {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .features-page-hero-inner,
  .pricing-page-hero-inner,
  .download-page-hero-inner {
    grid-template-columns: 1fr;
  }

  .feature-summary-card,
  .pricing-summary-card,
  .download-summary-card {
    max-width: 680px;
  }

  .feature-grid,
  .feature-detail-grid,
  .pricing-grid,
  .download-plan-grid,
  .support-strip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compat-marquee-rail,
  .compat-marquee-group {
    gap: 12px;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 74px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-stage {
    min-height: 0;
    width: 100%;
  }

  .hero-stage-editor {
    margin-left: 0;
  }

  .hero-mockup-body {
    min-height: auto;
  }

  .hero-mockup-editor {
    min-height: 250px;
    padding: 24px 20px 116px;
  }

  .hero-review-shell {
    position: static;
    width: 100%;
    margin-top: 18px;
    right: auto;
  }

  .hero-balloon-anchor {
    display: flex;
    width: 100%;
  }

  .hero-balloon {
    width: 100%;
    grid-template-columns: auto 1fr;
  }

  .hero-balloon-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-balloon-arrow {
    right: 6px;
    top: -36px;
  }

  .support-strip-row,
  .feature-grid,
  .feature-detail-grid,
  .pricing-grid,
  .download-card-grid,
  .download-install-grid,
  .download-plan-grid {
    grid-template-columns: 1fr;
  }

  .comparison-notes {
    grid-template-columns: 1fr;
  }

  .compat-chip {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.88rem;
  }

  .workflow-item {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 16px;
  }

  .price-card h3 {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-row {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .button-nav {
    width: 100%;
  }

  .hero-actions,
  .cta-links {
    flex-direction: column;
  }

  .mode-panel {
    align-items: stretch;
    padding: 22px 20px;
  }

  .mode-panel-copy {
    text-align: left;
  }

  .mode-compare {
    grid-template-columns: 1fr;
  }

  .billing-row {
    display: flex;
    flex-direction: column;
  }

  .hero-actions .button,
  .billing-toggle,
  .cta-panel .button {
    width: 100%;
  }

  .engine-chooser {
    width: 100%;
    justify-content: center;
  }

  .engine-switch {
    width: 68px;
  }

  .engine-section[data-mode="cloud"] .engine-switch-knob {
    transform: translateX(30px);
  }

  .billing-toggle {
    display: grid;
    width: 100%;
  }

  .billing-option {
    min-width: 0;
  }

  .workflow-item {
    grid-template-columns: 1fr;
  }

  .workflow-marker {
    gap: 10px;
  }

  .workflow-number {
    font-size: 2.8rem;
  }

  .workflow-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .workflow-icon svg {
    width: 36px;
    height: 36px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .pricing-page-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .features-page-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .download-page-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-mockup {
    padding: 14px;
  }

  .hero-mockup-editor {
    padding: 20px 14px 160px;
  }

  .hero-balloon {
    padding: 12px;
    gap: 12px;
  }

  .hero-balloon-copy p {
    font-size: 0.86rem;
  }

  .hero-balloon-arrow {
    right: 0;
    top: -34px;
  }

  .hero-balloon-arrow svg {
    width: 62px;
    height: 38px;
  }

  .hero-mockup-text,
  .app-review-card-body {
    font-size: 0.9rem;
  }

  .section-head h2,
  .feature-box h3,
  .price-card h3,
  .download-card h3,
  .download-step h3,
  .download-plan-card h3,
  .workflow-copy h3 {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
    overflow-wrap: anywhere;
  }

  .feature-box h3,
  .price-card h3,
  .download-card h3,
  .download-step h3,
  .download-plan-card h3,
  .workflow-copy h3 {
    font-size: 1.05rem;
  }

  .hero-lead,
  .download-page-lead,
  .section-head p,
  .workflow-copy p,
  .feature-box p,
  .download-card p,
  .download-step p,
  .download-plan-card p,
  .price-list li,
  .faq-item p {
    font-size: 0.92rem;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .feature-box,
  .price-card,
  .download-card,
  .download-step,
  .download-plan-card {
    padding: 20px;
  }

  .download-card-head {
    align-items: flex-start;
  }

  .download-meta-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .faq-item summary {
    padding-right: 30px;
  }

  .cta-panel {
    padding: 42px 20px;
  }
}
