:root {
  --ink: #1b2524;
  --muted: #5b6865;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dfe5df;
  --green: #156f5b;
  --green-dark: #0d463d;
  --coral: #bd4e3a;
  --gold: #e2ad48;
  --blue: #386f8f;
  --shadow: 0 22px 55px rgba(25, 37, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
  background: #edf2ed;
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #102521;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 31, 27, 0.84) 0%, rgba(9, 31, 27, 0.58) 42%, rgba(9, 31, 27, 0.16) 100%),
    linear-gradient(0deg, rgba(9, 31, 27, 0.76) 0%, rgba(9, 31, 27, 0.04) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(64px, 14vh, 128px) clamp(18px, 6vw, 72px);
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcf86;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 9vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.source-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button,
button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
button {
  color: #fff;
  background: var(--coral);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.button.dark {
  color: #fff;
  background: var(--green-dark);
}

.notice {
  width: min(1120px, calc(100% - 36px));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  padding: 18px 20px;
  border-radius: 8px;
  background: #fff7dc;
  border: 1px solid #f0d898;
  box-shadow: var(--shadow);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 76px auto;
}

.intro-grid,
.checker,
.source-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
  font-size: 1.03rem;
}

.stat-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f2f6f1;
}

.stat-panel span {
  color: var(--muted);
}

.stat-panel strong {
  color: var(--green-dark);
  font-size: 1.18rem;
}

.ad-slot {
  display: grid;
  width: min(980px, calc(100% - 36px));
  min-height: 92px;
  place-items: center;
  margin: 34px auto;
  border: 1px dashed #aeb8b1;
  border-radius: 8px;
  background: #f4f1e7;
  color: #68736f;
  text-align: center;
}

.ad-slot span,
.ad-slot strong {
  display: block;
}

.ad-slot span {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.check-card,
.district-tool {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

select {
  width: 100%;
  min-height: 46px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #bfc8c2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.result {
  min-height: 58px;
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 8px;
  background: #eef5f1;
}

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

.section-heading.narrow {
  max-width: 760px;
}

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

.cards .section-heading {
  grid-column: 1 / -1;
}

.card {
  min-height: 210px;
  padding: 22px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.card h3,
.step-list h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.bus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bus-grid span {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 800;
  text-align: center;
}

.blog-section {
  padding-top: 8px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.blog-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.blog-tag {
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 8px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.blog-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.blog-card p {
  margin-top: 0;
  font-size: 0.97rem;
}

.blog-card a {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 800;
}

.route-ideas {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
  border-radius: 8px;
  background: #f4f1e7;
  border: 1px solid #e1d7bd;
}

.route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.route-list span {
  min-height: 56px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2d8c2;
  color: var(--green-dark);
  font-weight: 800;
}

.news-section {
  padding: 34px;
  border-radius: 8px;
  background: #eef5f1;
  border: 1px solid #d4e0d8;
}

.news-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 18px;
}

.news-main,
.news-facts {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.news-main h3,
.news-facts h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.news-main a {
  color: var(--green-dark);
  font-weight: 800;
}

.news-facts dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.news-facts div {
  padding: 11px 12px;
  border-radius: 8px;
  background: #f7f9f6;
}

.news-facts dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-facts dd {
  margin: 3px 0 0;
  color: var(--green-dark);
  font-weight: 800;
}

.step-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step-list span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.district-section {
  padding: 44px;
  border-radius: 8px;
  background: #eaf2ec;
}

.district-result {
  min-height: 118px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.district-result h3 {
  margin: 0 0 6px;
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  padding: 18px 20px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 20px 18px;
}

.source-box {
  padding: 28px;
  border-radius: 8px;
  background: var(--gold);
}

.source-box p {
  color: #382b13;
}

.source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button.outline {
  color: var(--green-dark);
  background: transparent;
  border: 1px solid var(--green-dark);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 54px);
  color: #dfe9e4;
  background: #102521;
}

.footer p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #aebfb9;
}

.footer a {
  white-space: nowrap;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    margin-left: 18px;
  }

  .intro-grid,
  .checker,
  .source-box {
    grid-template-columns: 1fr;
  }

  .cards,
  .bus-grid,
  .blog-grid,
  .route-list {
    grid-template-columns: 1fr;
  }

  .route-ideas {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .news-section {
    padding: 22px 18px;
  }

  .news-feature {
    grid-template-columns: 1fr;
  }

  .district-section {
    padding: 24px 18px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .hero {
    min-height: 700px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .step-list li {
    grid-template-columns: 1fr;
  }
}
