:root {
  color-scheme: light;
  --ink: #10211f;
  --muted: #5b6663;
  --paper: #f7f4ed;
  --surface: #ffffff;
  --line: #d8d2c4;
  --green: #0b4f4a;
  --green-2: #0f6a60;
  --gold: #f2c94c;
  --coral: #d84f3f;
  --blue: #2f6f9f;
  --shadow: 0 18px 44px rgba(16, 33, 31, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--ink);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 237, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-header nav a,
.site-footer nav a {
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--green);
}

.hero {
  min-height: 62vh;
  display: grid;
  align-items: end;
  padding: clamp(70px, 10vw, 132px) clamp(18px, 5vw, 72px) 56px;
  background:
    linear-gradient(180deg, rgba(11, 79, 74, 0.08), rgba(247, 244, 237, 1)),
    linear-gradient(135deg, #f7f4ed 0%, #eef3eb 48%, #dfe9e3 100%);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 940px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.5rem, 7vw, 6.8rem);
  line-height: 0.95;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
}

.hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

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

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.metric-grid,
.city-grid,
.affiliate-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.metric-card,
.city-card,
.content-panel,
.affiliate-card,
.planner-form,
.planner-output,
.ad-slot {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metric-card {
  padding: 20px;
}

.metric-card span,
.city-card span,
.affiliate-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
}

.city-card,
.affiliate-card {
  display: block;
  min-height: 150px;
  padding: 20px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.city-card:hover,
.affiliate-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 79, 74, 0.45);
  box-shadow: var(--shadow);
}

.city-card strong,
.affiliate-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.city-card p,
.affiliate-card p {
  margin: 0;
  color: var(--muted);
}

.city-card em {
  display: block;
  margin-top: 14px;
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.split,
.page-grid,
.planner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.feature-list,
.side-stack {
  display: grid;
  gap: 12px;
}

.feature-list a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.content-panel {
  padding: 24px;
}

.content-panel li {
  margin-bottom: 10px;
}

.details {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.details dt {
  color: var(--green);
  font-weight: 800;
}

.details dd {
  margin: 0;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--green);
  font-weight: 700;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.fact-grid div {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.fact-grid span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-grid strong {
  color: var(--ink);
}

.change-panel {
  border-left: 4px solid var(--blue);
}

.ad-slot {
  width: min(1180px, calc(100% - 36px));
  min-height: 116px;
  margin: 10px auto;
  padding: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  background: repeating-linear-gradient(135deg, #ffffff, #ffffff 12px, #f2eee4 12px, #f2eee4 24px);
}

.ad-slot span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ad-slot strong {
  color: var(--ink);
}

.side-stack .ad-slot {
  width: 100%;
  min-height: 140px;
  margin: 0;
}

.tool-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-weight: 800;
}

select {
  min-height: 44px;
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.schedule-table th,
.schedule-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.schedule-table th {
  color: var(--green);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.schedule-table span {
  color: var(--muted);
}

.planner-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.planner-output {
  min-height: 320px;
  padding: 24px;
  background: var(--green);
  color: #fff;
}

.planner-output .eyebrow,
.planner-output p {
  color: rgba(255, 255, 255, 0.78);
}

.planner-output h2,
.planner-output strong {
  color: #fff;
}

.planner-output ol {
  padding-left: 22px;
}

.planner-output textarea {
  width: 100%;
  min-height: 130px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  padding: 14px;
  resize: vertical;
  font: inherit;
}

.callout,
.source-note {
  border-left: 4px solid var(--gold);
  background: #fff9dd;
}

.source-note {
  padding: 20px;
}

.affiliate-card.official {
  border-color: rgba(47, 111, 159, 0.45);
}

.source-box {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.source-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.source-list a {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
}

.source-list a:hover {
  border-color: rgba(11, 79, 74, 0.45);
  box-shadow: var(--shadow);
}

.source-list strong {
  color: var(--green);
}

.source-list span {
  color: var(--muted);
}

.source-list.expanded {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px 18px;
}

.faq-list summary {
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.site-footer p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .split,
  .page-grid,
  .planner-layout {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    display: grid;
  }

  .hero {
    min-height: 56vh;
  }

  .tool-bar {
    justify-content: flex-start;
  }

  select {
    width: 100%;
  }
}
