:root {
  --portal-paper: #f6f6f2;
  --portal-tint: #eeefea;
  --portal-white: #fff;
  --portal-ink: #15191d;
  --portal-copy: #4d5962;
  --portal-line: #d7dad5;
  --portal-link: #0054c7;
  --portal-accent: #00e0ff;
  --portal-width: 1160px;
  --portal-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.portal-home {
  margin: 0;
  color: var(--portal-ink);
  background: var(--portal-paper);
  font: 1rem/1.6 var(--portal-font);
}

.portal-home [hidden] { display: none !important; }
.portal-home :where(h1, h2, h3, p, figure, dl, dd, ol, ul) { margin: 0; }
.portal-home :where(h1, h2, h3) { line-height: 1.12; text-wrap: balance; }
.portal-home :where(a, button, summary):focus-visible { outline: 2px solid var(--portal-link); outline-offset: 4px; }
.portal-home [id] { scroll-margin-top: 32px; }
.portal-home a { color: inherit; text-underline-offset: .2em; }
.portal-home img { display: block; max-width: 100%; }

.portal-container { width: min(calc(100% - 64px), var(--portal-width)); margin-inline: auto; }

.portal-skip {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--portal-white);
}
.portal-skip:focus { transform: none; }

.portal-header, .portal-footer { background: var(--portal-ink); color: var(--portal-white); }
.portal-nav-row { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.portal-brand { display: inline-flex; flex: none; }
.portal-brand img { width: 126px; height: auto; }

.portal-desktop-nav, .portal-header-actions { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.portal-header :where(a, summary) { color: #e1e5e8; text-decoration: none; }
.portal-header :where(a, summary):hover { color: var(--portal-white); }
.portal-header :where(a, summary):focus-visible,
.portal-footer :where(a, button):focus-visible { outline-color: var(--portal-accent); }
.portal-desktop-nav a, .portal-signin, .portal-mobile-nav summary { font-size: .875rem; font-weight: 590; }
.portal-desktop-nav a:hover, .portal-signin:hover { text-decoration: underline; }

.portal-language { display: flex; gap: 3px; }
.portal-language a {
  display: grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  border-radius: 4px;
  font-size: .76rem;
  font-weight: 630;
}
.portal-language [aria-current] { background: #343d45; color: #fff; }
.portal-language a:hover { background: #29323a; }

.portal-mobile-nav { display: none; }
.portal-mobile-nav summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
}
.portal-mobile-nav summary::-webkit-details-marker { display: none; }
.portal-mobile-nav summary span { font-size: 1.2rem; }
.portal-mobile-nav[open] summary span { transform: rotate(45deg); }
.portal-mobile-nav nav {
  position: absolute;
  z-index: 2;
  top: 64px;
  left: 0;
  width: 100%;
  padding: 8px 18px 18px;
  background: var(--portal-ink);
}
.portal-mobile-nav nav a { display: block; padding: 9px 0; border-top: 1px solid #3a434a; }

.portal-hero { padding: clamp(54px, 7vw, 100px) 0; }
.portal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.portal-label {
  margin-bottom: 13px;
  color: var(--portal-link);
  font: 640 .78rem/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.portal-hero h1 {
  font-size: clamp(2.7rem, 5.25vw, 4.65rem);
  font-weight: 660;
  line-height: .99;
  letter-spacing: -.045em;
  text-wrap: initial;
}

.portal-lead {
  margin-top: 24px;
  max-width: 44ch;
  color: var(--portal-copy);
  font-size: clamp(1rem, 1.45vw, 1.19rem);
}
.portal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.portal-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 15px;
  border: 1px solid var(--portal-ink);
  border-radius: 5px;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}
.portal-home .portal-primary { color: var(--portal-white); background: var(--portal-ink); }
.portal-home .portal-primary:hover { color: var(--portal-white); background: #343d45; }
.portal-secondary { background: transparent; }
.portal-secondary:hover { background: var(--portal-tint); }
.portal-hero-note { margin-top: 14px; color: var(--portal-copy); font-size: .82rem; }

.portal-hero-shot > a {
  display: block;
  overflow: hidden;
  border: 1px solid #28323c;
  border-radius: 8px;
  background: #111820;
}
.portal-hero-shot img { width: 100%; height: auto; }
.portal-hero-shot figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 9px;
  color: var(--portal-copy);
  font-size: .8rem;
}
.portal-hero-shot figcaption a, .portal-home .portal-text-link { color: var(--portal-link); font-weight: 630; }

.portal-spec-band { border-block: 1px solid var(--portal-line); background: var(--portal-tint); }
.portal-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.portal-specs div { padding: 20px clamp(10px, 2vw, 24px); border-right: 1px solid var(--portal-line); }
.portal-specs div:first-child { padding-left: 0; }
.portal-specs div:last-child { border-right: 0; }
.portal-specs dt { color: var(--portal-copy); font-size: .78rem; }
.portal-specs dd { margin-top: 3px; font-size: .91rem; font-weight: 620; line-height: 1.35; }

.portal-section { padding: clamp(48px, 7.5vw, 96px) 0; }
.portal-tint { background: var(--portal-tint); }
.portal-section h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 650;
  letter-spacing: -.04em;
}
.portal-section h3 { font-size: clamp(1.13rem, 1.8vw, 1.34rem); letter-spacing: -.025em; }
.portal-section-intro { max-width: 700px; }
.portal-section-intro p:last-child:not(:first-child) { max-width: 57ch; margin-top: 12px; color: var(--portal-copy); }

.portal-steps, .portal-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3.5vw, 40px);
  margin: 30px 0 20px;
  padding: 0;
}
.portal-steps { list-style: none; }
.portal-steps li, .portal-link-grid > a { padding-top: 17px; border-top: 1px solid var(--portal-line); }
.portal-index { display: block; margin-bottom: 10px; color: var(--portal-link); font: 650 .8rem ui-monospace, monospace; }
.portal-steps p, .portal-link-grid p, .portal-editorial-rows p, .portal-resource-list p {
  margin-top: 8px;
  color: var(--portal-copy);
}
.portal-text-link { display: inline-block; font-size: .9rem; }
.portal-link-grid a { text-decoration: none; }
.portal-link-grid h3 { text-wrap: initial; }
.portal-link-grid a:hover h3 { color: var(--portal-link); text-decoration: underline; }
.portal-link-grid h3 span, .portal-resource-list a > span { color: var(--portal-link); font-size: 1.05rem; }

.portal-editorial, .portal-pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}
.portal-editorial-rows article, .portal-resource-list a, .portal-faq details {
  border-top: 1px solid var(--portal-line);
}
.portal-editorial-rows article { padding: 17px 0; }
.portal-editorial-rows .portal-text-link { margin-top: 7px; }
.portal-resource-list a {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  text-decoration: none;
}
.portal-resource-list a:hover h3 { color: var(--portal-link); text-decoration: underline; }
.portal-editorial-rows article:last-child, .portal-resource-list a:last-child, .portal-faq details:last-child {
  border-bottom: 1px solid var(--portal-line);
}

.portal-license {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--portal-line);
  border-radius: 7px;
  background: var(--portal-white);
}
.portal-license h2 { font-size: clamp(1.7rem, 3.3vw, 2.55rem); }
.portal-license h2 + p { margin-top: 12px; color: var(--portal-copy); }
.portal-license .portal-button { margin-top: 20px; }
.portal-requirements h3 { margin-bottom: 16px; }
.portal-requirements ul { padding-left: 1.2em; color: var(--portal-copy); }
.portal-requirements li + li { margin-top: 9px; }
.portal-requirements .portal-text-link { margin-top: 18px; }

.portal-faq summary {
  position: relative;
  min-height: 56px;
  padding: 14px 30px 14px 0;
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}
.portal-faq summary::-webkit-details-marker { display: none; }
.portal-faq summary::after { content: "+" / ""; position: absolute; right: 4px; font-weight: 450; }
.portal-faq details[open] summary::after { content: "−" / ""; }
.portal-faq details p { padding: 0 20px 18px 0; color: var(--portal-copy); }

.portal-footer { padding: 42px 0; }
.portal-footer-grid { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); gap: 25px; }
.portal-footer h2 { margin-bottom: 8px; font-size: .89rem; }
.portal-footer p { margin-top: 10px; color: #c7cfd4; font-size: .84rem; }
.portal-footer div > a:not(.portal-brand), .portal-footer .footer-cookie-link {
  display: block;
  width: fit-content;
  padding: 3px 0;
  border: 0;
  color: #c7cfd4;
  background: transparent;
  font: inherit;
  font-size: .83rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.portal-footer div > a:hover, .portal-footer .footer-cookie-link:hover { color: #fff; text-decoration: underline; }

@media (max-width: 900px) {
  .portal-hero-grid { gap: 32px; }
  .portal-desktop-nav, .portal-signin { display: none; }
  .portal-mobile-nav { display: block; }
  .portal-nav-row { min-height: 64px; }
}

@media (max-width: 820px) {
  .portal-container { width: min(calc(100% - 36px), var(--portal-width)); }
  .portal-hero-grid, .portal-editorial, .portal-pricing-grid { grid-template-columns: 1fr; }
  .portal-hero { padding-top: 44px; }
  .portal-hero h1 { max-width: 18ch; }
  .portal-hero-shot { max-width: 660px; }
  .portal-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 570px) {
  .portal-home { font-size: .95rem; }
  .portal-hero h1 { font-size: clamp(2.32rem, 10.5vw, 3.4rem); }
  .portal-header-actions { gap: 9px; }
  .portal-brand img { width: 104px; }
  .portal-language a { min-width: 32px; }
  .portal-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-specs div { padding-block: 13px; }
  .portal-specs div:nth-child(-n + 2) { border-bottom: 1px solid var(--portal-line); }
  .portal-specs div:nth-child(2) { border-right: 0; }
  .portal-specs div:nth-child(3) { padding-left: 0; }
  .portal-steps, .portal-link-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .portal-actions .portal-button { width: 100%; }
  .portal-nav-row { gap: 8px; }
}

/* Keep the reading pages in the same visual system as the product overview. */
body.content-page {
  background: var(--portal-paper);
  font-family: var(--portal-font);
}
.content-page .content-main {
  --text: var(--portal-ink);
  --soft: var(--portal-copy);
  --muted: var(--portal-copy);
  --border: var(--portal-line);
  --border-strong: #afb8bc;
  --cyan: var(--portal-link);
  --green: #00725c;
  color: var(--text);
}

.content-page .site-header, .content-page .mobile-menu,
.reliability-page .site-header, .reliability-page .mobile-menu {
  background: var(--portal-ink);
  box-shadow: none;
}
.content-page .nav-dropdown-panel, .reliability-page .nav-dropdown-panel {
  border-radius: 6px;
  background: var(--portal-ink);
}
.content-page :is(.lang-switch, .lang-switch a, .menu-toggle, .nav-direct, .nav-dropdown > summary),
.reliability-page :is(.lang-switch, .lang-switch a, .menu-toggle, .nav-direct, .nav-dropdown > summary) {
  border-radius: 5px;
}
.content-page .btn, .reliability-page .btn { border-radius: 5px; }
.content-page .btn-primary, .reliability-page .btn-primary {
  background: var(--portal-link);
  box-shadow: none;
}
.content-page .btn-primary:hover, .reliability-page .btn-primary:hover { background: #0045a4; }
.content-page .content-main .btn-primary { background: var(--portal-ink); }
.content-page .content-main .btn-primary:hover { background: #343d45; }
.content-page .content-main .btn-secondary { border-color: #afb8bc; }

.content-page .content-hero { padding-block: clamp(40px, 6vw, 78px); background: var(--portal-tint); }
.content-page .content-hero h1 { line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
.content-page :is(.content-kicker, .guide-eyebrow, .guide-card-link, .related-card small, .aside-links a:hover),
.content-page .article-copy a:not(.btn),
.content-page :is(.step-list li, .workflow-strip span)::before,
.content-page .article-faq summary::after {
  color: var(--portal-link);
}

.content-page :is(.hero-summary, .guide-cover, .article-figure, .aside-card, .related-card, .content-cta-panel,
  .workflow-strip, .inline-cta, .article-faq details, .guides-feature, .guide-card, .guide-facts span) {
  border-radius: 6px;
}
.content-page :is(.hero-summary, .article-figure, .aside-card, .related-card, .content-cta-panel,
  .workflow-strip span, .inline-cta, .article-faq details, .guides-feature, .guide-card) {
  background: var(--portal-white);
}
.content-page :is(.note-box, .article-pullquote) {
  border-radius: 0 5px 5px 0;
  background: #e8eef8;
}
.content-page :is(.related-card, .guide-card):hover { border-color: #7c8b97; transform: none; }
.content-page .article-faq summary:focus-visible { outline-color: var(--portal-link); }
.content-page .content-main .article-figure img { background: #111820; }
.content-page > footer { background: var(--portal-ink); }
.reliability-page { background: #15191d; font-family: var(--portal-font); }
