:root {
  color-scheme: light;
  --paper: #faf9f5;
  --ink: #182125;
  --soft: #48535c;
  --blue: #2545bb;
  --line: #cdd1cd;
  font: 100%/1.65 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .26em; }
:focus-visible { outline: 3px solid #315fd6; outline-offset: 4px; }
.wrap { width: min(1250px, calc(100% - clamp(36px, 9vw, 148px))); margin-inline: auto; }
.skip { position: absolute; z-index: 5; left: 10px; top: 6px; padding: 8px 14px; background: #fff; transform: translateY(-165%); }
.skip:focus { transform: none; }
.mast { border-bottom: 1px solid var(--line); }
.mast-inner, nav, .brand, .actions, footer .wrap { display: flex; align-items: center; }
.mast-inner, footer .wrap { justify-content: space-between; column-gap: 12px; }
.mast-inner { min-height: 69px; }
.brand { gap: 8px; font: 750 1.65rem/1.2 Arial, sans-serif; letter-spacing: -.075em; text-decoration: none; }
nav { gap: clamp(12px, 2.6vw, 38px); }
nav a, .actions a, footer a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-size: .94rem; font-weight: 600; }
nav .work-link { border-left: 1px solid var(--line); padding-left: clamp(10px, 2.2vw, 32px); color: var(--blue); }
nav a:hover, footer a:hover, .quiet-link:hover { text-decoration: underline; }
.hero { border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .69fr) minmax(0, 1.31fr); align-items: center; gap: clamp(24px, 4.2vw, 66px); padding-block: clamp(32px, 4.6vw, 68px); }
.hero-text h1 { font-size: clamp(2rem, 3.5vw, 3.45rem); line-height: 1.22; letter-spacing: -.045em; }
.hero-text h1 > span { color: var(--blue); display: block; font: 730 clamp(4.4rem, 7.3vw, 7rem)/.85 'Helvetica Neue', Arial, sans-serif; letter-spacing: -.085em; margin: 0 0 clamp(19px,2vw,30px) -.05em; }
.hero-text > p, .story > p:not(.context), .section-head > p, .portals p { color: var(--soft); font-size: clamp(1rem,1.14vw,1.1rem); line-height: 1.85; }
.hero-text > p { max-width: 28em; margin-top: 18px; }
.actions { flex-wrap: wrap; gap: 18px 25px; margin-top: 24px; }
.actions .button { background: var(--blue); color: white; padding: 9px 22px; border-radius: 4px; }
.button:hover { background: #193594; }
.actions .quiet-link { text-decoration: underline; }
.product-shot { min-width: 0; }
.screen-mat {
  border: 1px solid #c5d1ed;
  border-radius: 15px;
  padding: clamp(12px, 1.9vw, 27px);
  background: linear-gradient(125deg, #eef3fd, #c3d0f5 60%, #879fe4);
}
.screen-mat picture, .screen-mat img { display: block; width: 100%; }
.screen-mat img { height: auto; border-radius: 9px; box-shadow: 0 8px 20px #20356a33; }
.product-shot figcaption {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 3px 12px; padding: 9px 1px 0;
  color: var(--soft); font-size: .8125rem;
}
.product-shot figcaption strong { font-weight: 650; color: #344367; }
.cases, .specialists { padding-block: clamp(38px,5.3vw,80px); }
.section-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); align-items: end; gap: 18px 50px; margin-bottom: clamp(25px,3.3vw,48px); }
.section-head h2 { font-size: clamp(1.9rem,3.2vw,3rem); line-height: 1.25; letter-spacing: -.055em; }
.section-head > p { max-width: 29em; justify-self: end; font-size: 1rem; }
.case { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(25px,7vw,105px); align-items: start; padding-block: clamp(25px,3.1vw,45px); border-top: 1px solid var(--line); }
.case:last-of-type { padding-bottom: 0; }
.context { display: flex; align-items: baseline; column-gap: 14px; color: var(--soft); font-size: .875rem; }
.context span { font: 660 .9375rem/1.3 'Helvetica Neue', Arial, sans-serif; }
.chem-case .context span { color: #216348; }
.shop-case .context span { color: #8e431e; }
.story h3 { font-size: clamp(1.45rem,2.1vw,2.15rem); line-height: 1.4; letter-spacing: -.045em; margin-block: 10px 14px; }
.story > p + p { margin-top: 8px; }
.result { padding: clamp(18px,2.6vw,38px); min-width: 0; }
.chem-result { background: #e5eee5; color: #1d4636; }
.shop-result { background: #f3e6d6; color: #553921; }
.result-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding-bottom: 12px; border-bottom: 1px solid currentColor; }
.result-head h4 { font-size: 1.15rem; }
.result-head > span { font-size: .8125rem; }
blockquote { margin-block: 18px 12px; font-family: 'Songti SC','STSong',Georgia,serif; font-size: clamp(1.4rem,2.1vw,2.15rem); line-height: 1.5; }
.source, .detail-body, .account { font-size: .9375rem; }
.result details { margin-top: 15px; border-top: 1px solid #0003; }
.result summary { cursor: pointer; width: fit-content; min-height: 44px; padding-top: 11px; font-size: .9375rem; font-weight: 650; }
.result summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.detail-body { padding-block: 6px 4px; }
.detail-body code { display: block; overflow-wrap: anywhere; font-size: .9rem; font-family: ui-monospace, Menlo, monospace; background: #fff9; padding: 8px 10px; margin-bottom: 7px; }
.fees { margin-top: 10px; }
.fees div { display: flex; gap: 12px; justify-content: space-between; border-top: 1px solid #0002; padding-block: 4px; }
.grades { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 15px; margin: 12px 0 16px; }
.grades dt { font-size: .875rem; }
.grades dd { font: 650 clamp(1.1rem,1.75vw,1.65rem)/1.35 'Helvetica Neue',Arial,sans-serif; font-variant-numeric: tabular-nums; }
.distribution { display: grid; grid-template-columns: 207fr 251fr 745fr 3308fr 5489fr; height: 20px; gap: 2px; margin-top: 20px; }
.distribution i:nth-child(1) { background: #5b2e16; }
.distribution i:nth-child(2) { background: #87451d; }
.distribution i:nth-child(3) { background: #ab6334; }
.distribution i:nth-child(4) { background: #c68854; }
.distribution i:nth-child(5) { background: repeating-linear-gradient(-45deg, #d8bfa1 0 3px,#efe0ce 3px 6px); }
.specialists { background: #edeff0; border-block: 1px solid var(--line); }
.portals { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px,5vw,78px); }
.portals article { border-top: 2px solid; padding-top: 14px; }
.chem-portal { color: #23543e; }
.shop-portal { color: #854019; }
.portals h3 { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; font-size: 1.06rem; }
.portals h3 span { font: 640 clamp(2.1rem,3.5vw,3.25rem)/1.3 'Helvetica Neue',Arial,sans-serif; letter-spacing: -.055em; }
.chem-portal h3 span { font-family: Georgia,serif; font-weight: 500; font-style: italic; }
.portals p { margin-block: 8px 12px; max-width: 32em; }
.portals a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.account { margin-top: 25px; color: var(--soft); }
footer .wrap { padding-block: 16px; }
@media (max-width: 900px) {
  .mast-inner { min-height: 58px; }
  .hero-grid, .case, .section-head { grid-template-columns: 1fr; }
  .hero-text > p { max-width: 32em; }
  .hero-grid { gap: 22px; padding-block: 28px; }
  .hero-text h1 > span { font-size: 4.2rem; margin-bottom: 13px; }
  .hero-text h1 { text-wrap: balance; }
  .section-head { gap: 10px; }
  .section-head > p { justify-self: start; }
  .case { gap: 18px; }
  .actions { margin-top: 18px; }
}
@media (max-width: 560px) {
  .portals { grid-template-columns: 1fr; }
  .mast .brand { font-size: 1.38rem; gap: 5px; }
  .mast .brand img { width:24px; height:24px; }
  nav { gap: 10px; }
  nav a { font-size: .875rem; }
}
@media (forced-colors:active) { .button, .result, .screen-mat { border: 1px solid CanvasText; } }
.portals .docs-link { margin-left: 16px; font-size: .875rem; font-weight: 500; }
