:root {
  --ink: #17211f;
  --porcelain: #f7f7f4;
  --mist: #dfe7e2;
  --evergreen: #29584a;
  --vermilion: #d6422b;
  --jade: #b9d6c9;
  --paper: #ffffff;
  --muted: #5f6b66;
  --line: rgba(23, 33, 31, 0.16);
  --soft-line: rgba(23, 33, 31, 0.08);
  --shadow: 0 18px 48px rgba(23, 33, 31, 0.1);
  --radius: 8px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f7f7f4;
    --porcelain: #101715;
    --mist: #1f2b28;
    --evergreen: #9fc9ba;
    --vermilion: #ef6a52;
    --jade: #263b35;
    --paper: #17211f;
    --muted: #b7c4bf;
    --line: rgba(247, 247, 244, 0.18);
    --soft-line: rgba(247, 247, 244, 0.08);
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--porcelain);
  color: var(--ink);
  font-family: "Work Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100dvh;
}

.container {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--porcelain) 94%, transparent);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: contain;
  background: var(--paper);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button {
  background: var(--vermilion);
  color: #fff;
  border: 1px solid var(--vermilion);
}

.button:hover {
  background: #bd3824;
  border-color: #bd3824;
  transform: translateY(-1px);
}

.button:active,
.text-link:active,
.primary-link:active,
.shop-path-card:active,
.route-card:active,
.mini-card:active,
.social-link:active {
  transform: translateY(1px);
}

.text-link {
  color: var(--evergreen);
  border: 1px solid var(--line);
  background: transparent;
}

.text-link:hover {
  border-color: var(--evergreen);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
  padding: clamp(56px, 8vw, 92px) 0 44px;
}

.hero-text {
  max-width: 720px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--evergreen);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  margin: 0;
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

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

.hero-media {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--jade);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.media-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.88rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 72px;
}

.proof-item {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.proof-item:last-of-type {
  border-right: 0;
}

.proof-item strong {
  display: block;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.proof-item span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.proof-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 20px;
  border-top: 1px solid var(--soft-line);
  color: var(--muted);
  font-size: 0.88rem;
}

.proof-note a {
  color: var(--evergreen);
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

.section:first-of-type {
  padding-top: 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-header h2,
.guide-layout h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.section-header p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

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

.signal-list > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.signal-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.signal-list strong {
  display: block;
  font-size: 1.08rem;
}

.signal-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.shop-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 14px;
}

.shop-path-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.shop-path-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--evergreen) 55%, var(--line));
  box-shadow: 0 14px 32px rgba(23, 33, 31, 0.08);
}

.shop-path-card.is-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.shop-path-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--mist);
}

.shop-path-card.is-wide img {
  aspect-ratio: 16 / 10;
}

.card-body {
  padding: 18px;
}

.path-meta {
  display: block;
  margin-bottom: 10px;
  color: var(--evergreen);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-path-card h3 {
  margin: 0;
  font-size: clamp(1.16rem, 2vw, 1.6rem);
  line-height: 1.16;
}

.shop-path-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.story-band {
  background: var(--ink);
  color: var(--porcelain);
  padding: 78px 0;
  margin: 36px 0;
}

.story-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.story-layout h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1;
}

.story-layout p {
  margin: 0 0 18px;
  color: rgba(247, 247, 244, 0.78);
  font-size: 1.08rem;
}

.story-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.story-line {
  padding-top: 14px;
  border-top: 1px solid rgba(247, 247, 244, 0.18);
  color: rgba(247, 247, 244, 0.86);
}

.customer-grid,
.faq-grid,
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.customer-card,
.faq-item,
.route-card {
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
}

.faq-item {
  min-height: 0;
  justify-content: flex-start;
}

.customer-card strong,
.route-card strong,
.faq-item h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
}

.customer-card span,
.route-card span,
.faq-item p {
  margin: 16px 0 0;
  color: var(--muted);
}

.faq-item a {
  color: var(--evergreen);
  font-weight: 700;
}

.site-footer {
  padding: 48px 0;
  color: rgba(247, 247, 244, 0.78);
  background: #29584a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
}

.site-footer a {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.link-page {
  padding: clamp(40px, 7vw, 84px) 0 72px;
}

.link-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.link-intro {
  position: sticky;
  top: 104px;
}

.link-intro > p {
  max-width: 420px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.link-hero {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
}

.link-logo {
  width: 96px;
  height: 96px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  object-fit: contain;
}

.link-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.98;
}

.link-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 520px;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--line);
}

.link-proof span {
  display: block;
  padding: 14px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.9rem;
}

.link-proof strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
}

.link-panel {
  min-width: 0;
}

.primary-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--vermilion);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-link:hover {
  background: #bd3824;
}

.primary-link strong {
  display: block;
  font-size: 1.35rem;
}

.primary-link span {
  color: rgba(255, 255, 255, 0.84);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.mini-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.mini-card:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--evergreen) 55%, var(--line));
}

.mini-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  background: var(--mist);
}

.mini-card strong {
  display: block;
  line-height: 1.2;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.social-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.social-link {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.social-link:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--evergreen) 55%, var(--line));
}

.social-link span {
  color: var(--muted);
  text-align: right;
}

:focus-visible {
  outline: 3px solid rgba(214, 66, 43, 0.45);
  outline-offset: 3px;
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: 34px;
  }

  .shop-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-path-card.is-wide {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 920px) {
  .hero,
  .guide-layout,
  .story-layout,
  .footer-grid,
  .link-page-grid {
    grid-template-columns: 1fr;
  }

  .link-intro {
    position: static;
  }

  .customer-grid,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(3),
  .proof-item:nth-child(4) {
    border-top: 1px solid var(--soft-line);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 64px;
  }

  .brand-link span {
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.86rem;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .button,
  .text-link {
    padding-inline: 14px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1,
  .page-title {
    font-size: clamp(2.6rem, 14vw, 4.4rem);
  }

  .media-caption {
    flex-direction: column;
    gap: 4px;
  }

  .proof-strip,
  .shop-path-grid,
  .mini-grid,
  .faq-grid,
  .link-proof {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:nth-child(2),
  .proof-item:nth-child(3),
  .proof-item:nth-child(4) {
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .proof-item:last-of-type {
    border-bottom: 0;
  }

  .shop-path-card.is-wide {
    grid-column: auto;
  }

  .link-hero {
    grid-template-columns: 72px 1fr;
    gap: 16px;
  }

  .link-logo {
    width: 72px;
    height: 72px;
  }

  .primary-link {
    grid-template-columns: 1fr;
  }

  .mini-card {
    grid-template-columns: 72px 1fr;
  }

  .mini-card img {
    width: 72px;
    height: 72px;
  }

  .social-link {
    align-items: flex-start;
  }
}

@supports not (color: color-mix(in srgb, white, black)) {
  .site-header {
    background: rgba(247, 247, 244, 0.94);
  }

  .shop-path-card:hover,
  .mini-card:hover,
  .social-link:hover {
    border-color: rgba(41, 88, 74, 0.6);
  }
}

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