/* Marketing site */
body.site { background: var(--paper); }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }

.site-top { width: min(1180px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: calc(var(--safe-t) + 18px) 0 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: var(--fs-lg); color: var(--ink); text-decoration: none; margin: 0; }
.logo img { border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.site-nav a:not(.btn):hover { color: var(--green); }

/* hero: a guide sign */
.hero { width: min(1180px, 100% - 32px); margin: 0 auto; }
.sign {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  background: var(--green); color: #fff; border-radius: 30px; padding: clamp(28px, 5vw, 60px);
  border: 5px solid #fff; box-shadow: 0 0 0 6px var(--green), 0 30px 60px -30px rgba(0,60,30,.6);
  margin: 6px;
}
.sign h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: .98; letter-spacing: -0.025em; margin-bottom: .35em; text-wrap: balance; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 36ch; opacity: .95; }
.sign .row { margin-top: 26px; gap: 12px; }
.btn.cta { background: var(--yellow); color: #1D2023; border: 3px solid #1D2023; box-shadow: 0 0 0 3px var(--yellow); min-height: 56px; padding: 0 24px; font-size: var(--fs-md); font-weight: 800; border-radius: 14px; }
.btn.cta:hover { background: #FFD34F; }
.btn.outline { background: transparent; color: #fff; border: 2.5px solid rgba(255,255,255,.7); min-height: 56px; border-radius: 14px; }
.btn.outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.fine { font-size: var(--fs-sm); opacity: .8; margin-top: 16px; }

.demo { margin: 0; }
.demo-map { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 20px 40px rgba(0,0,0,.25); background: #DCE3D9; }
.demo-map .ring { fill: none; stroke: #17A673; stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: ring 1.1s ease-out forwards; }
@keyframes ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.demo figcaption { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.demo-btn {
  flex: none; height: 64px; padding: 0 26px; border-radius: 16px; cursor: pointer;
  background: var(--yellow); color: #1D2023; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em;
  border: 3px solid #1D2023; box-shadow: 0 0 0 4px var(--yellow), 0 8px 20px rgba(0,0,0,.25); transition: transform .06s;
}
.demo-btn:active { transform: translateY(2px); background: var(--yellow-deep); }
#demoNote { font-size: var(--fs-sm); opacity: .9; }

/* bands */
.band { padding: clamp(56px, 9vw, 110px) 0; }
.band h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.02em; max-width: 22ch; }
.sub { font-size: var(--fs-lg); color: var(--muted); max-width: 46ch; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.4rem; color: #fff; background: var(--green); border-radius: 10px; border: 2.5px solid #fff; box-shadow: 0 0 0 2.5px var(--green);
}
.steps p { color: var(--muted); }
.kbd { background: var(--yellow); color: #1D2023; padding: 0 8px 1px; border-radius: 6px; border: 2px solid #1D2023; white-space: nowrap; }

.trades { background: var(--ink); color: var(--paper); }
.trades h2 { color: var(--paper); }
.trade-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 3px solid var(--yellow); }
.trade-grid article { padding: 26px 28px 0 0; }
.trade-grid article + article { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.trade-grid h3 { font-size: var(--fs-xl); color: var(--yellow); }
.trade-grid p { opacity: .85; max-width: 34ch; }

.features dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 56px; margin: 40px 0 0; }
.features dl > div { border-left: 4px solid var(--green); padding-left: 18px; }
.features dt { font-weight: 800; font-size: var(--fs-lg); margin-bottom: 6px; }
.features dd { margin: 0; color: var(--muted); max-width: 46ch; }

.pricing { background: var(--green-wash); }
.price-sign {
  max-width: 520px; margin: 0 auto; text-align: center; background: var(--yellow); color: #1D2023;
  border-radius: 24px; padding: 40px 30px; border: 4px solid #1D2023; box-shadow: 0 0 0 6px var(--yellow), 0 24px 50px -24px rgba(0,0,0,.4);
}
.price-sign h2 { margin: 0 auto 8px; color: #1D2023; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 6px 0 14px; }
.price strong { font-size: clamp(3.4rem, 8vw, 4.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.price span { font-weight: 600; }
.price-sign .btn.cta { background: #1D2023; color: var(--yellow); box-shadow: none; border-color: #1D2023; margin-top: 10px; }
.price-sign .fine { opacity: .75; }

.faq details { border-top: 1px solid var(--line); padding: 4px 0; max-width: 760px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; font-size: var(--fs-lg); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); max-width: 64ch; }

.site-foot { padding: 34px 0 calc(var(--safe-b) + 34px); border-top: 1px solid var(--line); }
.foot-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.small-logo { font-size: var(--fs-md); margin-bottom: 6px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--green); }

@media (max-width: 900px) {
  .sign { grid-template-columns: 1fr; }
  .steps, .trade-grid { grid-template-columns: 1fr; }
  .trade-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .trade-grid article { padding-bottom: 20px; }
  .features dl { grid-template-columns: 1fr; }
  .site-nav a:not(.btn):not([href="/login/"]) { display: none; }
}
@media (max-width: 520px) {
  .demo figcaption { flex-direction: column; align-items: stretch; text-align: center; }
  .site-nav { gap: 14px; }
}
