:root {
  color-scheme: light;
  --grounded-blue: #070154;
  --highlight-blue: #0047ff;
  --canvas-gray: #f8f8f8;
  --white: #ffffff;
  --ink: #22222b;
  --muted: #5b5c66;
  --line: #d7d8df;
  --soft-blue: #f1f3ff;
  font-family: Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas-gray); color: var(--ink); font-size: 15px; line-height: 1.55; }
button, a, select, textarea { font: inherit; }
a { color: inherit; }
h1, h2, h3, .eyebrow { font-family: "IBM Plex Sans", Arial, sans-serif; }
h1, h2, h3, p { margin-top: 0; }

.skip-link { position: absolute; left: 12px; top: -56px; z-index: 20; padding: 10px 14px; background: var(--white); color: var(--grounded-blue); border: 2px solid var(--highlight-blue); }
.skip-link:focus { top: 12px; }
.topbar { border-top: 5px solid var(--highlight-blue); background: var(--grounded-blue); color: var(--white); }
.topbar-inner { width: min(1160px, calc(100% - 48px)); min-height: 68px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.demo-brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.demo-brand img { display: block; width: 158px; height: auto; }
.topbar-breadcrumbs { min-width: 0; margin-left: auto; color: #e8e9f2; font-size: 13px; line-height: 1.4; text-align: right; }
.topbar-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 10px; padding: 0; margin: 0; list-style: none; }
.topbar-breadcrumbs [aria-current="page"] { color: var(--white); font-weight: 700; }
.breadcrumb-separator { color: #bfc8ff; }
.page-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0 68px; }
.intro { margin: 30px 0 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.eyebrow { margin: 0 0 8px; color: #555663; font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.3; }
h1 { margin-bottom: 10px; color: var(--grounded-blue); font-size: clamp(31px, 4vw, 46px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
.intro-copy { max-width: 690px; margin: 0; color: #4e505a; font-size: 16px; }
.demo-badge { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 8px 12px; background: var(--white); border: 1px solid var(--line); color: #4b4c56; font-size: 11px; }
.demo-badge span { width: 8px; height: 8px; background: var(--highlight-blue); }
.how-to { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 18px 22px; background: var(--soft-blue); border: 1px solid #dfe3f2; }
.how-heading .eyebrow { margin-bottom: 4px; }
.how-heading h2 { margin: 0; color: var(--grounded-blue); font-size: 18px; letter-spacing: -.02em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 10px; color: #444653; font-size: 12px; line-height: 1.45; }
.step-number { color: var(--highlight-blue); font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.example-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 35px 0 16px; }
.example-intro .eyebrow { margin-bottom: 4px; }
.example-intro h2 { margin: 0; color: var(--grounded-blue); font-size: 21px; letter-spacing: -.025em; }
.fictional-label { margin: 0; color: #555762; font-size: 11px; white-space: nowrap; }
.fictional-label span { color: var(--highlight-blue); font-size: 8px; vertical-align: 1px; margin-right: 5px; }
.tone-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 8px; padding: 13px 16px; border: 1px solid var(--line); background: var(--white); }
.tone-row label { color: var(--grounded-blue); font-size: 12px; font-weight: 700; }
.tone-row select { min-height: 38px; min-width: 150px; padding: 7px 34px 7px 10px; border: 1px solid #bfc1cb; background: var(--white); color: #262733; font-size: 12px; }
.tone-note { color: #555762; font-size: 11px; }
.action-status { min-height: 1.5em; margin: 0 0 14px; color: #355f3a; font-size: 11px; }
.action-status[data-state="error"] { color: #9b1c1c; }
.demo-grid { display: grid; grid-template-columns: minmax(310px, .82fr) minmax(0, 1.18fr); gap: 18px; align-items: start; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.panel { min-width: 0; background: var(--white); border: 1px solid var(--line); }
.email-panel { padding: 21px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 17px; border-bottom: 1px solid #e3e4e9; }
.panel-heading .eyebrow { margin-bottom: 4px; }
.panel-heading h3 { margin: 0; color: var(--grounded-blue); font-size: 18px; letter-spacing: -.025em; }
.email-label, .illustrative-pill { flex: 0 0 auto; padding: 5px 9px; background: #f0f0f2; color: #4a4b54; font-size: 10px; font-weight: 700; }
.note-list { display: grid; gap: 0; list-style: none; padding: 0; margin: 2px 0 14px; }
.note-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid #eeeeef; }
.note-list li:last-child { border-bottom: 0; }
.note-list time { padding-top: 2px; color: var(--grounded-blue); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.note-list p { margin: 0; color: #3e404b; font-size: 12px; line-height: 1.55; }
.email-body { padding: 17px 2px 3px; color: #41424d; font-size: 13px; white-space: pre-line; }
.email-body p { margin: 0 0 12px; }
.email-body p:last-child { margin-bottom: 0; }
.email-body strong { color: #4d4e59; font-size: 11px; }
.field-label { display: block; margin: 13px 0 6px; color: #343542; font-size: 11px; font-weight: 700; }
.text-input { display: block; width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #c9cad2; background: var(--white); color: #30313c; font: 12px/1.55 Arial, sans-serif; resize: vertical; }
.draft-input { min-height: 208px; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; color: #5b5c66; font-size: 10px; line-height: 1.4; }
.field-meta span:last-child { flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.after-panel { border-top: 3px solid var(--highlight-blue); }
.result-status { min-height: 1.4em; margin: 12px 0 0; color: #4e505a; font-size: 11px; }
.edited-copy { min-height: 200px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.tone-explanation { margin-top: 16px; padding: 13px 14px; border-left: 3px solid var(--highlight-blue); background: var(--soft-blue); }
.tone-explanation .eyebrow { margin-bottom: 5px; }
.tone-explanation p:last-child { margin: 0; color: #4e505a; font-size: 11px; line-height: 1.55; }
.button { min-height: 42px; padding: 9px 18px; border: 1px solid transparent; border-radius: 80px; font-size: 12px; font-weight: 700; cursor: pointer; }
.button-primary { background: var(--grounded-blue); color: var(--white); }
.button-primary:hover { background: #171078; }
.button:focus-visible, a:focus-visible, select:focus-visible, .text-input:focus-visible { outline: 3px solid var(--highlight-blue); outline-offset: 3px; }
.button:disabled { cursor: wait; opacity: .65; }
.prompt-card { margin-top: 22px; padding: 21px 22px; border: 1px solid var(--line); background: var(--white); }
.prompt-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.prompt-intro .eyebrow { margin-bottom: 4px; }
.prompt-intro h2 { margin: 0; color: var(--grounded-blue); font-size: 18px; letter-spacing: -.025em; }
.prompt-summary { margin: 7px 0 12px; color: #555762; font-size: 11px; }
.prompt-text { max-height: 210px; overflow: auto; margin: 0; padding: 14px 16px; border: 1px solid #e1e2e6; background: #f5f5f6; color: #373943; font: 11px/1.6 Arial, sans-serif; white-space: pre-wrap; }
.copy-status { min-height: 1.4em; margin: 7px 0 0; color: #355f3a; font-size: 11px; }
.site-footer { padding: 28px 0 22px; background: var(--grounded-blue); color: var(--white); }
.footer-inner { width: min(1160px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; }
.footer-brand { display: grid; gap: 15px; }
.footer-logo { display: block; width: 173px; height: auto; }
.footer-brand small { color: #e0e2ef; font-size: 10px; }
.footer-right { display: grid; justify-items: end; gap: 15px; }
.footer-socials { display: flex; align-items: center; gap: 13px; }
.footer-socials a { width: 26px; height: 26px; display: grid; place-items: center; background: var(--white); color: var(--grounded-blue); }
.footer-socials a:hover { outline: 2px solid #bfc8ff; outline-offset: 2px; }
.footer-socials img { display: block; width: 19px; max-height: 19px; object-fit: contain; }
.footer-socials a.glassdoor-link { background: transparent; }
.footer-socials img.glassdoor-icon { width: auto; height: 18px; max-height: none; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 22px; }
.footer-links a { color: #f1f1f7; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--white); }

@media (max-width: 920px) {
  .intro { align-items: flex-start; }
  .comparison-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .topbar-inner, .page-shell, .footer-inner { width: min(100% - 32px, 560px); }
  .topbar-inner { min-height: 70px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 12px 0; }
  .page-shell { padding-top: 18px; padding-bottom: 48px; }
  .topbar-breadcrumbs { margin-left: 0; font-size: 11px; text-align: left; }
  .topbar-breadcrumbs ol { justify-content: flex-start; }
  .intro { margin: 25px 0 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .how-to { grid-template-columns: 1fr; gap: 14px; padding: 17px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .example-intro { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 28px; }
  .example-intro h2 { font-size: 19px; }
  .email-panel, .prompt-card { padding: 17px; }
  .tone-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .tone-row select { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-right { justify-items: start; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 420px) {
  body { font-size: 14px; }
  .topbar-inner, .page-shell, .footer-inner { width: calc(100% - 28px); }
  .topbar-breadcrumbs ol { gap: 4px 7px; font-size: 10px; }
  h1 { font-size: 32px; }
  .intro-copy { font-size: 14px; }
  .prompt-intro { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-socials { gap: 9px; }
}
