:root {
  --fcb-ink: #14241c;
  --fcb-muted: #5d6b63;
  --fcb-green: #0f6b45;
  --fcb-green-deep: #0c2e22;
  --fcb-green-soft: #e7f3ec;
  --fcb-gold: #b08a3e;
  --fcb-gold-soft: #f8f1df;
  --fcb-paper: #f4f1ea;
  --fcb-card: #fffcf7;
  --fcb-line: #e3ddd2;
  --fcb-max: 72rem;
  --fcb-radius: 18px;
  --fcb-shadow: 0 16px 40px rgba(12, 46, 34, 0.08);
  --fcb-serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --fcb-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fcb-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--fcb-ink);
  background:
    radial-gradient(40rem 18rem at 100% -4rem, rgba(176, 138, 62, 0.16), transparent 60%),
    var(--fcb-paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--fcb-green); text-underline-offset: 3px; }
a:hover { color: var(--fcb-green-deep); }

.fcb-skip {
  position: absolute;
  left: -999px;
}
.fcb-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 80;
  background: #fff;
  color: var(--fcb-ink);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.fcb-page { min-height: 100vh; display: flex; flex-direction: column; }

.fcb-utility {
  background: var(--fcb-green-deep);
  color: #e7f3ec;
  font-size: 0.86rem;
}
.fcb-utility__wrap,
.fcb-bar__wrap,
.fcb-main,
.fcb-foot__wrap {
  width: min(var(--fcb-max), calc(100% - 2rem));
  margin: 0 auto;
}
.fcb-utility__wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}
.fcb-utility a { color: #f8f1df; text-decoration: none; font-weight: 650; }
.fcb-utility a:hover { color: #fff; }

.fcb-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fcb-line);
}
.fcb-bar__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.fcb-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--fcb-green-deep);
  text-decoration: none;
  font-family: var(--fcb-serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.fcb-brand img { width: 40px; height: 40px; }
.fcb-burger {
  display: none;
  border: 0;
  background: var(--fcb-green);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
.fcb-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.fcb-menu a {
  color: var(--fcb-ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
}
.fcb-menu a:hover,
.fcb-menu a[aria-current="page"] { color: var(--fcb-green); }
.fcb-menu a[href="/first-citizens-login/"] {
  background: var(--fcb-green);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}
.fcb-menu a[href="/first-citizens-login/"]:hover,
.fcb-menu a[href="/first-citizens-login/"][aria-current="page"] {
  background: var(--fcb-green-deep);
  color: #fff;
}

.fcb-main { flex: 1; padding: 1.6rem 0 3.5rem; }

.fcb-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--fcb-green-deep);
  color: #f7f4ee;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--fcb-shadow);
}
.fcb-hero__copy { padding: 2.2rem 2rem; }
.fcb-kicker {
  margin: 0 0 0.6rem;
  color: var(--fcb-gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.fcb-hero h1,
.fcb-pagehead h1,
.fcb-section h2,
.fcb-split h2,
.fcb-chart h2,
.fcb-form h2,
.fcb-cta h2 {
  font-family: var(--fcb-serif);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.7rem;
}
.fcb-hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); color: #fff; }
.fcb-hero p { margin: 0 0 1.2rem; color: #e4efe8; max-width: 38rem; }
.fcb-hero a:not(.fcb-btn) { color: #f3e2b3; }
.fcb-hero a:not(.fcb-btn):hover { color: #fff; }
.fcb-hero__photo img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

.fcb-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.fcb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}
.fcb-btn--fill { background: var(--fcb-gold); color: #1b160c; }
.fcb-btn--fill:hover { background: #d7b56a; color: #1b160c; }
.fcb-btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.fcb-btn--line:hover { background: #fff; color: var(--fcb-green-deep); }
.fcb-btn--green { background: var(--fcb-green); color: #fff; }
.fcb-btn--green:hover { background: var(--fcb-green-deep); color: #fff; }

.fcb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1rem 0 0;
}
.fcb-stat {
  background: var(--fcb-card);
  border: 1px solid var(--fcb-line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
}
.fcb-stat b {
  display: block;
  font-family: var(--fcb-serif);
  font-size: 1.45rem;
  color: var(--fcb-green-deep);
}
.fcb-stat span { color: var(--fcb-muted); font-size: 0.9rem; }

.fcb-section { margin-top: 2.4rem; }
.fcb-section h2,
.fcb-chart h2,
.fcb-split h2,
.fcb-form h2,
.fcb-pagehead h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.fcb-lead { color: var(--fcb-muted); max-width: 42rem; }

.fcb-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.fcb-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--fcb-card);
  border: 1px solid var(--fcb-line);
  border-radius: var(--fcb-radius);
  padding: 1rem 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(20, 36, 28, 0.03);
  min-height: 100%;
}
.fcb-card:hover { border-color: #c9b27a; transform: translateY(-2px); color: inherit; }
.fcb-card img { width: 42px; height: 42px; }
.fcb-card h3 { margin: 0; font-size: 1.05rem; }
.fcb-card p { margin: 0; color: var(--fcb-muted); font-size: 0.95rem; }
.fcb-card__go { margin-top: auto; color: var(--fcb-green); font-weight: 750; font-size: 0.9rem; }

.fcb-chart,
.fcb-form,
.fcb-panel,
.fcb-faq {
  margin-top: 2.2rem;
  background: var(--fcb-card);
  border: 1px solid var(--fcb-line);
  border-radius: 24px;
  padding: 1.3rem 1.3rem 1.4rem;
  box-shadow: var(--fcb-shadow);
}
.fcb-bars { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.fcb-bars li { display: grid; grid-template-columns: 8.5rem 1fr auto; gap: 0.7rem; align-items: center; }
.fcb-bars__name { font-weight: 700; }
.fcb-bars__track { height: 12px; background: var(--fcb-green-soft); border-radius: 999px; overflow: hidden; }
.fcb-bars__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--fcb-green), var(--fcb-gold)); border-radius: inherit; }
.fcb-bars__val { font-variant-numeric: tabular-nums; font-weight: 750; }
.fcb-note { color: var(--fcb-muted); font-size: 0.92rem; }

.fcb-split {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: center;
}
.fcb-split img { border-radius: 22px; width: 100%; object-fit: cover; min-height: 240px; }
.fcb-split--flip img { order: 2; }

.fcb-pagehead { padding: 0.4rem 0 0.2rem; max-width: 44rem; }
.fcb-pagehead p { color: var(--fcb-muted); font-size: 1.08rem; }

.fcb-prose p { margin: 0 0 0.9rem; }
.fcb-prose h2 { margin-top: 1.6rem; }
.fcb-list { margin: 0.4rem 0 1rem; padding-left: 1.1rem; }
.fcb-list li { margin: 0.35rem 0; }

.fcb-table-wrap { overflow-x: auto; margin-top: 0.8rem; }
.fcb-table { width: 100%; border-collapse: collapse; background: var(--fcb-card); }
.fcb-table th,
.fcb-table td { text-align: left; padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--fcb-line); vertical-align: top; }
.fcb-table th { background: var(--fcb-green-soft); font-size: 0.92rem; }
.fcb-table caption { text-align: left; font-weight: 750; padding-bottom: 0.5rem; }

.fcb-faq details {
  border-top: 1px solid var(--fcb-line);
  padding: 0.75rem 0;
}
.fcb-faq details:first-of-type { border-top: 0; }
.fcb-faq summary { cursor: pointer; font-weight: 750; }
.fcb-faq p { margin: 0.45rem 0 0; color: var(--fcb-muted); }

.fcb-form { max-width: 36rem; }
.fcb-field { display: block; font-weight: 750; margin-bottom: 0.35rem; }
.fcb-input,
.fcb-select {
  width: 100%;
  border: 1px solid #d9d1c3;
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  font: inherit;
  margin-bottom: 0.9rem;
}
.fcb-input:focus,
.fcb-select:focus { outline: 2px solid var(--fcb-gold); border-color: var(--fcb-green); }
.fcb-alert {
  background: #fff4f2;
  color: #8a2b22;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  margin: 0 0 0.8rem;
}
.fcb-alert--ok { background: var(--fcb-green-soft); color: var(--fcb-green-deep); }

.fcb-cta {
  margin-top: 2rem;
  background: linear-gradient(135deg, #12382b, #0f6b45 70%);
  color: #f7f4ee;
  border-radius: 24px;
  padding: 1.4rem 1.4rem 1.5rem;
}
.fcb-cta a { color: #f8f1df; }
.fcb-cta .fcb-btn--fill { color: #1b160c; }

.fcb-foot {
  background: var(--fcb-green-deep);
  color: #d7e6de;
  padding: 2rem 0 1.2rem;
  margin-top: auto;
}
.fcb-foot a { color: #f8f1df; text-decoration: none; }
.fcb-foot a:hover { text-decoration: underline; }
.fcb-foot__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.2rem;
}
.fcb-foot h2 { margin: 0 0 0.5rem; font-size: 0.95rem; color: #fff; letter-spacing: 0.04em; text-transform: uppercase; }
.fcb-foot ul { list-style: none; margin: 0; padding: 0; }
.fcb-foot li { margin: 0.28rem 0; }
.fcb-foot__copy { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 1.2rem; padding-top: 0.8rem; font-size: 0.88rem; }

.fcb-notice {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--fcb-line);
  border-radius: 16px;
  box-shadow: var(--fcb-shadow);
  padding: 0.9rem 1rem;
  max-width: 52rem;
  margin: 0 auto;
}
.fcb-notice p { margin: 0; }
.fcb-notice .fcb-btn--line { color: var(--fcb-green-deep); border-color: var(--fcb-line); }

@media (max-width: 980px) {
  .fcb-hero,
  .fcb-split,
  .fcb-cards,
  .fcb-stats,
  .fcb-foot__grid { grid-template-columns: 1fr 1fr; }
  .fcb-hero { grid-template-columns: 1fr; }
  .fcb-split--flip img { order: 0; }
}

@media (max-width: 760px) {
  .fcb-burger { display: inline-flex; }
  .fcb-bar { position: sticky; }
  .fcb-bar__wrap { position: relative; }
  .fcb-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    left: 0;
    background: #fff;
    border: 1px solid var(--fcb-line);
    border-radius: 16px;
    padding: 0.7rem;
    box-shadow: var(--fcb-shadow);
  }
  .fcb-menu--open { display: block; }
  .fcb-menu ul { flex-direction: column; align-items: flex-start; }
  .fcb-cards,
  .fcb-stats,
  .fcb-foot__grid,
  .fcb-split { grid-template-columns: 1fr; }
  .fcb-bars li { grid-template-columns: 1fr; gap: 0.25rem; }
  .fcb-hero__copy { padding: 1.4rem 1.1rem 0.4rem; }
}
