:root {
  font-family: system-ui, "Leelawadee UI", Tahoma, sans-serif;
  color: #172e2a;
  background: #f4f4ee;
  color-scheme: light;
  line-height: 1.55;
  --ink: #153e34;
  --quiet: #59645d;
  --paper: #fffefa;
  --edge: #dbdfd5;
  --chip: #e9eee6;
}
* { box-sizing: border-box; }
body { margin: 0; }
.dentjob {
  background: #f1f7fb;
  --ink: #134364;
  --quiet: #465f70;
  --chip: #dfeef8;
  --edge: #d6e4eb;
}
a { color: var(--ink); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #297b94; outline-offset: 3px;
}
.wrap { width: min(71rem, 100% - 2rem); margin: auto; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--edge); }
.masthead { min-height: 4rem; display: flex; gap: .65rem 1.2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-block: .65rem; }
.brand { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; font-weight: 760; font-size: 1.55rem; line-height: 1; letter-spacing: -.055em; }
.brand img { width: 132px; height: auto; }
.brand small { margin-top: .2rem; font-size: .72rem; font-weight: 600; letter-spacing: 0; }
.masthead nav { display: flex; flex-wrap: wrap; gap: .45rem 1rem; align-items: center; }
.nav-link { font-weight: 650; text-decoration: none; }
.nav-link:hover { text-decoration: underline; }
.official { color: #7c5d1c; }
.hero { padding-block: clamp(1.8rem, 5vw, 4rem) 1.35rem; max-width: 53rem; }
h1 { line-height: 1.18; letter-spacing: -.025em; font-size: clamp(1.85rem, 4.5vw, 3rem); margin: 0 0 .65rem; text-wrap: balance; }
h2 { line-height: 1.35; font-size: 1rem; margin: .2rem 0; overflow-wrap: anywhere; }
p { margin: 0 0 .8rem; }
.notice { padding: .85rem 1rem; margin-block: 1rem; background: var(--chip); border-radius: .75rem; }
.choices, .filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-block: .85rem; }
.choices a, .button {
  display: inline-flex; align-items: center; min-height: 44px; border-radius: .7rem; font-weight: 680;
  text-decoration: none; padding: .55rem .85rem; background: var(--chip); color: var(--ink);
}
.button { background: var(--ink); color: white; }
.choices a:hover, .button:hover { text-decoration: underline; }
.search { margin-top: 1.5rem; }
.search label { display: block; font-weight: 650; }
input, select { width: 100%; min-height: 44px; border: 1px solid #aab8ad; border-radius: .75rem; color: #172e2a; background: white; font: inherit; padding: .55rem .75rem; }
.filters label { flex: 1 1 12rem; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.product-card { display: block; border-radius: .9rem; overflow: hidden; background: var(--paper); border: 1px solid var(--edge); text-decoration: none; }
.product-card:hover h2 { text-decoration: underline; }
.cover { display: block; width: 100%; aspect-ratio: 1.2; object-fit: contain; background: white; }
.card-copy { padding: .75rem; }
.card-copy :is(small,p), .categories { color: var(--quiet); }
.card-copy p { margin: .3rem 0 0; font-size: .84rem; }
.product { padding-block: 2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(1rem, 5vw, 3rem); }
.product h1 { margin-top: .5rem; overflow-wrap: anywhere; }
.product-photo img { width: 100%; max-height: 33rem; object-fit: contain; border-radius: .85rem; background: white; }
.product-photo:empty { display: none; }
.product:has(.product-photo:empty) { display: block; }
.companies { list-style: none; margin: 0; padding: 0; max-width: 53rem; }
.companies li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; border-bottom: 1px solid var(--edge); padding: .75rem 0; }
.companies .official { margin-left: .6rem; font-size: .83rem; }
footer.wrap { border-top: 1px solid var(--edge); margin-top: 2.5rem; padding-block: 1.2rem; display: flex; flex-wrap: wrap; gap: .6rem 1rem; font-size: .88rem; }
@media (max-width: 52rem) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 36rem) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .masthead nav { font-size: .9rem; gap: .45rem .6rem; }
}
