:root {
  color-scheme: light;
  --ink: #172e42;
  --muted: #516678;
  --line: #dce6eb;
  --green: #087b70;
  --soft: #eef6f4;
  --paper: #fbfcfa;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #056d64;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.button {
  border: 1px solid var(--green);
  border-radius: 7px;
  padding: 0.65em 1em;
  min-height: 44px;
  cursor: pointer;
  color: white;
  background: var(--green);
  display: inline-block;
  text-decoration: none;
}
button.secondary,
.button.secondary {
  background: white;
  color: var(--green);
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
button:hover,
.button:hover {
  filter: brightness(0.94);
}
:focus-visible {
  outline: 3px solid #c98313;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 9;
}
.skip:focus {
  top: 1rem;
  background: white;
  padding: 1rem;
}
.shell {
  max-width: 1180px;
  margin: auto;
  padding: 0 28px;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: white;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding-block: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}
.brand strong {
  display: block;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.brand small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  max-width: 215px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
nav a {
  color: var(--ink);
}
.languages {
  position: relative;
}
.languages summary {
  cursor: pointer;
  padding: 0.35em 0.65em;
  border: 1px solid var(--line);
  border-radius: 5px;
  white-space: nowrap;
}
.languages div {
  position: absolute;
  inset-inline-end: 0;
  z-index: 5;
  background: white;
  box-shadow: 0 10px 35px #172e4220;
  min-width: 180px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.languages a {
  display: block;
  padding: 5px 10px;
}
main {
  min-height: 60vh;
  padding-block: 48px 72px;
}
.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  max-width: 850px;
  margin: 0.4em 0;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0.9em 0;
}
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 760px;
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 60px;
}
.hero-image {
  width: 100%;
  max-height: 410px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 24px;
}
.section {
  margin-top: 60px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  padding: 27px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.card h2,
.card h3 {
  margin-top: 8px;
}
.card p {
  color: var(--muted);
}
.card a {
  font-weight: 650;
}
.number {
  font-variant-numeric: tabular-nums;
  color: var(--green);
  font-size: 0.8rem;
}
.company {
  background: var(--soft);
  padding: 30px;
  border-radius: 12px;
}
.breadcrumbs {
  font-size: 0.86rem;
  margin-bottom: 22px;
  color: var(--muted);
}
.article {
  max-width: 800px;
}
.article h2 {
  margin-top: 38px;
}
.article li {
  padding-inline-start: 8px;
  margin-bottom: 20px;
}
.article li p {
  margin-top: 0.3em;
}
.notice {
  border-inline-start: 4px solid var(--green);
  padding: 14px 20px;
  background: var(--soft);
}
.tool {
  max-width: 860px;
  margin-top: 30px;
}
.controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: block;
  font-weight: 650;
  margin-bottom: 18px;
}
.field span {
  display: block;
  margin-bottom: 7px;
}
select,
textarea {
  width: 100%;
  border: 1px solid #8ba2ae;
  border-radius: 6px;
  padding: 10px;
  background: white;
  color: var(--ink);
}
textarea {
  min-height: 240px;
  direction: ltr;
  text-align: left;
  font:
    14px/1.6 ui-monospace,
    SFMono-Regular,
    monospace;
  resize: vertical;
}
small,
.small {
  font-size: 0.85rem;
  color: var(--muted);
}
.results {
  margin-top: 24px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  overflow-wrap: anywhere;
}
.results:empty {
  display: none;
}
dl {
  margin: 0;
}
dl div {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 2fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
}
.product-next {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.product-next h2 {
  margin-top: 0;
  font-size: 1.35rem;
}
.product-next a {
  margin-inline-end: 18px;
  display: inline-block;
  margin-bottom: 10px;
}
.measurement {
  margin-top: 48px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 860px;
  background: white;
}
.measurement h2 {
  font-size: 1.1rem;
  margin-top: 0;
}
.measurement p {
  font-size: 0.85rem;
}
.measurement .actions {
  margin-bottom: 0;
  margin-top: 14px;
}
.measurement button {
  font-size: 0.85rem;
}
.site-footer {
  background: #eaf0ed;
  padding-block: 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.footer-inner p {
  max-width: 530px;
  font-size: 0.85rem;
}
.site-footer nav {
  font-size: 0.85rem;
}
.refs {
  overflow-wrap: anywhere;
}
.refs li {
  margin-bottom: 8px;
}
[hidden] {
  display: none !important;
}
bdi {
  overflow-wrap: anywhere;
}
[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}
[dir="rtl"] .article {
  line-height: 1.95;
}
@media (max-width: 760px) {
  .shell {
    padding-inline: 20px;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 18px;
  }
  .header-inner nav {
    order: 3;
    width: 100%;
    gap: 24px;
    font-size: 0.92rem;
  }
  .brand small {
    max-width: 170px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 36px;
  }
  .hero-image {
    max-height: 260px;
  }
  .grid,
  .controls {
    grid-template-columns: 1fr;
  }
  main {
    padding-top: 28px;
  }
  .card {
    padding: 22px;
  }
  .footer-inner {
    display: block;
  }
  .footer-inner nav {
    margin-top: 24px;
  }
  h1 {
    font-size: 2.1rem;
  }
  .section {
    margin-top: 38px;
  }
  dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .actions {
    gap: 10px;
  }
  .measurement .actions button {
    flex: 1 1 auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  a,
  button {
    transition:
      color 0.15s,
      background 0.15s;
  }
}
