:root {
  color-scheme: dark;
  --bg: #1e1e2e;
  --surface: #252535;
  --line: #2a2a3a;
  --line-strong: #3a3a4a;
  --text: #e0e0e0;
  --heading: #e8e8e8;
  --muted: #9a9a9a;
  --focus: #8ec5ff;
  --acgao-accent: #FF1A75;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: Menlo, Consolas, Monaco, "Liberation Mono", "Lucida Console", monospace;
  --header-gap: 2.8rem;
  --gutter: 3.6rem;
  --measure: 68rem;
  --page: 1200px;
  --radius: 2px;
  --radius-frame: 4px;
  --header-height: 100px;
}

@media (max-width: 767px) {
  :root {
    --gutter: 2rem;
    --header-height: 64px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.6rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: 3.8rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.4rem; }
h4 { font-size: 2.2rem; line-height: 1.2; }
@media (max-width: 767px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 2.1rem; }
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--heading); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { opacity: 0.8; }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
::selection { background: var(--line-strong); color: var(--heading); }

body.is-head-left-logo { margin: 0; }
.skip-link {
  background: #e8e8e8;
  border-radius: 8px;
  color: #1e1e2e;
  font-size: 1.5rem;
  font-weight: 600;
  left: 12px;
  padding: 12px 18px;
  position: absolute;
  text-decoration: none;
  top: -200%;
  z-index: 1000;
}
.skip-link:focus { top: 12px; }
.gh-outer { padding-left: var(--gutter); padding-right: var(--gutter); }
.gh-inner { margin: 0 auto; max-width: var(--page); }
.gh-head {
  background: #1e1e2e;
  height: 100px;
  position: relative;
}
.gh-head-inner {
  align-items: center;
  column-gap: 2.8rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  height: 100%;
}
.gh-head-brand { line-height: 1; }
.gh-head-brand-wrapper { align-items: center; display: flex; }
.gh-head-logo { line-height: 0; }
.gh-head-logo img {
  display: block;
  height: 40px;
  max-height: 40px;
  width: auto;
}
.gh-head-menu {
  display: flex;
  font-size: 1.5rem;
  font-weight: 500;
}
@media (min-width: 992px) {
  .is-head-left-logo .gh-head-menu { margin-left: 16px; margin-right: 64px; }
}
.gh-head .nav {
  align-items: center;
  display: inline-flex;
  gap: 2.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.gh-head .nav a {
  color: #e8e8e8;
  text-decoration: none;
}
.gh-head-actions {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}
.gh-icon-btn {
  align-items: center;
  background: transparent;
  border: 0;
  color: #e0e0e0;
  cursor: pointer;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  width: 30px;
}
.gh-icon-btn svg { display: block; height: 20px; width: 20px; }
.gh-search { margin-left: -6px; margin-right: -6px; }
.gh-search:hover { opacity: 0.9; }
.gh-head-brand .gh-search { margin-right: 8px; }
.gh-burger {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 30px;
  margin-right: -3px;
  padding: 0;
  position: relative;
  width: 30px;
}
.gh-burger::before,
.gh-burger::after {
  background: #e0e0e0;
  content: "";
  height: 1px;
  left: 3px;
  position: absolute;
  transition: transform 0.2s cubic-bezier(0.04, 0.04, 0.12, 0.96);
  width: 24px;
}
.gh-burger::before { top: 11px; }
.gh-burger::after { bottom: 11px; }
.is-head-open .gh-burger::before { top: 15px; transform: rotate(45deg); }
.is-head-open .gh-burger::after { bottom: 14px; transform: rotate(-45deg); }
@media (min-width: 768px) {
  .gh-head-brand .gh-search { display: none; }
}
@media (max-width: 767px) {
  #gh-head { height: 64px; }
  #gh-head .gh-head-inner {
    column-gap: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
  }
  #gh-head .gh-head-brand {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr auto auto;
    height: 64px;
  }
  .gh-burger { display: block; }
  #gh-head .gh-head-actions .gh-search { display: none; }
  #gh-head .gh-head-menu,
  #gh-head .gh-head-actions {
    justify-content: center;
    opacity: 0;
    position: fixed;
    visibility: hidden;
  }
  #gh-head .nav {
    align-items: center;
    flex-direction: column;
    gap: 20px;
    line-height: 1.4;
  }
  #gh-head .nav a {
    font-size: 2.6rem;
    font-weight: 600;
  }
  .is-head-open #gh-head {
    background: #1e1e2e;
    height: 100%;
    inset: 0;
    overflow-y: auto;
    position: fixed;
    z-index: 3999999;
  }
  .is-head-open #gh-head .gh-head-menu,
  .is-head-open #gh-head .gh-head-actions {
    opacity: 1;
    position: static;
    visibility: visible;
  }
}

.gh-foot {
  color: #9a9a9a;
  padding-bottom: 8rem;
  padding-top: 8rem;
}
.gh-foot-inner {
  display: grid;
  font-size: 1.3rem;
  gap: 40px;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
}
.gh-foot a { color: #9a9a9a; text-decoration: none; }
.gh-foot a:hover { color: #e8e8e8; opacity: 1; }
.gh-foot-menu .nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  row-gap: 4px;
}
.gh-foot-menu .nav li { align-items: center; display: flex; }
.gh-foot-menu .nav li + li::before {
  content: "•";
  font-size: 0.9rem;
  line-height: 0;
  padding: 0 1.2rem;
}
@media (max-width: 767px) {
  .gh-foot { padding-bottom: 6.4rem; padding-top: 6.4rem; }
  .gh-foot-inner { grid-template-columns: 1fr; text-align: center; }
  .gh-copyright { text-align: center; }
  .gh-foot-menu .nav { flex-direction: column; }
  .gh-foot-menu .nav li + li { margin-top: 0.4rem; }
  .gh-foot-menu .nav li + li::before { content: none; }
}

/* style-src 'self' blocks a style attribute, so the accent is set on main here. */
.site-main {
  --product-accent: #2dd4bf;
  padding-bottom: 2rem;
}
.product-hero { max-width: var(--measure); padding-top: 4.8rem; }
.product-kicker { color: var(--muted); font-size: 1.3rem; margin-bottom: 1.2rem; }
.product-hero h1 { max-width: 22em; }
.product-proof {
  color: var(--text);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 1.6rem;
  max-width: 40em;
}
.product-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2.4rem; }
.button {
  background: var(--heading);
  border: 1px solid var(--heading);
  border-radius: var(--radius);
  color: var(--bg);
  display: inline-flex;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  min-height: 40px;
  padding: 1rem 1.4rem;
  text-decoration: none;
}
.button-quiet {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--heading);
}
.button:hover { opacity: 0.8; }
.product-frame {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-frame);
  margin-top: 2.4rem;
  overflow: hidden;
}
.product-hero + .product-frame {
  border-top: 2px solid var(--product-accent, var(--focus));
  margin-top: 4.8rem;
}
.product-frame img { width: 100%; height: auto; }
.product-frame figcaption {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1.4;
  padding: 1.2rem 1.6rem;
}
.product-section {
  border-top: 1px solid var(--line);
  margin-top: 8rem;
  max-width: var(--measure);
  padding-top: 2.4rem;
}
.product-section p,
.product-section li { margin-top: 1.2rem; }
.product-section h3 { margin-top: 2.4rem; }
.product-section ul,
.product-section ol { margin: 0; padding-left: 1.6rem; }
.product-notes { margin-top: 8rem; }
.rate-block { margin-top: 2.4rem; }
.rate-block + .rate-block { margin-top: 4.8rem; }
.table-scroll { margin-top: 1.6rem; overflow-x: auto; }
.rates {
  border-collapse: collapse;
  min-width: 48rem;
  width: 100%;
}
.rates caption {
  caption-side: top;
  color: var(--heading);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1.2rem;
  padding: 0;
  text-align: left;
}
.rates th,
.rates td {
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  padding: 0.8rem 1.6rem 0.8rem 0;
  text-align: left;
  vertical-align: bottom;
  white-space: nowrap;
}
.rates thead th {
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1.4;
}
.rates tbody th { color: var(--heading); }
.rates td { font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  .product-hero { padding-top: 3.2rem; }
  .product-proof { font-size: 1.6rem; }
  .product-frame,
  .product-hero + .product-frame { margin-top: 3.2rem; }
  .product-section,
  .product-notes { margin-top: 4.8rem; }
}
main :focus-visible { outline-color: var(--product-accent, var(--focus)); }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
