:root {
  --bg: #090908;
  --bg-soft: #11110f;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f8f4eb;
  --muted: #aaa49a;
  --faint: #777168;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.075);
  --warm: #d8b986;
  --warm-bright: #ffd899;
  --mint: #9fc9b4;
  --rose: #d1a4a1;
  --blue: #9baecb;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(216, 185, 134, 0.16), transparent 34rem),
    radial-gradient(circle at 5% 20%, rgba(159, 201, 180, 0.09), transparent 30rem),
    linear-gradient(180deg, #0a0a09 0%, #090908 38%, #0f0e0c 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

::selection {
  background: rgba(216, 185, 134, 0.34);
  color: #fffaf0;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(115deg, rgba(255,255,255,.05), transparent 40%),
    repeating-radial-gradient(circle at 18% 20%, rgba(255,255,255,.16) 0 1px, transparent 1px 5px);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 34rem;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.36;
  pointer-events: none;
}

.ambient-one {
  top: 8rem;
  right: -10rem;
  background: rgba(216, 185, 134, 0.28);
}

.ambient-two {
  left: -14rem;
  bottom: 8rem;
  background: rgba(130, 159, 145, 0.24);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  pointer-events: none;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--warm-bright);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 216, 153, 0.45);
  transition: width 160ms ease, height 160ms ease, border-color 160ms ease;
}

.cursor-ring.is-hovering {
  width: 58px;
  height: 58px;
  border-color: rgba(255, 216, 153, 0.75);
}

.site-header {
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 60;
  display: flex;
  width: min(calc(100% - 32px), 1120px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 13, 12, 0.62);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 30% 20%, rgba(255, 216, 153, 0.45), transparent 62%);
  color: #fff1d1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav a,
.header-action {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  padding: 9px 14px;
  transition: 180ms ease;
}

.desktop-nav a:hover,
.header-action:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.header-action {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.dock-nav {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 55;
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 14, 13, 0.62);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.dock-nav a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: 220ms ease;
}

.dock-nav a span {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.44);
}

.dock-nav a:hover,
.dock-nav a.active {
  background: rgba(216, 185, 134, 0.18);
  transform: translateY(-4px);
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 128px 0 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 6rem -14rem auto;
  height: 42rem;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle, black 0%, transparent 68%);
  opacity: 0.45;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--warm-bright);
  box-shadow: 0 0 24px rgba(255, 216, 153, 0.8);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.91;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-subtitle,
.section-heading p {
  max-width: 680px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.24), transparent);
  transform: translateX(-115%);
  transition: transform 650ms ease;
}

.button:hover::before {
  transform: translateX(115%);
}

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

.button-primary {
  border-color: rgba(255, 216, 153, 0.42);
  background: linear-gradient(180deg, #f4d8a5, #a87d45);
  color: #17110a;
  box-shadow: 0 16px 42px rgba(216, 185, 134, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.button-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.16);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-proof span {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.045);
}

.hero-stage {
  position: relative;
  min-height: 600px;
  perspective: 1400px;
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.055));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(26px);
}

.hero-window {
  position: absolute;
  inset: 42px 0 auto;
  min-height: 520px;
  transform: rotateX(4deg) rotateY(-9deg) rotateZ(1deg);
  transform-style: preserve-3d;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.traffic {
  display: flex;
  gap: 7px;
}

.traffic i {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #e98979;
}

.traffic i:nth-child(2) {
  background: #e6bf69;
}

.traffic i:nth-child(3) {
  background: #75be8b;
}

.window-title {
  flex: 1;
  color: var(--muted);
  font-size: 13px;
}

.window-pill {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #e8d8bd;
  font-size: 12px;
  padding: 6px 10px;
  background: rgba(216, 185, 134, 0.08);
}

.workspace-ui {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 472px;
}

.mock-sidebar {
  border-right: 1px solid rgba(255,255,255,.1);
  padding: 18px 12px;
  background: rgba(0, 0, 0, 0.12);
}

.sidebar-title {
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.tree-row {
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
  padding: 9px 10px;
}

.tree-row.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.tree-row.muted {
  color: var(--faint);
}

.mock-editor {
  min-width: 0;
}

.tab-strip {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.tab {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  padding: 7px 10px;
}

.tab.active {
  color: var(--text);
  background: rgba(255,255,255,.1);
}

.editor-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  min-height: 415px;
  background: rgba(255,255,255,.08);
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

.code-pane,
.typing-source,
.theme-window pre {
  overflow: hidden;
  padding: 28px;
  background: rgba(6, 6, 5, 0.5);
  color: #e7ddc9;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.75;
}

.render-pane {
  padding: 28px;
  background: rgba(255,255,255,.045);
}

.render-pane h3,
.rendered-document h3 {
  margin-bottom: 12px;
}

.render-pane ul {
  color: var(--muted);
  line-height: 1.9;
  padding-left: 18px;
}

.diagram {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.diagram span {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  color: #ead7b7;
  padding: 10px;
  background: rgba(216, 185, 134, 0.08);
}

.diagram b {
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,.24);
}

.floating-chip {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(20, 20, 18, 0.68);
  box-shadow: 0 16px 42px rgba(0,0,0,.25);
  color: #eadac0;
  font-size: 13px;
  font-weight: 750;
  padding: 12px 15px;
  backdrop-filter: blur(18px);
  animation: floaty 6s ease-in-out infinite;
}

.chip-one {
  left: -28px;
  top: 110px;
}

.chip-two {
  right: -22px;
  top: 190px;
  animation-delay: -1.5s;
}

.chip-three {
  bottom: 90px;
  left: 42px;
  animation-delay: -3s;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.logos {
  padding: 24px 0 80px;
}

.logos p {
  text-align: center;
  font-size: 13px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.logo-row span {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--faint);
  font-weight: 700;
  padding: 12px 18px;
  background: rgba(255,255,255,.035);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

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

.feature-card,
.motion-card,
.testimonial,
.price-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.045)),
    rgba(255,255,255,.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card:hover,
.motion-card:hover,
.testimonial:hover,
.price-card:hover {
  border-color: rgba(216, 185, 134, 0.34);
  transform: translateY(-5px);
}

.feature-card {
  min-height: 240px;
  padding: 24px;
}

.feature-card.large {
  grid-column: span 2;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  color: var(--warm-bright);
  background: rgba(216, 185, 134, 0.08);
}

.feature-card p,
.motion-card p,
.testimonial p,
.price-card span {
  font-size: 15px;
}

.mini-file-system {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.mini-file-system span {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  color: var(--muted);
  padding: 10px 12px;
  background: rgba(0,0,0,.12);
}

.mini-file-system .active {
  color: var(--text);
  background: rgba(255,255,255,.09);
}

.editor-section {
  padding-top: 60px;
}

.interactive-editor {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.055);
  box-shadow: var(--shadow);
}

.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
}

.toolbar-group {
  display: flex;
  gap: 6px;
  margin-right: auto;
  padding: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(0,0,0,.13);
}

.toolbar-group button,
.theme-controls button {
  border-radius: 999px;
  color: var(--muted);
  padding: 9px 14px;
  background: transparent;
  cursor: pointer;
}

.toolbar-group button.active,
.theme-controls button.active {
  color: #1b1309;
  background: linear-gradient(180deg, #f4d8a5, #b4864a);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: #7cd39a;
  box-shadow: 0 0 18px rgba(124, 211, 154, 0.75);
}

.split-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.typing-source {
  border-right: 1px solid var(--line-soft);
}

.rendered-document {
  padding: 42px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    rgba(255,255,255,.035);
}

.rendered-document h3 {
  font-size: 40px;
}

.rendered-document ul {
  color: var(--muted);
  line-height: 2;
}

.rendered-document code {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 2px 6px;
  color: #f2d7a5;
  background: rgba(0,0,0,.18);
}

.productivity-grid,
.testimonial-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.motion-card {
  min-height: 260px;
  padding: 26px;
}

.keycap {
  display: inline-grid;
  min-width: 54px;
  height: 42px;
  place-items: center;
  margin-bottom: 54px;
  border: 1px solid rgba(255,255,255,.16);
  border-bottom-color: rgba(0,0,0,.45);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.055));
  box-shadow: 0 10px 24px rgba(0,0,0,.26);
  color: #f3dfbc;
  font-weight: 850;
}

.theme-showcase {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 16px;
  background: rgba(255,255,255,.055);
}

.theme-controls {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 16px;
  padding: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
}

.theme-window {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: #10100f;
  transition: 400ms ease;
}

.theme-showcase.light .theme-window {
  background: #f2eee6;
  color: #171411;
}

.theme-showcase.light .theme-window p,
.theme-showcase.light .theme-window .theme-lines span {
  color: #676058;
}

.theme-showcase.light .theme-window pre {
  background: #fffaf0;
  color: #2b2118;
}

.theme-copy h3 {
  max-width: 560px;
  font-size: clamp(32px, 4vw, 58px);
}

.theme-lines {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.theme-lines span {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: rgba(255,255,255,.12);
}

.theme-lines span:nth-child(2) {
  width: 72%;
}

.theme-lines span:nth-child(3) {
  width: 48%;
}

.export-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 60px;
  align-items: center;
}

.pdf-stack {
  position: relative;
  min-height: 520px;
}

.pdf-page {
  position: absolute;
  inset: 0 70px 0 auto;
  width: min(410px, 78vw);
  border-radius: 18px;
  background: #f7f1e7;
  box-shadow: 0 34px 80px rgba(0,0,0,.42);
}

.page-back {
  transform: rotate(-8deg) translate(-34px, 28px);
  background: #d8cfbf;
  opacity: 0.72;
}

.page-front {
  padding: 42px;
  color: #17130f;
  transform: rotate(3deg);
}

.doc-kicker {
  color: #8c6f40;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-front h3 {
  margin-top: 22px;
  color: #17130f;
  font-size: 42px;
}

.page-front p {
  color: #645d54;
}

.pdf-rule {
  height: 1px;
  margin: 34px 0;
  background: #d8cdb9;
}

.pdf-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pdf-table span {
  height: 56px;
  border-radius: 10px;
  background: #e7ddce;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line-soft);
}

.stat {
  min-height: 150px;
  padding: 26px;
  background: rgba(255,255,255,.045);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  color: #ffe0aa;
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: -0.04em;
}

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

.testimonial {
  padding: 24px;
}

.avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.32), transparent 38%),
    linear-gradient(145deg, #b9945f, #51483d);
  font-weight: 900;
}

.testimonial strong {
  display: block;
  margin-top: 22px;
}

.testimonial span {
  color: var(--faint);
  font-size: 14px;
}

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

.price-card {
  padding: 28px;
}

.price-card.unavailable::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 32%),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,.035) 0 1px,
      transparent 1px 12px
    );
  opacity: 0.58;
}

.price-card.unavailable h3,
.price-card.unavailable .price,
.price-card.unavailable ul,
.price-card.unavailable > span:not(.button) {
  opacity: 0.62;
}

.price-card.featured {
  border-color: rgba(255, 216, 153, 0.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 185, 134, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
  transform: translateY(-18px);
}

.popular {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(216, 185, 134, 0.12);
  color: #f3d7a7;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.muted-badge {
  background: rgba(255,255,255,.07);
  color: var(--muted);
}

.price {
  margin: 20px 0 4px;
  color: var(--text);
  font-size: 56px;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.price span {
  color: var(--muted);
  font-size: 18px;
  letter-spacing: 0;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.price-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--warm-bright);
}

.button-disabled {
  cursor: not-allowed;
  color: var(--faint);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.button-disabled::before {
  display: none;
}

.button-disabled:hover {
  transform: none;
}

.final-cta {
  padding: 80px 0 110px;
}

.cta-inner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 216, 153, 0.2);
  border-radius: 32px;
  padding: clamp(36px, 8vw, 86px);
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 216, 153, 0.28), transparent 26rem),
    radial-gradient(circle at 20% 80%, rgba(159, 201, 180, 0.13), transparent 22rem),
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  max-width: 760px;
}

.cta-inner p:not(.eyebrow) {
  max-width: 560px;
  font-size: 18px;
}

.footer {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 34px 0 98px;
  color: var(--faint);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer a:hover {
  color: var(--text);
}

.footer p {
  margin: 0;
  color: var(--faint);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 980px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .desktop-nav {
    display: none;
  }

  .hero-grid,
  .export-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 560px;
  }

  .hero-window {
    inset-inline: 0;
    transform: none;
  }

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

  .split-demo,
  .theme-window {
    grid-template-columns: 1fr;
  }

  .typing-source {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

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

  .price-card.featured {
    transform: none;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .header-action {
    display: none;
  }

  .brand {
    font-size: 14px;
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    padding-top: 104px;
  }

  h1 {
    font-size: clamp(48px, 18vw, 72px);
  }

  h2 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .hero-stage {
    min-height: 500px;
  }

  .workspace-ui,
  .editor-preview-grid {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: none;
  }

  .render-pane {
    display: none;
  }

  .floating-chip {
    display: none;
  }

  .feature-grid,
  .productivity-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.large {
    grid-column: auto;
  }

  .editor-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar-group {
    width: 100%;
  }

  .toolbar-group button {
    flex: 1;
  }

  .rendered-document,
  .code-pane,
  .typing-source,
  .theme-window pre {
    padding: 22px;
  }

  .pdf-stack {
    min-height: 460px;
  }

  .pdf-page {
    inset-inline: 0;
    margin: auto;
  }

  .dock-nav {
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
