:root {
  --ink: #1d232b;
  --muted: #5c6570;
  --paper: #f4f1ea;
  --panel: #fffdf8;
  --line: #d9d3c7;
  --accent: #0f5c73;
  --banner: #1d232b;
  --banner-ink: #f4f1ea;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 1.0625rem;
}

img {
  max-width: 100%;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--panel);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  z-index: 2;
}

.skip:focus {
  transform: none;
}

.site-header,
.site-footer {
  background: var(--panel);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
main {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
}

.header-inner,
.footer-inner {
  padding: 1rem 0;
}

.wordmark {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.strap {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 42rem;
}

.strap-short {
  display: none;
}

.nav-links,
.footer-links,
.city-grid,
.chips,
.trust-list,
.factor-list,
.credit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-top: 0.85rem;
}

.nav-links a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.625rem 0.5rem;
}

main {
  padding-bottom: 2.5rem;
}

main > h1:first-child {
  margin-top: 3.75rem;
}

.hero {
  padding-top: 1.25rem;
}

.hero-frame,
.tile-frame,
.hero-fallback,
.tile-fallback {
  position: relative;
  overflow: hidden;
  border-radius: 0.6rem;
  background: linear-gradient(155deg, var(--accent) 0%, var(--banner) 58%, var(--muted) 100%);
}

.hero-frame,
.hero-fallback {
  aspect-ratio: 2 / 1;
  margin: 0 0 0.75rem;
}

.tile-frame,
.tile-fallback {
  aspect-ratio: 3 / 2;
}

.hero-frame img,
.tile-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback,
.tile-fallback {
  display: flex;
  align-items: flex-end;
  color: var(--banner-ink);
  font-weight: 700;
  padding: 1rem;
}

.hero-caption {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.credit {
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-size: 0.92rem;
}

h1 {
  margin: 0.2rem 0 0.4rem;
  font-size: clamp(1.65rem, 2.2vw + 1rem, 2.7rem);
  line-height: 1.15;
  max-width: 100%;
}

.hero-line,
.hero-secondary {
  max-width: 40rem;
  margin: 0.35rem 0;
}

.hero-line {
  font-size: 1.2rem;
}

section {
  margin-top: 2.5rem;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: 1.55rem;
  line-height: 1.2;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.city-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.city-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  overflow: hidden;
  height: 100%;
}

.tile-frame,
.tile-fallback {
  border-radius: 0;
}

.tile-body {
  padding: 0.9rem 1rem 1rem;
}

.city-name {
  font-size: 1.35rem;
}

.place-line,
.context,
.version,
.disclosure {
  margin: 0.3rem 0 0.6rem;
}

.place-line {
  color: var(--muted);
  font-weight: 700;
}

.badge {
  display: inline-block;
  margin: 0.2rem 0 0.7rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: default;
}

.chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.chips li {
  min-width: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--panel);
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  background: var(--accent);
  color: var(--banner-ink);
}

.chips p {
  margin: 0.25rem 0 0.4rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.factor-list li,
.trust-list li,
.credit-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.8rem 0.9rem;
  margin: 0 0 0.6rem;
}

.factor-weight {
  color: var(--accent);
  font-weight: 700;
}

.trust-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.trust-list li {
  margin: 0;
}

.faq h3 {
  margin-top: 1.1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-unpaid,
.footer-small {
  margin: 0.35rem 0;
}

.footer-small {
  color: var(--muted);
}

@media (min-width: 700px) {
  .city-grid,
  .trust-list,
  .chips {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .city-grid,
  .chips {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 40rem) {
  .strap-full {
    display: none;
  }

  .strap-short {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
