/* SFinance Capital. Plain CSS, no build step. */

:root {
  --navy: #0c1b2e;
  --navy-2: #13263f;
  --ink: #1a2433;
  --muted: #55606f;
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --white: #ffffff;
  --gold: #b69a5e;        /* accent on navy */
  --gold-deep: #7a6230;   /* accent text on paper, meets AA contrast */
  --rule: #d9d2c3;
  --rule-dark: rgba(255, 255, 255, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 20;
}
.skip:focus { left: 12px; top: 12px; }

/* Header */

.site-header {
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid var(--rule-dark);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 0;
}
.nav a:hover { color: var(--white); }

.nav .nav-cta {
  color: var(--white);
  border: 1px solid var(--gold);
  padding: 8px 18px;
}
.nav .nav-cta:hover { background: var(--gold); color: var(--navy); }

/* Shared section pieces */

.section { padding: 104px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--navy); color: var(--white); }

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 18px;
  font-weight: 600;
}
.dark .eyebrow, .hero .eyebrow { color: var(--gold); }

.section h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  max-width: 21em;
}

.section-head { margin-bottom: 56px; }

.section-head::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold-deep);
  margin-top: 28px;
}
.dark .section-head::after { background: var(--gold); }

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 40em;
  margin-top: 22px;
}
.dark .lede { color: rgba(255, 255, 255, 0.78); }

.note {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 52em;
  margin-top: 36px;
}
.dark .note { color: rgba(255, 255, 255, 0.66); }

/* Hero */

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 112px 0 0;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  max-width: 13em;
}

.hero .lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  max-width: 30em;
  margin-top: 32px;
}

.hero .sub {
  color: rgba(255, 255, 255, 0.72);
  max-width: 38em;
  margin-top: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 14px 26px;
  border: 1px solid var(--gold);
  text-align: center;
}
.btn.solid { background: var(--gold); color: var(--navy); font-weight: 600; }
.btn.solid:hover { background: #c7ac72; }
.btn.line { color: var(--white); }
.btn.line:hover { background: rgba(255, 255, 255, 0.08); }

.hero-figures {
  margin-top: 88px;
  border-top: 1px solid var(--rule-dark);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-figures div {
  padding: 30px 24px 36px 0;
}
.hero-figures div + div {
  padding-left: 24px;
  border-left: 1px solid var(--rule-dark);
}

.hero-figures strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--gold);
  line-height: 1.2;
}

.hero-figures span {
  display: block;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.74);
  margin-top: 8px;
  line-height: 1.45;
}

/* Grids and cards */

.grid { display: grid; gap: 0; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.five { grid-template-columns: repeat(5, 1fr); }

.cell {
  padding: 34px 32px 38px 0;
  border-top: 1px solid var(--rule);
}
.dark .cell { border-top-color: var(--rule-dark); }

.cell h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.cell p { color: var(--muted); font-size: 0.98rem; }
.dark .cell p { color: rgba(255, 255, 255, 0.76); }

.num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.dark .num { color: var(--gold); }

.figure {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  color: var(--navy);
  display: block;
  margin-bottom: 12px;
}
.dark .figure { color: var(--gold); }

.label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
  line-height: 1.5;
}
.dark .label { color: var(--white); }

/* Statement line */

.statement {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  border-left: 2px solid var(--gold-deep);
  padding: 6px 0 6px 28px;
  margin: 56px 0 0;
  max-width: 28em;
}
.dark .statement { border-left-color: var(--gold); }

/* Tables as lists */

.ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-dark);
}

.ledger li {
  display: grid;
  grid-template-columns: 9.5em 1fr 13em;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-dark);
  align-items: baseline;
}

.ledger .amt { font-family: var(--serif); font-size: 1.25rem; color: var(--gold); }
.ledger .role { font-size: 0.86rem; color: rgba(255, 255, 255, 0.7); }

.subhead {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 80px 0 26px;
}

.reach {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-dark);
}

.reach li {
  padding: 22px 20px 24px 0;
  border-bottom: 1px solid var(--rule-dark);
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.78);
}

.reach strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--white);
}

/* Process timeline */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--navy);
}

.timeline li {
  padding: 28px 24px 8px 0;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--gold-deep);
  transform: rotate(45deg);
}

.timeline .days {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.timeline h3 { font-size: 1.4rem; margin-bottom: 10px; }
.timeline p { font-size: 0.95rem; color: var(--muted); }

/* Profile */

.profile {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}

.profile-card {
  background: var(--navy);
  color: var(--white);
  padding: 44px 40px;
  border-top: 3px solid var(--gold);
}

.profile-card h3 { font-size: 2rem; margin-bottom: 8px; }

.profile-card .title {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.profile-card ul {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.8);
}

.profile-card li {
  padding: 12px 0;
  border-top: 1px solid var(--rule-dark);
}

.profile-body p { font-size: 1.05rem; }

.plain-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.plain-list li {
  padding: 14px 0 14px 26px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  color: var(--ink);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.55em;
  width: 7px;
  height: 7px;
  background: var(--gold-deep);
  transform: rotate(45deg);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-list {
  margin: 0;
  border-top: 1px solid var(--rule-dark);
}

.contact-list div {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-dark);
}

.contact-list dt {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding-top: 4px;
}

.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-list a { text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* Comparison table */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.compare th, .compare td {
  text-align: left;
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.compare thead th {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid var(--navy);
}

.compare tbody th { font-weight: 500; color: var(--ink); width: 34%; }
.compare td { color: var(--muted); }

.compare .us {
  background: var(--navy);
  color: var(--white);
  padding-left: 20px;
  font-family: var(--serif);
  font-size: 1.08rem;
  border-bottom-color: var(--rule-dark);
}
.compare thead .us { color: var(--gold); font-family: var(--sans); font-size: 0.74rem; border-bottom-color: var(--gold); }

.compare .us + td, .compare .us + th { padding-left: 24px; }

/* Footer */

.site-footer {
  background: #08131f;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  padding: 40px 0 48px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 40px;
}

.site-footer p { margin: 0; max-width: 46em; }
.site-footer a { color: rgba(255, 255, 255, 0.88); text-underline-offset: 3px; }

/* Plain page (privacy) */

.plain { padding: 88px 0 104px; }
.plain h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 28px; }
.plain h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.plain .wrap { max-width: 760px; }
.plain a { color: var(--gold-deep); text-underline-offset: 3px; }

/* Responsive */

@media (max-width: 980px) {
  .nav a:not(.nav-cta) { display: none; }
  .section { padding: 80px 0; }
  .grid.four, .grid.five { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: repeat(2, 1fr); }
  .hero-figures { grid-template-columns: repeat(2, 1fr); }
  .hero-figures div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-figures div:nth-child(n+3) { border-top: 1px solid var(--rule-dark); }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--navy); }
  .timeline li { padding: 0 0 30px 28px; }
  .timeline li::before { top: 8px; left: -6px; }
  .profile, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .ledger li { grid-template-columns: 8.5em 1fr; }
  .ledger .role { grid-column: 2; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .site-header .wrap { min-height: 60px; }
  .brand { font-size: 1.12rem; gap: 10px; }
  .nav .nav-cta { padding: 7px 13px; }
  .hero { padding-top: 72px; }
  .hero-figures { margin-top: 60px; }
  .hero-figures div { padding: 22px 14px 24px 0; }
  .hero-figures div + div { padding-left: 14px; }
  .hero-figures div:nth-child(3) { padding-left: 0; }
  .hero-figures strong { font-size: 1.3rem; white-space: nowrap; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .grid.two, .grid.three, .grid.four, .grid.five { grid-template-columns: 1fr; }
  .cell { padding: 28px 0 30px; }
  .reach { grid-template-columns: repeat(2, 1fr); }
  .reach li { padding-right: 12px; }
  .ledger li { grid-template-columns: 1fr; gap: 4px; }
  .ledger .role { grid-column: 1; }
  .statement { padding-left: 20px; margin-top: 40px; }
  .profile-card { padding: 34px 26px; }
  .actions .btn { flex: 1 1 100%; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .subhead { margin-top: 60px; }
}

@media print {
  .site-header { position: static; }
  .section, .hero { padding: 32px 0; }
}
