/* SellSideTrades: shared styles for pricing, checkout, partners, industries pages */
:root {
  --navy: #0B1F3A;
  --navy-2: #13294B;
  --gold: #C9A96E;
  --gold-deep: #A8864A;
  --ivory: #FAF7F1;
  --paper: #FFFFFF;
  --ink: #0B1F3A;
  --muted: #586379;
  --line: #E6DFD2;
  --ok: #1F7A4D;
  --warn: #9A5B00;
  --err: #A33A3A;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 8px 24px rgba(11, 31, 58, .06);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 16px/1.6 var(--body); }
img { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 50; }

/* Header */
.site-head { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: #fff; text-decoration: none; letter-spacing: -.01em; }
.brand span { color: var(--gold); }
.nav { display: none; gap: 22px; align-items: center; }
.nav a { color: rgba(255, 255, 255, .86); text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.head-cta { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 10px); background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; min-width: 220px; display: grid; }
.menu nav a { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 8px; }
.menu nav a:hover { background: var(--ivory); }
@media (min-width: 900px) {
  .nav, .head-cta { display: flex; }
  .menu { display: none; }
}

/* Type */
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--gold-deep); margin: 0 0 10px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em { color: var(--gold-deep); font-style: italic; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Sections */
.hero { background: var(--navy); color: #fff; padding: 56px 0 64px; }
.hero h1 em { color: var(--gold); }
.hero .lede { color: rgba(255, 255, 255, .78); }
.hero .eyebrow { color: var(--gold); }
section.block { padding: 56px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); color: #fff; text-decoration: none; font-size: .92rem; }
.chip:hover { border-color: var(--gold); color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 1rem var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D6BA85; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-auto { width: auto; }
.head-cta .btn { min-height: 40px; width: auto; padding: 0 18px; font-size: .92rem; }

/* Plan cards */
.plans { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.badge { position: absolute; top: -12px; left: 22px; background: var(--gold); color: var(--navy); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin-bottom: 6px; }
.price { font-family: var(--display); font-size: 2.4rem; font-weight: 600; line-height: 1; margin: 14px 0 4px; }
.price small { font: 500 1rem var(--body); color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg); }
.plan form { margin: 0; }
.plan .alt { text-align: center; margin: 10px 0 0; font-size: .9rem; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Panels and notices */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
.panel.navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.panel.navy .muted { color: rgba(255, 255, 255, .72); }
.fee-figure { font-family: var(--display); font-size: clamp(2.4rem, 8vw, 3.6rem); color: var(--gold); line-height: 1; }
.notice { border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; border: 1px solid var(--line); background: var(--paper); }
.notice.warn { border-color: #EAD3A8; background: #FFF8EA; color: var(--warn); }
.notice.err { border-color: #EBC4C4; background: #FFF4F4; color: var(--err); }
.notice.ok { border-color: #BFDCCB; background: #F2FBF6; color: var(--ok); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.trust span::before { content: "\2713\00a0"; color: var(--gold-deep); }

/* Grids */
.grid-2 { display: grid; gap: 18px; }
.grid-3 { display: grid; gap: 18px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); }
.card .tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.steps { counter-reset: s; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 4px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--display); font-weight: 600; }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold-deep); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form .row.two { grid-template-columns: 1fr 1fr; } .form .row.three { grid-template-columns: 2fr 1fr 1fr; } }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
label .hint { font-weight: 400; color: var(--muted); font-size: .84rem; }
input, select, textarea { font: 400 1rem var(--body); color: var(--ink); background: #fff; border: 1px solid #CFC6B4; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 0; display: grid; gap: 14px; }
legend { font-family: var(--display); font-weight: 600; padding: 0 6px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.summary-line:last-child { border-bottom: 0; }
.summary-line strong { font-variant-numeric: tabular-nums; }

/* Footer */
.site-foot { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 48px 0 28px; margin-top: 0; font-size: .92rem; }
.site-foot a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.foot-cols { display: grid; gap: 26px; }
@media (min-width: 760px) { .foot-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-cols h5 { color: #fff; font: 600 .82rem var(--body); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 32px; padding-top: 18px; font-size: .82rem; color: rgba(255, 255, 255, .6); }

.center { text-align: center; }
.stack > * + * { margin-top: 14px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold-deep); animation: spin 0.8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .spinner { animation: none; } }
