:root {
  --bg: #f5f6f0;
  --surface: #fff;
  --ink: #172d27;
  --muted: #67716a;
  --line: #dce1d7;
  --accent: #c2f17a;
  --soft: #edf1e7;
  --green: #306345;
  --shadow: 0 24px 65px #27392712;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  line-height: 1.6;
}
:root[data-theme="dark"] {
  --bg: #14231e;
  --surface: #1e3028;
  --ink: #eef2e9;
  --muted: #adb9ac;
  --line: #37483b;
  --soft: #263b2e;
  --green: #c2f17a;
  --shadow: 0 24px 65px #0003;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
textarea:focus-visible {
  outline: 3px solid #6a9e52;
  outline-offset: 4px;
}
button {
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.wrap {
  max-width: 1320px;
  margin: auto;
  padding-left: 54px;
  padding-right: 54px;
}
.nav {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -1.4px;
  gap: 9px;
}
.brand-ai {
  font-weight: 400;
  margin-left: -8px;
}
.brand-mark {
  position: relative;
  background: var(--ink);
  color: var(--bg);
  width: 34px;
  height: 38px;
  border-radius: 10px 10px 3px 10px;
  display: grid;
  place-content: center;
  font-family: Georgia, serif;
  font-size: 33px;
  line-height: 1;
}
.brand-mark span {
  position: absolute;
  right: -5px;
  top: -8px;
  color: var(--green);
  font: 20px Arial;
}
.nav nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav nav {
  font-size: 12px;
}
.nav-actions {
  gap: 15px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 15px 23px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 24px #203b2522;
}
.button.dark {
  background: var(--ink);
  color: var(--bg);
}
.button.small {
  padding: 12px 17px;
  font-size: 11px;
}
.button.mint {
  background: var(--accent);
  color: #172d27;
}
.icon-button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 19px;
  display: inline-grid;
  place-content: center;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 58px;
  padding-top: 57px;
  padding-bottom: 75px;
  align-items: center;
}
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #70a650;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(58px, 6.3vw, 88px);
  letter-spacing: -5px;
  line-height: 1.03;
  font-weight: 500;
  position: relative;
  margin: 30px 0 25px;
}
.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -2px;
}
.hero h1 .serif {
  color: var(--green);
}
.hero-star {
  display: inline-block;
  font-size: 75px;
  color: #91b869;
  margin-left: 22px;
  vertical-align: middle;
  animation: turn-in 1.3s ease-out both;
}
.intro {
  font-size: 15px;
  color: var(--muted);
  max-width: 350px;
  line-height: 1.85;
}
.actions {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 30px;
}
.text-link {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-foot {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 33px;
}
.mini-icon {
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-size: 12px;
}
.hero-foot p {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.hero-foot strong {
  font-weight: 500;
  color: var(--ink);
}
.studio-stage {
  position: relative;
}
.stage-label {
  font-size: 8px;
  letter-spacing: 1.3px;
  display: flex;
  justify-content: space-between;
  margin: 0 4px 13px;
  color: var(--muted);
}
.stage-label > span:last-child {
  font-size: 25px;
  line-height: 1;
}
.editor-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.editor-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  gap: 8px;
}
.studio-brand {
  font-size: 12px;
  font-weight: 600;
}
.studio-brand > span {
  margin-right: 6px;
  color: var(--green);
  font-size: 18px;
}
.editor-bar > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.editor-bar .icon-button {
  border: 0;
  font-size: 20px;
  width: 25px;
  height: 25px;
}
.pill {
  font-size: 7px;
  letter-spacing: 0.7px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.pill .live-dot {
  width: 4px;
  height: 4px;
}
.scenario-bar {
  display: flex;
  gap: 5px;
  padding: 15px 20px 3px;
  flex-wrap: wrap;
}
.scenario-bar button {
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 9px;
  background: transparent;
  color: var(--muted);
}
.scenario-bar button[aria-pressed="true"] {
  background: var(--soft);
  color: var(--ink);
  border-color: var(--line);
}
.scenario-bar button:hover {
  color: var(--green);
  background: var(--soft);
}
.editor-content {
  padding: 21px 22px 0;
}
.editor-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.editor-heading label {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.3;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 9px;
  padding: 5px 0;
  white-space: nowrap;
}
textarea {
  width: 100%;
  min-height: 120px;
  height: 151px;
  resize: vertical;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.85;
  padding: 8px 0;
  margin-top: 13px;
}
textarea:focus-visible {
  outline-offset: 2px;
}
.editor-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 8px;
  color: var(--muted);
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.review {
  background: var(--soft);
  border-top: 1px solid var(--line);
  padding: 17px 21px;
}
.review-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.review h2 {
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}
.review h2 > span:first-child {
  font-size: 16px;
  color: var(--green);
}
#issue-count {
  display: inline-grid;
  place-content: center;
  width: 17px;
  height: 17px;
  background: var(--surface);
  border-radius: 50%;
  font-size: 8px;
}
#undo {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 9px;
  padding: 5px 0;
}
#status {
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  margin: 7px 0 10px;
}
.suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-left: 3px solid #9db868;
  border-radius: 6px;
  background: var(--surface);
  margin-top: 7px;
  animation: slide-in 0.25s ease-out;
}
.suggestion strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
}
.suggestion p {
  font-size: 9px;
  color: var(--muted);
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.suggestion button {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  font-size: 9px;
  padding: 6px 10px;
  transition: background 0.15s;
}
.suggestion button:hover {
  background: var(--accent);
  color: #172d27;
}
#empty-state {
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}
#empty-state:not([hidden]) {
  display: flex;
}
#empty-state > span {
  background: var(--accent);
  color: #172d27;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-content: center;
}
#empty-state p {
  font-size: 11px;
  margin: 0;
}
#empty-state small {
  font-size: 9px;
  color: var(--muted);
}
.studio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 21px;
  font-size: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.studio-footer .live-dot {
  width: 4px;
  height: 4px;
  margin-right: 5px;
}
.demo-note {
  margin: 0;
  padding: 9px 21px 12px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.7;
  border-top: 1px solid var(--line);
}
.stage-caption {
  display: flex;
  gap: 9px;
  justify-content: center;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
  padding-top: 16px;
}
.stage-caption > span {
  font-size: 18px;
}
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip > p {
  font-size: 8px;
  letter-spacing: 1px;
  line-height: 1.8;
  color: var(--muted);
}
.trust-strip > p strong {
  color: var(--ink);
  font-weight: 500;
}
.trust-strip > div {
  display: flex;
  flex-direction: column;
}
.trust-strip > div strong {
  font-size: 26px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -1px;
}
.trust-strip > div span {
  font-size: 9px;
  color: var(--muted);
}
.features {
  padding-top: 88px;
  padding-bottom: 90px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 35px;
}
h2 {
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: -1.8px;
  font-weight: 500;
  margin: 16px 0;
}
.section-heading > p {
  max-width: 245px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 21px;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 25px;
  background: var(--surface);
  overflow: hidden;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.feature-icon {
  font-size: 20px;
  color: var(--green);
}
.card-number {
  font-size: 9px;
  color: var(--muted);
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.35;
  margin: 14px 0 12px;
}
.feature-card > p,
.language p:not(.eyebrow) {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.example-card {
  background: var(--soft);
  padding: 18px 16px;
  border-radius: 7px;
  margin-top: 23px;
}
.example-label {
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--muted);
}
.example-card p {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.8;
  margin: 10px 0;
}
.example-card del {
  color: var(--muted);
  text-decoration-color: #b57354;
}
.example-card ins {
  background: var(--accent);
  color: #172d27;
  padding: 2px 5px;
  text-decoration: none;
}
.example-caption {
  font-size: 8px;
  color: var(--green);
}
.tone {
  background: #e8eddf;
  color: #172d27;
}
.tone .card-top,
.tone > p {
  color: #54634e;
}
.tone .feature-icon {
  color: #376345;
}
.tone-cloud {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 30px;
  transform: rotate(-4deg);
  padding: 8px 0;
}
.tone-cloud span {
  background: #f9fbf4;
  border: 1px solid #d7dfc9;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 11px;
}
.tone-cloud span:nth-child(3) {
  background: #233b2d;
  color: #fff;
}
.tone-cloud span:last-child {
  margin-left: 35px;
}
.feature-card .card-note {
  font-size: 9px;
  margin-top: 27px;
}
.keys {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 47px 0 35px;
}
.keys > span {
  font-size: 10px;
  color: var(--muted);
}
kbd {
  padding: 11px 13px;
  border: 1px solid var(--line);
  box-shadow: 0 3px 0 var(--line);
  border-radius: 6px;
  background: var(--bg);
  font-size: 13px;
}
.language {
  grid-column: 1/-1;
  background: var(--soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 38px;
  gap: 30px;
}
.language h3 {
  font-size: 27px;
  letter-spacing: -1px;
}
.language .eyebrow {
  font-size: 8px;
}
.language-orbit {
  width: 52%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  transform: rotate(-5deg);
}
.language-orbit span {
  font-family: Georgia, serif;
  font-style: italic;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 14px 27px;
  font-size: 26px;
  background: var(--surface);
}
.language-orbit span:first-child {
  background: var(--accent);
  color: #172d27;
}
.language-orbit span:nth-child(3) {
  font-size: 37px;
}
.install-section {
  background: #192f25;
  color: #f2f5ea;
}
.install {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  padding-top: 68px;
  padding-bottom: 68px;
}
.install .eyebrow {
  color: #b8d79b;
}
.install h2 {
  font-size: 48px;
  margin: 24px 0;
}
.install h2 .serif {
  color: #c2f17a;
}
.install > div > p:not(.eyebrow) {
  max-width: 300px;
  font-size: 12px;
  line-height: 1.85;
  color: #b2c0b1;
}
.install .button {
  margin-top: 15px;
}
.install > div .install-note {
  font-size: 9px;
  margin-top: 17px;
}
.install ol {
  list-style: none;
  padding: 13px 0 0;
  margin: 0;
}
.install li {
  display: flex;
  align-items: flex-start;
  gap: 23px;
  padding: 28px 0;
  border-bottom: 1px solid #3a4a3d;
}
.install li:first-child {
  padding-top: 0;
}
.install li:last-child {
  border: 0;
}
.step-number {
  font-size: 11px;
  color: #c2f17a;
  border: 1px solid #566c48;
  border-radius: 50%;
  min-width: 31px;
  height: 31px;
  display: grid;
  place-content: center;
}
.install li h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  margin: 3px 0 12px;
}
.install li p {
  font-size: 11px;
  color: #b2c0b1;
  line-height: 1.9;
  margin: 0;
}
.install li strong {
  font-weight: 500;
  color: #e4ebdc;
}
code {
  font-size: 10px;
  color: #d4e4c5;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
  padding-top: 85px;
  padding-bottom: 70px;
}
.faq-list {
  padding-top: 7px;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 21px 30px 21px 0;
  font-size: 12px;
  position: relative;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 17px;
  font-size: 20px;
  color: var(--green);
}
details[open] summary:after {
  content: "−";
}
details p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0 20px 20px 0;
}
.closing {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 70px;
}
.closing > span {
  display: block;
  color: var(--green);
  font-size: 58px;
  line-height: 1;
}
.closing h2 {
  font-size: 50px;
  margin: 22px 0 27px;
}
footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
footer .brand {
  font-size: 22px;
}
footer > span,
footer > div {
  font-size: 9px;
  color: var(--muted);
}
footer > div {
  display: flex;
  gap: 20px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  background: var(--surface);
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
.focus-mode {
  overflow: hidden;
}
.focus-mode .editor-shell {
  position: fixed;
  inset: 3vh max(20px, calc((100vw - 820px) / 2));
  z-index: 100;
  overflow: auto;
  box-shadow: 0 0 0 100vmax #091910df;
}
.focus-mode textarea {
  height: 35vh;
}
.focus-mode .studio-stage {
  z-index: 50;
}
.focus-mode .editor-heading label {
  font-size: 23px;
}
.focus-mode .editor-content {
  padding-top: 26px;
}
.focus-mode .editor-shell:focus {
  outline: 0;
}
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes turn-in {
  from {
    opacity: 0;
    transform: rotate(-55deg) scale(0.7);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 95px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    padding-left: 30px;
    padding-right: 30px;
  }
  .nav nav {
    gap: 15px;
  }
  .nav-actions {
    gap: 10px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 69px;
  }
  .hero-star {
    font-size: 53px;
    margin-left: 12px;
  }
  .actions {
    gap: 14px;
  }
  .text-link {
    font-size: 10px;
  }
  .editor-heading label {
    font-size: 15px;
  }
  .feature-card {
    padding: 20px;
  }
  .bento-grid {
    gap: 12px;
  }
  .install {
    gap: 50px;
  }
  .keys {
    gap: 7px;
  }
  kbd {
    padding: 10px;
  }
  .faq {
    gap: 40px;
  }
}
@media (max-width: 800px) {
  .nav nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 25px;
  }
  .hero-copy {
    max-width: 570px;
  }
  .hero h1 {
    font-size: 80px;
  }
  .hero h1 br:nth-child(2) {
    display: none;
  }
  .hero-star {
    font-size: 65px;
  }
  .intro {
    max-width: 440px;
  }
  .studio-stage {
    max-width: 600px;
    width: 100%;
    margin: auto;
  }
  .hero-foot {
    margin-top: 23px;
  }
  .editor-heading label {
    font-size: 18px;
  }
  .editor-shell textarea {
    font-size: 14px;
  }
  .trust-strip {
    flex-wrap: wrap;
    gap: 20px;
  }
  .trust-strip > p {
    width: 100%;
    margin: 0;
  }
  .trust-strip > div {
    min-width: 18%;
  }
  .features {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .control {
    grid-column: 1/-1;
  }
  .control .keys {
    justify-content: flex-start;
    margin: 22px 0;
  }
  .control .card-note {
    margin-top: 18px;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .section-heading > p {
    max-width: 180px;
  }
  .language {
    padding: 25px;
  }
  .language-orbit span {
    padding: 10px 20px;
    font-size: 22px;
  }
  .install {
    gap: 30px;
  }
  .install h2 {
    font-size: 40px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 60px;
  }
  .faq h2 br {
    display: none;
  }
  footer {
    flex-wrap: wrap;
  }
  .focus-mode .editor-shell {
    inset: 12px;
  }
}
@media (max-width: 500px) {
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
  .nav {
    height: 88px;
    gap: 10px;
  }
  .brand {
    font-size: 25px;
  }
  .brand-mark {
    width: 29px;
    height: 32px;
    font-size: 28px;
  }
  .nav .button {
    font-size: 9px;
    padding: 10px 12px;
    gap: 8px;
  }
  .nav-actions {
    gap: 9px;
  }
  .icon-button {
    width: 29px;
    height: 29px;
  }
  .hero {
    padding-top: 24px;
    padding-bottom: 44px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .hero h1 {
    font-size: 64px;
    letter-spacing: -3px;
    margin-top: 26px;
  }
  .hero h1 br:nth-child(2) {
    display: block;
  }
  .hero-star {
    font-size: 55px;
    margin-left: 15px;
  }
  .intro {
    font-size: 14px;
  }
  .actions {
    gap: 17px;
  }
  .actions .button {
    font-size: 11px;
    padding: 13px 17px;
    gap: 15px;
  }
  .text-link {
    font-size: 9px;
    gap: 6px;
  }
  .stage-label {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .editor-bar {
    padding: 14px;
  }
  .studio-brand {
    font-size: 11px;
  }
  .pill {
    font-size: 6px;
  }
  .scenario-bar {
    padding: 12px 12px 3px;
    gap: 2px;
  }
  .scenario-bar button {
    padding: 6px 9px;
  }
  .editor-content {
    padding: 18px 16px 0;
  }
  .editor-heading {
    align-items: flex-start;
  }
  .editor-heading label {
    max-width: 170px;
    font-size: 17px;
  }
  .text-button {
    font-size: 8px;
  }
  textarea {
    height: 176px;
  }
  .review {
    padding: 14px 15px;
  }
  .review h2 {
    font-size: 9px;
    gap: 5px;
  }
  .demo-note {
    font-size: 8px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .studio-footer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .stage-caption {
    font-size: 8px;
  }
  .trust-strip {
    gap: 23px;
  }
  .trust-strip > div {
    width: 40%;
  }
  .trust-strip > div strong {
    font-size: 30px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .section-heading > p {
    max-width: 290px;
    margin-top: 20px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature-card {
    padding: 25px;
  }
  .feature-card h3 {
    font-size: 21px;
  }
  .feature-card > p {
    font-size: 12px;
  }
  .control,
  .language {
    grid-column: auto;
  }
  .language {
    display: block;
  }
  .language-orbit {
    width: 100%;
    margin-top: 25px;
    gap: 9px;
  }
  .language-orbit span {
    font-size: 22px;
    padding: 8px 18px;
  }
  .install {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 45px;
    padding-bottom: 40px;
  }
  .install h2 {
    font-size: 48px;
  }
  .install li p {
    font-size: 12px;
  }
  .install li {
    gap: 17px;
  }
  .faq h2 {
    font-size: 32px;
  }
  .closing h2 {
    font-size: 40px;
  }
  .closing {
    padding-bottom: 50px;
  }
  footer > div {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .focus-mode .editor-heading label {
    font-size: 18px;
  }
}
@media (max-width: 350px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .nav .button {
    padding: 10px 8px;
    font-size: 8px;
  }
  .nav-actions {
    gap: 6px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .actions {
    gap: 10px;
  }
  .actions .button {
    padding: 13px;
    font-size: 10px;
  }
  .text-link {
    font-size: 8px;
  }
  .editor-heading label {
    max-width: 140px;
  }
  .studio-brand {
    font-size: 10px;
  }
  .review h2 {
    font-size: 8px;
  }
  .review-heading {
    gap: 6px;
  }
  .trust-strip > div span {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
/* Legibility and touch targets in the live editor. */
.review h2 {
  letter-spacing: normal;
  line-height: 1.4;
  font-size: 11px;
}
#status {
  font-size: 10px;
}
.suggestion strong {
  font-size: 11px;
}
.suggestion p,
.suggestion button {
  font-size: 10px;
}
.suggestion button {
  min-height: 32px;
}
.editor-meta,
.studio-footer,
.demo-note {
  font-size: 9px;
}
.scenario-bar button {
  font-size: 10px;
  min-height: 32px;
}
.text-button,
#undo {
  font-size: 10px;
  min-height: 30px;
}
.feature-card.is-revealed {
  animation: reveal-card 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes reveal-card {
  from {
    opacity: 0.5;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 500px) {
  .editor-meta {
    font-size: 8px;
  }
  .review h2 {
    font-size: 10px;
  }
  .editor-heading .text-button {
    font-size: 8px;
  }
  .scenario-bar button {
    padding-left: 8px;
    padding-right: 8px;
  }
  .demo-note {
    font-size: 9px;
  }
}
/* Editor-first presentation inspired by the reference, with Escrita IA branding. */
:root {
  --bg: #f7f9fe;
  --ink: #182844;
  --muted: #61718a;
  --line: #dce3ef;
  --accent: #d6e9ff;
  --soft: #f0f5fd;
  --green: #235bce;
  --shadow: 0 18px 55px #274b8812;
}
:root[data-theme="dark"] {
  --bg: #121c2d;
  --surface: #1b2940;
  --ink: #edf3ff;
  --muted: #adbed6;
  --line: #34435c;
  --soft: #21314b;
  --green: #9fbfff;
  --accent: #274c7d;
}
.nav {
  height: 90px;
}
.nav nav {
  font-size: 13px;
}
.brand-mark {
  background: #2463d7;
  color: white;
}
.brand-mark span {
  color: #2463d7;
}
.button.dark {
  background: #2463d7;
  color: #fff;
}
.button.dark:hover {
  background: #174eae;
}
.hero {
  display: block;
  padding-top: 37px;
  padding-bottom: 47px;
}
.hero-copy {
  text-align: center;
  max-width: 800px;
  margin: auto;
}
.hero-copy .eyebrow {
  justify-content: center;
  font-size: 10px;
}
.hero h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 48px;
  font-weight: 650;
  line-height: 1.13;
  letter-spacing: -1.9px;
  margin: 19px 0;
}
.hero h1 span {
  color: var(--green);
}
.hero h1 br {
  display: block !important;
}
.hero .intro {
  max-width: 620px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
}
.hero .actions {
  justify-content: center;
  margin-top: 23px;
}
.hero .hero-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
  margin: 15px 0 28px;
}
.studio-stage {
  max-width: none;
  width: 100%;
  margin: 0;
}
.editor-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  text-align: left;
  border-radius: 12px;
  overflow: hidden;
}
.editor-bar {
  grid-column: 1/-1;
  padding: 13px 22px;
  min-height: 59px;
  background: var(--surface);
}
.studio-brand {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.studio-brand > span:first-child {
  font-size: 22px;
}
.language-chip {
  font-size: 10px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 12px;
  margin-left: 7px;
  font-weight: 400;
}
.pill {
  font-size: 9px;
  letter-spacing: 0.5px;
}
.editor-bar .icon-button {
  height: 32px;
  width: 32px;
}
.workspace-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.scenario-bar {
  padding: 16px 22px;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.scenario-bar > span {
  font-size: 11px;
  color: var(--muted);
  margin-right: 5px;
}
.scenario-bar button {
  font-size: 11px;
  padding: 5px 10px;
}
.editor-content {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.editor-heading {
  padding: 18px 24px 0;
  align-items: center;
}
.editor-heading label {
  font:
    500 13px/1.5 Arial,
    Helvetica,
    sans-serif;
  max-width: none;
  color: var(--muted);
}
.text-button,
#undo {
  font-size: 11px;
  min-height: 32px;
}
.writing-surface {
  position: relative;
  isolation: isolate;
  margin: 8px 0 0;
  flex: 1;
  min-height: 270px;
}
.writing-surface textarea,
#highlight-text {
  font:
    16px/1.9 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: normal;
  word-spacing: normal;
  tab-size: 8;
  text-align: left;
  padding: 20px 24px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: normal;
  border: 0;
  margin: 0;
  box-sizing: border-box;
}
.writing-surface textarea {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 270px;
  resize: none;
  position: relative;
  z-index: 1;
  background: transparent;
  color: var(--ink);
}
.writing-surface textarea:focus-visible {
  outline: 2px solid #77a3f1;
  outline-offset: -3px;
  border-radius: 3px;
}
.writing-surface textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}
#highlights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
#highlight-text {
  color: transparent;
  min-height: 100%;
}
#highlight-text mark {
  color: transparent;
  background: #fce1db;
  border-bottom: 2px solid #d45c49;
  border-radius: 2px;
}
#highlight-text mark.typography {
  background: #dfebff;
  border-color: #628cdc;
}
:root[data-theme="dark"] #highlight-text mark {
  background: #674038;
  border-color: #ffa18d;
}
:root[data-theme="dark"] #highlight-text mark.typography {
  background: #2e4d78;
  border-color: #9dc1ff;
}
.editor-meta {
  padding: 13px 24px;
  font-size: 11px;
  margin: 0;
}
.studio-footer {
  padding: 10px 24px;
  font-size: 11px;
  background: var(--surface);
  gap: 14px;
}
.studio-footer > div {
  display: flex;
  align-items: center;
  gap: 19px;
}
.studio-footer #copy {
  background: #e9f0fd;
  color: #2457b9;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
}
.review {
  border-top: 0;
  border-left: 1px solid var(--line);
  padding: 22px;
  background: var(--soft);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.review-heading {
  gap: 10px;
}
.review h2 {
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1.5;
  gap: 8px;
}
.review h2 > span:first-child {
  font-size: 18px;
}
#issue-count {
  width: 23px;
  height: 23px;
  font-size: 11px;
  border: 1px solid var(--line);
}
.auto-label {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.issue-filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  padding: 17px 0 0;
}
.issue-filters button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 6px;
  font-size: 10px;
  color: var(--muted);
  min-height: 32px;
}
.issue-filters button > span {
  font-size: 9px;
  margin-left: 3px;
}
.issue-filters button[aria-pressed="true"] {
  border-color: var(--line);
  background: var(--surface);
  color: var(--green);
  font-weight: 600;
}
#status {
  font-size: 11px;
  line-height: 1.65;
  margin: 15px 0 8px;
}
.suggestion {
  display: block;
  padding: 14px;
  border-left: 3px solid #d97969;
  margin-top: 10px;
  position: relative;
  animation: slide-in 0.2s ease-out;
}
.suggestion[data-category="typography"] {
  border-left-color: #6b91dd;
}
.suggestion strong {
  font-size: 12px;
  font-weight: 600;
}
.suggestion p {
  font-size: 12px;
  line-height: 1.7;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.suggestion .explanation {
  font-size: 10px;
  margin: 4px 0 10px;
  color: var(--muted);
}
.suggestion-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.suggestion button {
  font-size: 11px;
  padding: 6px 10px;
  min-height: 33px;
}
.suggestion .locate {
  background: transparent;
  border: 0;
  padding-left: 0;
  font-size: 10px;
  color: var(--muted);
}
.suggestion .apply {
  color: var(--green);
  border-color: var(--line);
  background: var(--soft);
  font-weight: 600;
}
.suggestion button:hover {
  background: var(--accent);
  color: var(--ink);
}
#empty-state {
  padding: 15px 0;
}
#empty-state p {
  font-size: 12px;
}
#empty-state small {
  font-size: 10px;
}
.extension-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}
.extension-tip > span {
  color: var(--green);
  font-size: 22px;
}
.extension-tip strong {
  font-size: 11px;
  font-weight: 600;
}
.extension-tip p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 7px 0;
}
.extension-tip a {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
}
.demo-note {
  grid-column: 1/-1;
  font-size: 10px;
  padding: 12px 22px;
  line-height: 1.7;
  background: var(--surface);
}
.demo-note > span {
  margin-right: 5px;
  color: var(--green);
}
.stage-caption {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  font-size: 10px;
  padding: 16px 4px;
  color: var(--muted);
}
.legend-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  display: inline-block;
}
.legend-dot.repetition {
  background: #d97969;
}
.legend-dot.spacing {
  background: #6b91dd;
  margin-left: 15px;
}
.caption-end {
  margin-left: auto;
}
.tone {
  background: #eaf1fd;
  color: #182844;
}
.tone .card-top,
.tone > p {
  color: #526b91;
}
.tone .feature-icon {
  color: #235bce;
}
.tone-cloud span {
  background: #fff;
  border-color: #cfdcf1;
}
.tone-cloud span:nth-child(3) {
  background: #235bce;
}
.example-card ins {
  background: #d6e9ff;
  color: #182844;
}
.language-orbit span:first-child {
  background: #d6e9ff;
  color: #182844;
}
.install-section {
  background: #192f51;
}
.install .eyebrow {
  color: #b2c9ff;
}
.install h2 .serif {
  color: #c0d5ff;
}
.button.mint {
  background: #d6e9ff;
  color: #142e52;
}
.step-number {
  color: #d6e9ff;
  border-color: #6782ad;
}
.install li {
  border-color: #3a5275;
}
.install > div > p:not(.eyebrow),
.install li p {
  color: #c1cddd;
}
.install li strong,
code {
  color: #edf3ff;
}
.focus-mode .editor-shell {
  inset: 3vh max(20px, calc((100vw - 1140px) / 2));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  box-shadow: 0 0 0 100vmax #09172ce8;
}
.focus-mode .writing-surface {
  min-height: 180px;
}
.focus-mode textarea {
  height: 100%;
  min-height: 180px;
}
.focus-mode .editor-content {
  padding-top: 0;
  min-height: 0;
}
.focus-mode .editor-heading label {
  font: 500 13px/1.5 Arial;
}
.focus-mode .review {
  overflow: auto;
}
.focus-mode .workspace-left {
  min-height: 0;
}
.focus-mode .writing-surface {
  overflow: hidden;
}
@media (max-width: 1050px) {
  .hero h1 {
    font-size: 45px;
  }
  .editor-shell {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .review {
    padding: 18px;
  }
  .scenario-bar {
    gap: 3px;
    padding: 14px 18px;
  }
  .scenario-bar > span {
    display: none;
  }
  .editor-heading {
    padding-left: 20px;
    padding-right: 20px;
  }
  .editor-heading label {
    font-size: 12px;
  }
  .editor-meta {
    font-size: 10px;
  }
}
@media (max-width: 800px) {
  .nav {
    height: 82px;
  }
  .hero {
    padding-top: 28px;
  }
  .hero-copy {
    max-width: 650px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .studio-stage {
    max-width: none;
  }
  .editor-shell {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .review {
    padding: 15px;
  }
  .editor-heading {
    flex-wrap: wrap;
    gap: 2px;
  }
  .writing-surface textarea,
  #highlight-text {
    font-size: 15px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .editor-meta {
    padding-left: 18px;
    padding-right: 18px;
    font-size: 9px;
  }
  .studio-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .studio-footer > div {
    gap: 10px;
  }
  .review h2 {
    font-size: 14px;
  }
  .issue-filters {
    gap: 1px;
  }
  .issue-filters button {
    font-size: 9px;
    padding: 5px;
  }
  .caption-end {
    display: none;
  }
  .focus-mode .editor-shell {
    inset: 10px;
  }
  .focus-mode .editor-heading label {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  .hero h1 {
    font-size: 37px;
    letter-spacing: -1.3px;
  }
  .hero .intro {
    font-size: 14px;
  }
  .hero .hero-foot {
    font-size: 10px;
    gap: 6px;
  }
  .editor-shell {
    grid-template-columns: 1fr;
  }
  .review {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px;
  }
  .editor-bar {
    padding: 12px 17px;
  }
  .studio-brand {
    font-size: 12px;
    gap: 5px;
  }
  .studio-brand > span:first-child {
    font-size: 18px;
  }
  .language-chip {
    font-size: 9px;
    padding-left: 8px;
    margin-left: 4px;
  }
  .pill {
    font-size: 7px;
  }
  .scenario-bar > span {
    display: inline;
    font-size: 10px;
  }
  .scenario-bar {
    padding: 12px 16px;
    gap: 4px;
  }
  .scenario-bar button {
    font-size: 10px;
    padding: 4px 7px;
  }
  .editor-heading {
    padding: 17px 18px 0;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .editor-heading label {
    font-size: 12px;
    max-width: 190px;
  }
  .editor-heading .text-button {
    font-size: 9px;
  }
  .writing-surface {
    min-height: 230px;
  }
  .writing-surface textarea {
    min-height: 230px;
  }
  .editor-meta {
    font-size: 10px;
  }
  .review h2 {
    font-size: 15px;
  }
  .issue-filters {
    gap: 6px;
  }
  .issue-filters button {
    font-size: 11px;
    padding: 6px 9px;
  }
  .suggestion {
    padding: 13px;
  }
  .suggestion strong,
  .suggestion p {
    font-size: 13px;
  }
  .suggestion .explanation {
    font-size: 11px;
  }
  .suggestion button {
    min-height: 36px;
    font-size: 12px;
  }
  .suggestion .locate {
    font-size: 11px;
  }
  .extension-tip p,
  .extension-tip strong,
  .extension-tip a {
    font-size: 12px;
  }
  .demo-note {
    padding: 12px 18px;
    font-size: 10px;
  }
  .stage-caption {
    font-size: 9px;
    gap: 6px;
  }
  .focus-mode .editor-shell {
    display: block;
    overflow: auto;
  }
  .focus-mode .writing-surface {
    min-height: 230px;
    height: 35vh;
  }
  .focus-mode .editor-content {
    min-height: auto;
  }
  .focus-mode .review {
    overflow: visible;
  }
  .focus-mode .editor-heading label {
    font-size: 12px;
  }
}
@media (max-width: 350px) {
  .hero h1 {
    font-size: 33px;
  }
  .hero .hero-foot {
    font-size: 9px;
  }
  .scenario-bar > span {
    display: none;
  }
  .studio-brand {
    font-size: 11px;
  }
  .language-chip {
    font-size: 8px;
  }
  .editor-bar {
    padding: 12px;
  }
  .pill {
    font-size: 6px;
  }
  .editor-heading label {
    max-width: 140px;
  }
  .studio-footer #copy {
    padding: 5px 8px;
    font-size: 10px;
  }
  .studio-footer {
    gap: 8px;
  }
  .stage-caption {
    font-size: 8px;
  }
  .issue-filters button {
    font-size: 10px;
  }
}
.studio-brand .language-chip { font-size: 10px; color: var(--muted); }
