@charset "UTF-8";

:root {
  color-scheme: dark;
  --canvas: #0c0d0e;
  --surface: #151617;
  --surface-raised: #1d1f21;
  --border: #34373a;
  --border-subtle: #292b2e;
  --text: #f2f2ef;
  --muted: #a8aaa6;
  --accent: #b5d7c2;
  --display-font: "Segoe UI Variable Display", "Segoe UI", sans-serif;
  font-family: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--text); }
a { color: inherit; text-underline-offset: 0.24em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
::selection { background: #334b3e; color: #e0f1e5; }
img { display: block; max-width: 100%; }
.wrap { width: min(1040px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: 12px; left: 12px; padding: 12px 18px; background: var(--surface-raised); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 88px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display-font); font-size: 21px; font-weight: 690; text-decoration: none; }
.brand img { width: 33px; height: 33px; }
.hero { padding: 34px 0 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: var(--display-font); }
h1 { margin-bottom: 22px; font-size: clamp(46px, 5vw, 64px); font-weight: 650; line-height: 1.1; letter-spacing: -0.035em; }
h1 span { color: var(--accent); }
.intro { max-width: 380px; color: var(--muted); font-size: 18px; line-height: 1.65; margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; text-decoration-thickness: 1px; }
.text-link svg { width: 18px; height: 18px; }
.example { margin: 0; }
.example-sheet { overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.example-top { padding: 12px 20px; border-bottom: 1px solid var(--border-subtle); color: var(--muted); font-size: 12px; font-weight: 600; }
.example-words, .example-reader p { margin: 0; padding: 23px 20px 27px; color: #e1e3de; font-size: 21px; line-height: 1.65; }
.example-reader { border-top: 1px solid var(--border); }
.example-reader p { color: #f2f5ef; }
.example-reader mark { background: #334b3e; color: #e0f1e5; padding: 2px 0; box-shadow: 0 0 0 2px #334b3e; border-radius: 3px; }
.overview { border-top: 1px solid var(--border-subtle); padding: 32px 0; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
h2 { font-size: 20px; font-weight: 630; line-height: 1.4; margin-bottom: 12px; }
.features h2 { display: flex; align-items: center; gap: 12px; }
.feature-icon { width: 23px; height: 23px; flex: none; color: var(--muted); stroke-width: 1.7; }
.features p { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.proofreading-note { margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 28px 0 32px; border-top: 1px solid var(--border-subtle); }
.details h2 { font-size: 17px; margin-bottom: 10px; }
.details p { color: var(--muted); font-size: 14px; line-height: 1.75; margin-bottom: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0 28px; border-top: 1px solid var(--border-subtle); color: var(--muted); font-size: 13px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.document { max-width: 720px; padding: 40px 0 64px; min-height: calc(100vh - 160px); }
.document h1 { font-size: 42px; letter-spacing: -0.025em; }
.document h2 { margin: 32px 0 12px; font-size: 22px; }
.document p, .document li { font-size: 15px; line-height: 1.85; color: var(--muted); }
.document ul { padding-left: 21px; }
.document li + li { margin-top: 10px; }
.document .text-link { margin-top: 20px; }

@media (max-width: 1000px) {
  .hero, .features, .details { gap: 40px; }
  .hero { padding-block: 28px 40px; }
  .example-words, .example-reader p { font-size: 19px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 76px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 28px 0 36px; }
  h1 { font-size: 48px; }
  .intro { max-width: 420px; font-size: 17px; }
  .example { max-width: 520px; width: 100%; }
  .example-words, .example-reader p { font-size: 20px; }
  .features, .details { grid-template-columns: 1fr; gap: 27px; }
  .overview { padding-block: 28px; }
  .details { padding-block: 26px 30px; }
  .document { padding-block: 28px 48px; }
  .document h1 { font-size: 36px; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: 44px; }
  .example-words, .example-reader p { font-size: 18px; }
}
@media print {
  :root { color-scheme: light; --canvas: white; --surface: white; --text: #111; --muted: #333; --accent: #222; --border: #999; --border-subtle: #bbb; }
  .wrap { width: 100%; }
  .site-header, .site-footer, .skip-link, .text-link { display: none; }
  .hero { padding-top: 0; }
  .example-words, .example-reader p, .example-reader mark { color: #111; }
  .example-reader mark { background: #eee; box-shadow: none; }
}