:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --muted: #333;
  --paper: #fafafa;
  --header-bg: #141414;
  --header-ink: #f2f2f2;
  --header-muted: #c8c8c8;
  --lion-red: #e31c23;
  --link: #0b57d0;
  --nav-hover: #00ff7f;
  --content-max: 40rem;
  --page-pad: 1.25rem;
  --header-pad: 0.75rem;
  --nav-link-pad-x: 0.85rem;
  --cta-orange: #e85d04;
  --cta-orange-hot: #ff6a12;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

.site-header {
  position: relative;
  background: var(--header-bg);
  border-bottom: 3px solid var(--lion-red);
}

.site-header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--header-pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--content-max)) minmax(0, 1fr);
  align-items: stretch;
  column-gap: 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  align-self: center;
  grid-column: 1;
  justify-self: start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  text-decoration: none;
  color: var(--header-ink);
  flex-shrink: 0;
}

.site-brand:hover {
  color: #fff;
}

.site-brand:hover .site-brand-product {
  color: #ddd;
}

.site-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(227, 28, 35, 0.55);
}

.site-brand-stack {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  white-space: nowrap;
}

.site-brand-business {
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.2;
}

.site-brand-product {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--header-muted);
  line-height: 1.2;
}

.site-header-cluster {
  display: contents;
}

.site-header-menus {
  display: contents;
}

.site-follow {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.site-follow .site-social-link {
  width: 38px;
  height: 38px;
  color: var(--header-muted);
}

.site-nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--header-muted);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-nav-toggle:hover,
.site-nav-toggle:focus-visible,
.site-header.is-nav-open .site-nav-toggle {
  color: #102018;
  background: var(--nav-hover);
}

.site-nav-toggle-bars,
.site-nav-toggle-bars::before,
.site-nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
}

.site-nav-toggle-bars::before,
.site-nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-nav-toggle-bars::before {
  top: -6px;
}

.site-nav-toggle-bars::after {
  top: 6px;
}

.site-header.is-nav-open .site-nav-toggle-bars {
  background: transparent;
}

.site-header.is-nav-open .site-nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-nav-open .site-nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  grid-column: 2;
  justify-self: start;
  gap: 0;
  min-width: 0;
  /* Match article text: page inset minus the first link’s own side pad. */
  padding-left: calc(var(--page-pad) - var(--nav-link-pad-x));
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.95rem;
}

.site-nav a {
  display: flex;
  align-items: center;
  color: var(--header-muted);
  text-decoration: none;
  padding: 0 var(--nav-link-pad-x);
  border-radius: 0;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #102018;
  background: var(--nav-hover);
}

.site-social {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
}

.site-ext {
  display: flex;
  align-items: center;
  grid-column: 3;
  justify-self: end;
  flex-shrink: 0;
  position: relative;
}

.site-ext-toggle {
  display: none;
  align-items: center;
  align-self: center;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 6px;
  background: var(--cta-orange);
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

.site-ext-toggle:hover,
.site-ext-toggle:focus-visible,
.site-ext.is-open .site-ext-toggle {
  color: #fff;
  background: var(--cta-orange-hot);
}

.site-header .site-social {
  width: auto;
  align-self: center;
}

.site-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
}

.site-header .site-social-link {
  width: 38px;
  height: 38px;
  color: var(--header-muted);
}

.site-social-icon {
  display: block;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.site-header .site-social-icon,
.store-cta-link .site-social-icon {
  display: block;
  object-fit: contain;
  background: none;
  -webkit-mask: none;
  mask: none;
}

.site-header .site-social-icon {
  width: 26px;
  height: 26px;
}

.store-cta-link .site-social-icon {
  width: 20px;
  height: 20px;
}

.site-social-icon-firefox {
  --icon: url("/assets/icons/firefox.svg");
}

.site-social-icon-chrome {
  --icon: url("/assets/icons/chrome.svg");
}

.site-social-icon-edge {
  --icon: url("/assets/icons/edge.svg");
}

.site-social-icon-youtube {
  --icon: url("/assets/icons/youtube.svg");
}

.site-social-icon-instagram {
  --icon: url("/assets/icons/instagram.svg");
}

.site-header .site-social-icon-firefox,
.store-cta-link .site-social-icon-firefox {
  --icon: url("/assets/icons/firefox-color.svg");
}

.site-header .site-social-icon-chrome,
.store-cta-link .site-social-icon-chrome {
  --icon: url("/assets/icons/chrome-color.svg");
}

.site-header .site-social-icon-edge,
.store-cta-link .site-social-icon-edge {
  --icon: url("/assets/icons/edge-color.svg");
}

.site-header .site-social-icon-youtube,
.store-cta-link .site-social-icon-youtube {
  --icon: url("/assets/icons/youtube-color.svg");
}

.site-header .site-social-icon-instagram,
.store-cta-link .site-social-icon-instagram {
  --icon: url("/assets/icons/instagram-color.svg");
}

.store-notice {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--lion-red);
  background: #fff4f4;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
}

.store-notice strong {
  display: block;
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}

.store-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.store-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  background: #141414;
  color: #f2f2f2;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.store-cta-link:hover,
.store-cta-link:focus-visible {
  color: #fff;
  background: #222;
  box-shadow: inset 0 -2px 0 var(--lion-red);
}

.store-cta-link .site-social-icon {
  width: 20px;
  height: 20px;
}

main {
  flex: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 2.5rem var(--page-pad) 3rem;
  width: 100%;
}

h1,
h2 {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.25;
}

h1 {
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.6rem;
}

h3 {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 1.75rem 0 0.6rem;
}

.guide-heading {
  font-size: 2.35rem;
  margin: 0 0 1.35rem;
}

.guide-article-title {
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

article {
  line-height: 1.6;
  text-wrap: pretty;
}

article p {
  margin: 0 0 1.15rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin: 0.4rem 0;
}

article ol li::marker,
.guide-page ol li::marker {
  font-weight: 700;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

article ol li .article-shot,
.guide-page ol li .article-shot {
  margin-top: 0.75rem;
}

a {
  color: var(--link);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-note {
  margin: -0.5rem 0 1.5rem;
  font-size: 0.95rem;
  color: #555;
}

.article-meta {
  margin: -0.35rem 0 1.15rem;
  font-size: 0.92rem;
  color: #555;
}

.article-shot {
  margin: 0.25rem 0 1.35rem;
}

.guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.guide-list li {
  margin: 0 0 1.35rem;
}

.guide-list a {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 600;
}

.guide-list .guide-date {
  display: block;
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: #555;
}

.guide-layout {
  display: grid;
  gap: 2.25rem;
}

.article-kicker {
  margin: 0 0 0.4rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
}

.article-kicker a {
  color: inherit;
  text-decoration: none;
}

.article-kicker a:hover,
.article-kicker a:focus-visible {
  color: var(--link);
}

.guide-sidebar {
  padding-top: 0.25rem;
  border-top: 1px solid #ddd;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.guide-sidebar h2 {
  margin: 1.15rem 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
}

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

.guide-sidebar-list li {
  margin: 0 0 0.95rem;
}

.guide-sidebar-list a {
  display: block;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
}

.guide-sidebar-list a:hover,
.guide-sidebar-list a:focus-visible {
  color: var(--link);
}

.guide-sidebar-list a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 3px 0 0 var(--lion-red);
  padding-left: 0.55rem;
  margin-left: -0.55rem;
}

.guide-sidebar-list time {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: #666;
}

@media (min-width: 72rem) {
  main.guide-page {
    overflow: visible;
  }

  .guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 0;
    column-gap: 0;
  }

  .guide-sidebar {
    width: 15rem;
    margin-left: 2rem;
    position: sticky;
    top: 1.5rem;
    padding: 0 0 0 1.35rem;
    border-top: 0;
    border-left: 1px solid #ddd;
  }

  .guide-sidebar h2 {
    margin-top: 0;
  }
}

.shot-grid {
  display: grid;
  gap: 1rem 1rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 36rem) {
  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.shot {
  margin: 0 0 1.25rem;
}

.shot-grid .shot:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.shot-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
  background: #141414;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.shot-link:hover,
.shot-link:focus-visible {
  box-shadow: 0 0 0 2px var(--lion-red), 0 8px 24px rgba(0, 0, 0, 0.12);
}

.shot-link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 800;
  object-fit: cover;
  vertical-align: middle;
}

.shot-link-natural img {
  aspect-ratio: auto;
  object-fit: contain;
}

.shot figcaption {
  margin: 0.45rem 0 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.85rem;
  color: #555;
}

.shot-hint {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: #555;
}

.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.84);
  cursor: zoom-out;
}

.shot-lightbox[hidden] {
  display: none;
}

.shot-lightbox img {
  max-width: min(1280px, 100%);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.site-footer {
  border-top: 1px solid #2a2a2a;
  background: #1a1a1a;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.85rem;
  color: #b0b0b0;
}

.site-footer-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.55rem var(--page-pad);
}

.site-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.25rem;
  color: #e8e8e8;
}

.site-footer-brand {
  display: inline-flex;
  align-items: center;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  gap: 0.65rem;
  color: #e8e8e8;
  text-decoration: none;
  min-width: 0;
}

.site-footer-brand:hover {
  color: #fff;
}

.site-footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px rgba(227, 28, 35, 0.55);
}

.site-footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  line-height: 1.2;
  white-space: nowrap;
}

.site-footer-business {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.3em;
  font-weight: 600;
  font-size: 0.98rem;
}

.site-footer-business-rest {
  font-weight: 600;
}

.site-footer-product {
  font-size: 0.8rem;
  color: #9a9a9a;
}

.site-footer a {
  color: #c8c8c8;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer-legal {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  margin: 0;
  color: #888;
  text-align: center;
  white-space: nowrap;
}

.site-footer-aside {
  display: flex;
  grid-column: 3;
  grid-row: 1;
  flex-wrap: nowrap;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
  gap: 0.75rem;
  min-width: 0;
}

.site-footer .site-social-link {
  color: #c8c8c8;
}

@media (max-width: 72rem) {
  .site-nav {
    font-size: 0.9rem;
  }

  .site-footer-email {
    display: none;
  }
}

@media (max-width: 67.5rem) {
  .site-header-inner {
    display: flex;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-header-cluster {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    min-width: 0;
  }

  .site-header-menus {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    min-width: 0;
  }

  .site-nav {
    flex: 1 1 auto;
    justify-content: space-evenly;
    font-size: 0.86rem;
    padding-left: 0;
  }

  .site-nav a {
    padding: 0 0.45rem;
  }

  .site-ext-toggle {
    display: inline-flex;
  }

  .site-header .site-social {
    display: none;
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;
    z-index: 50;
    padding: 0.45rem;
    background: var(--header-bg);
    border: 1px solid #333;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  .site-ext.is-open .site-social {
    display: flex;
  }

  .site-header .site-social-follow {
    display: none;
  }
}

@media (max-width: 56rem) {
  .site-footer-inner {
    padding-left: calc(var(--page-pad) / 2);
    padding-right: calc(var(--page-pad) / 2);
  }

  .site-footer-top {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto;
    column-gap: 0.65rem;
  }

  .site-footer-brand-text {
    display: none;
  }

  .site-footer .site-social-link {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 38.75rem) {
  .site-footer-top {
    grid-template-columns: 1fr;
  }

  .site-footer-brand,
  .site-footer-aside {
    display: none;
  }

  .site-footer-legal {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    white-space: normal;
  }
}

@media (max-width: 50rem) {
  .site-header-inner {
    align-items: center;
  }

  .site-header-cluster {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
  }

  .site-header-menus {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--header-bg);
    border-bottom: 3px solid var(--lion-red);
    padding: 0.15rem 0 0.65rem;
  }

  .site-header.is-nav-open .site-header-menus {
    display: flex;
  }

  .site-nav {
    display: flex;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    min-height: 0;
    font-size: 0.95rem;
    padding-left: 0;
  }

  .site-nav a {
    padding: 0.7rem var(--header-pad);
  }

  .site-follow {
    display: flex;
    justify-content: flex-start;
    padding: 0.35rem var(--header-pad) 0.15rem;
  }

  .site-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-ext-toggle {
    display: inline-flex;
  }
}

@media (max-width: 31.25rem) {
  .site-header-inner {
    padding-left: calc(var(--header-pad) / 2);
    padding-right: calc(var(--header-pad) / 2);
  }

  .site-ext-toggle {
    display: none;
  }

  .site-nav-toggle {
    margin-left: auto;
  }

  .site-header-cluster {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--header-bg);
    border-bottom: 3px solid var(--lion-red);
    padding: 0.15rem 0 0.65rem;
  }

  .site-header.is-nav-open .site-header-cluster {
    display: flex;
  }

  .site-header-menus {
    display: flex;
    position: static;
    border-bottom: 0;
    padding: 0;
  }

  .site-follow {
    display: none;
  }

  .site-ext {
    width: 100%;
  }

  .site-header .site-social {
    display: flex;
    position: static;
    width: 100%;
    justify-content: flex-start;
    padding: 0.35rem calc(var(--header-pad) / 2) 0.1rem;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-header .site-social-follow {
    display: inline-flex;
  }

  .site-nav a {
    padding: 0.7rem calc(var(--header-pad) / 2);
  }
}
