:root{color-scheme:light;--ink:#172946;--muted:#435a73;--blue:#0962b4;--sky:#63b5fa;--line:#d6e3f0;--pale:#eef7ff;--warm:#fff4d8;--radius:18px;font:16px/1.58 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;color:var(--ink);background:#fff}
a{color:#075da9;text-underline-offset:.2em}
button,textarea,select{font:inherit}
button,summary{cursor:pointer}
:focus-visible{outline:3px solid #145aa2;outline-offset:4px}
[hidden]{display:none!important}
.wrap{width:min(100% - 40px,1160px);margin-inline:auto}
.skip{position:absolute;left:1rem;top:-5rem;z-index:10;background:white;padding:.7rem}
.skip:focus{top:.5rem}
.site-header{background:#69baff;border-bottom:1px solid #58a9ea}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:68px}
.brand{display:inline-flex;align-items:center;gap:.6rem;color:#142c4e;text-decoration:none;font-size:1.55rem;font-weight:750;letter-spacing:-.01em;white-space:nowrap}
.bolt{width:1em;height:1.43em;flex:none;background:currentColor;clip-path:polygon(62% 0,9% 54%,44% 54%,27% 100%,92% 40%,55% 40%)}
.nav{display:flex;align-items:center;gap:clamp(.6rem,3vw,1.7rem);font-weight:680;font-size:.93rem}
.nav>a,.nav summary{color:#172946;text-decoration:none}
.nav a:hover{text-decoration:underline}
.nav details{position:relative}
.nav summary{padding:.35rem .55rem;border-radius:8px;background:#ffffff51}
.nav-menu{position:absolute;z-index:4;right:0;top:calc(100% + .55rem);width:15.5rem;background:white;border:1px solid var(--line);border-radius:12px;padding:.4rem;box-shadow:0 12px 30px #133e6220}
.nav-menu a{display:block;padding:.55rem .7rem;text-decoration:none;color:var(--ink);border-radius:8px}
.nav-menu a:hover{background:var(--pale)}
.hero{overflow:hidden;background:radial-gradient(ellipse at 87% 12%,#ceeaff 0,transparent 40%),linear-gradient(#f1f8ff,#f8fcff);border-bottom:1px solid #e1edf7;padding:2.6rem 0 3.1rem}
.hero-inner{position:relative;isolation:isolate}
h1,h2,h3,p{margin:0}
h1,h2,h3{line-height:1.15;letter-spacing:-.035em}
h1{font-size:clamp(2.25rem,6vw,4.05rem);font-weight:825}
h2{font-size:clamp(1.55rem,3vw,2.25rem)}
h3{font-size:1.16rem}
p+p{margin-top:.8rem}
.intro{margin:.7rem 0 1.5rem;color:var(--muted);max-width:39rem;font-size:1.08rem}
.breadcrumb{display:flex;flex-wrap:wrap;gap:.35rem;font-size:.85rem;color:var(--muted);margin-bottom:1rem}
.breadcrumb a{color:inherit}
.illustration{position:absolute;z-index:-1;right:1%;top:-3.8rem;width:246px;height:158px;pointer-events:none;transform:rotate(-9deg)}
.paper{position:absolute;top:21px;left:51px;width:115px;height:125px;border:2px solid #7ab9ef;border-radius:15px;background:#eff8ff;box-shadow:10px 9px 0 #b9dfff;display:grid;align-content:center;gap:10px;padding:22px}
.paper i{height:6px;background:#b2d9f9;border-radius:10px}
.paper i:nth-child(2){width:75%}
.art-bolt{display:block;position:absolute;left:116px;top:0;width:90px;height:125px;background:#5cb2fb;filter:drop-shadow(0 6px 0 #0b5da9)}
.art-orbit{position:absolute;top:44px;left:4px;width:223px;height:88px;border:2px dashed #8fc5f4;border-radius:50%;transform:rotate(-13deg)}
.illustration::after{content:"";position:absolute;top:26px;right:16px;background:#ffce62;width:15px;height:15px;border-radius:50%}
.workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 16px 45px #183f7810}
.editor,.results{min-width:0;padding:clamp(.85rem,2.6vw,1.45rem)}
.results{background:#f5faff;border-left:1px solid var(--line)}
.editor-top,.results-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.45rem;margin-bottom:.65rem}
.editor-top label,.results h2{font-size:1.08rem;font-weight:760;letter-spacing:0}
.small{color:var(--muted);font-size:.84rem}
textarea{display:block;resize:vertical;width:100%;min-height:238px;padding:1rem;color:var(--ink);border:1px solid #afc5dc;border-radius:12px;background:#fcfdff}
textarea::placeholder{color:#546a82}
.toolbar,.actions,.filters,.issue-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem}
.toolbar{margin:.72rem 0;color:var(--muted)}
.toolbar button,.issue-actions button{color:#0d518d;background:#fff;border:1px solid #bad1e7;border-radius:8px;padding:.3rem .6rem;font-size:.86rem;font-weight:650}
button:hover:not(:disabled),.button:hover{filter:brightness(.95)}
button:disabled{opacity:.52;cursor:default}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:.55rem .85rem;border:1px solid transparent;border-radius:9px;font-weight:720;text-decoration:none;line-height:1.25}
.primary{color:#fff;background:var(--blue)}
.secondary{color:#694603;background:var(--warm);border-color:#e9cc87}
.privacy{margin-top:.72rem}
.filters label{font-size:.85rem;font-weight:650}
.filters select{max-width:100%;padding:.3rem;color:var(--ink);border:1px solid #a8c1d9;background:#fff;border-radius:7px}
.status{margin:.65rem 0;color:var(--muted);font-size:.93rem}
.issue-list{list-style:none;margin:0;padding:0;max-height:295px;overflow:auto;overscroll-behavior:contain}
.issue{background:white;border:1px solid var(--line);border-left:3px solid #579fe2;border-radius:9px;padding:.65rem .7rem;margin-bottom:.55rem;overflow-wrap:anywhere}
.issue p{font-size:.88rem}
.issue .context{color:var(--ink);margin:.3rem 0 .55rem}
.issue mark{background:#ffe5a6;color:#302408;border-radius:3px;padding-inline:.12rem}
.issue .kind{color:#315b80;font-weight:720;font-size:.78rem}
.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:.6rem 0}
.metrics div{padding:.55rem;background:white;border:1px solid var(--line);border-radius:8px}
.metrics dt{font-size:.78rem;color:var(--muted)}
.metrics dd{margin:0;font-weight:760}
.section{padding-block:2.8rem}
.section+.section{border-top:1px solid #e2edf7}
.section h2{margin-bottom:1rem}
.section h3{margin:.9rem 0 .35rem}
.prose{max-width:75ch}
.prose p,.prose li{color:var(--muted)}
.prose ul,.prose ol{padding-left:1.35rem}
.prose li+li{margin-top:.35rem}
.tool-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr));gap:.85rem}
.tool-card{display:block;padding:1rem;background:#f7fbff;border:1px solid var(--line);border-radius:13px;text-decoration:none;color:var(--ink)}
.tool-card:hover{border-color:#6ca9dd;background:#eef7ff}
.tool-card strong{display:block;margin-bottom:.25rem;color:#075da9}
.tool-card span{font-size:.9rem;color:var(--muted)}
.examples{width:100%;border-collapse:collapse;text-align:left;margin-top:1rem}
.examples th,.examples td{padding:.6rem;border-bottom:1px solid var(--line);vertical-align:top}
.examples th{background:var(--pale)}
.site-footer{background:#dcefff;border-top:1px solid #cee4f7;padding:1.55rem 0}
.footer-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}
.footer-row nav{display:flex;flex-wrap:wrap;gap:.45rem 1rem;font-size:.9rem}
.page{padding:2.5rem 0 3.5rem;min-height:65vh}
.page h1{margin-bottom:1rem}
.page h2{margin-top:1.55rem;font-size:1.4rem}
.page p,.page .tool-grid{margin-top:.6rem}
@media(max-width:780px){.illustration{opacity:.32;right:-85px}.workspace{grid-template-columns:minmax(0,1fr)}.results{border-left:0;border-top:1px solid var(--line)}.issue-list{max-height:320px}}
@media(max-width:440px){.wrap{width:calc(100% - 24px)}.header-row{min-height:60px}.brand{font-size:1.31rem;letter-spacing:0}.nav{gap:.55rem;font-size:.85rem}.nav .about-link{display:none}.hero{padding-block:1.8rem}.editor,.results{padding:.75rem}textarea{min-height:190px}.section{padding-block:1.9rem}}
.issue-actions{margin-top:.48rem}
.frequency{margin-top:.7rem;max-height:14rem;overflow:auto}
.frequency h3{margin-bottom:.4rem;font-size:1rem}
.frequency p+p{margin-top:.15rem}
.editor-controls{margin:.72rem 0}
.editor-controls .toolbar{margin:0}
@media(max-width:980px){.illustration{opacity:.36;right:-35px}}
@media(max-width:540px){.illustration{right:-105px}.button{min-height:44px}}
.examples caption{text-align:left;color:var(--muted);font-size:.9rem;padding-bottom:.4rem}
.examples th[scope="row"]{background:#f7fbff}
.examples{overflow-wrap:anywhere}
.tool-guide h2:not(:first-child){margin-top:1.85rem}
.frequency-list{display:flex;flex-wrap:wrap;gap:.45rem;list-style:none;padding:0;margin:.55rem 0}
.frequency-list button{border:1px solid #bad1e7;border-radius:8px;background:#fff;color:#0d518d;padding:.35rem .65rem;font-size:.86rem;font-weight:650;min-height:36px}
.show-spacing{white-space:pre-wrap}
.about-intro{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,.75fr);gap:clamp(1rem,4vw,3rem);align-items:center;margin:1.35rem 0 2.4rem}
.about-intro .actions{margin-top:1.3rem}
.about-lead{font-size:clamp(1.12rem,2vw,1.35rem);line-height:1.5;color:var(--ink)!important}
.about-outline{background:#fff;color:var(--blue);border-color:#96c5ed}
.about-note{background:#eaf6ff;border:1px solid #bfdcf5;border-radius:22px;padding:1.5rem;min-height:200px}
.about-note .bolt{display:block;font-size:2rem;color:var(--blue);margin-bottom:.65rem}
.about-note strong{display:block;font-size:1.22rem;line-height:1.25}
.about-note p{margin-top:.65rem;color:var(--muted)}
.about-block{margin-top:2.5rem}
.about-block h2{margin-bottom:1rem}
.about-block .tool-grid{margin-top:0}
.about-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;border-top:1px solid var(--line);padding-top:1.7rem}
@media(max-width:690px){.about-intro,.about-bottom{grid-template-columns:1fr}.about-note{min-height:auto}}
.mobile-nav{display:none}
@media(max-width:690px){
  .header-row{position:relative}
  .header-row>.nav{display:none}
  .mobile-nav{display:block}
  .mobile-nav summary{display:flex;align-items:center;justify-content:center;width:48px;height:48px;list-style:none;border-radius:10px;color:var(--ink)}
  .mobile-nav summary::-webkit-details-marker{display:none}
  .mobile-nav summary:hover,.mobile-nav[open] summary{background:#ffffff66}
  .burger-icon,.burger-icon::before,.burger-icon::after{display:block;width:23px;height:2px;border-radius:2px;background:currentColor}
  .burger-icon{position:relative}
  .burger-icon::before,.burger-icon::after{content:"";position:absolute;left:0}
  .burger-icon::before{top:-7px}
  .burger-icon::after{top:7px}
  .mobile-menu{position:absolute;z-index:20;top:calc(100% - 1px);right:0;width:min(100%,310px);max-height:min(70vh,600px);overflow:auto;padding:.5rem;background:#fff;border:1px solid var(--line);border-radius:0 0 14px 14px;box-shadow:0 18px 32px #1233512c}
  .mobile-menu a{display:flex;align-items:center;min-height:46px;padding:.55rem .8rem;border-radius:8px;text-decoration:none;font-weight:650;color:var(--ink)}
  .mobile-menu a:hover{background:var(--pale)}
  .footer-row{display:block}
  .footer-row nav{display:flex;flex-direction:column;align-items:stretch;gap:.12rem;margin-top:1.1rem;font-size:1rem}
  .footer-row nav a{display:flex;align-items:center;min-height:44px;padding:.4rem .7rem;border-radius:8px;text-decoration:none}
  .footer-row nav a:hover{background:#c9e5fa;text-decoration:underline}
}
.compare-workspace,.compare-results{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 16px 45px #183f7810;padding:clamp(1rem,2.6vw,1.5rem)}
.compare-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.compare-editor{min-width:0}
.compare-editor .editor-top label{font-size:1.08rem;font-weight:760}
.compare-editor textarea{min-height:235px}
.compare-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin-top:.55rem}
.compare-actions>button:not(.button){min-height:43px;padding:.4rem .75rem;background:#fff;border:1px solid #bad1e7;border-radius:9px;color:#0d518d;font-weight:650}
.compare-results{box-shadow:none}
.compare-results .metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.diff-legend{display:flex;flex-wrap:wrap;gap:.7rem 1.2rem;font-size:.9rem;color:var(--muted);margin-top:.8rem}
.diff-output{white-space:pre-wrap;overflow-wrap:anywhere;min-height:5rem;max-height:32rem;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fcfdff;padding:1rem;line-height:1.9}
.diff-output ins,.diff-legend ins{background:#d5f6df;color:#145329;text-decoration:none;border-radius:3px}
.diff-output del,.diff-legend del{background:#ffe0e1;color:#8a2732;text-decoration:line-through;border-radius:3px}
@media(max-width:780px){.compare-inputs{grid-template-columns:1fr}.compare-editor textarea{min-height:170px}.compare-results .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.method-intro{max-width:72ch;margin:0 0 1.8rem}
.method-intro p{font-size:1.08rem;line-height:1.7}
.method-list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0;padding:0;max-width:1100px;counter-reset:method}
.method-step{display:grid;grid-template-columns:3rem minmax(0,1fr);align-items:start;gap:1rem;min-width:0;padding:1.35rem;background:linear-gradient(145deg,#f8fcff,#eef7ff);border:1px solid #d4e7f6;border-radius:16px}
.method-number{display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;background:#0962b4;color:white;font-weight:800;font-size:1.22rem;box-shadow:0 4px 0 #b9dcfa}
.page .method-step h2{margin:0 0 .55rem;font-size:1.28rem;scroll-margin-top:1.5rem}
.method-step p{margin:0;color:var(--muted);line-height:1.65}
@media(max-width:750px){.method-list{grid-template-columns:1fr}}
@media(max-width:440px){.method-step{grid-template-columns:2.5rem minmax(0,1fr);gap:.75rem;padding:1rem}.method-number{width:2.5rem;height:2.5rem;font-size:1rem}}
.difference-controls{display:flex;flex-wrap:wrap;gap:.35rem 1.1rem;padding:.8rem 0;border-top:1px solid var(--line)}
.difference-controls label{display:inline-flex;align-items:center;gap:.45rem;min-height:42px;color:var(--ink);font-size:.9rem;cursor:pointer}
.difference-controls input{width:1.05rem;height:1.05rem;accent-color:var(--blue)}
.difference-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.difference-swatch{padding:.12rem .35rem;border-radius:4px;font-weight:700}
.difference-swatch.removed,.difference-removed{background:#ffe0e1;color:#80242f}
.difference-swatch.added,.difference-added{background:#d2f2da;color:#13552c}
.difference-head,.difference-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.difference-head{margin-top:1rem;background:#eaf5ff;border:1px solid var(--line);border-radius:10px 10px 0 0}
.difference-head strong{padding:.55rem .9rem}
.difference-head strong+strong{border-left:1px solid var(--line)}
.difference-rows{max-height:42rem;overflow:auto;border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px;overscroll-behavior:contain}
.difference-row{border-top:1px solid #e7eff7}
.difference-row:first-child{border-top:0}
.difference-row:nth-child(even){background:#fbfdff}
.difference-pane{display:grid;grid-template-columns:2.7rem minmax(0,1fr);gap:.6rem;min-width:0;padding:.5rem .7rem;min-height:2.4rem}
.difference-pane+.difference-pane{border-left:1px solid var(--line)}
.difference-pane-label{display:none}
.difference-line-number{color:#69839c;text-align:right;font:500 .76rem/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;user-select:none}
.difference-line-content{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;font:500 .87rem/1.8 ui-monospace,SFMono-Regular,Consolas,monospace}
.difference-removed,.difference-added{border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.difference-linebreak{color:#6b80a0;padding-left:.18rem}
.difference-empty{padding:1rem}
.difference-download{margin-top:1rem;min-height:43px;padding:.45rem .8rem;border:1px solid #bad1e7;border-radius:9px;background:#fff;color:#0d518d;font-weight:650}
#difference-truncated{margin-top:.75rem}
@media(max-width:700px){.difference-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.difference-head{display:none}.difference-rows{border-top:1px solid var(--line);border-radius:10px;margin-top:1rem}.difference-row{grid-template-columns:1fr}.difference-pane+.difference-pane{border-left:0;border-top:1px solid #e8f0f8}.difference-pane-label{display:block;grid-column:1/-1;color:#435a73;font-size:.78rem;font-weight:750}.difference-pane{gap:.2rem .55rem;padding:.6rem}.difference-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem}}
@media(max-width:450px){.difference-controls{grid-template-columns:1fr}}
.spelling-workspace{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.spelling-direction{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin:1rem 0}
.spelling-direction label{display:block;font-size:.87rem;font-weight:700;color:var(--muted)}
.spelling-direction select{display:block;width:100%;margin-top:.32rem;min-height:44px;padding:.45rem .6rem;background:#fff;color:var(--ink);border:1px solid #afc5dc;border-radius:9px}
.spelling-output{white-space:pre-wrap;overflow-wrap:anywhere;min-height:170px;max-height:300px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:10px;padding:.85rem;line-height:1.75}
.spelling-mark{background:#d2f2da;color:#14552c;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.spelling-result-actions,.spelling-review-head,.spelling-review-head div{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}
.spelling-result-actions{margin:.7rem 0 1rem}
.spelling-result-actions button,.spelling-review-head button,.spelling-more{min-height:38px;padding:.35rem .6rem;border:1px solid #bad1e7;border-radius:8px;background:#fff;color:#0d518d;font-size:.86rem;font-weight:650}
.spelling-review-head{justify-content:space-between;border-top:1px solid var(--line);padding-top:.7rem}
.spelling-review-head h3{margin:0;font-size:1rem}
.spelling-suggestions{list-style:none;margin:.7rem 0 0;padding:0;max-height:250px;overflow:auto;overscroll-behavior:contain}
.spelling-suggestions li{margin-bottom:.4rem;padding:.55rem .65rem;background:#fff;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}
.spelling-suggestions label{display:flex;align-items:center;gap:.55rem;cursor:pointer;font-weight:700;font-size:.9rem}
.spelling-suggestions input{width:1.05rem;height:1.05rem;accent-color:var(--blue);flex:none}
.spelling-suggestions small{display:block;margin:.25rem 0 0 1.6rem;color:var(--muted);font-size:.78rem}
.spelling-more{margin-top:.4rem}
@media(max-width:780px){.spelling-workspace{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){.spelling-direction{grid-template-columns:1fr}}
