:root {
  color-scheme: light;
  --ink: #172b40;
  --navy: #142c43;
  --muted: #4c6174;
  --blue: #244d6d;
  --line: #d8e2ea;
  --fog: #eef3f7;
  --paper: #fff;
  --add: #145738;
  --add-bg: #dcf2e6;
  --del: #8a2932;
  --del-bg: #f9e4e7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
  font: 16px/1.55 var(--sans);
  color: var(--ink);
  background: var(--fog);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
p,
h1,
h2,
h3,
dd,
blockquote,
figure {
  margin: 0;
}
img {
  max-width: 100%;
}
a {
  color: var(--blue);
}
button,
input,
textarea {
  font: inherit;
}
button:enabled {
  cursor: pointer;
}
button:disabled {
  opacity: 0.52;
}
a,
button,
input,
summary,
textarea {
  outline-offset: 3px;
}
:focus-visible {
  outline: 2px solid #316aab;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
textarea,
input:not([type="file"]) {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.frame {
  width: min(1160px, 100% - 64px);
  margin-inline: auto;
}
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-wrap,
.footer .frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 65px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--navy);
}
nav {
  display: flex;
  gap: clamp(11px, 3vw, 32px);
  flex-wrap: wrap;
}
nav a,
.footer a {
  font-size: 0.9rem;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.skip {
  position: fixed;
  z-index: 5;
  left: 12px;
  top: 12px;
  padding: 8px;
  background: white;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(0, 0.85fr);
  gap: clamp(20px, 6vw, 74px);
  align-items: center;
  padding-block: clamp(34px, 5.5vw, 70px);
}
.privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #235648;
  font-size: 0.85rem;
  font-weight: 700;
}
.privacy span {
  width: 8px;
  height: 8px;
  background: #2e8d68;
  border-radius: 100%;
  flex: none;
}
.hero h1,
.scene h1 {
  font: 400 clamp(2.9rem, 6vw, 5.25rem)/0.99 var(--serif);
  letter-spacing: -0.058em;
  margin-block: 17px;
}
.lede {
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.04rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 650;
  min-height: 42px;
  padding: 7px 14px;
  border-radius: 5px;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.2;
  font-size: 0.93rem;
}
.button:hover {
  text-decoration: none;
}
.primary {
  background: var(--navy);
  color: #fff;
}
.primary:hover {
  background: #234967;
}
.secondary,
.quiet {
  color: var(--navy);
  background: transparent;
}
.secondary {
  border-color: #bdcddb;
}
.secondary:hover,
.quiet:hover {
  background: #eaf1f7;
}
.quiet {
  padding-inline: 10px;
}
.excerpt {
  background: #fff;
  border: 1px solid #cbd9e4;
  border-top: 4px solid #7694b0;
  box-shadow: 6px 7px 0 #dce6ef;
  transform: rotate(-1.75deg);
}
.excerpt figcaption,
.excerpt-key {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--muted);
}
.excerpt figcaption {
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}
.excerpt blockquote {
  font: 1.28rem/1.55 var(--serif);
  padding: 24px 16px 22px;
}
.excerpt-key {
  justify-content: flex-start;
  border-top: 1px solid var(--line);
  gap: 24px;
}
.excerpt-key i {
  display: inline-block;
  margin-right: 5px;
  width: 8px;
  height: 8px;
  background: var(--del);
  border-radius: 50%;
}
.excerpt-key span + span i {
  background: var(--add);
}
del {
  color: var(--del);
  background: var(--del-bg);
  text-decoration: line-through;
  text-decoration-thickness: 1.4px;
}
ins {
  color: var(--add);
  background: var(--add-bg);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.4px;
}
.workbench {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  scroll-margin-top: 12px;
}
.workhead,
.runbar,
.result-head,
.controls,
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 22px;
}
.workhead {
  border-bottom: 1px solid var(--line);
}
.workhead h2 {
  font-size: 1.3rem;
}
.workhead p,
.result-head p,
.runbar p {
  font-size: 0.87rem;
  color: var(--muted);
}
.inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 22px 0;
}
.input-card {
  min-width: 0;
  padding: 14px 15px;
  background: #f5f8fb;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.input-card[data-drop] {
  border-color: #3d79a2;
  background: #e9f2fa;
}
.input-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.03rem;
}
.input-card h3 span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  color: #fff;
  background: #526d88;
  border-radius: 3px;
  font-size: 0.75rem;
}
.input-card[data-side="revised"] h3 span {
  background: #397562;
}
.input-card p {
  font-size: 0.87rem;
  color: var(--muted);
  margin-top: 3px;
}
.picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 10px;
  padding: 6px 10px;
  background: white;
  color: var(--navy);
  border: 1px solid #c4d3df;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 650;
}
.picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.picker:focus-within {
  outline: 2px solid #316aab;
  outline-offset: 3px;
}
.filename {
  min-height: 1.4em;
  overflow-wrap: anywhere;
}
.input-card details {
  margin-top: 6px;
  font-size: 0.87rem;
}
.input-card summary,
.faq summary,
.note summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 650;
}
textarea,
input:not([type="file"], [type="checkbox"]) {
  width: 100%;
  color: var(--ink);
  border: 1px solid #bbccd9;
  border-radius: 4px;
  background: white;
  padding: 8px 10px;
}
textarea {
  display: block;
  margin-top: 5px;
  resize: vertical;
}
.runbar {
  justify-content: flex-start;
  flex-wrap: wrap;
}
.runbar p[data-error] {
  color: var(--del);
}
.results {
  border-top: 1px solid var(--line);
  padding-bottom: 12px;
}
.result-head h3 {
  font-size: 1.2rem;
}
.counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 22px;
}
.counts div {
  padding: 9px;
  background: var(--fog);
  border-radius: 4px;
}
.counts dt {
  color: var(--muted);
  font-size: 0.81rem;
}
.counts dd {
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.notice {
  margin: 10px 22px;
  padding: 9px;
  background: #fcf1d9;
  color: #664b04;
  font-size: 0.88rem;
}
.controls {
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.controls label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.views {
  display: flex;
  gap: 2px;
  padding: 2px;
  background: var(--fog);
  border-radius: 4px;
}
.views button {
  min-height: 34px;
  padding: 4px 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  border-radius: 3px;
}
.views button[aria-pressed="true"] {
  background: white;
  border-color: var(--line);
  font-weight: 650;
}
.redline {
  margin-inline: 22px;
  border-block-start: 1px solid var(--line);
  padding-block: 10px 14px;
  overflow-wrap: anywhere;
}
.redline header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 14px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}
.redline h4 {
  margin: 0;
  color: var(--navy);
  font-size: 0.91rem;
}
.redline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.redline-body {
  white-space: pre-wrap;
  font: 1rem/1.6 var(--serif);
  padding: 9px 11px;
  background: #f5f8fb;
  border-radius: 4px;
  min-width: 0;
}
.redline-grid small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
}
.note {
  font-size: 0.82rem;
  margin-top: 7px;
}
.empty {
  margin: 8px 22px;
  color: var(--muted);
}
#more {
  margin-inline: 22px;
}
.lower {
  margin-block: clamp(35px, 6vw, 66px);
}
.lower h2,
.scene h2 {
  font: 400 clamp(1.65rem, 3.4vw, 2.55rem)/1.14 var(--serif);
  margin-bottom: 12px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 10px;
}
.case-grid a {
  display: grid;
  gap: 3px;
  padding: 13px 12px;
  background: #fff;
  border-left: 3px solid #a4b9cd;
  text-decoration: none;
}
.case-grid a:hover {
  border-color: #416a88;
}
.case-grid span,
.purchase p {
  color: var(--muted);
  font-size: 0.9rem;
}
.purchase {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 20px;
  align-items: center;
  border-block: 1px solid var(--line);
  padding-block: 20px;
}
.price-card {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.price-card strong {
  font-size: 1.55rem;
  color: var(--navy);
}
.price-card .button {
  margin-top: 8px;
}
.faq details {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.faq details p {
  max-width: 70ch;
  padding: 5px 0 0;
  color: var(--muted);
}
.footer {
  background: white;
  border-top: 1px solid var(--line);
}
.footer .frame {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding-block: 12px;
}
.footer a:first-child {
  font-weight: 700;
  margin-right: auto;
}
.scene {
  padding-block: clamp(32px, 7vw, 85px);
  min-height: 68vh;
}
.scene h1 {
  font-size: clamp(2.5rem, 5.7vw, 4.6rem);
  max-width: 19ch;
}
.scene article {
  max-width: 73ch;
  margin-top: 32px;
}
.scene article p {
  margin-bottom: 12px;
}
.scene ul {
  padding-left: 22px;
}
.scene li {
  padding-block: 5px;
}
.scene .case-grid {
  margin-top: 22px;
}
dialog {
  width: min(500px, 100% - 24px);
  max-height: 90dvh;
  border: 1px solid #becfdd;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  padding: 18px;
}
dialog:modal {
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #142c4394;
  overflow: hidden;
  overscroll-behavior: contain;
}
.dialog-head {
  padding: 0;
  margin-bottom: 8px;
}
.dialog-head h1 {
  font: 1.65rem/1.1 var(--serif);
}
dialog p {
  font-size: 0.9rem;
  margin-block: 8px 12px;
  color: var(--muted);
}
.activation {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 4px;
}
.activation input {
  min-width: 0;
}
.activation button {
  flex: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 850px) {
  .frame {
    width: calc(100% - 36px);
  }
  .hero {
    gap: 22px;
  }
  .excerpt {
    transform: none;
  }
  .excerpt blockquote {
    font-size: 1.08rem;
  }
}
@media (max-width: 640px) {
  .frame {
    width: calc(100% - 26px);
  }
  .hero,
  .inputs,
  .purchase {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 27px;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 11.6vw, 4rem);
  }
  .hero h1 br {
    display: none;
  }
  .excerpt blockquote {
    padding: 10px 13px;
  }
  .excerpt-key {
    display: none;
  }
  .workhead,
  .runbar,
  .result-head,
  .controls {
    padding-inline: 12px;
  }
  .inputs,
  .counts,
  .notice,
  .redline,
  .empty,
  #more {
    margin-inline: 12px;
  }
  .workhead {
    align-items: flex-start;
  }
  .workhead .button {
    min-height: 36px;
  }
  .redline-grid {
    grid-template-columns: 1fr;
  }
  .nav-wrap {
    min-height: 56px;
  }
  .brand img {
    width: 22px;
    height: 22px;
  }
  .brand {
    font-size: 1rem;
    gap: 6px;
  }
  nav a {
    font-size: 0.8rem;
  }
  .button {
    font-size: 0.87rem;
  }
  .activation {
    flex-wrap: wrap;
  }
}
