:root {
  --ink: #2b2d30;
  --muted: #6b655d;
  --line: #e3d8c6;
  --soft: #f2eadd;
  --bg: #ffffff;
  --accent: #c2410c;
  --accent-soft: #fbe3cf;
  --orange: #f97316;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
ol { margin: 12px 0 0; padding-left: 20px; }
li + li { margin-top: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav nav a:not(.btn):hover { color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.logo-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px var(--accent-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 4px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; transition: background 0.15s, color 0.15s; }
.btn:hover { background: var(--soft); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #9a3412; border-color: #9a3412; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { padding: 120px 0 104px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 700; letter-spacing: -0.04em; max-width: 20ch; }
.lead { margin-top: 22px; font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 52ch; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.stats { margin-top: 28px; font-size: 14px; color: var(--muted); }

/* Sections */
section { padding: 96px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; margin-bottom: 8px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.step { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #f7f1e7; }
.step b { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.step h3 { font-size: 22px; font-weight: 650; }
.step ol { color: var(--muted); }

/* Trades */
.trades { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 40px; }
.trade-card { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; background: #f7f1e7; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.trade-card:hover { border-color: var(--ink); transform: translateY(-1px); }
.trade-card span { font-weight: 600; }
.trade-card small { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--muted); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 64ch; }

/* Trade page */
.page-hero { padding: 80px 0 72px; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 18ch; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.cities { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.cities li { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; }
.cities li + li { margin-top: 0; }
.cities small { color: var(--muted); }

/* Footer */
.site-footer { background: #2b2d30; border-top: 0; padding: 72px 0 32px; font-size: 14px; color: #d6d0c4; }
.site-footer .logo { color: #fff; }
.site-footer .logo-img { filter: invert(1); }
.site-footer a { color: #f5efe6; }
.site-footer a:hover { color: #fdba74; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fdba74; margin-bottom: 12px; }
.footer-grid p + p { margin-top: 6px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fdba74; }
.footer-tagline { margin-top: 12px; max-width: 36ch; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); }

/* Header right block: language switcher, login, mobile menu in one row */
.nav-right { display: flex; align-items: center; gap: 4px; }
.langs { display: flex; align-items: center; gap: 2px; margin-right: 8px; }
.lang { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; padding: 6px 8px; border-radius: 4px; }
.lang:hover { color: var(--ink); }
.lang.is-on { color: var(--ink); background: var(--accent-soft); }
.nav-right .login-link { margin-left: 0; }
.nav-right .menu-mobile { margin-left: 4px; }
@media (max-width: 520px) {
  .logo-text { display: none; }
  .langs { margin-right: 2px; }
  .lang { font-size: 12px; padding: 5px 4px; }
  .nav-right .login-link { padding: 6px 8px; }
  .nav-right .menu-mobile summary { padding: 6px 2px; }
}

/* Login icon */
.login-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; margin-left: 16px; }
.login-link:hover { border-color: var(--ink); }
@media (max-width: 899px) { .login-link span { display: none; } }

/* Logo and menu */
.logo-img { width: 32px; height: 32px; border-radius: 9px; flex: none; }
.menu { display: flex; align-items: center; gap: 24px; }
.menu a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; }
.menu a:not(.btn):hover { color: var(--ink); }
.menu-mobile { display: none; position: relative; }
.menu-mobile summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; padding: 8px 4px; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile-list { position: absolute; right: 0; top: 40px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; min-width: 200px; box-shadow: 0 16px 40px rgba(0,0,0,.08); display: grid; }
.menu-mobile-list a { padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; }
.menu-mobile-list a:hover { background: var(--soft); }

/* Photo banner */
.banner { position: relative; color: #fff; background: #0f1412 center / cover no-repeat; overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,45,48,.9) 0%, rgba(43,45,48,.62) 52%, rgba(43,45,48,.2) 100%); }
.banner-inner { position: relative; }
.banner-hero { padding: 140px 0 128px; min-height: 560px; display: flex; align-items: center; }
.banner-sub { padding: 96px 0 88px; }
.banner h1 { color: #fff; }
.banner .lead { color: rgba(255,255,255,.82); }
.banner .btn { border-color: #fff; color: #fff; background: transparent; }
.banner .btn:hover { background: rgba(255,255,255,.12); }
.banner .btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.banner .btn-primary:hover { background: #9a3412; }
.eyebrow-light { color: #fdba74; }
.crumbs-light { color: rgba(255,255,255,.75); }
.crumbs-light a { color: #fff; }
.stats-line { padding-top: 24px; font-size: 14px; color: var(--muted); }

/* Lists and text */
.body-text { margin-top: 16px; font-size: 18px; color: #2b332f; max-width: 64ch; }
.list-rows { display: grid; gap: 12px; margin-top: 24px; }
.list-row { display: flex; justify-content: space-between; gap: 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); align-items: center; background: #f7f1e7; }
.list-row h3 { font-size: 18px; }
.list-row p { margin-top: 4px; font-size: 14px; }
.list-side { display: grid; justify-items: end; gap: 6px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--soft); color: #3b4541; border: 1px solid var(--line); }
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge-now { background: var(--accent-soft); color: var(--accent); }
.badge-later { background: #eef0ee; color: #4b5550; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #f7f1e7; display: grid; gap: 8px; font-size: 17px; }
.contact-card a { color: var(--ink); }
.lista-state { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.paywall { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 12px; justify-items: start; }
.paywall h2 { font-size: 24px; }
.paywall p { color: var(--muted); max-width: 52ch; }

/* Header CTA stays dark even when the app stylesheet also loads */
.site-header .btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.site-header .btn-primary:hover { background: #9a3412; }

/* Map page: the map app is embedded between banner and footer */
.map-section { padding: 0; border-top: 0; }
.map-section #root { position: relative; height: clamp(620px, 80vh, 880px); overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#root .app { height: 100%; }
#root .brand-link, #root .top-nav { display: none; }
#root .locate { bottom: calc(50% + 12px); }
@media (min-width: 900px) {
  #root .sheet { height: auto; }
  #root .locate { bottom: 16px; }
}
@media (max-width: 899px) {
  #root .sheet { height: 50%; }
}

@media (max-width: 899px) {
  .menu { display: none; }
  .menu-mobile { display: block; }
}
@media (min-width: 900px) {
  .menu-mobile { display: none; }
}
@media (max-width: 720px) {
  section { padding: 72px 0; }
  .banner-hero { padding: 96px 0 88px; min-height: 480px; }
  .banner-sub { padding: 64px 0 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .list-row { flex-direction: column; align-items: flex-start; }
  .list-side { justify-items: start; }
}
