:root {
  color-scheme: light;
  --paper: #f3eee4;
  --ivory: #fbfaf5;
  --leaf: #eaf0dd;
  --olive: #7d9651;
  --olive-text: #4e6637;
  --forest: #2f4a36;
  --sumi: #2d302c;
  --muted: #626960;
  --stone: #d8d3c8;
  --danger: #a53d32;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--sumi);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.7;
}

body {
  margin: 0;
}

a {
  color: var(--forest);
  text-underline-offset: 0.2em;
}

address {
  font-style: normal;
}

header,
main,
footer {
  margin-inline: auto;
  max-width: 1120px;
  width: calc(100% - 40px);
}

header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
}

header img {
  border-radius: 12px;
  height: 44px;
  width: 44px;
}

.brand {
  align-items: center;
  color: var(--sumi);
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.name {
  font-size: 1.25rem;
  font-weight: 650;
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

nav a {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  min-height: 44px;
  padding: 8px 14px;
  text-decoration: none;
}

nav a[aria-current="page"] {
  background: var(--leaf);
  font-weight: 650;
}

.hero {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  min-height: 650px;
  padding-block: 72px 96px;
}

.eyebrow,
.number,
.meta {
  color: var(--olive-text);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.7rem);
  letter-spacing: -0.035em;
  line-height: 1.14;
  margin-bottom: 30px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2.3vw, 1.35rem);
  max-width: 34em;
}

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

.button {
  align-items: center;
  border: 1px solid var(--stone);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 650;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  text-decoration: none;
}

.btn {
  align-items: center;
  background: var(--forest);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 650;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  text-decoration: none;
}

.button.primary {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}

.route-art {
  background: var(--ivory);
  border: 1px solid var(--stone);
  border-radius: 44px;
  box-shadow: 0 30px 80px rgb(45 48 44 / 10%);
  padding: 26px;
  transform: rotate(2deg);
}

.route-art svg {
  display: block;
  width: 100%;
}

.route-art .route-wide {
  fill: none;
  stroke: var(--leaf);
  stroke-linecap: round;
  stroke-width: 32;
}

.route-art .route-line {
  fill: none;
  stroke: var(--olive);
  stroke-dasharray: 1 17;
  stroke-linecap: round;
  stroke-width: 7;
}

.route-art circle:first-of-type {
  fill: var(--ivory);
  stroke: var(--forest);
  stroke-width: 5;
}

.route-art circle:last-of-type {
  fill: var(--forest);
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 96px;
}

.card,
.legal,
.statement {
  background: var(--ivory);
  border: 1px solid var(--stone);
  border-radius: 24px;
}

.card {
  padding: 30px;
}

.card h2 {
  font-size: 1.35rem;
  line-height: 1.45;
}

.card p:last-child,
.statement p:last-child,
.legal p,
.legal li {
  color: var(--muted);
}

.statement {
  margin-bottom: 96px;
  padding: clamp(32px, 7vw, 72px);
  text-align: center;
}

.statement h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.3;
}

.statement p:last-child {
  margin-inline: auto;
  max-width: 44em;
}

.legal {
  margin-block: 52px 96px;
  padding: clamp(24px, 6vw, 64px);
}

.legal h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.legal h2 {
  border-top: 1px solid var(--stone);
  font-size: 1.35rem;
  margin-top: 40px;
  padding-top: 32px;
}

.legal h3 {
  margin-top: 28px;
}

.legal li + li {
  margin-top: 10px;
}

.legal a {
  overflow-wrap: anywhere;
}

.notice {
  background: var(--leaf);
  border-radius: 16px;
  color: var(--forest) !important;
  padding: 16px 18px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 620px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--stone);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

footer {
  border-top: 1px solid var(--stone);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.85rem;
  gap: 12px 32px;
  justify-content: space-between;
  padding-block: 28px 44px;
}

@media (max-width: 760px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
  }

  nav {
    width: 100%;
  }

  nav a {
    flex: 1;
    justify-content: center;
    padding-inline: 8px;
  }

  .hero {
    gap: 32px;
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 56px 72px;
  }

  .route-art {
    margin-inline: auto;
    max-width: 420px;
    order: -1;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
