:root {
  --ink: #242424;
  --ink-soft: #3b3b3b;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --hair: #f0f0f0;
  --code-bg: #f4f4f4;
  --wash: #fafafa;
  --green: #1d3b2a;
  --serif: "Source Serif 4", Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 30;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip:focus {
  top: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.topbar {
  position: relative;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--hair);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1192px;
  min-height: 57px;
  margin: 0 auto;
  padding: 0 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.topnav {
  margin-left: auto;
}

.topnav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topnav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.topnav a:hover,
.topnav a[aria-current="page"] {
  color: var(--ink);
}

.menu-button {
  display: none;
  margin-left: auto;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.post {
  max-width: 728px;
  margin: 0 auto;
  padding: 0 24px;
}

.post-head {
  padding-top: 48px;
}

.crumb {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}

.crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: #b0b0b0;
}

.crumb a {
  color: var(--muted);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.post-title {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 42px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.post-subtitle {
  margin: 0 0 32px;
  font-size: 21px;
  line-height: 1.45;
  color: var(--muted);
}

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.byline__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
}

.byline__name {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.byline__name a {
  text-decoration: none;
}

.byline__name a:hover {
  text-decoration: underline;
}

.byline__meta {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.share {
  margin-left: auto;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.share:hover {
  border-color: #a8a8a8;
}

.share.is-copied {
  border-color: var(--ink);
}

.cover {
  margin: 40px 0 0;
}

.cover img {
  width: 100%;
}

figcaption {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

.prose {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.003em;
  color: var(--ink);
}

.prose > :first-child {
  margin-top: 40px;
}

.prose p {
  margin: 1.4em 0 0;
}

.prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-thickness: 2px;
}

.prose h2 {
  margin: 2.3em 0 0;
  font-family: var(--sans);
  font-size: 25px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.prose h3 {
  margin: 1.8em 0 0;
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.006em;
}

.prose h2 + p,
.prose h3 + p,
.prose h2 + ul,
.prose h2 + ol,
.prose h3 + ul,
.prose h3 + ol,
.prose h3 + .ip,
.prose h3 + figure,
.prose h3 + .facts,
.prose h3 + .path {
  margin-top: 0.6em;
}

.prose ul,
.prose ol {
  margin: 1.2em 0 0;
  padding-left: 1.6em;
}

.prose li {
  margin-top: 0.55em;
  padding-left: 0.25em;
}

.prose li::marker {
  color: var(--ink-soft);
}

.prose strong {
  font-weight: 700;
}

.prose code {
  padding: 2px 3px;
  border-radius: 3px;
  background: var(--code-bg);
  font-family: var(--mono);
  font-size: 0.78em;
  overflow-wrap: anywhere;
}

.prose blockquote {
  margin: 1.6em 0 0;
  padding: 0 0 0 20px;
  border-left: 3px solid var(--ink);
  font-style: italic;
}

.prose blockquote p {
  margin: 0;
}

.prose figure {
  margin: 1.4em 0 0;
}

.prose figure img {
  width: 100%;
}

.small,
.prose .small {
  margin-top: 0.9em;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.ip {
  position: relative;
  margin: 1em 0 0;
}

.ip pre {
  margin: 0;
  padding: 16px 104px 16px 20px;
  border-radius: 4px;
  background: var(--code-bg);
  overflow-x: auto;
  line-height: 1.5;
}

.ip code,
.prose .ip code {
  padding: 0;
  background: none;
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0;
}

.ip .btn-copy {
  position: absolute;
  right: 12px;
  bottom: 12px;
}

.ip--fields .btn-copy {
  bottom: auto;
  top: 12px;
}

.ip--plain pre {
  padding-right: 20px;
}

.ip__label {
  display: block;
  margin: 0 0 6px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.ip__label + pre + .btn-copy {
  bottom: 11px;
}

.ip-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 1.2em;
}

.ip-pair .ip {
  margin: 0;
}

.ip-pair .small {
  grid-column: 1 / -1;
  margin: 0;
}

.btn-copy {
  padding: 5px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
}

.btn-copy:hover {
  border-color: #8f8f8f;
}

.btn-copy.is-copied {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.pick {
  margin-top: 1.5em;
}

.pick + .pick {
  margin-top: 1.3em;
}

.pick__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pick__head img {
  width: 58px;
  height: auto;
  flex: none;
}

.pick__name {
  margin: 0 !important;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.pick__rank {
  color: var(--muted);
  font-weight: 500;
  margin-right: 2px;
}

.pick__sub {
  margin: 2px 0 0 !important;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.pick .ip {
  margin-top: 12px;
}

.pick__note {
  margin: 8px 0 0 !important;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.live {
  color: var(--ink-soft);
}

.pick__address {
  margin: 10px 0 0 !important;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.prose .pick__address code {
  font-size: 14px;
}

.good-to-know,
.prose .good-to-know {
  margin-top: 0.8em;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.good-label,
.prose .good-label {
  margin-top: 1em;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
}

.prose .good-label + ul.minus {
  margin-top: 0.3em;
}

.embeds {
  margin: 1.2em 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

.embeds li {
  margin: 0 !important;
  padding: 0 !important;
}

.embeds li + li {
  margin-top: 12px !important;
}

.embed {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 18px 16px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none !important;
  font-family: var(--sans);
}

.embed:hover {
  border-color: #bdbdbd;
}

.embed__body {
  display: block;
  min-width: 0;
}

.embed__if {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.embed__title {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.embed__text {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.embed__go {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.embed img.focus-left,
.post-list img.focus-left {
  object-position: 0 50%;
}

.embed img {
  width: 120px;
  height: 80px;
  margin-left: auto;
  flex: none;
  object-fit: cover;
  border-radius: 2px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  padding: 0 !important;
  list-style: none;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.facts li {
  margin: 0 !important;
  padding: 0 !important;
}

.facts li:not(:last-child)::after {
  content: "\00b7";
  margin: 0 8px;
  color: #a3a3a3;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
}

.prose .actions {
  margin-top: 1em;
}

.criteria {
  columns: 2;
  column-gap: 48px;
}

.criteria li {
  break-inside: avoid;
  margin-top: 0.4em;
}

.criteria li:first-child {
  margin-top: 0;
}

.spec {
  margin: 1.2em 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}

.spec div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  color: var(--muted);
}

.spec dd {
  margin: 0;
}

.prose .spec code {
  font-size: 14px;
}

.entry + .entry {
  margin-top: 2.4em;
}

.prose ul.minus {
  list-style: "\2013\00a0\00a0";
}

.steps > li {
  margin-top: 1em;
}

.steps > li::marker {
  font-family: var(--sans);
  font-weight: 700;
}

.steps .ip {
  margin-bottom: 4px;
}

.path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0.8em 0 0.6em !important;
  padding: 0 !important;
  list-style: none;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

.path li {
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 600;
}

.path li:not(:last-child)::after {
  content: "\2192";
  margin: 0 10px;
  font-weight: 400;
  color: var(--muted);
}

.table-scroll {
  margin: 1.4em 0 0;
  overflow-x: auto;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
}

.prose th,
.prose td {
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th:last-child,
.prose td:last-child {
  padding-right: 0;
}

.prose thead th {
  border-bottom-color: #c9c9c9;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.prose tbody th {
  font-weight: 600;
}

.prose td.generic {
  color: var(--muted);
}

.prose table code {
  font-size: 13.5px;
}

.compare {
  min-width: 660px;
  table-layout: fixed;
}

.prose .compare {
  font-size: 14px;
}

.compare thead th:first-child {
  width: 15%;
}

.prose .compare code {
  font-size: 12.5px;
}

.devices td.no {
  color: var(--muted);
}

.devices td.yes {
  font-weight: 600;
}

.devices tr.is-java th,
.devices tr.is-java td {
  background: var(--wash);
}

.author-card {
  display: flex;
  gap: 20px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.author-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex: none;
}

.author-card__name {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.author-card__bio {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.author-card__link {
  margin: 10px 0 0;
  font-size: 14px;
}

.author-card__link a {
  text-underline-offset: 3px;
}

.more {
  margin-top: 72px;
  padding: 48px 0 56px;
  background: var(--wash);
  border-top: 1px solid var(--hair);
}

.more__inner {
  max-width: 728px;
  margin: 0 auto;
  padding: 0 24px;
}

.more h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.post-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-list li + li {
  border-top: 1px solid var(--line);
}

.post-list a {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  text-decoration: none;
}

.post-list__text {
  display: block;
  min-width: 0;
}

.post-list__kicker {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--muted);
}

.post-list__title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.008em;
}

.post-list a:hover .post-list__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-list__dek {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.post-list__date {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.post-list img {
  width: 112px;
  height: 75px;
  margin-left: auto;
  flex: none;
  object-fit: cover;
  border-radius: 2px;
}

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--hair);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.more + .site-footer {
  border-top-color: var(--line);
}

.site-footer__inner {
  max-width: 728px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-footer__links {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px 16px;
  align-items: baseline;
}

.site-footer h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer__legal {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.site-footer__legal p {
  margin: 0 0 4px;
}

.disclosure {
  color: var(--ink);
  font-weight: 500;
}

.notfound {
  padding-top: 72px;
  padding-bottom: 72px;
}

.notfound__code {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.notfound .post-list {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.notfound__home {
  margin: 28px 0 0;
  font-size: 15px;
}

.notfound__home a {
  text-underline-offset: 3px;
}

@media (min-width: 900px) {
  .prose blockquote {
    margin-left: -23px;
  }
}

@media (max-width: 820px) {
  .menu-button {
    display: inline-block;
  }

  .topbar__inner {
    flex-wrap: wrap;
  }

  .js .topnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 6px 24px 14px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .js .topnav.is-open {
    display: block;
  }

  .topnav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .topnav a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
    color: var(--ink);
  }

  .topnav li + li {
    border-top: 1px solid var(--hair);
  }

  .topnav a[aria-current="page"] {
    font-weight: 600;
  }
}

@media (max-width: 600px) {
  .topbar__inner,
  .post,
  .more__inner,
  .site-footer__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .js .topnav {
    padding: 4px 20px 12px;
  }

  .wordmark {
    font-size: 19px;
  }

  .post-head {
    padding-top: 32px;
  }

  .post-title {
    font-size: 32px;
    line-height: 1.22;
  }

  .post-subtitle {
    margin-bottom: 24px;
    font-size: 18px;
  }

  .byline {
    flex-wrap: wrap;
  }

  .share {
    margin-left: 0;
  }

  .cover {
    margin-top: 28px;
  }

  .prose {
    font-size: 18px;
    line-height: 1.65;
  }

  .prose > :first-child {
    margin-top: 28px;
  }

  .prose h2 {
    font-size: 22px;
  }

  .prose h3 {
    font-size: 18.5px;
  }

  .ip pre {
    padding: 14px 96px 14px 14px;
  }

  .ip code,
  .prose .ip code {
    font-size: 15px;
  }

  .ip--fields pre {
    padding-right: 14px;
    padding-top: 52px;
  }

  .ip--fields.ip--plain pre {
    padding-top: 14px;
  }

  .ip-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .prose table {
    font-size: 14px;
  }

  .prose th,
  .prose td {
    padding-right: 10px;
  }

  .criteria {
    columns: 1;
  }

  .spec div {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
  }

  .embed {
    gap: 14px;
    padding: 14px;
  }

  .embed img {
    width: 76px;
    height: 76px;
  }

  .embed__text {
    font-size: 14px;
  }

  .post-list a {
    gap: 16px;
    padding: 18px 0;
  }

  .post-list img {
    width: 80px;
    height: 80px;
  }

  .post-list__title {
    font-size: 18px;
  }

  .post-list__dek {
    font-size: 15px;
  }

  .author-card {
    gap: 14px;
    margin-top: 48px;
  }

  .author-card img {
    width: 52px;
    height: 52px;
  }

  .more {
    margin-top: 56px;
    padding: 36px 0 40px;
  }

  .site-footer__links {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .site-footer__links ul + h2 {
    margin-top: 12px;
  }
}
