/* SEO pages: trade hub sections, question pages, /learn/. Loads after site.css and funnel.css. Mobile first. */

.s-skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 650; text-decoration: none; }
.s-skip:focus { top: 10px; }

/* nav links on content pages (from 700px up; phones keep logo + Get started) */
.s-nav-links { display: none; }
@media (min-width: 700px) {
  .s-nav-links { display: flex; gap: 2px; margin-left: auto; margin-right: 12px; }
  .s-nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--forest); font-weight: 600; text-decoration: none; transition: background-color var(--dur-1) ease; }
  .s-nav-links a:hover { background: var(--go-soft); }
  .s-nav-links a:focus-visible { outline: 3px solid rgba(31, 196, 110, 0.45); outline-offset: 2px; }
}

/* breadcrumbs */
.a-top { background: radial-gradient(520px 320px at 100% 0%, rgba(31, 196, 110, 0.14), transparent 70%), #fff; padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; padding: 0; margin: 0; font-size: 14px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: var(--faint); }
.crumbs a { color: var(--go-2); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
@media (max-width: 640px) { .crumbs li[aria-current] { display: none; } .crumbs li:nth-last-child(2)::after { display: none; } }

/* article layout: one column on phones, article + sticky demo rail on desktop */
.s-page { background: #fff; }
.a-grid { display: grid; gap: 40px; padding: 14px 0 64px; }
@media (min-width: 1000px) {
  .a-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 72px; align-items: start; padding-bottom: 88px; }
  .a-rail { position: sticky; top: 90px; }
}
.a-art { min-width: 0; max-width: 740px; }
.a-head .f-kicker { margin-top: 10px; }
.a-head h1 { font-size: clamp(32px, 6.4vw, 50px); font-weight: 800; letter-spacing: -0.032em; line-height: 1.06; color: var(--forest); margin-top: 16px; text-wrap: balance; }
.a-lede { font-size: clamp(18px, 2.3vw, 20.5px); line-height: 1.55; color: var(--text); margin-top: 18px; text-wrap: pretty; }
.a-meta { font-size: 14px; color: var(--muted); margin-top: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.a-meta span { margin: 0 6px; }

/* prose */
.prose { font-size: 17.5px; line-height: 1.72; color: var(--text); margin-top: 28px; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(24px, 3.8vw, 31px); font-weight: 800; color: var(--forest); line-height: 1.15; letter-spacing: -0.025em; margin-top: 1.9em; text-wrap: balance; scroll-margin-top: 84px; }
.prose h3 { font-size: 20px; font-weight: 700; color: var(--forest); line-height: 1.3; margin-top: 1.5em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose a { color: var(--go-2); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--forest); }
.prose a:focus-visible { outline: 3px solid rgba(31, 196, 110, 0.45); outline-offset: 2px; border-radius: 4px; }
.prose strong, .prose b { color: var(--forest); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.35em; margin-bottom: 0; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--go-2); font-weight: 700; }
.prose blockquote { margin: 1.4em 0 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--go); color: var(--forest); font-weight: 550; }
.prose code { font-size: 0.92em; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.prose small { color: var(--muted); font-size: 14.5px; }

/* checklist: green checks */
.prose .checklist { list-style: none; padding: 0; }
.prose .checklist li { position: relative; padding-left: 34px; }
.prose .checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px; background: var(--go-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%230A7F42' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* numbered steps */
.prose ol.steps { list-style: none; padding: 0; counter-reset: st; display: grid; gap: 12px; }
.prose ol.steps > li { counter-increment: st; position: relative; margin: 0; padding: 14px 16px 14px 62px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.prose ol.steps > li::before { content: counter(st); position: absolute; left: 14px; top: 13px; width: 34px; height: 34px; border-radius: 11px; background: var(--go-soft); color: var(--go-2); display: grid; place-items: center; font: 800 17px/1 var(--display); }

/* tables scroll inside their box, never the page */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.prose table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.prose caption { caption-side: top; text-align: left; padding: 12px 16px 0; font-size: 14px; color: var(--muted); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--paper); color: var(--forest); font-weight: 700; font-size: 14.5px; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td.num, .prose th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* callouts */
.prose .callout { background: var(--go-soft); color: var(--forest); border-radius: var(--radius); padding: 18px 20px; }
.prose .callout.warn { background: var(--hot-soft); color: #6b2408; }
.prose .callout.warn strong, .prose .callout.warn b { color: #6b2408; }
.prose .callout > * + * { margin-top: 0.6em; }
.prose .note { color: var(--muted); font-size: 15.5px; }

/* worked example */
.prose .example { border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.prose .example > * + * { margin-top: 0.7em; }
.prose .example-label { display: inline-flex; font-size: 12.5px; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; color: var(--go-2); background: var(--go-soft); padding: 5px 10px; border-radius: 999px; }

/* phone script: chat bubbles, labeled for screen readers and sighted readers alike */
.prose .script { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.prose .script > p { margin: 0; max-width: 88%; padding: 10px 14px 11px; border-radius: 18px; font-size: 16px; line-height: 1.45; }
.prose .script > p b { display: block; font-size: 11.5px; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; opacity: 0.72; margin-bottom: 2px; color: inherit; }
.prose .script .you { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.prose .script .them { align-self: flex-end; background: var(--go); color: var(--forest); border-bottom-right-radius: 6px; font-weight: 520; }
@media (max-width: 520px) { .prose .script { padding: 12px; border-radius: var(--radius); } .prose .script > p { max-width: 94%; } }

/* two columns: pros and cons, this or that */
.prose .cols { display: grid; gap: 12px; }
@media (min-width: 640px) { .prose .cols { grid-template-columns: 1fr 1fr; } }
.prose .cols > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fff; margin: 0; }
.prose .cols > div > * + * { margin-top: 0.5em; }
.prose .cols .pros { border-top: 4px solid var(--go); }
.prose .cols .cons { border-top: 4px solid var(--hot); }

/* the one Booked mention: quiet, clearly ours */
.prose .plug { border-left: 4px solid var(--go); background: linear-gradient(90deg, var(--go-soft), rgba(227, 248, 236, 0)); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; color: var(--forest); }

/* FAQ and related on content pages */
.a-sec { margin-top: 56px; }
.a-sec h2 { font-size: clamp(24px, 3.8vw, 31px); font-weight: 800; color: var(--forest); }
.a-sec .f-faq { margin-top: 18px; }
.a-related { background: var(--paper); border-top: 1px solid var(--line); padding: 52px 0 60px; }
.a-related h2 { font-size: clamp(24px, 3.8vw, 31px); font-weight: 800; color: var(--forest); }
.a-video { aspect-ratio: 9 / 16; max-width: 360px; margin-top: 24px; border-radius: var(--radius-lg); background: var(--ink); }

/* link cards */
.s-cards { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .s-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .a-related .s-cards, .s-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.s-cards-list { grid-template-columns: 1fr !important; gap: 8px; }
.s-card { display: flex; flex-direction: column; gap: 4px; height: 100%; min-height: 44px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--forest); text-decoration: none; transition: border-color var(--dur-1) ease, box-shadow var(--dur-2) ease, translate var(--dur-3) var(--ease-tap); }
.s-card b { font-size: 16.5px; line-height: 1.35; font-weight: 700; }
.s-card span { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.s-card:hover { border-color: var(--go); box-shadow: var(--shadow); translate: 0 -2px; }
.s-card:focus-visible { outline: 3px solid rgba(31, 196, 110, 0.45); outline-offset: 2px; }
.s-cards-list .s-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.s-cards-list .s-card span { display: none; }
.s-cards-list .s-card::after { content: ""; flex: none; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='%230A7F42' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.s-cards-feature .s-card { background: var(--go-soft); border-color: transparent; }
@media (prefers-reduced-motion: reduce) { .s-card { transition: none; } .s-card:hover { translate: none; } }

/* demo card (rail on desktop, inline on phones) */
.s-cta { background: var(--forest); color: #fff; border-radius: var(--radius-lg); padding: 24px; position: relative; overflow: hidden; }
.s-cta::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(31, 196, 110, 0.22); right: -120px; top: -130px; pointer-events: none; }
.s-cta > * { position: relative; z-index: 1; }
.s-cta .f-kicker { background: rgba(255, 255, 255, 0.12); color: #bff0d4; }
.s-cta-h { font: 800 26px/1.1 var(--display); letter-spacing: -0.03em; margin-top: 14px; }
.s-cta-p { color: rgba(255, 255, 255, 0.82); font-size: 15.5px; line-height: 1.5; margin-top: 10px; }
.s-cta-btns { display: grid; gap: 10px; margin-top: 18px; }
.s-cta-btns .btn { width: 100%; white-space: normal; text-align: center; }
.s-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.s-cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.s-cta-note { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); margin-top: 12px; }
.s-cta-fine { font-size: 13.5px; color: #bff0d4; font-weight: 600; margin-top: 12px; }
.s-cta [aria-busy="true"] { opacity: 0.7; }
@media (min-width: 700px) { .s-cta-wide .s-cta-btns { grid-template-columns: repeat(2, max-content); } .s-cta-wide .s-cta-btns .btn { width: auto; } }

/* index pages */
.s-index { padding: 14px 0 72px; }
.s-index .a-head { max-width: 760px; }
.s-index-cta { margin-top: 40px; }
.s-learn-group { margin-top: 48px; }
.s-learn-group h2 { font-size: clamp(22px, 3.4vw, 28px); font-weight: 800; color: var(--forest); }
.s-more { margin-top: 12px; }
.s-more a { color: var(--go-2); font-weight: 650; }

/* trade directory above the footer */
.s-dir { background: var(--paper); border-top: 1px solid var(--line); padding: 40px 0 44px; }
.s-dir h2 { font-size: 22px; font-weight: 800; color: var(--forest); }
.s-dir ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.s-dir li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--forest); font-weight: 600; font-size: 15px; text-decoration: none; }
.s-dir li a:hover { border-color: var(--go); }
.s-dir li a[aria-current] { background: var(--go-soft); border-color: transparent; }
.s-dir li a:focus-visible, .s-dir-more a:focus-visible { outline: 3px solid rgba(31, 196, 110, 0.45); outline-offset: 2px; }
.s-dir-more { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 16px; }
.s-dir-more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--go-2); font-weight: 650; }

/* ---------- trade hub sections (inside the funnel's .f-sec layout) ---------- */
.s-sec .wrap > .s-main { margin-top: 22px; }
@media (min-width: 1000px) {
  .s-sec .wrap > .s-main { grid-row: 1; margin-top: 0; }
  .s-sec .wrap > .f-side { align-self: start; }
}
.s-prose { font-size: 17.5px; line-height: 1.7; color: var(--text); }
.s-prose p + p { margin-top: 1em; }
.s-prose a { color: var(--go-2); font-weight: 600; }

.s-calls { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.s-call { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.f-alt .s-call { background: #fff; }
.s-call-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.s-call h3 { font: 700 17.5px/1.3 var(--body); letter-spacing: 0; color: var(--forest); }
.s-call p { color: var(--muted); font-size: 15.5px; line-height: 1.5; margin-top: 6px; }
.s-call .s-call-tip { color: var(--text); font-size: 15px; background: var(--paper); border-radius: 10px; padding: 8px 12px; margin-top: 10px; }
.s-call .s-call-tip b { color: var(--forest); }
.s-tag { flex: none; font-size: 12px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.s-tag-hot { background: var(--hot-soft); color: var(--ember); }
.s-tag-soon { background: #fff6dc; color: #7a5200; }
.s-tag-ok { background: var(--go-soft); color: var(--go-2); }
.s-tag-msg { background: #eef1ec; color: var(--muted); }
.s-after { color: var(--muted); font-size: 15.5px; margin-top: 16px; }

.s-seasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.s-seasons li { display: grid; grid-template-columns: 1fr; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
@media (min-width: 560px) { .s-seasons li { grid-template-columns: 132px 1fr; gap: 16px; } }
.s-when { align-self: start; justify-self: start; font-size: 13px; font-weight: 750; color: var(--go-2); background: var(--go-soft); border-radius: 999px; padding: 5px 11px; }
.s-seasons h3 { font: 700 17.5px/1.3 var(--body); letter-spacing: 0; color: var(--forest); }
.s-seasons p { color: var(--muted); font-size: 15.5px; line-height: 1.5; margin-top: 4px; }

.s-example { margin: 0; background: #fff; border: 1.5px dashed var(--line-2); border-radius: var(--radius-lg); padding: 22px; }
.s-example figcaption { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.s-example-tag { font-size: 12.5px; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; color: var(--go-2); background: var(--go-soft); padding: 5px 10px; border-radius: 999px; }
.s-example dl { margin: 16px 0 0; }
.s-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dotted var(--line-2); font-size: 16px; }
.s-row dt { color: var(--text); }
.s-row dd { margin: 0; font-weight: 700; color: var(--forest); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-example-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-top: 14px; color: var(--forest); font-weight: 650; }
.s-example-total b { font: 800 30px/1.1 var(--display); letter-spacing: -0.03em; color: var(--ember); text-wrap: balance; }
.s-example-note { color: var(--muted); font-size: 15px; margin-top: 12px; }
.s-minor { font: 700 17px/1.3 var(--body); color: var(--forest); margin-top: 28px; }
.f-faq .sr + details { margin-top: 0; }
.a-meta a { color: var(--go-2); font-weight: 600; text-underline-offset: 2px; }
.f-steps span a { color: var(--go-2); font-weight: 600; }
