:root {
  font-family: Geist, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  color: #19212c;
  background: #f6f7f4;
  color-scheme: light;
  --primary: #c2f6d2;
  --ink: #121925;
  --muted: #526070;
  --line: #dbe2df;
  --radius: 22px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .67; }
:focus-visible { outline: 3px solid #1e8062; outline-offset: 4px; }
.skip { position: fixed; top: 12px; left: 12px; transform: translateY(-150%); padding: 12px 18px; color: #121925; background: white; z-index: 5; }
.skip:focus { transform: none; }
.shell { width: min(1160px, 100% - clamp(36px, 9vw, 140px)); margin-inline: auto; }
.site-header { background: #121925; color: #f6f9f6; border-bottom: 1px solid #2b3544; }
.site-header-inner, .footer-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: clamp(1rem, 1.7vw, 1.18rem); font-weight: 730; letter-spacing: -.035em; text-decoration: none; }
.mark { width: 32px; height: 32px; flex: 0 0 32px; background: center/contain no-repeat url('/assets/icon.svg'); }
nav { display: flex; gap: clamp(14px, 3vw, 38px); font-size: .875rem; }
nav a, .footer-inner a { text-decoration: none; }
nav a:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero { background: radial-gradient(ellipse at 79% 23%, #273745 0%, #192333 34%, #121925 72%); color: #f8f9f8; padding: clamp(40px, 7vw, 102px) 0 clamp(42px, 6vw, 86px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 6vw, 78px); }
.eyebrow, .section-index { display: flex; align-items: center; gap: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .115em; font-size: .72rem; }
.eyebrow { color: #c7edda; margin: 0 0 20px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 100%; background: #adf0c6; box-shadow: 0 0 0 4px #c6f7d422; }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; line-height: 1.09; }
h1 { font-size: clamp(2.5rem, 5.7vw, 5.25rem); font-weight: 700; overflow-wrap: normal; hyphens: manual; }
h1 > span { color: #aaf2c4; }
.lede { max-width: 45ch; font-size: clamp(1rem, 1.65vw, 1.15rem); color: #c1ccd6; line-height: 1.62; margin: 22px 0; }
.format-note { display: flex; gap: 8px; flex-wrap: wrap; }
.format-note span { font-size: .75rem; padding: 6px 9px; border: 1px solid #3d4c5c; border-radius: 5px; color: #ced9de; }
.tool { color: #1d2732; background: #fff; border-radius: var(--radius); padding: clamp(18px, 3.3vw, 40px); box-shadow: 0 25px 75px #060b1466; scroll-margin-top: 20px; }
.tool-top { display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; margin-bottom: 19px; }
.tool-top h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.tool-top p { margin: 8px 0 0; font-size: .88rem; color: var(--muted); }
.tool-tag { font-size: .7rem; font-weight: 680; background: #e9f8ee; border: 1px solid #d7e9dc; color: #29543e; border-radius: 5px; padding: 5px 7px; flex: 0 0 auto; }
.drop { position: relative; text-align: center; border: 1.5px dashed #a5b9ae; border-radius: 13px; padding: 25px 12px; background: #f4f9f4; transition: background-color .18s, border-color .18s; display: grid; justify-items: center; }
.drop.is-dragging { border-color: #1e8263; background: #e0f6e8; }
.drop:focus-within .file-label { outline: 3px solid #1e8062; outline-offset: 4px; }
.drop-icon { width: 43px; height: 43px; background: #e2eee6; border-radius: 10px; display: grid; place-items: center; color: #355d4a; position: relative; }
.drop-icon::before { content: ""; width: 15px; height: 19px; border: 1.5px solid currentColor; border-radius: 2px; }
.drop-icon::after { content: ""; width: 5px; height: 5px; border-left: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); position: absolute; top: 17px; }
.drop-icon span { position: absolute; width: 1.5px; height: 9px; background: currentColor; top: 17px; }
.drop-title { font-weight: 680; margin: 12px 0 4px; }
.drop-note { color: var(--muted); font-size: .8rem; margin: 0 0 16px; }
input[type=file] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); }
.primary { padding: 11px 20px; min-height: 44px; border-radius: 8px; border: 1px solid #1d392c; background: #21382c; color: white; font-weight: 650; font-size: .88rem; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.file-label { cursor: pointer; }
.primary:hover { background: #305945; }
.tool-bottom { display: flex; justify-content: space-between; gap: 7px 10px; flex-wrap: wrap; align-items: center; padding-top: 14px; color: #526070; font-size: .72rem; }
.quiet { border: 0; padding: 6px 0; min-height: 33px; background: transparent; color: #265943; text-decoration: underline; text-underline-offset: 4px; font-weight: 660; font-size: .82rem; }
.quiet:hover { color: #102f22; }
.file-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; background: #f4f6f4; border: 1px solid var(--line); border-radius: 8px; margin-top: 12px; padding: 6px 12px; }
.file-row p { margin: 0; overflow-wrap: anywhere; font-size: .86rem; }
.validate-button { margin-top: 12px; width: 100%; }
.status-shell:has(#result[hidden]) { display: none; }
.interaction-status { margin: 12px 0 0; color: #2e5a46; font-size: .85rem; overflow-wrap: anywhere; }
.interaction-status:empty { display: none; }
.interaction-status[data-error=true] { color: #862816; }
#result { color: #202a37; background: #fff; margin-top: 20px; border-radius: var(--radius); padding: clamp(18px, 4vw, 40px); overflow-wrap: anywhere; }
#result:focus { outline-offset: 4px; }
.result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.result-head h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.result-head p { margin: 8px 0 0; max-width: 63ch; color: #455362; }
.badge { display: inline-block; padding: 5px 8px; font-size: .76rem; border-radius: 6px; font-weight: 700; background: #e8edf1; color: #384e60; }
.badge.valid { background: #ddf5e7; color: #23503a; }
.badge.invalid { background: #fce6e2; color: #862816; }
.badge.warning { background: #fff3d9; color: #674708; }
.result-meta { display: flex; flex-wrap: wrap; gap: 15px 45px; padding: 15px 0; }
.result-meta dt { color: var(--muted); font-size: .8rem; }
.result-meta dd { margin: 3px 0 0; font-weight: 650; }
.issue-list { padding: 0; list-style: none; }
.issue-list li { display: grid; gap: 6px; padding: 12px; margin-top: 8px; border: 1px solid #e2e7e3; border-radius: 8px; background: #f8faf8; }
.issue-list p { margin: 0; }
.issue-list code { color: #4d5263; font-size: .8rem; }
.technical { margin: 20px 0 0; border-block: 1px solid var(--line); padding: 14px 0; }
.technical summary { font-weight: 640; cursor: pointer; }
.result-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.summary-strip { padding-block: clamp(42px, 7vw, 94px); }
.section-index { color: #35624e; margin: 0 0 12px; }
.summary-strip h2, .reading-grid h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 29px; }
.section-rule { height: 1px; background: #bdccc4; margin-bottom: 18px; }
.summary-grid h3 { font-size: 1.22rem; }
.summary-grid p, .reading-grid p { color: #495765; line-height: 1.6; margin: 8px 0; }
.reading-bg { border-block: 1px solid #dae3de; background: #edf2ee; }
.reading-grid { padding-block: clamp(42px, 7vw, 82px); display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 7vw, 98px); }
.reading-grid .section-index { color: #35624e; }
.text-link { display: inline-block; color: #235741; font-weight: 660; text-underline-offset: 4px; margin-top: 12px; }
.accordion details { border-top: 1px solid #cbd8d0; padding: 13px 0; }
.accordion details:last-child { border-bottom: 1px solid #cbd8d0; }
.accordion summary { cursor: pointer; font-weight: 665; }
.site-footer { background: #f6f7f4; border-top: 1px solid #dde5df; }
.footer-inner { min-height: 88px; }
.footer-inner .footer-links { gap: 10px clamp(12px, 2vw, 22px); flex-wrap: wrap; font-size: .82rem; }
.footer-inner > .wordmark { flex-shrink: 0; }
.article { max-width: 740px; padding-block: clamp(35px, 7vw, 85px); min-height: 65vh; }
.article h1 { font-size: clamp(2rem, 5vw, 4.15rem); margin-bottom: 20px; }
.article h2 { font-size: clamp(1.5rem, 3vw, 2.18rem); margin-top: 37px; }
.article p, .article li { max-width: 68ch; line-height: 1.66; }
.format-cases dt { font-weight: 700; margin-top: 1rem; }
.format-cases dd { line-height: 1.66; margin: .25rem 0 0; }
.article ul, .article ol { padding-left: 1.4rem; }
.article li + li { margin-top: .44em; }
.article .primary { margin-block: 8px 20px; }
.article a { text-underline-offset: 4px; }
.article .sources { border-top: 1px solid #d6e0d8; padding-top: 14px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .intro h1 { max-width: 14ch; }
  .tool { max-width: 650px; width: 100%; }
}
@media (max-width: 590px) {
  .site-header-inner { min-height: 62px; }
  .hero h1 { font-size: clamp(2rem, 11vw, 3.3rem); }
  .hero { padding-top: 24px; }
  .hero-grid { gap: 18px; }
  .lede { margin: 12px 0 0; }
  .eyebrow, .format-note { display: none; }
  .drop { padding-block: 18px; }
  .summary-grid, .reading-grid { grid-template-columns: 1fr; gap: 17px; }
  .summary-grid { margin-top: 18px; }
  .section-rule { margin-bottom: 13px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 16px; }
}
@media (max-width: 350px) {
  .site-header nav a:first-child { display: none; }
  .tool-top { margin-bottom: 14px; }
  .drop-icon { display: none; }
  .drop { padding-block: 15px; }
  .drop-title { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
.pricing { padding-block: clamp(32px, 7vw, 82px); min-height: 65vh; }
.pricing h1 { font-size: clamp(2.3rem, 5.8vw, 4.45rem); }
.pricing-intro { max-width: 64ch; color: #495765; line-height: 1.6; margin: 17px 0 28px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.plan, .workspace-panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 4vw, 38px); }
.plan { display: flex; flex-direction: column; align-items: flex-start; }
.plan-pro { background: #eff8f0; border-color: #b1cfbc; }
.plan h2, .workspace-panel h2 { font-size: 1.45rem; }
.plan-price { font-weight: 735; font-size: clamp(2rem, 5vw, 3.45rem); line-height: 1.1; letter-spacing: -.045em; margin: 11px 0 1px; }
.plan-price span { font-size: .95rem; font-weight: 620; letter-spacing: normal; }
.plan p:not(.plan-price), .workspace-panel p { color: #495765; line-height: 1.55; }
.plan ul { padding-inline-start: 1.25rem; margin: 2px 0 21px; line-height: 1.55; flex: 1; }
.plan ul li + li { margin-top: .3em; }
.plan .small { margin: 9px 0 0; font-size: .8rem; }
.plan-access { line-height: 1.55; margin-block: 20px 15px; }
.plan-access a { color: #235741; text-underline-offset: 4px; font-weight: 640; }
.pricing-details { padding-block: 12px; border-block-start: 1px solid var(--line); max-width: 69ch; }
.pricing-details summary { cursor: pointer; font-weight: 660; }
.pricing-details p { color: #495765; line-height: 1.55; }
.control-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-block: 8px 0; }
.billing-status { color: #435e53; }
.billing-status[data-error='true'], #payment-message[data-error='true'] { color: #862816; }
.batch-file { position: relative; }
.batch-file:focus-within { outline: 3px solid #1e8062; outline-offset: 4px; }
.batch-progress { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .875rem; }
.batch-progress progress { width: min(18rem, 100%); accent-color: #246648; }
.batch-results { margin-top: 15px; overflow-x: auto; }
.batch-results table { width: 100%; min-width: 600px; border-collapse: collapse; table-layout: fixed; }
.batch-results td, .batch-results th { border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; padding: 10px 8px; overflow-wrap: anywhere; }
.batch-results th:nth-child(2), .batch-results th:nth-child(3) { width: 17%; }
.batch-results th:nth-child(4) { width: 36%; }
.batch-results ol { margin: 5px 0 0; padding-inline-start: 1.1rem; }
.guide-nav ul { list-style: none; padding: 0; }
.guide-nav li { border-block-start: 1px solid var(--line); padding-block: 10px; }
@media (max-width: 650px) { .plans { grid-template-columns: 1fr; } }
.guide-definitions { display: grid; grid-template-columns: minmax(5.8rem, 1fr) minmax(0, 4fr); gap: 0; }
.guide-definitions dt, .guide-definitions dd { padding-block: .65rem; margin: 0; border-block-end: 1px solid var(--line); line-height: 1.5; }
.guide-definitions dt { padding-inline-end: .65rem; font-weight: 700; }
