:root {
  color-scheme: dark;
  --theme-app: #121b1d;
  --theme-panel: #202c2e;
  --theme-panel-muted: #192426;
  --theme-border: #4a4943;
  --theme-fg: #f3e9da;
  --theme-fg-muted: #b4a797;
  --theme-fg-soft: #9c9184;
  --theme-accent-primary: #e58a52;
  --theme-on-inverse: #172022;
}

[data-product="gas"] {
  --theme-panel: #192824;
  --theme-panel-muted: #14221e;
  --theme-border: #344a43;
  --theme-fg: #e9f0eb;
  --theme-fg-muted: #a2b2aa;
  --theme-fg-soft: #7f9289;
  --theme-accent-primary: #7fb69f;
  --theme-on-inverse: #10211b;
  color: var(--theme-fg);
}

* {
  box-sizing: border-box;
}

html {
  font-family: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

body {
  margin: 0;
  background: var(--theme-app);
  color: var(--theme-fg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--theme-accent-primary);
  outline-offset: 4px;
}

h1, h2, p {
  margin: 0;
}

.frame {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  max-width: 1800px;
  padding: 0 64px;
  margin: 0 auto;
}

.header {
  height: 100px;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--theme-border);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -1.3px;
  color: var(--theme-fg);
}

.brand:hover {
  color: var(--theme-fg-muted);
}

.brand span {
  font-size: 21px;
  font-weight: 400;
  color: var(--theme-fg-soft);
  letter-spacing: -.8px;
}

.header-caption {
  color: var(--theme-fg-soft);
  font-size: 12px;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}

.arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

main {
  flex: 1;
  padding-bottom: 34px;
}

.hero {
  padding: 54px 0 43px;
}

h1 {
  font-size: 61px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -2.7px;
}

h1 span {
  display: block;
  color: var(--theme-fg-muted);
}

.section-heading {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 18px;
}

.section-heading span {
  font-size: 12px;
  color: var(--theme-fg-soft);
}

.markets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.market {
  border: 1px solid var(--theme-border);
  border-top: 2px solid var(--theme-accent-primary);
  border-radius: 8px;
  overflow: hidden;
  background: var(--theme-panel-muted);
  isolation: isolate;
}

.market:hover,
.market:focus-visible {
  border-color: var(--theme-accent-primary);
}

.market:hover .market-copy,
.market:focus-visible .market-copy {
  background: var(--theme-panel);
}

.photo {
  overflow: hidden;
  background: var(--theme-panel-muted);
  height: 210px;
  border-bottom: 1px solid var(--theme-border);
}

.photo img {
  height: 100%;
  width: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) contrast(.9);
  opacity: .72;
  mix-blend-mode: luminosity;
}

.photo.gas img {
  object-position: 50% 52%;
}

.market-copy {
  padding: 28px 30px 26px;
  background: var(--theme-panel-muted);
}

.market-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.market-title h2 {
  font-size: 45px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -1.9px;
  color: var(--theme-accent-primary);
}

.market-title span {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--theme-fg-soft);
}

.market-copy p {
  margin-top: 15px;
  color: var(--theme-fg-muted);
  font-size: 15px;
}

.link-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  border-top: 1px solid var(--theme-border);
  margin-top: 26px;
  padding-top: 17px;
}

.square-arrow {
  display: grid;
  place-items: center;
  background: var(--theme-accent-primary);
  color: var(--theme-on-inverse);
  width: 43px;
  height: 43px;
  border-radius: 6px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  flex-shrink: 0;
  border-top: 1px solid var(--theme-border);
  color: var(--theme-fg-soft);
  font-size: 12px;
}

.footer strong {
  font-weight: 500;
  color: var(--theme-fg-muted);
}

.footer .slash {
  margin: 0 12px;
  color: var(--theme-border);
}

.footer-right {
  font-size: 11px;
}

@media (max-width: 1100px) {
  .header-caption {
    display: none;
  }

  h1 {
    font-size: 50px;
  }
}

@media (max-width: 650px) {
  .frame {
    padding: 0 22px;
  }

  .header {
    height: 77px;
  }

  .brand {
    font-size: 28px;
  }

  .brand span {
    font-size: 18px;
  }

  main {
    padding-bottom: 25px;
  }

  .hero {
    padding: 32px 0 29px;
  }

  h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
    line-height: 1.13;
  }

  h1 span {
    max-width: 340px;
  }

  .section-heading {
    margin-bottom: 13px;
  }

  .markets {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .market {
    display: grid;
    grid-template-columns: 1fr 90px;
  }

  .photo {
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    border-bottom: 0;
    border-left: 1px solid var(--theme-border);
  }

  .photo.gas img {
    object-position: 58% center;
  }

  .market-copy {
    grid-column: 1;
    grid-row: 1;
    padding: 21px 20px 17px;
  }

  .market-title h2 {
    font-size: 35px;
    letter-spacing: -1.2px;
  }

  .market-title span {
    display: none;
  }

  .market-copy p {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 11px;
    max-width: 170px;
  }

  .link-action {
    margin-top: 16px;
    padding-top: 13px;
    font-size: 11px;
  }

  .square-arrow {
    height: 29px;
    width: 29px;
    border-radius: 4px;
  }

  .square-arrow .arrow {
    width: 18px;
    height: 18px;
  }

  .footer {
    height: 70px;
    font-size: 10px;
  }

  .footer .slash {
    margin: 0 8px;
  }

  .footer-right {
    display: none;
  }
}
