/* Small, dependency-free design system. */
:root {
  color-scheme: light;
  --paper: #fff;
  --background: #faf9fd;
  --ink: #292534;
  --muted: #75717f;
  --purple: #7762d7;
  --purple-dark: #604bbd;
  --purple-pale: #f0ecfc;
  --line: #e9e6ef;
  --green: #487d69;
  --radius: 20px;
  --font: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, textarea, select { font: inherit; }
button, a, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button, textarea { border-radius: 0; }
button { border: 0; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
textarea:focus-visible { outline: 2px solid #b7a9ee; outline-offset: -2px; border-radius: 8px; }
::selection { background: #e4dcff; color: #33275a; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; }
.container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 20; padding: 10px 20px; border-radius: 8px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.3; transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.button-small { min-height: 42px; padding: 10px 17px; font-size: 13px; }
.button .icon { width: 17px; height: 17px; }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #48414f; }
.button-primary { background: var(--purple); color: white; }
.button-primary:hover:not(:disabled) { background: var(--purple-dark); }
.button-primary:disabled { color: #817795; background: #ece7f7; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 5px; background: transparent; border-radius: 6px; }
.icon-button:hover { background: #e5ddfa; }
.quiet-button { padding: 4px 0; background: transparent; color: var(--muted); font-size: 12px; }
.quiet-button:hover:not(:disabled) { color: var(--purple-dark); }
.quiet-button:disabled { color: #908797; }

/* Header and the writing workspace. */
.site-header { border-bottom: 1px solid #f0edf5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 22px; font-weight: 650; letter-spacing: -.9px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 11px; background: var(--purple); color: white; }
.brand-mark .icon { width: 25px; height: 25px; stroke-width: 1.8; }
.brand-dot { color: var(--purple); }
.desktop-nav { display: flex; gap: 33px; margin-left: auto; font-size: 13px; font-weight: 500; color: #625c6e; }
.desktop-nav a:hover, .footer-column a:hover { color: var(--purple-dark); }
.menu-toggle { display: none; }
.mobile-nav { padding: 8px 24px 20px; border-top: 1px solid var(--line); }
.mobile-nav a { padding: 12px 8px; }
.hero { padding-top: 40px; padding-bottom: 69px; text-align: center; }
h1 { font-size: clamp(38px, 4.8vw, 62px); letter-spacing: -2.7px; font-weight: 600; }
.mobile-break { display: none; }
.hero-description { max-width: 610px; margin: 18px auto 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.editor { margin-top: 37px; text-align: left; scroll-margin-top: 32px; }
.editor-panels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0fr); gap: 0; transition: grid-template-columns 300ms ease, gap 300ms ease; }
.editor-panels.is-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.editor-panel { display: flex; flex-direction: column; min-width: 0; border: 1px solid #cfc6df; border-radius: var(--radius); background: var(--paper); box-shadow: 0 7px 28px #49327507, 0 2px 4px #49327503; overflow: hidden; }
.source-panel:focus-within { border-color: #b8a9e8; box-shadow: 0 0 0 3px #a08ad50b, 0 7px 28px #49327507; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; padding: 17px 25px 11px; font-size: 14px; font-weight: 600; }
.panel-heading > .quiet-button { flex-shrink: 0; white-space: nowrap; }
.source-heading { display: flex; align-items: center; gap: 8px; min-width: 0; }
.source-heading .sample-button { flex-shrink: 0; white-space: nowrap; }
.source-example-divider { color: #cfc6df; font-weight: 400; }
textarea { display: block; width: calc(100% - 32px); min-height: 190px; height: 190px; margin: 0 16px; padding: 9px; resize: none; border: 0; background: transparent; color: var(--ink); line-height: 1.8; font-size: 16px; }
textarea::placeholder { color: #807887; opacity: 1; }
#source-text { flex: 1; }
#source-text::placeholder { color: #655d70; }
.input-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; min-height: 40px; padding: 3px 25px 10px; font-size: 12px; color: #797180; }
.sample-button { color: #74608f; font-size: 12px; }
.editor-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 80px; padding: 16px 20px; border-top: 1px solid #d8cfea; background: #f2eef9; }
.mode-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.mode-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 15px; border: 1px solid #ddd6e8; border-radius: 24px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease; }
.mode-chip .icon { width: 18px; height: 18px; color: #766583; }
.mode-chip:hover { background: #f6f3fc; border-color: #cfc2ef; color: var(--purple-dark); }
.mode-chip[aria-pressed="true"] { border-color: #b6a2e5; background: #e9e1f9; color: var(--purple-dark); font-weight: 600; }
.mode-chip[aria-pressed="true"] .icon { color: currentColor; }
.active-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; max-width: 100%; }
.selected-mode { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid #b6a2e5; border-radius: 24px; background: #e9e1f9; color: var(--purple-dark); font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: border-color 150ms ease, background-color 150ms ease; }
.selected-mode:hover { border-color: #aa95d1; background: #e2d7f6; }
.selected-mode[aria-expanded="true"] { border-color: var(--purple); background: #e2d7f6; }
.selected-mode > .icon { width: 18px; height: 18px; }
.selected-mode > .mode-chevron { width: 16px; height: 16px; margin-left: 4px; transition: transform 150ms ease; }
.selected-mode[aria-expanded="true"] .mode-chevron { transform: rotate(180deg); }
.paraphrase-settings { min-width: 0; }
.style-trigger { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 140px; min-height: 44px; padding: 10px 15px; border: 1px solid #d5cbe6; border-radius: 24px; background: var(--paper); color: #55416f; font-size: 14px; font-weight: 500; line-height: 1.2; transition: border-color 150ms ease, background-color 150ms ease; }
.style-trigger:hover { border-color: #aa95d1; background: #fcfaff; }
.style-trigger[aria-expanded="true"] { border-color: var(--purple); background: #fcfaff; }
.selected-mode:focus-visible, .style-trigger:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.style-chevron { width: 16px; height: 16px; color: #806b9e; transition: transform 150ms ease; }
.style-trigger[aria-expanded="true"] .style-chevron { transform: rotate(180deg); }
.picker-options { position: fixed; z-index: 100; width: 260px; padding: 6px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #e4dcef; border-radius: 16px; background: var(--paper); box-shadow: 0 12px 32px #29253420, 0 2px 6px #29253408; }
.picker-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.picker-option-compact { min-height: 44px; }
.picker-option:hover { background: #f7f4fc; }
.picker-option[aria-selected="true"] { background: var(--purple-pale); }
.picker-option:focus { outline: 2px solid #b4a2e7; outline-offset: -2px; background: #f7f4fc; }
.picker-option[aria-selected="true"]:focus { background: var(--purple-pale); }
.picker-option-icon { width: 18px; height: 18px; color: var(--purple-dark); }
.picker-option-text { flex: 1; min-width: 0; }
.picker-option-label { display: block; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.5; }
.picker-option-description { display: block; color: #71677f; font-size: 12px; line-height: 1.5; }
.picker-option-check { width: 18px; height: 18px; color: var(--purple-dark); visibility: hidden; }
.picker-option[aria-selected="true"] .picker-option-check { visibility: visible; }
.send-button { grid-column: 2; align-self: end; width: 48px; height: 48px; min-width: 48px; min-height: 48px; margin-left: auto; padding: 0; gap: 0; border-radius: 50%; }
.send-button .icon { width: 20px; height: 20px; stroke-width: 1.9; }
.result-panel { background: #fbfaff; border-color: #e2daf5; }
.result-badge { color: #776096; font-size: 12px; font-weight: 500; }
.result-body { position: relative; display: flex; flex: 1; min-height: 190px; }
.result-body textarea { flex: 1; }
.result-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 80px; padding: 16px 20px; border-top: 1px solid #d8cfea; background: #f2eef9; }
.result-toolbar > span { color: #766485; font-size: 11px; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.button-result { min-height: 44px; padding: 9px 13px; border-color: #d8cde7; background: white; color: #665278; font-size: 13px; white-space: nowrap; }
.button-result:hover:not(:disabled) { background: var(--purple-pale); }
.button-result:disabled { opacity: .5; }
.editor-status { padding-inline: 2px; color: var(--purple-dark); font-size: 12px; }
.editor-status:not(:empty) { padding-top: 10px; }
.spinner { display: inline-block; width: 16px; height: 16px; flex: 0 0 auto; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.loading-state { position: absolute; inset: 0; display: flex; align-content: flex-start; align-items: center; flex-wrap: wrap; gap: 10px; padding: 15px 25px; background: #fbfaff; color: #7b628e; font-size: 13px; }
.skeleton-lines { display: grid; flex-basis: 100%; gap: 16px; margin-top: 17px; }
.skeleton-lines span { height: 9px; border-radius: 6px; background: #eee7f7; animation: breathe 1.5s ease-in-out infinite; }
.skeleton-lines span:nth-child(2) { width: 89%; }
.skeleton-lines span:nth-child(3) { width: 64%; }

/* The writing examples are the illustration language of the page. */
.features { padding-top: 35px; padding-bottom: 75px; border-top: 1px solid #f0edf4; }
.section-intro { margin-bottom: 65px; text-align: center; }
h2 { font-size: clamp(30px, 3.3vw, 40px); letter-spacing: -1.5px; }
.section-intro p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.features > .section-intro { margin-top: 33px; margin-bottom: 12px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 95px; min-height: 420px; padding: 48px 35px; scroll-margin-top: 25px; }
.feature-row-reverse .feature-copy { order: 2; }
.feature-copy { max-width: 385px; }
.feature-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #826db6; font-size: 12px; font-weight: 600; }
.feature-label .icon { width: 19px; height: 19px; }
.label-rose { color: #ac6e7a; }
.label-green { color: #638a76; }
.label-amber { color: #a2844f; }
.label-blue { color: #6d8aaa; }
.feature-copy h3 { font-size: 35px; line-height: 1.2; letter-spacing: -1.1px; }
.feature-copy > p { margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.feature-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 23px; padding: 0 0 5px; border-bottom: 1px solid #d4c8ed; background: transparent; color: var(--purple-dark); font-size: 13px; font-weight: 600; }
.feature-cta:hover { border-color: var(--purple-dark); }
.feature-cta .icon { width: 17px; height: 17px; }
.feature-visual { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 310px; border-radius: 20px; padding: 35px; }
.example-label { display: block; margin-bottom: 13px; color: #928a9e; font-size: 10px; line-height: 1.4; }
.example-sheet { background: white; border: 1px solid #ece7f5; border-radius: 10px; padding: 21px 25px; }
.example-sheet p { font-size: 15px; line-height: 1.7; }
mark { padding: 0 3px 2px; border-radius: 3px; background: #eee6ff; color: #6d51ad; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.paraphrase-visual { background: #f4f1fa; padding: 28px; }
.before-sheet { align-self: flex-start; width: 91%; color: #88818f; }
.after-sheet { align-self: flex-end; width: 93%; border-color: #dfd3f3; box-shadow: 0 6px 18px #68548e06; }
.after-sheet .example-label { color: #8e74b7; }
.transform-icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: -1px auto; border: 1px solid #e7def6; border-radius: 50%; background: white; color: #9b80c8; z-index: 1; }
.transform-icon .icon { width: 17px; height: 17px; transform: rotate(90deg); }
.humanize-visual { background: #faf3f2; gap: 25px; padding: 33px 27px 23px; }
.message-original { max-width: 300px; padding: 18px 23px; border: 1px solid #eddfdf; border-radius: 13px 13px 13px 3px; color: #9a8b8e; font-size: 13px; line-height: 1.75; }
.message-natural { display: flex; align-items: flex-start; gap: 11px; align-self: flex-end; padding: 20px 21px; border-radius: 13px 13px 3px 13px; background: white; box-shadow: 0 5px 12px #81545b06; }
.message-natural .example-label { margin-bottom: 7px; color: #ae7d88; }
.message-natural p { font-size: 15px; line-height: 1.65; }
.message-avatar { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 25px; height: 25px; margin-top: 2px; background: #f3dce0; border-radius: 50%; color: #a56574; font-family: Georgia, serif; font-size: 18px; }
.handwritten-note { align-self: flex-end; margin-right: 10px; color: #b4939a; font-family: Georgia, serif; font-size: 14px; font-style: italic; }
.simplify-visual { background: #f0f6f2; gap: 24px; padding: 34px; }
.simplify-original p { color: #919d94; font-size: 13px; line-height: 1.85; }
.simplify-original p span { text-decoration: line-through; text-decoration-color: #b8c7bd; }
.simplify-result { padding-top: 21px; border-top: 1px solid #dae5dd; }
.simplify-result .example-label { color: #7c9b88; }
.simplify-result p { font-size: 23px; line-height: 1.55; letter-spacing: -.5px; }
.simplify-result mark { padding-inline: 2px; background: #e0eee4; color: #52785f; }
.less-is-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 19px; color: #87a08e; font-size: 10px; }
.less-is-more .icon { width: 14px; height: 14px; }
.create-visual { gap: 21px; background: #fcf7ed; padding: 28px; }
.prompt-bubble { display: flex; align-items: center; gap: 10px; align-self: flex-end; max-width: 92%; padding: 12px 16px; border: 1px solid #eee1c9; border-radius: 10px 10px 2px 10px; background: #fffdf7; color: #a6906b; font-size: 11px; }
.prompt-bubble .icon { width: 16px; height: 16px; }
.created-sheet { border-color: #eee4d2; padding: 24px; }
.created-sheet .example-label { color: #aa9476; }
.created-sheet h4 { margin-bottom: 12px; font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.created-sheet p { margin-top: 10px; color: #8d8275; font-size: 12px; }
.text-cursor { display: block; width: 2px; height: 14px; margin-top: 14px; background: #c7aa77; }
.grammar-visual { background: #f0f4f9; padding: 31px; }
.grammar-sheet { padding: 25px 22px; border: 1px solid #e1e8f0; border-radius: 10px; background: #fff; }
.grammar-sheet .example-label { color: #8595a7; }
.grammar-sheet p { font-size: 18px; line-height: 1.9; }
.grammar-error { text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: #dd9b9f; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.grammar-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #82a494; }
.grammar-divider::before, .grammar-divider::after { content: ""; height: 1px; flex: 1; background: #edf0f4; }
.grammar-divider .icon { width: 17px; height: 17px; }
.grammar-fixed { background: #eaf3ee; color: #62836f; }
.grammar-caption { display: block; margin-top: 20px; color: #96a3b3; font-size: 10px; }

/* How to use, questions, and footer. */
.how-section { padding: 82px 0 72px; background: #f7f5fc; text-align: center; }
.how-section .section-intro { margin-bottom: 46px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 65px; width: min(960px, 100%); margin: 0 auto 39px; }
.step { position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: calc(50% + 45px); width: calc(100% - 25px); border-top: 1px dashed #dcd3ee; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 47px; height: 47px; margin-bottom: 23px; border: 1px solid #e0d7f2; border-radius: 50%; background: #fff; color: #957bc3; font-size: 15px; }
.step h3 { margin-bottom: 12px; font-size: 17px; letter-spacing: -.3px; }
.step p { max-width: 245px; margin: auto; color: #888091; font-size: 13px; line-height: 1.8; }
.faq-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding-block: 115px; }
.faq-intro h2 { font-size: 37px; line-height: 1.25; }
.faq-intro > p { margin-top: 18px; color: var(--muted); font-size: 13px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 23px 0; list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--purple-dark); }
.faq-plus { position: relative; display: block; width: 12px; height: 12px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: #9d91ad; border-radius: 1px; }
.faq-plus::before { top: 5px; width: 12px; height: 1px; }
.faq-plus::after { left: 5px; width: 1px; height: 12px; }
details[open] .faq-plus::after { display: none; }
.faq-list details > p { margin: -5px 25px 23px 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.about-section { display: flex; justify-content: space-between; align-items: center; gap: 50px; padding: 51px 55px; border-radius: 20px; background: #f2eef9; }
.about-brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #937eae; font-size: 11px; }
.about-brand .icon { width: 17px; height: 17px; }
.about-section h2 { font-size: 36px; line-height: 1.25; }
.about-section p { max-width: 460px; margin-top: 17px; color: #8a7f97; font-size: 13px; line-height: 1.85; }
.about-section .button { flex-shrink: 0; }
.site-footer { margin-top: 87px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr 1.15fr; gap: 40px; padding-bottom: 65px; }
.footer-brand .brand { font-size: 20px; }
.footer-brand .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
.footer-brand > p { margin-top: 19px; color: #9b94a2; font-size: 12px; line-height: 1.9; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 12px; color: #8a8295; }
.footer-column h2 { margin-bottom: 11px; color: #60576e; font-size: 12px; font-weight: 600; letter-spacing: 0; line-height: 2; }
.footer-legal > span { display: flex; flex-direction: column; gap: 1px; }
.footer-legal small { color: #aaa0b7; font-size: 9px; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 23px 0 28px; border-top: 1px solid #eeebf2; color: #aaa3b1; font-size: 10px; }
.footer-company { max-width: 560px; color: #797180; font-size: 11px; font-style: normal; text-align: right; }
.footer-company strong { display: block; color: #60576e; font-weight: 600; }
.noscript-notice { position: fixed; bottom: 10px; left: 5%; width: 90%; padding: 15px; border: 1px solid #d7cce9; border-radius: 10px; background: #f5edff; color: #5d407e; }

/* Contact information. */
.contact-page { display: flex; flex-direction: column; min-height: 100svh; }
.contact-content { flex: 1; max-width: 860px; padding-top: 80px; }
.contact-intro { margin-top: 22px; color: var(--muted); font-size: 17px; }
.contact-details { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.contact-details h2 { margin-bottom: 16px; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.contact-address { font-style: normal; line-height: 1.9; }
.contact-address strong { display: block; margin-bottom: 10px; font-size: 23px; font-weight: 600; line-height: 1.4; }
.contact-email { color: var(--purple-dark); font-size: 23px; line-height: 1.4; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--ink); }

/* Long-form informational pages. */
.legal-content { max-width: 800px; padding-top: 72px; }
.legal-updated { margin-top: 20px; color: var(--muted); font-size: 14px; }
.legal-section { margin-top: 40px; }
.legal-section h2 { margin-bottom: 18px; font-size: 26px; letter-spacing: -.6px; line-height: 1.3; }
.legal-section p, .legal-address { color: #625c6e; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.legal-section p + p { margin-top: 16px; }
.legal-section a { color: var(--purple-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-section a:hover { color: var(--ink); }
.legal-address { margin-top: 32px; font-style: normal; }
.legal-address strong { display: block; color: var(--ink); font-weight: 600; }
.about-modes { margin: 16px 0; padding-left: 24px; color: #625c6e; font-size: 16px; line-height: 1.85; }
.about-modes li + li { margin-top: 10px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { opacity: .5; } }

@media (min-width: 1500px) {
  .hero { padding-top: 56px; }
  #source-text, .result-body { min-height: 220px; }
}
@media (max-width: 1050px) {
  .container { width: calc(100% - 56px); }
  .feature-row { gap: 55px; padding-inline: 10px; }
  .feature-copy h3 { font-size: 31px; }
  .editor-toolbar { padding: 14px 18px; }
  .mode-chip { padding-inline: 12px; }
  .active-controls { gap: 8px; }
  .selected-mode { gap: 6px; padding-inline: 11px; font-size: 13px; }
  .selected-mode > .icon { width: 16px; height: 16px; }
  .style-trigger { min-width: 112px; gap: 10px; padding-inline: 12px; font-size: 13px; }
  .feature-visual { padding: 25px; }
  .footer-main { gap: 25px; }
  .faq-section { gap: 50px; }
}
@media (max-width: 900px) {
  .editor-panels, .editor-panels.is-split { grid-template-columns: minmax(0, 1fr); }
  .editor-panels.is-split { gap: 16px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 12px; }
  .brand { font-size: 20px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; }
  .contact-content { padding-top: 48px; }
  .legal-content { padding-top: 48px; }
  .legal-section { margin-top: 32px; }
  .legal-section h2 { font-size: 23px; }
  .contact-details { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; padding-top: 28px; }
  .hero { padding-top: 32px; padding-bottom: 44px; }
  h1 { font-size: 43px; letter-spacing: -1.9px; }
  .editor { margin-top: 30px; }
  .editor-panel { border-radius: 16px; }
  .panel-heading { padding-inline: 20px; }
  .editor-toolbar { padding: 14px 16px; }
  .features { padding-top: 20px; padding-bottom: 40px; }
  .features > .section-intro { margin-bottom: 22px; }
  .section-intro p { font-size: 13px; }
  .feature-row { grid-template-columns: 1fr; gap: 30px; padding: 35px 15px 45px; }
  .feature-row-reverse .feature-copy { order: 0; }
  .feature-copy { max-width: 470px; }
  .feature-label { margin-bottom: 14px; }
  .feature-copy h3 { font-size: 32px; }
  .feature-copy > p { margin-top: 15px; }
  .feature-cta { margin-top: 17px; }
  .feature-visual { min-height: 290px; padding: 28px; }
  .feature-visual > .before-sheet, .feature-visual > .after-sheet { max-width: 350px; }
  .humanize-visual { gap: 22px; }
  .message-original { max-width: 340px; }
  .message-natural { min-width: 255px; }
  .grammar-sheet p { font-size: 20px; }
  .how-section { padding-block: 55px; }
  .steps { grid-template-columns: 1fr; gap: 33px; }
  .step:not(:last-child)::after { display: none; }
  .step-number { margin-bottom: 13px; }
  .step p { max-width: 270px; }
  .how-section .section-intro { margin-bottom: 33px; }
  .faq-section { grid-template-columns: 1fr; gap: 34px; padding-block: 65px; }
  .faq-intro h2 { font-size: 32px; }
  .faq-intro h2 br { display: none; }
  .faq-list summary { font-size: 13px; }
  .about-section { flex-direction: column; align-items: flex-start; gap: 27px; padding: 32px; }
  .about-section h2 { font-size: 32px; }
  .site-footer { margin-top: 55px; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 33px 22px; padding-bottom: 35px; }
  .footer-bottom { flex-direction: column; }
  .footer-company { text-align: left; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p br { display: none; }
  .footer-brand > p { margin-top: 10px; }
  .footer-column { gap: 9px; }
  .footer-column h2 { margin-bottom: 5px; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 70px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  .menu-toggle { width: 27px; }
  h1 { font-size: 43px; line-height: 1.12; }
  .mobile-break { display: initial; }
  .panel-heading { min-height: 57px; padding-inline: 18px; }
  textarea { width: calc(100% - 22px); min-height: 175px; height: 175px; margin-inline: 11px; padding-inline: 7px; font-size: 16px; }
  .result-body { min-height: 175px; }
  .input-meta { padding-inline: 18px; font-size: 11px; }
  .sample-button { font-size: 12px; }
  .editor-toolbar { gap: 10px; padding: 14px; }
  .mode-options { grid-column: 1 / -1; gap: 8px; }
  .mode-chip { padding-inline: 12px; }
  .result-toolbar { padding: 14px; }
  .result-toolbar > span { font-size: 10px; }
  .feature-row { padding-inline: 7px; }
  h2 { font-size: 29px; letter-spacing: -1.2px; }
  .feature-copy h3 { font-size: 30px; }
  .feature-visual { padding: 21px; min-height: 285px; border-radius: 15px; }
  .example-sheet { padding: 19px; }
  .example-sheet p { font-size: 13px; }
  .message-original { padding: 14px 17px; font-size: 12px; }
  .message-natural { padding: 16px; min-width: 0; }
  .message-natural p { font-size: 13px; }
  .message-avatar { width: 22px; height: 22px; }
  .simplify-result p { font-size: 21px; }
  .created-sheet h4 { font-size: 21px; }
  .created-sheet p { font-size: 12px; }
  .grammar-sheet { padding: 21px 17px; }
  .grammar-sheet p { font-size: 17px; }
  .about-section { padding: 27px; }
  .about-brand { align-items: flex-start; max-width: 230px; line-height: 1.6; }
  .about-brand .icon { margin-top: 2px; }
  .footer-bottom { gap: 12px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
