:root {
  color-scheme:light;
  --ink:#172a2a;
  --muted:#516462;
  --teal:#006758;
  --line:#d7e1de;
  --paper:#f6f8f6;
  --wrap:1240px;
  font-family:Inter,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

a {
  color:var(--teal);
  text-underline-offset:.2em;
}

a:focus-visible,button:focus-visible,input:focus-visible {
  outline:3px solid #ec8c36;
  outline-offset:3px;
}

input,button {
  font:inherit;
}

button {
  cursor:pointer;
}

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

.masthead {
  background:#fff;
  border-bottom:1px solid var(--line);
}

.mast-inner,.layout,.site-footer>div {
  max-width:var(--wrap);
  margin:auto;
  padding-inline:clamp(16px,4vw,48px);
}

.mast-inner {
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:26px;
  font-weight:850;
  letter-spacing:-1.6px;
  color:var(--ink);
  text-decoration:none;
}

.brand:before {
  content:"";
  width:34px;
  height:34px;
  flex:none;
  border-radius:9px;
  background:linear-gradient(115deg,transparent 32%,#fff 32% 42%,transparent 42% 52%,#fff 52% 62%,transparent 62%),#007466;
}

.site-nav {
  display:flex;
  align-items:center;
  gap:clamp(12px,3vw,38px);
}

.site-nav a,.site-footer a {
  font-size:.94rem;
  text-decoration:none;
  color:inherit;
  font-weight:550;
}

.site-nav a:hover,.site-footer a:hover {
  text-decoration:underline;
}

.home .layout {
  padding-top:24px;
}

.hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-radius:22px;
  background:#08282b;
  color:white;
  min-height:420px;
  display:grid;
  align-items:center;
}

.hero-image {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 55%;
  z-index:-3;
}

.hero:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(5,32,34,.98) 0%,rgba(5,32,34,.9) 26%,rgba(5,32,34,.65) 47%,rgba(5,32,34,.04) 78%);
  z-index:-2;
}

.hero-inner {
  padding:42px clamp(22px,4vw,54px);
  max-width:720px;
}

.eyebrow {
  margin:0 0 21px;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:.81rem;
  font-weight:650;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:#d9eeea;
}

.signal {
  width:24px;
  height:3px;
  background:#ff9853;
  border-radius:2px;
}

.hero h1 {
  font-size:clamp(2.65rem,5vw,4.35rem);
  font-weight:680;
  line-height:1.04;
  letter-spacing:-.05em;
  max-width:600px;
  margin:0 0 28px;
  text-wrap:balance;
}

.hero-search {
  display:flex;
  align-items:center;
  gap:10px;
  background:white;
  border-radius:12px;
  padding:6px;
  max-width:530px;
}

.hero-search input {
  border:0;
  min-width:0;
  flex:1;
  background:transparent;
  color:var(--ink);
  font-size:1rem;
  height:40px;
}

.lens {
  width:16px;
  height:16px;
  border:2px solid #526965;
  border-radius:50%;
  margin:0 3px 4px 11px;
  position:relative;
  flex:none;
}

.lens:after {
  content:"";
  position:absolute;
  width:8px;
  height:2px;
  transform:rotate(46deg);
  background:#526965;
  right:-6px;
  bottom:-3px;
}

.hero-search button,.layout form:not(.hero-search) button {
  border:0;
  border-radius:8px;
  background:#ff9754;
  color:#231f1e;
  font-weight:700;
  padding:13px 22px;
}

.hero-search button:hover {
  background:#ffac73;
}

.hero-cities {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:13px;
}

.hero-cities a {
  font-size:.86rem;
  color:#deeeeb;
  text-decoration-color:#8da5a2;
}

.catalog {
  margin:40px 0;
}

.catalog h2,.legacy-content h2 {
  font-size:clamp(1.55rem,2.4vw,2.2rem);
  line-height:1.15;
  letter-spacing:-.045em;
}

.catalog h2 {
  margin:0 0 18px;
}

.cards {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.cat-card {
  display:grid;
  grid-template-columns:50px 1fr;
  align-content:center;
  align-items:center;
  gap:4px 15px;
  min-height:118px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:20px;
  text-decoration:none;
  color:var(--ink);
  transition:box-shadow .16s,border-color .16s;
}

.cat-card:hover {
  border-color:var(--teal);
  box-shadow:0 4px 16px #16383212;
}

.cat-card strong {
  font-size:1.19rem;
  letter-spacing:-.025em;
}

.cat-card>span:last-child {
  font-size:.9rem;
  color:var(--muted);
  line-height:1.35;
}

.card-icon {
  display:grid;
  place-items:center;
  grid-row:span 2;
  width:50px;
  height:50px;
  border-radius:13px;
  background:#dff0e9;
  color:#067961;
}

.rust .card-icon {
  background:#ffeadc;
  color:#b24b13;
}

.blue .card-icon {
  background:#e2edf6;
  color:#39678c;
}

.card-icon svg {
  width:26px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.legacy-content {
  padding:clamp(20px,4vw,48px);
  border:1px solid var(--line);
  background:#fff;
  border-radius:18px;
  margin:28px 0 52px;
  font-size:1rem;
  line-height:1.65;
  overflow-wrap:anywhere;
  overflow-x:auto;
}

.legacy-content h1,.layout>h1 {
  font-size:clamp(2rem,4vw,3.55rem);
  line-height:1.1;
  letter-spacing:-.045em;
}

.legacy-content h1:first-child,.legacy-content p:first-child {
  margin-top:0;
}

.legacy-content p,.legacy-content li {
  max-width:82ch;
}

.legacy-content h3 {
  line-height:1.4;
  margin:1.1em 0 .45em;
}

.legacy-content h3 a {
  text-decoration:none;
}

.legacy-content a:hover {
  text-decoration:underline;
}

.legacy-content table {
  border-collapse:collapse;
  display:block;
  max-width:100%;
  overflow:auto;
}

.legacy-content td,.legacy-content th {
  border-bottom:1px solid var(--line);
  padding:.6em;
  text-align:left;
}

.legacy-content th {
  background:#eff5f1;
}

.legacy-content img {
  max-height:70vh;
  object-fit:contain;
}

.site-footer {
  background:#142f30;
  color:#e3efeb;
  padding:26px 0;
}

.site-footer>div {
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}

.site-footer .brand {
  color:white;
}

.layout form:not(.hero-search) input[type=search] {
  border:1px solid var(--line);
  border-radius:8px;
  padding:12px;
  max-width:70%;
}

.secondary .layout {
  min-height:65vh;
  padding-block:12px;
}

.skip-link:not(:focus) {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}

@media(max-width:850px) {
  .cards {
    gap:10px;
  }
  .cat-card {
    grid-template-columns:1fr;
    align-content:start;
  }
  .card-icon {
    grid-row:auto;
    margin-bottom:8px;
  }
}

@media(max-width:620px) {
  .mast-inner {
    padding-block:13px;
    flex-wrap:wrap;
    gap:10px;
    min-height:60px;
  }
  .brand {
    font-size:22px;
  }
  .site-nav {
    gap:12px;
    flex-wrap:wrap;
  }
  .site-nav a {
    font-size:.85rem;
  }
  .home .layout {
    padding-top:12px;
  }
  .hero {
    border-radius:16px;
    min-height:385px;
  }
  .hero-image {
    object-position:68% 50%;
  }
  .hero:after {
    background:linear-gradient(75deg,#08282bf2 5%,#08282bc4 55%,#08282b55);
  }
  .hero-inner {
    padding:26px 18px;
  }
  .hero h1 {
    font-size:clamp(2.35rem,9vw,3rem);
  }
  .hero-search {
    gap:5px;
  }
  .hero-search input {
    font-size:.9rem;
  }
  .hero-search button {
    padding:11px 12px;
  }
  .catalog {
    margin:26px 0;
  }
  .cards {
    grid-template-columns:1fr;
  }
  .cat-card {
    grid-template-columns:44px 1fr;
    align-content:center;
    min-height:82px;
    padding:14px;
  }
  .card-icon {
    grid-row:span 2;
    width:42px;
    height:42px;
    margin:0;
  }
  .legacy-content {
    padding:18px;
  }
  .site-footer>div {
    align-items:flex-start;
  }
}

.breadcrumbs {
  font-size:.88rem;
  color:var(--muted);
  margin:0 0 20px;
}

.breadcrumbs a {
  color:inherit;
}

.fuel-prices,.station-list,.area-links {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));
  gap:12px;
  padding:0;
  list-style:none;
}

.fuel-prices li,.station-card {
  background:#f2f7f4;
  padding:16px;
  border:1px solid var(--line);
  border-radius:11px;
}

.area-links h3 {
  margin:0;
  font-size:1rem;
}

.area-links a {
  display:block;
  border-bottom:1px solid var(--line);
  padding:.55rem 0;
}

.station-map {
  display:inline-block;
  margin:.6em 0;
}

.content-block+.content-block {
  margin-top:24px;
}

.breadcrumbs ul,.pagination {
  display:flex;
  align-items:center;
  gap:.45rem;
  flex-wrap:wrap;
  list-style:none;
  padding:0;
}

.breadcrumbs li+li:before {
  content:"/";
  margin-right:.45rem;
  color:#80948f;
}

.pagination a,.pagination strong {
  display:inline-block;
  padding:.3em .65em;
  border:1px solid var(--line);
  border-radius:8px;
}

.station-map {
  padding:.5rem .85rem;
  border:1px solid #bad4cb;
  border-radius:8px;
  text-decoration:none;
  background:#eef7f3;
}

.archive-links {
  margin:2rem 0 0;
  padding-top:1rem;
  border-top:1px solid var(--line);
  color:var(--muted);
}

.archive-links summary {
  cursor:pointer;
  font-weight:650;
}

.archive-links ul {
  columns:2;
  column-width:240px;
  padding-left:1.2em;
}

.legacy-content h4 {
  font-size:1.25rem;
  line-height:1.3;
  margin:1.4em 0 .4em;
}

.legacy-content h1+img {
  border:1px solid var(--line);
  border-radius:12px;
}

