:root {
  --ink: #2b2117;
  --muted: #675744;
  --paper: #efe0bd;
  --paper-light: #f7edcf;
  --paper-dark: #d2b784;
  --brass: #9b6b2f;
  --brass-light: #c5964d;
  --leather: #4a2c1d;
  --line: rgba(69, 44, 26, .24);
  --shadow: 0 18px 50px rgba(50, 31, 18, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.42), transparent 26rem),
    linear-gradient(120deg, #e3ca94, var(--paper-light) 45%, #dfc38c);
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(76,47,25,.018), rgba(76,47,25,.018) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: multiply;
  z-index: 20;
}

.paper-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(95,59,28,.13) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 80%, rgba(95,59,28,.08) 0 1px, transparent 1.5px);
  background-size: 18px 18px, 23px 23px;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 237, 207, .78);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(56, 34, 18, .12);
  position: sticky;
  top: 14px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: .03em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 24px;
}

nav a,
.footer-links a {
  text-decoration: none;
  font-size: .92rem;
}

nav a:hover,
.footer-links a:hover {
  color: var(--brass);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 50px;
  align-items: center;
  padding: 70px 0 50px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brass);
  font-family: "Cinzel", serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
  line-height: 1.15;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  letter-spacing: -.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0 0 16px;
}

h3 {
  margin: 0 0 10px;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.search-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 28px;
  padding: 9px;
  border: 1px solid rgba(70, 43, 24, .35);
  border-radius: 16px;
  background: rgba(255, 248, 226, .78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 14px 35px rgba(66,42,24,.14);
}

.search-shell input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 15px 16px;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.search-shell button,
.button {
  border: 0;
  border-radius: 10px;
  padding: 14px 19px;
  font-family: "Cinzel", serif;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.search-shell button,
.button.primary {
  color: #fff8e8;
  background: linear-gradient(135deg, var(--leather), #6c4228);
  box-shadow: 0 8px 18px rgba(61, 36, 22, .22);
}

.search-shell button:hover,
.button:hover {
  transform: translateY(-2px);
}

.search-note {
  min-height: 24px;
  margin: 10px 4px 0;
  color: var(--muted);
  font-size: .88rem;
}

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

.button.secondary {
  border: 1px solid rgba(71, 44, 24, .3);
  background: rgba(255,248,226,.46);
}

.map-card {
  position: relative;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(77,48,26,.28);
  border-radius: 28px;
  background:
    linear-gradient(rgba(247,237,207,.35), rgba(247,237,207,.35)),
    radial-gradient(circle at 20% 30%, rgba(103,75,44,.13), transparent 24%),
    linear-gradient(145deg, #e7d29f, #f7edcf);
  box-shadow: var(--shadow);
}

.map-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(84,53,30,.2);
  border-radius: 20px;
  pointer-events: none;
}

.route-map {
  width: 100%;
  height: auto;
  display: block;
}

.route {
  fill: none;
  stroke: rgba(78,54,35,.58);
  stroke-width: 3;
  stroke-dasharray: 10 12;
  filter: url(#roughen);
  animation: routeFlow 9s linear infinite;
}

.route-two { animation-delay: -2s; }
.route-three { animation-delay: -4s; }
.route-four { animation-delay: -6s; }

.market-node circle {
  fill: rgba(246,232,194,.92);
  stroke: var(--brass);
  stroke-width: 3;
}

.market-node text,
.hub-node text {
  text-anchor: middle;
  font-family: "Cinzel", serif;
  font-size: 15px;
  font-weight: 700;
  fill: var(--ink);
}

.hub-node circle {
  fill: rgba(250,240,211,.96);
  stroke: var(--leather);
  stroke-width: 5;
}

.hub-node text {
  font-size: 13px;
  letter-spacing: .08em;
}

.compass {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(69,44,26,.6);
  border-radius: 50%;
  z-index: 2;
}

.compass::before,
.compass::after {
  content: "";
  position: absolute;
  background: rgba(69,44,26,.45);
}

.compass::before {
  width: 1px;
  height: 100%;
  left: 50%;
}

.compass::after {
  height: 1px;
  width: 100%;
  top: 50%;
}

.north {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Cinzel", serif;
  font-weight: 700;
}

.needle {
  position: absolute;
  inset: 13px 31px;
  background: var(--leather);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform: rotate(18deg);
}

.map-caption {
  margin: -2px 0 8px;
  text-align: center;
  color: var(--muted);
  font-style: italic;
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 14px 32px;
  flex-wrap: wrap;
  margin: 0 0 90px;
  padding: 20px 24px;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-family: "Cinzel", serif;
  font-size: .82rem;
  letter-spacing: .05em;
}

.section {
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading > p:last-child,
.launch-section p,
.illustration-panel p,
.feature-card p,
.benefits-list p {
  color: var(--muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,247,223,.42);
  box-shadow: 0 12px 30px rgba(58,34,18,.08);
}

.card-number {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--brass);
  font-family: "Cinzel", serif;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: stretch;
}

.illustration-panel {
  padding: 48px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(73,43,27,.96), rgba(102,64,36,.94));
  color: #fff2d1;
  box-shadow: var(--shadow);
}

.illustration-panel p {
  color: rgba(255,242,209,.78);
}

.ornament {
  margin-bottom: 80px;
  font-size: 2rem;
}

.benefits-list {
  display: grid;
  align-content: center;
}

.benefits-list article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.launch-section {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.launch-section > div {
  max-width: 720px;
}

footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 30px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(248,238,210,.55);
}

footer strong {
  font-family: "Cinzel", serif;
  font-size: 1.15rem;
}

footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .84rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@keyframes routeFlow {
  to { stroke-dashoffset: -220; }
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

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

  .feature-card {
    min-height: unset;
  }

  .card-number {
    margin-bottom: 28px;
  }

  .launch-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    border-radius: 18px;
  }

  .brand span {
    font-size: .9rem;
  }

  .hero {
    min-height: auto;
    padding-top: 50px;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .search-shell {
    grid-template-columns: 1fr;
  }

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

  .map-card {
    padding: 4px;
  }

  .compass {
    width: 52px;
    height: 52px;
  }

  .needle {
    inset: 10px 23px;
  }

  .illustration-panel {
    padding: 32px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
