/* ══════════════════════════════════════════════════════════════
   SGFX INTERNAL PAGES
   Layout adapted from the Pylon service-details / about templates,
   rebuilt in the SGFX system (navy depth, one cyan signal).
   Everything is namespaced `ps-` so it cannot collide with the
   homepage themes. Depends on ../styles.css for tokens, nav,
   footer and buttons.
   ══════════════════════════════════════════════════════════════ */

.ps-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ══ PAGE HEADER BANNER ════════════════════════════════════ */
.ps-header {
  position: relative;
  padding: calc(132px + var(--topbar-h)) 0 74px;
  background: var(--navy-dark);
  overflow: hidden;
  isolation: isolate;
}
.ps-header-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.ps-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(3, 15, 37, .94) 0%, rgba(6, 27, 63, .82) 46%, rgba(6, 27, 63, .42) 100%),
    radial-gradient(60% 90% at 88% 12%, rgba(0, 255, 242, .16), transparent 62%);
}
.ps-crumb {
  display: inline-flex; align-items: center; gap: 9px;
  list-style: none; margin: 0 0 18px; padding: 9px 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px; backdrop-filter: blur(6px);
  font-size: 13px;
}
.ps-crumb a { color: var(--on-dark); opacity: .8; }
.ps-crumb a:hover { color: var(--cyan); opacity: 1; }
.ps-crumb span { color: var(--cyan); }
.ps-crumb .sep { color: rgba(255, 255, 255, .35); }
.ps-header h1 {
  margin: 0; color: #fff; max-width: 20ch;
  font-size: clamp(2.1rem, 4.2vw, 3.25rem); font-weight: 800;
  line-height: 1.06; letter-spacing: -.03em; text-wrap: balance;
}
.ps-header .ps-kicker {
  display: block; margin-bottom: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan);
}

/* ══ DETAIL LAYOUT (sidebar + content) ═════════════════════ */
.ps-detail { background: var(--surface-2); padding: 84px 0 96px; }
.ps-detail-grid { display: grid; grid-template-columns: 330px 1fr; gap: 44px; align-items: start; }

/* ── sidebar ───────────────────────────────────────────────── */
.ps-side { display: grid; gap: 30px; position: sticky; top: 100px; }
.ps-side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ps-side-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-size: 15px; font-weight: 600;
  transition: background 220ms, color 220ms, border-color 220ms, transform 220ms;
}
.ps-side-nav a svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); transition: color 220ms, transform 220ms; }
.ps-side-nav a:hover { transform: translateX(3px); border-color: rgba(0, 133, 123, .45); opacity: 1; }
.ps-side-nav a:hover svg { color: var(--teal-deep); transform: translateX(2px); }
.ps-side-nav .is-current a {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.ps-side-nav .is-current a svg { color: var(--cyan); }

.ps-widget { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px; }
.ps-widget-title {
  margin: 0 0 18px; padding-bottom: 12px; font-size: 17px; font-weight: 700;
  color: var(--ink); position: relative;
}
.ps-widget-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px;
  border-radius: 2px; background: var(--cyan);
}
.ps-doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ps-doc-list a {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 14px; border-radius: 9px;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--ink); font-size: 14px; font-weight: 500;
  transition: background 200ms, border-color 200ms;
}
.ps-doc-list a:hover { background: var(--navy-50); border-color: rgba(0, 133, 123, .4); opacity: 1; }
.ps-doc-list svg { width: 17px; height: 17px; color: var(--teal-deep); flex-shrink: 0; }

/* dark help card */
.ps-help {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 14px; padding: 30px 24px; color: var(--on-dark);
  background:
    radial-gradient(90% 80% at 15% 10%, rgba(0, 194, 181, .3), transparent 60%),
    linear-gradient(160deg, #030F25, #0D2856);
}
.ps-help-ic {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cyan); margin-bottom: 20px;
}
.ps-help-ic svg { width: 24px; height: 24px; color: var(--navy); }
.ps-help strong { display: block; font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.ps-help a.ps-help-mail { display: inline-block; margin: 6px 0 12px; color: var(--cyan); font-size: 14px; }
.ps-help p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--on-dark-mut); }

/* ── content ───────────────────────────────────────────────── */
.ps-body { min-width: 0; }
/* Source photos vary between portrait and landscape; crop them to one
   consistent banner ratio so every article opens the same way. */
.ps-body-img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 14px; display: block; margin-bottom: 34px;
  box-shadow: 0 34px 70px -40px rgba(6, 27, 63, .5);
}
.ps-body h2 {
  margin: 0 0 16px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800;
  color: var(--ink); letter-spacing: -.02em; line-height: 1.15; text-wrap: balance;
}
.ps-body h3 {
  margin: 40px 0 14px; font-size: 1.3rem; font-weight: 700;
  color: var(--ink); letter-spacing: -.01em;
}
.ps-body p { margin: 0 0 16px; font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 72ch; text-wrap: pretty; }

.ps-check { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.ps-check li { display: flex; align-items: flex-start; gap: 13px; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.ps-check svg { width: 21px; height: 21px; flex-shrink: 0; margin-top: 1px; color: var(--teal-deep); }

/* feature pair grid inside content */
.ps-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.ps-feat {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px;
  transition: transform 260ms cubic-bezier(.22, 1, .36, 1), box-shadow 260ms, border-color 260ms;
}
.ps-feat:hover { transform: translateY(-4px); border-color: rgba(0, 133, 123, .4); box-shadow: 0 22px 50px -34px rgba(6, 27, 63, .45); }
.ps-feat-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--navy-50); margin-bottom: 14px; }
.ps-feat-ic svg { width: 21px; height: 21px; color: var(--navy); }
.ps-feat h4 { margin: 0 0 7px; font-size: 16.5px; font-weight: 700; color: var(--ink); }
.ps-feat p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
/* optional "Explore X" link on cards that lead somewhere */
.ps-feat > a {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 14px; font-weight: 600; color: var(--teal-deep);
}
.ps-feat > a::after { content: "→"; transition: transform 200ms; }
.ps-feat:hover > a::after { transform: translateX(3px); }

/* spec table */
.ps-spec { width: 100%; border-collapse: collapse; margin-top: 24px; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.ps-spec th, .ps-spec td { text-align: left; padding: 14px 18px; font-size: 14.5px; }
.ps-spec thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.ps-spec tbody tr + tr { border-top: 1px solid var(--line); }
.ps-spec td:first-child { font-weight: 600; color: var(--ink); }
.ps-spec td:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }

/* inline CTA at the end of the article */
.ps-cta {
  margin-top: 44px; border-radius: 14px; padding: 34px 32px; color: var(--on-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(0, 194, 181, .26), transparent 60%),
    linear-gradient(140deg, #061B3F, #0D2856);
}
.ps-cta h4 { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.ps-cta p { margin: 0; font-size: 14.5px; color: var(--on-dark-mut); }
.ps-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ══ ABOUT PAGE BLOCKS ═════════════════════════════════════ */
.ps-about { background: var(--surface); padding: 90px 0; }
.ps-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ps-about-media { position: relative; display: grid; grid-template-columns: 0.8fr 1fr; gap: 18px; align-items: end; }
.ps-about-media img { width: 100%; border-radius: 12px; display: block; }
.ps-about-media img:last-of-type { box-shadow: 0 34px 70px -40px rgba(6, 27, 63, .5); }
.ps-about-tab {
  position: absolute; right: -14px; top: 12%;
  writing-mode: vertical-rl;
  background: var(--navy); color: #fff;
  padding: 22px 13px; border-radius: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.ps-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep);
}
.ps-eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--cyan); border-radius: 2px; }
.ps-about h2 { margin: 0 0 18px; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--ink); letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.ps-about p { margin: 0 0 16px; font-size: 16px; line-height: 1.8; color: var(--muted); text-wrap: pretty; }

/* dark quote / mission band */
.ps-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 96px 0; text-align: center; color: var(--on-dark);
  background:
    radial-gradient(70% 90% at 20% 10%, rgba(0, 194, 181, .26), transparent 60%),
    radial-gradient(70% 90% at 85% 95%, rgba(0, 255, 242, .20), transparent 60%),
    linear-gradient(160deg, #030F25, #061B3F 55%, #0D2856);
}
.ps-band h2 { margin: 0 auto 16px; max-width: 22ch; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; color: #fff; letter-spacing: -.025em; line-height: 1.14; text-wrap: balance; }
.ps-band p { margin: 0 auto; max-width: 62ch; font-size: 16.5px; line-height: 1.75; color: var(--on-dark-mut); }
.ps-band-mark {
  width: 62px; height: 62px; margin: 0 auto 26px; border-radius: 16px;
  display: grid; place-items: center; background: var(--cyan);
}
.ps-band-mark svg { width: 28px; height: 28px; color: var(--navy); }

/* funfact strip */
.ps-facts { background: linear-gradient(110deg, var(--navy) 0%, var(--teal-deep) 100%); padding: 54px 0; }
.ps-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ps-fact { text-align: center; position: relative; color: #fff; }
.ps-fact + .ps-fact::before { content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: rgba(255, 255, 255, .28); }
.ps-fact-num { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.ps-fact-lbl { margin-top: 9px; font-size: 13.5px; color: rgba(255, 255, 255, .88); font-weight: 500; }

/* values / team cards */
.ps-cards { background: var(--surface-2); padding: 90px 0; }
.ps-cards-head { text-align: center; margin-bottom: 52px; }
.ps-cards-head h2 { margin: 0 auto; max-width: 32ch; font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 800; color: var(--ink); letter-spacing: -.025em; line-height: 1.14; text-wrap: balance; }
.ps-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ps-person { position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.ps-person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; filter: grayscale(1); transition: filter 400ms; }
.ps-person:hover img { filter: grayscale(0); }
.ps-person-plate { padding: 20px 22px; background: var(--navy); color: #fff; }
.ps-person-plate strong { display: block; font-size: 17px; font-weight: 700; }
.ps-person-plate span { font-size: 13px; color: var(--cyan); }

/* ══ PROSE (full-width reading block) ══════════════════════ */
.ps-prose { padding: 84px 0; background: var(--surface); }
.ps-prose.on-tint { background: var(--surface-2); }
.ps-prose-inner { max-width: 74ch; margin: 0 auto; }
.ps-prose h2 {
  margin: 0 0 20px; font-size: clamp(1.55rem, 2.5vw, 2.1rem); font-weight: 800;
  color: var(--ink); letter-spacing: -.02em; line-height: 1.16; text-wrap: balance;
}
.ps-prose p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.85; color: var(--muted); text-wrap: pretty; }
.ps-prose .ps-check { margin-top: 24px; }

/* ══ CLOSING CTA ═══════════════════════════════════════════ */
.ps-close { padding: 0 0 90px; background: var(--surface); }
.ps-cards-lede {
  margin: 14px auto 0; max-width: 62ch; font-size: 16px;
  line-height: 1.75; color: var(--muted); text-wrap: pretty;
}
.ps-cards.on-plain { background: var(--surface); }
/* dark-navy variant — breaks up the run of light sections on internal pages */
.ps-cards.on-dark {
  background:
    radial-gradient(85% 90% at 88% 0%, rgba(0, 194, 181, .16), transparent 55%),
    linear-gradient(160deg, #030F25 0%, #061B3F 56%, #0D2856 100%);
}
.ps-cards.on-dark .ps-cards-head h2 { color: #fff; }
.ps-cards.on-dark .ps-feat { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.ps-cards.on-dark .ps-feat:hover { border-color: rgba(0, 255, 242, .3); box-shadow: 0 24px 54px -34px rgba(0, 0, 0, .6); }
.ps-cards.on-dark .ps-feat-ic { background: rgba(0, 255, 242, .1); }
.ps-cards.on-dark .ps-feat-ic svg { color: #fff; }
.ps-cards.on-dark .ps-feat h4 { color: #fff; }
.ps-cards.on-dark .ps-feat p { color: rgba(255, 255, 255, .66); }
.ps-cards.on-dark .ps-feat > a { color: var(--cyan); }

/* ══ SPLIT (image beside copy, alternating) ════════════════ */
.ps-split { padding: 90px 0; }
.ps-split.on-tint { background: var(--surface-2); }
.ps-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
/* Reversed rows put the image second in the source too, so the reading
   order still makes sense when the grid collapses on mobile. */
.ps-split.is-reverse .ps-split-media { order: 2; }
.ps-split-media { position: relative; }
.ps-split-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 16px; display: block;
  box-shadow: 0 36px 74px -44px rgba(6, 27, 63, .55);
}
.ps-split-media::after {
  content: ""; position: absolute; inset: auto -18px -18px auto;
  width: 54%; height: 54%; border-radius: 16px; z-index: -1;
  background: linear-gradient(135deg, var(--teal-bright), var(--cyan));
  opacity: .15;
}
.ps-split h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.ps-split p { margin: 0 0 16px; font-size: 16px; line-height: 1.8; color: var(--muted); text-wrap: pretty; }

/* ══ SHOWCASE (related imagery, captions sit outside the frame) ══ */
.ps-showcase { padding: 90px 0; background: var(--surface); }
/* auto-fit so a 3-item and a 4-item set both lay out cleanly */
.ps-showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); gap: 26px; }
.ps-shot { display: block; }
.ps-shot-img { border-radius: 14px; overflow: hidden; background: var(--surface-3); }
.ps-shot-img img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}
.ps-shot:hover .ps-shot-img img { transform: scale(1.05); }
.ps-shot-cap { margin-top: 14px; }
.ps-shot-cap strong { display: block; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.ps-shot-cap span { font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ══ EMBEDDED WIDGET (TradingView calendar, charts) ════════ */
.ps-embed { padding: 20px 0 90px; background: var(--surface); }
.ps-embed.on-tint { background: var(--surface-2); }
.ps-embed-head { margin-bottom: 26px; }
.ps-embed-head h2 {
  margin: 0 0 10px; font-size: clamp(1.55rem, 2.5vw, 2.05rem); font-weight: 800;
  color: var(--ink); letter-spacing: -.02em; line-height: 1.16;
}
.ps-embed-head p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 68ch; }
.ps-embed-frame {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 10px; overflow: hidden;
  box-shadow: 0 26px 60px -44px rgba(6, 27, 63, .45);
}
/* The widget renders its own iframe; keep it fluid and never let it
   push the page sideways on narrow screens. */
.ps-embed-frame .tradingview-widget-container,
.ps-embed-frame iframe { width: 100% !important; max-width: 100%; display: block; border: 0; }
.ps-embed-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.ps-embed-note a { color: var(--teal-deep); font-weight: 600; }

/* ══ FAQ ACCORDION ═════════════════════════════════════════ */
.ps-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.ps-faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.ps-faq-item.is-open { border-color: rgba(0, 133, 123, .45); box-shadow: 0 20px 46px -32px rgba(6, 27, 63, .35); }
.ps-faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: inherit;
  padding: 21px 24px; font-size: 16.5px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.ps-faq-sign { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); transition: background .3s; }
.ps-faq-sign svg { width: 15px; height: 15px; color: var(--navy); transition: transform .3s; }
.ps-faq-item.is-open .ps-faq-sign { background: var(--teal-deep); }
.ps-faq-item.is-open .ps-faq-sign svg { color: #fff; transform: rotate(180deg); }
.ps-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.4, 0, .2, 1); }
.ps-faq-item.is-open .ps-faq-a { grid-template-rows: 1fr; }
.ps-faq-a-inner { overflow: hidden; }
.ps-faq-a p { margin: 0; padding: 0 24px 22px; font-size: 15px; line-height: 1.75; color: var(--muted); }

/* ══ CONTACT ═══════════════════════════════════════════════ */
.ps-contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: start; }
.ps-contact-row { display: flex; gap: 15px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.ps-contact-row:last-child { border-bottom: 1px solid var(--line); }
.ps-contact-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--navy-50); }
.ps-contact-ic svg { width: 21px; height: 21px; color: var(--navy); }
.ps-contact-row em { font-style: normal; display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
.ps-contact-row strong { font-size: 15.5px; color: var(--ink); font-weight: 600; }
.ps-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.ps-form h3 { margin: 0 0 20px; font-size: 20px; font-weight: 700; color: var(--ink); }
.ps-field { margin-bottom: 17px; }
.ps-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.ps-field input, .ps-field textarea {
  width: 100%; padding: 13px 15px; border-radius: 9px; font-family: inherit; font-size: 15px;
  color: var(--ink); background: var(--surface-2); border: 1px solid var(--line);
  transition: border-color .22s, background .22s;
}
.ps-field input::placeholder, .ps-field textarea::placeholder { color: #7B8794; }
.ps-field input:focus, .ps-field textarea:focus { outline: none; border-color: var(--teal-deep); background: #fff; }
.ps-field textarea { resize: vertical; min-height: 120px; }
.ps-form .btn-primary { width: 100%; justify-content: center; }

/* ══ LEGAL / DOCUMENT LIST ═════════════════════════════════ */
.ps-legal { display: grid; gap: 12px; max-width: 900px; }
.ps-legal a {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); font-size: 15.5px; font-weight: 600;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.ps-legal a:hover { border-color: rgba(0, 133, 123, .45); transform: translateX(4px); box-shadow: 0 18px 40px -32px rgba(6, 27, 63, .4); opacity: 1; }
.ps-legal svg { width: 20px; height: 20px; color: var(--teal-deep); flex-shrink: 0; }
.ps-legal span { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--muted); }

/* ══ RESPONSIVE ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ps-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .ps-side { position: static; grid-template-columns: repeat(2, 1fr); }
  .ps-side-nav { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); display: grid; }
  .ps-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .ps-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .ps-facts-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .ps-fact + .ps-fact::before { display: none; }
}
@media (max-width: 1024px) {
  .ps-contact-grid { grid-template-columns: 1fr; }
  .ps-split-grid { grid-template-columns: 1fr; gap: 36px; }
  .ps-feature .ps-split-grid { grid-template-columns: 1fr; }
  .ps-feature.is-reverse .ps-split-media { order: -1; }
  /* Collapsed rows always lead with the image, whichever side it sat on. */
  .ps-split.is-reverse .ps-split-media { order: -1; }
  .ps-showcase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ps-split, .ps-showcase { padding: 60px 0; }
  .ps-showcase-grid { grid-template-columns: 1fr; }
  .ps-split-media::after { display: none; }
  .ps-form { padding: 24px 20px; }
  .ps-header { padding: 112px 0 56px; }
  .ps-detail { padding: 60px 0 70px; }
  .ps-side { grid-template-columns: 1fr; }
  .ps-side-nav { grid-template-columns: 1fr; }
  .ps-feats { grid-template-columns: 1fr; }
  .ps-cards-grid { grid-template-columns: 1fr; }
  .ps-facts-grid { grid-template-columns: 1fr; }
  .ps-about, .ps-cards { padding: 64px 0; }
  .ps-band { padding: 70px 0; }
  .ps-cta { padding: 26px 22px; }
  .ps-about-media { grid-template-columns: 1fr; }
  .ps-about-tab { display: none; }
  .ps-spec { display: block; overflow-x: auto; }
}

/* ══ TESTIMONIAL CAROUSEL ══════════════════════════════════ */
.ps-testimonials { padding: 90px 0; background: var(--surface-2); }
.tcar-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.tcar-eyebrow {
  display: block; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal-deep);
}
.tcar-head h2 {
  margin: 0 0 12px; font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 800;
  color: var(--ink); letter-spacing: -.025em; line-height: 1.12; text-wrap: balance;
}
.tcar-head p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }

.tcar { position: relative; }
.tcar-track {
  display: flex; gap: 24px; overflow-x: auto; padding: 6px 4px 10px;
  scroll-snap-type: x proximity; scroll-behavior: smooth;
  -ms-overflow-style: none; scrollbar-width: none;
}
.tcar-track::-webkit-scrollbar { display: none; }
.tcar-track:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 18px; }

.tcar-card {
  flex: 0 0 clamp(288px, 42%, 440px); scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 32px 30px 26px;
  box-shadow: 0 18px 44px -34px rgba(6, 27, 63, .4);
}
.tcar-mark { width: 30px; height: 30px; color: var(--teal-deep); opacity: .85; margin-bottom: 14px; flex-shrink: 0; }
.tcar-card blockquote {
  margin: 0 0 22px; font-size: 15.5px; line-height: 1.72; color: var(--ink); flex: 1;
}
.tcar-by {
  display: flex; align-items: center; gap: 13px;
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line);
}
.tcar-av {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 16px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--teal-deep), var(--cyan));
}
.tcar-meta { display: flex; flex-direction: column; line-height: 1.3; }
.tcar-meta strong { font-size: 15px; font-weight: 700; color: var(--ink); }
.tcar-meta span { font-size: 12.5px; color: var(--muted); }

.tcar-nav { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.tcar-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink); cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.tcar-btn:hover:not(:disabled) { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; transform: translateY(-2px); }
.tcar-btn:disabled { opacity: .38; cursor: default; }
.tcar-btn i, .tcar-btn svg { width: 19px; height: 19px; }

@media (prefers-reduced-motion: reduce) {
  .tcar-track { scroll-behavior: auto; }
  .tcar-btn { transition: none; }
}
@media (max-width: 700px) {
  .ps-testimonials { padding: 64px 0 70px; }
  .tcar-card { flex-basis: 84%; }
}

/* ══ CENTERED LEAD (light-copy pages: a statement, not a half-empty split) ══ */
.ps-lead { padding: 84px 0 78px; }
.ps-lead.on-tint { background: var(--surface-2); }
.ps-lead-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.ps-lead-inner h2 {
  margin: 0 0 18px; font-size: clamp(1.9rem, 3vw, 2.55rem); font-weight: 800;
  color: var(--ink); letter-spacing: -.03em; line-height: 1.1; text-wrap: balance;
}
.ps-lead-inner p { margin: 0 auto; max-width: 60ch; font-size: 17px; line-height: 1.75; color: var(--muted); text-wrap: pretty; }
.ps-lead-inner p + p { margin-top: 14px; }

/* ══ DOC / SIDEBAR LAYOUT (reference & regulatory pages) ═════ */
.ps-doc { padding: 80px 0 92px; }
.ps-doc-grid { display: grid; grid-template-columns: 258px 1fr; gap: 56px; align-items: start; }
.ps-doc-nav { position: sticky; top: calc(var(--topbar-h) + 110px); display: flex; flex-direction: column; gap: 20px; }
.ps-doc-badge {
  display: flex; gap: 11px; align-items: flex-start; padding: 15px 17px; border-radius: 12px;
  background: rgba(0, 194, 181, .08); border: 1px solid rgba(0, 133, 123, .2);
  font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.45;
}
.ps-doc-badge i, .ps-doc-badge svg { width: 19px; height: 19px; color: var(--teal-deep); flex-shrink: 0; margin-top: 1px; }
.ps-doc-menu { display: flex; flex-direction: column; gap: 2px; }
.ps-doc-menu a {
  padding: 9px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--muted); text-decoration: none; transition: background .2s ease, color .2s ease;
}
.ps-doc-menu a:hover { background: var(--surface-2); color: var(--ink); }
.ps-doc-menu a.is-active { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.ps-doc-main { max-width: 720px; display: flex; flex-direction: column; gap: 40px; }
.ps-doc-block { scroll-margin-top: calc(var(--topbar-h) + 108px); }
.ps-doc-block h2 { margin: 0 0 14px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.ps-doc-block > p { margin: 0 0 18px; font-size: 16px; line-height: 1.8; color: var(--muted); text-wrap: pretty; }
.ps-doc-block > p:last-child { margin-bottom: 0; }
.ps-doc-facts { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ps-doc-facts > div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 14px 18px; background: var(--surface-2); }
.ps-doc-facts dt { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.ps-doc-facts dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .ps-doc-grid { grid-template-columns: 1fr; gap: 30px; }
  .ps-doc-nav { position: static; }
  .ps-doc-menu { flex-flow: row wrap; gap: 8px; }
  .ps-doc-menu a { background: var(--surface-2); }
  .ps-doc-main { max-width: none; }
}

/* ══ FEATURE ROW ═══════════════════════════════════════════
   Alternate to ps-split — tinted band, portrait media, wider
   copy column. Dropped in on every other split so long runs of
   identical 50/50 rows gain a light/tinted, landscape/portrait
   rhythm. Reuses the .ps-split-grid / .ps-split-media markup. */
.ps-feature { padding: 90px 0; background: var(--surface-2); }
.ps-feature .ps-split-grid { gap: 64px; align-items: center; }
@media (min-width: 1025px) { .ps-feature .ps-split-grid { grid-template-columns: 0.82fr 1.18fr; } }
.ps-feature.is-reverse .ps-split-media { order: 2; }
.ps-feature .ps-split-media img { aspect-ratio: 4 / 5; border-radius: 18px; }
/* show an image at its natural aspect ratio, uncropped (works in ps-split & ps-feature) */
.ps-split-media.ps-media-natural img { aspect-ratio: auto; height: auto; object-fit: contain; }
/* keep the phone in focus — trim a little off the top and bottom only */
.ps-feature .ps-split-media.ps-media-natural img { aspect-ratio: 14 / 15; height: auto; object-fit: cover; object-position: center; }
.ps-feature .ps-split-media::after {
  inset: -18px auto auto -18px; width: 58%; height: 58%;
  background: linear-gradient(135deg, var(--cyan), var(--teal-deep)); opacity: .16;
}
.ps-feature h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 2.9vw, 2.5rem); font-weight: 800; color: var(--ink); letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.ps-feature p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.85; color: var(--muted); text-wrap: pretty; max-width: 62ch; }
.ps-feature p:last-child { margin-bottom: 0; }

/* ══ BLOG / ARTICLE GRID ═══════════════════════════════════ */
.blog-section { padding: 50px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.blog-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, border-color .35s;
}
.blog-card:hover { transform: translateY(-6px); border-color: rgba(0, 133, 123, .4); box-shadow: 0 26px 60px -34px rgba(6, 27, 63, .5); }
.blog-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-3); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-cat {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff;
  padding: 6px 12px; border-radius: 999px; background: rgba(6, 27, 63, .74); backdrop-filter: blur(6px);
}
.blog-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.blog-body h3 {
  margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.35; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-body p {
  margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--teal-deep); }
.blog-more i, .blog-more svg { width: 15px; height: 15px; transition: transform .3s; }
.blog-card:hover .blog-more i, .blog-card:hover .blog-more svg { transform: translateX(4px); }

/* ══ ALTERNATING SECTION RHYTHM (internal pages) ═══════════════
   Content sections alternate white / dark navy down the page. The
   dark variant remaps the design tokens to their dark values, so
   every token-driven heading, paragraph and card flips automatically;
   the few hardcoded-white cards and navy icons are flipped explicitly. */
.ps-sec-light { background: var(--surface); }
.ps-sec-gray { background: var(--surface-3); }
.ps-sec-dark {
  color-scheme: dark;
  --surface: #061B3F; --surface-2: #0A2350; --surface-3: #0B2652;
  --card: #0C2A5A; --card-line: rgba(255, 255, 255, .10);
  --ink: #EEF3FB; --muted: #A6B6D2; --muted-soft: #7286A3;
  --line: rgba(255, 255, 255, .12); --navy-50: rgba(0, 255, 242, .10);
  background:
    radial-gradient(78% 90% at 88% 0%, rgba(0, 194, 181, .14), transparent 55%),
    linear-gradient(162deg, #030F25 0%, #061B3F 56%, #0D2856 100%);
}
.ps-sec-dark :is(.ps-feat, .ps-widget, .ps-side-nav a, .ps-person, .ps-spec, .ps-form, .tcar-card, .blog-card) {
  background: var(--card); border-color: var(--card-line);
}
/* On dark sections the spec-table cells would otherwise inherit dark text; keep them all light. */
.ps-sec-dark .ps-spec tbody td { color: var(--ink); }
.ps-sec-dark .ps-feat-ic { background: rgba(0, 255, 242, .1); }
.ps-sec-dark :is(.ps-feat-ic, .ps-band-mark) svg { color: #fff; }
.ps-sec-dark .ps-cta { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }

/* ══ AUTH (login / register) ═══════════════════════════════ */
.auth {
  --auth-hdr: calc(var(--topbar-h) + 88px);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--surface-2);
}
.auth-brand {
  position: relative; overflow: hidden;
  padding: calc(var(--auth-hdr) + 64px) clamp(28px, 5vw, 76px) 64px;
  display: flex; flex-direction: column; justify-content: center;
  color: #EEF3FB;
  background: linear-gradient(150deg, #061B3F 0%, #0A2551 55%, #061B3F 100%);
}
.auth-brand::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--auth-img); background-size: cover; background-position: center;
  opacity: .16; mix-blend-mode: luminosity;
}
.auth-brand::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0, 255, 242, .18), transparent 68%); pointer-events: none;
}
.auth-brand > * { position: relative; z-index: 1; }
.auth-logo { align-self: flex-start; height: 66px; width: auto; margin-bottom: 42px; }
.auth-brand h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px; color: #fff; max-width: 16ch; }
.auth-sub { font-size: 16px; line-height: 1.6; color: #A6B6D2; max-width: 46ch; margin: 0 0 36px; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.auth-points li { display: flex; gap: 13px; align-items: flex-start; font-size: 14.5px; color: #D3DEF0; line-height: 1.5; }
.auth-points svg { width: 20px; height: 20px; color: var(--cyan); flex-shrink: 0; margin-top: 1px; }
.auth-points strong { color: #fff; font-weight: 600; }
.auth-trust { margin-top: 42px; display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; color: #8FA2C2; }
.auth-trust svg { width: 16px; height: 16px; color: var(--cyan); }

.auth-panel {
  padding: calc(var(--auth-hdr) + 40px) clamp(24px, 5vw, 64px) 56px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.auth-card { width: 100%; max-width: 432px; }
.auth-head { margin-bottom: 26px; }
.auth-head h1 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; }
.auth-head p { font-size: 14.5px; color: var(--muted); margin: 0; }
.auth-head p a { color: var(--teal-deep); font-weight: 600; }

.auth-form .ps-field { margin-bottom: 16px; }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ps-field select {
  width: 100%; padding: 13px 15px; border-radius: 9px; font-family: inherit; font-size: 15px;
  color: var(--ink); background-color: var(--surface-2); border: 1px solid var(--line);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23697588' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color .22s, background-color .22s;
}
.ps-field select:focus { outline: none; border-color: var(--teal-deep); background-color: #fff; }
.ps-field.is-error input, .ps-field.is-error select { border-color: #E5484D; background-color: #FDF3F3; }
.ps-err { display: none; font-size: 12.5px; color: #D0393E; margin-top: 6px; }
.ps-field.is-error .ps-err { display: block; }

.ps-pass { position: relative; }
.ps-pass input { padding-right: 46px; }
.ps-pass-toggle {
  position: absolute; right: 6px; top: 37px; width: 34px; height: 34px;
  display: grid; place-items: center; border: 0; background: transparent;
  color: var(--muted); cursor: pointer; border-radius: 8px; transition: color .2s, background .2s;
}
.ps-pass-toggle:hover { color: var(--ink); background: var(--surface-2); }
.ps-pass-toggle svg { width: 18px; height: 18px; }
.ps-pass-toggle .pt-hide { display: none; }
.ps-pass-toggle.is-on .pt-show { display: none; }
.ps-pass-toggle.is-on .pt-hide { display: block; }

.auth-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 10px; }
.auth-strength span { height: 4px; border-radius: 3px; background: var(--line); transition: background .25s; }
.auth-strength[data-level="1"] span:nth-child(-n+1),
.auth-strength[data-level="2"] span:nth-child(-n+2),
.auth-strength[data-level="3"] span:nth-child(-n+3),
.auth-strength[data-level="4"] span:nth-child(-n+4) { background: var(--str, var(--cyan)); }
.auth-strength-txt { font-size: 12px; color: var(--muted); margin-top: 7px; min-height: 15px; }

.auth-check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 20px; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.auth-check input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--teal-deep); flex-shrink: 0; }
.auth-check a { color: var(--teal-deep); font-weight: 600; }
.auth-check.is-error { color: #D0393E; }

.auth-row-between { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 2px 0 22px; }
.auth-row-between .auth-check { margin: 0; }
.auth-forgot { font-size: 13px; font-weight: 600; color: var(--teal-deep); white-space: nowrap; }

.auth-form .btn-primary { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
.auth-alt { text-align: center; font-size: 14px; color: var(--muted); margin-top: 22px; }
.auth-alt a { color: var(--teal-deep); font-weight: 600; }

.auth-success { text-align: center; padding: 10px 0; }
.auth-success-ic { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: rgba(0, 133, 123, .1); color: var(--teal-deep); }
.auth-success-ic svg { width: 30px; height: 30px; }
.auth-success h3 { font-size: 22px; font-weight: 700; color: var(--ink); margin: 0 0 9px; }
.auth-success p { font-size: 14.5px; color: var(--muted); margin: 0 auto 22px; max-width: 36ch; line-height: 1.55; }

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-brand { padding: calc(var(--auth-hdr) + 36px) 28px 44px; }
  .auth-brand h2 { font-size: 26px; }
  .auth-sub { margin-bottom: 26px; }
  .auth-points { grid-template-columns: 1fr; gap: 14px; }
  .auth-trust { margin-top: 28px; }
  .auth-panel { padding: 40px 24px 56px; }
}
@media (max-width: 480px) {
  .auth-row { grid-template-columns: 1fr; gap: 0; }
}

/* ── Light stat row (trading conditions) ─────────────────────────── */
.ps-statrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 40px auto 0; max-width: 920px; }
.ps-stat { text-align: center; position: relative; }
.ps-stat + .ps-stat::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--line); }
.ps-stat-num { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.ps-stat-lbl { margin-top: 9px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.ps-sec-dark .ps-stat-num { color: #fff; }
.ps-sec-dark .ps-stat + .ps-stat::before { background: rgba(255, 255, 255, .18); }
@media (max-width: 640px) {
  .ps-statrow { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .ps-stat:nth-child(odd)::before { display: none; }
}

/* ── Legal document category headings ────────────────────────────── */
.ps-legal-group { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 38px 0 16px; }
.ps-legal-group:first-child { margin-top: 0; }
.ps-legal + .ps-legal-group { margin-top: 40px; }

/* "A Platform Designed for You": size the image to the text column height
   instead of the tall 4:5 default, so the two sides line up on desktop. */
.ps-feature--fit .ps-split-media img { aspect-ratio: 3 / 2; }
@media (min-width: 1025px) {
  .ps-feature--fit .ps-split-grid { align-items: stretch; }
  .ps-feature--fit .ps-split-media img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    aspect-ratio: auto; object-fit: cover;
  }
}

/* ── Partner programme: commission price card + numbered step icons ── */
.ps-pricecard {
  height: 100%; display: flex; flex-direction: column; justify-content: center;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px; padding: 46px 40px;
}
.ps-price-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.ps-price-num { font-size: clamp(3rem, 7vw, 4.4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.ps-price-sub { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
.ps-feat-ic .ps-num { font-size: 15px; font-weight: 800; color: var(--navy); }

/* ── Market news cards (news.sgfx.com feed) ─────────────────────── */
.news-cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 4px; }
.news-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.news-meta span { display: inline-flex; align-items: center; gap: 5px; }
.news-meta svg { width: 13px; height: 13px; }
.news-alllink { text-align: center; margin-top: 42px; }

/* ── Card search filter (blog + market news) ────────────────────── */
.card-search { position: relative; max-width: 520px; margin: 0 auto 34px; }
.card-search input {
  width: 100%; padding: 14px 16px 14px 46px; border-radius: 12px; font-family: inherit;
  font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.card-search input::placeholder { color: #7B8794; }
.card-search input:focus { outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 3px rgba(0, 133, 123, .12); }
.card-search > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.blog-card.is-hidden { display: none; }
.search-empty { text-align: center; color: var(--muted); font-size: 15px; padding: 24px 0; }

/* Wider lead container so a specific title stays on one line (desktop). */
.ps-lead--oneline .ps-lead-inner { max-width: 920px; }

/* ── Horizontal cards (icon left, title + text right) ───────────── */
.ps-hcards { display: grid; gap: 14px; margin-top: 26px; }
.ps-hcard {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s, border-color .25s;
}
.ps-hcard:hover { transform: translateY(-2px); border-color: rgba(0, 133, 123, .4); box-shadow: 0 18px 44px -32px rgba(6, 27, 63, .45); }
.ps-hcard-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); flex-shrink: 0; }
.ps-hcard-ic svg { width: 20px; height: 20px; color: var(--teal-deep); }
.ps-hcard h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.ps-hcard p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.ps-sec-dark .ps-hcard { background: var(--card); border-color: var(--card-line); }

/* ── Awards showcase (trophy cards) ─────────────────────────────── */
.awards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.award-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px 28px;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s, border-color .3s, background .3s;
}
.award-card:hover { transform: translateY(-5px); background: linear-gradient(165deg, #061B3F 0%, #0C2A57 100%); border-color: rgba(0, 255, 242, .35); box-shadow: 0 26px 60px -34px rgba(6, 27, 63, .55); }
.award-trophy { height: 340px; display: grid; place-items: center; margin-bottom: 18px; }
.award-trophy img { max-height: 340px; max-width: 100%; width: auto; object-fit: contain; display: block; }
.award-card h4 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; transition: color .3s; }
.award-event { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); transition: color .3s; }
.award-country { margin: 3px 0 0; font-size: 13px; color: var(--muted); font-style: italic; transition: color .3s; }
.award-card:hover h4, .award-card:hover .award-event { color: #fff; }
.award-card:hover .award-country { color: rgba(255, 255, 255, .72); }

/* account-type comparison cards */
.acc-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 6px; text-align: left; }
.acc-tier { display: flex; flex-direction: column; padding: 26px 24px 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .3s, box-shadow .3s; }
.acc-tier:hover { transform: translateY(-5px); border-color: rgba(0, 255, 242, .4); box-shadow: 0 26px 60px -34px rgba(0, 0, 0, .6); }
.acc-tier-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.acc-tier-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(0, 255, 242, .12); color: var(--cyan); }
.acc-tier-ic svg { width: 22px; height: 22px; }
.acc-tier-head h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--cyan); letter-spacing: -.01em; }
.acc-tier-head p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.35; color: rgba(255, 255, 255, .6); }
.acc-tier-specs { margin: 0; display: flex; flex-direction: column; }
.acc-tier-specs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.acc-tier-specs > div:last-child { border-bottom: 0; }
.acc-tier-specs dt { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .58); }
.acc-tier-specs dd { margin: 0; font-size: 14.5px; font-weight: 600; color: #fff; text-align: right; }

/* careers - expand your career */
.career-functions { max-width: 760px; margin: 0 auto; text-align: center; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.75; letter-spacing: -.005em; }
.career-note { max-width: 720px; margin: 30px auto 0; text-align: center; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.career-apply { max-width: 780px; margin: 36px auto 0; display: flex; align-items: center; gap: 22px; padding: 26px 30px; border-radius: 18px; background: linear-gradient(150deg, #061B3F 0%, #0C2A57 100%); box-shadow: 0 30px 60px -40px rgba(6, 27, 63, .65); }
.career-apply-ic { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(0, 255, 242, .14); color: var(--cyan); }
.career-apply-ic svg { width: 24px; height: 24px; }
.career-apply-copy { flex: 1 1 auto; }
.career-apply-copy h4 { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.career-apply-copy p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 14.5px; line-height: 1.55; }
.career-apply .btn-cyan { flex: none; display: inline-flex; align-items: center; gap: 9px; }
.career-apply .btn-cyan svg { width: 17px; height: 17px; }

/* market technical analysis - live TradingView gauges */
.ta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 36px; }
.ta-card { border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .03); }
.ta-card .tradingview-widget-container { height: 100%; }
.ta-note { max-width: 780px; margin: 24px auto 0; text-align: center; color: rgba(255, 255, 255, .5); font-size: 12.5px; line-height: 1.6; }

/* legal document library */
.legal-lib { max-width: 1140px; margin: 0 auto; }
.legal-cat { margin-top: 48px; }
.legal-cat:first-child { margin-top: 0; }
.legal-cat-head { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; padding: 16px 20px; background: rgba(6, 27, 63, .05); border-radius: 14px; }
.legal-cat-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--teal-deep); color: #fff; box-shadow: 0 10px 22px -12px rgba(0, 133, 123, .7); }
.legal-cat-ic svg { width: 22px; height: 22px; }
.legal-cat-ic--warn { background: #C77800; color: #fff; box-shadow: 0 10px 22px -12px rgba(199, 120, 0, .7); }
.legal-cat-head h3 { margin: 0; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.legal-cat-count { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-deep); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; }
.legal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.legal-doc { display: flex; flex-direction: column; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: transform .25s cubic-bezier(.22, 1, .36, 1), border-color .25s, box-shadow .25s; }
.legal-doc:hover { transform: translateY(-4px); border-color: rgba(0, 133, 123, .45); box-shadow: 0 22px 50px -34px rgba(6, 27, 63, .45); }
.legal-doc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.legal-doc-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(0, 133, 123, .09); color: var(--teal-deep); }
.legal-doc-ic svg { width: 22px; height: 22px; }
.legal-doc-ic--warn { background: rgba(214, 122, 0, .12); color: #C77800; }
.legal-doc-badge { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }
.legal-doc-title { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.32; margin-bottom: 8px; }
.legal-doc-desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; flex: 1 1 auto; }
.legal-doc-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--teal-deep); }
.legal-doc-open svg { width: 15px; height: 15px; transition: transform .25s; }
.legal-doc:hover .legal-doc-open svg { transform: translate(2px, -2px); }
@media (max-width: 640px) {
 .career-apply { flex-direction: column; text-align: center; gap: 18px; padding: 26px 22px; }
 .career-apply-copy { text-align: center; }
}
