:root {
  --pico-font-family: Arial, Helvetica, sans-serif;

  --pts-bg: #f3f5f7;
  --pts-surface: #ffffff;
  --pts-surface-alt: #f8fafc;
  --pts-border: #d7dde5;
  --pts-border-strong: #b9c2cf;
  --pts-text: #0f1724;
  --pts-muted: #4d5b6c;
  --pts-soft: #6a7788;
  --pts-blue: #005ea8;
  --pts-blue-dark: #004b86;
  --pts-green: #1f7a4d;
  --pts-radius: 3px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pts-bg);
  color: var(--pts-text);
  font-family: var(--pico-font-family);
  font-size: 15px;
  line-height: 1.55;
}

/* Disable decorative startup-style effects */
body::before {
  display: none !important;
}

/* Strong text reset so Pico does not make content too faint */
p,
li,
dd,
dt,
blockquote,
small,
span {
  color: var(--pts-text);
}

ul,
ol {
  color: var(--pts-text);
}

li {
  color: var(--pts-text);
  margin-bottom: 0.35rem;
}

small,
.muted {
  color: var(--pts-muted);
}

a {
  color: var(--pts-blue);
  text-decoration: none;
}

a:hover {
  color: var(--pts-blue-dark);
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  color: var(--pts-text);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.45rem;
  margin-top: 1.6rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.05rem;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */

.site-header {
  padding: 18px 0 0;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--pts-border);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pts-text);
  text-decoration: none;
}

.brand-lockup:hover {
  text-decoration: none;
}

.brand-lockup strong {
  display: block;
  color: var(--pts-text);
  font-size: 1rem;
  line-height: 1.1;
}

.brand-lockup small {
  display: block;
  color: var(--pts-muted);
  font-size: 0.72rem;
  margin-top: 2px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--pts-radius);
  color: #ffffff;
  background: var(--pts-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--pts-text);
  font-size: 0.9rem;
  padding: 7px 9px;
  border-radius: var(--pts-radius);
  white-space: nowrap;
}

.nav-links a:hover {
  background: #e7edf4;
  color: var(--pts-text);
  text-decoration: none;
}

.nav-cta {
  color: #ffffff !important;
  background: var(--pts-blue) !important;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--pts-blue-dark) !important;
}

.nav-toggle {
  display: none !important;
}

.site-main {
  padding: 24px 0 32px;
}

/* Homepage hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 20px;
  align-items: stretch;
  padding: 22px 0 26px;
}

.hero-copy {
  padding: 26px;
  background: var(--pts-surface);
  border: 1px solid var(--pts-border);
  border-radius: var(--pts-radius);
}

.hero-copy h1 {
  max-width: 760px;
  margin-top: 0;
  font-size: clamp(2rem, 4.3vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero-copy p {
  max-width: 760px;
  margin-top: 14px;
  color: var(--pts-text);
  font-size: 1rem;
  line-height: 1.65;
}

.kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--pts-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
}

.kicker::before {
  display: none !important;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.action-row a[role="button"],
.callout a[role="button"] {
  margin: 0;
  border-radius: var(--pts-radius);
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--pts-blue);
  border: 1px solid var(--pts-blue);
  color: #ffffff;
}

.action-row a[role="button"]:hover,
.callout a[role="button"]:hover {
  background: var(--pts-blue-dark);
  border-color: var(--pts-blue-dark);
  color: #ffffff;
}

.action-row .secondary,
.callout .secondary {
  border: 1px solid var(--pts-border-strong);
  background: #ffffff;
  color: var(--pts-text);
}

.action-row .secondary:hover,
.callout .secondary:hover {
  background: #eef2f6;
  color: var(--pts-text);
}

/* Badges */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.badge {
  border: 1px solid var(--pts-border);
  border-radius: var(--pts-radius);
  padding: 5px 8px;
  color: var(--pts-muted);
  background: var(--pts-surface-alt);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Prototype panel */

.hero-panel {
  border: 1px solid var(--pts-border);
  border-radius: var(--pts-radius);
  background: var(--pts-surface);
  padding: 0;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pts-border);
  background: var(--pts-surface-alt);
}

.panel-title {
  margin: 0;
  font-size: 0.92rem;
  color: var(--pts-text);
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bcd7c8;
  border-radius: var(--pts-radius);
  color: var(--pts-green);
  background: #eef8f2;
  padding: 4px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.broker-card {
  border: none;
  border-radius: 0;
  padding: 18px 16px;
  background: transparent;
}

.broker-card h3 {
  margin: 4px 0 10px;
  font-size: 1.25rem;
  color: var(--pts-text);
}

.broker-card p {
  margin-bottom: 0;
  color: var(--pts-muted);
  line-height: 1.6;
}

/* Metric table */

.metric-row {
  display: grid;
  margin-top: 18px;
  border: 1px solid var(--pts-border);
  border-bottom: none;
}

.mini-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--pts-border);
  padding: 10px 12px;
  background: #ffffff;
}

.mini-metric:nth-child(even) {
  background: var(--pts-surface-alt);
}

.mini-metric span {
  color: var(--pts-muted);
  font-size: 0.82rem;
}

.mini-metric strong {
  color: var(--pts-text);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: right;
}

.decision-box {
  margin-top: 16px;
  border: 1px solid #c8d8ea;
  border-radius: var(--pts-radius);
  padding: 12px;
  background: #f2f7fc;
}

.decision-box small {
  color: var(--pts-muted);
}

.decision-box strong {
  display: block;
  margin-top: 4px;
  color: var(--pts-text);
  line-height: 1.45;
  font-size: 0.92rem;
}

/* Sections */

.section {
  padding: 24px 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin-bottom: 8px;
}

.section-heading p {
  color: var(--pts-muted);
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.soft-card,
.note-list article {
  border: 1px solid var(--pts-border);
  border-radius: var(--pts-radius);
  padding: 16px;
  min-height: 0;
  background: var(--pts-surface) !important;
  color: var(--pts-text) !important;
  box-shadow: none !important;
}

.soft-card::before {
  display: none !important;
}

.soft-card h3,
.note-list article h3 {
  margin: 0 0 8px;
  color: var(--pts-text) !important;
  font-size: 1rem;
  letter-spacing: 0;
}

.soft-card p,
.note-list article p {
  color: var(--pts-muted) !important;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Callout */

.callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--pts-border);
  border-left: 4px solid var(--pts-blue);
  border-radius: var(--pts-radius);
  padding: 18px;
  margin: 20px 0;
  background: var(--pts-surface);
}

.callout strong {
  color: var(--pts-text);
}

.callout p {
  margin: 4px 0 0;
  color: var(--pts-muted);
}

/* Inner pages */

.page-title {
  margin: 20px 0 22px;
  max-width: 860px;
  padding: 22px;
  border: 1px solid var(--pts-border);
  border-radius: var(--pts-radius);
  background: var(--pts-surface);
}

.page-title h1 {
  margin: 0 0 10px;
  color: var(--pts-text);
  letter-spacing: -0.02em;
}

.page-title p {
  margin-bottom: 0;
  color: var(--pts-muted);
  font-size: 1rem;
}

.note-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

/* Page content readability */

.site-main > p,
.site-main > ul,
.site-main > ol,
.site-main > h2,
.site-main > h3 {
  max-width: 920px;
}

.site-main > p {
  color: var(--pts-text);
}

/* Force light financial-site styling over Pico article defaults */

article,
.note-list article,
.note-list > article {
  background: #ffffff !important;
  color: #0f1724 !important;
  border: 1px solid #d7dde5 !important;
  box-shadow: none !important;
}

article *,
.note-list article *,
.note-list > article * {
  color: inherit;
}

.note-list article h1,
.note-list article h2,
.note-list article h3,
.note-list article h4,
.note-list > article h1,
.note-list > article h2,
.note-list > article h3,
.note-list > article h4 {
  color: #0f1724 !important;
}

.note-list article p,
.note-list article small,
.note-list article .muted,
.note-list > article p,
.note-list > article small,
.note-list > article .muted {
  color: #4d5b6c !important;
}

/* Footer */

.site-footer {
  margin-top: 48px;
  padding: 32px 0 28px;
  border-top: 1px solid var(--pts-border);
  color: var(--pts-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand p {
  max-width: 520px;
  margin-top: 14px;
  color: var(--pts-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pts-text);
  text-decoration: none;
}

.footer-logo:hover {
  text-decoration: none;
}

.footer-logo strong {
  display: block;
  color: var(--pts-text);
  font-size: 0.95rem;
  line-height: 1.1;
}

.footer-logo small {
  display: block;
  color: var(--pts-muted);
  font-size: 0.72rem;
  margin-top: 2px;
}

.site-footer h4 {
  margin: 0 0 10px;
  color: var(--pts-text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0 0 7px;
  color: var(--pts-muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--pts-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--pts-blue);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--pts-border);
}

.footer-bottom small {
  max-width: 540px;
  color: var(--pts-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.footer-bottom small:last-child {
  text-align: right;
}

/* Responsive */

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-bottom small:last-child {
    text-align: left;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .nav-bar {
    display: grid;
    align-items: start;
    gap: 12px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-copy {
    padding: 20px;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .callout {
    grid-template-columns: 1fr;
  }

  .callout a[role="button"] {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 460px) {
  .brand-lockup {
    align-items: flex-start;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .action-row a[role="button"] {
    width: 100%;
    text-align: center;
  }

  .mini-metric {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .mini-metric strong {
    text-align: left;
  }
}           

.logo-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-site-logo {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 780px) {
  .site-logo {
    width: 260px;
  }

  .footer-site-logo {
    width: 230px;
  }
}

@media (max-width: 460px) {
  .site-logo {
    width: 220px;
  }

  .footer-site-logo {
    width: 210px;
  }
}