/* RFS Enterprise Services, LLC — site styles (no build step) */
:root {
  --navy: #0a2d5e;
  --navy-900: #061d3f;
  --navy-700: #163f7a;
  --gold: #c69a3c;
  --gold-dark: #8a6a1f;   /* AA-contrast gold for text on white */
  --gold-50: #fbf6ea;
  --ink: #1b2433;
  --muted: #4a5568;
  --line: #dfe4ec;
  --bg-soft: #f5f7fa;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(10,45,94,.06), 0 6px 24px rgba(10,45,94,.08);
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 1.0625rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: .5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; align-items: center; }
.nav a { display: block; padding: .5rem .75rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; border-radius: 6px; }
.nav a:hover { background: var(--bg-soft); color: var(--navy); }
.nav a.btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .55rem .65rem; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; line-height: 1.2; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-900); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: #b78b2f; color: var(--navy-900); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.nav .btn { padding: .55rem 1rem; margin-left: .5rem; }

/* Hero */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(198,154,60,.18), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy) 55%, var(--navy-700)); overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--gold); }
.hero-inner { display: grid; grid-template-columns: 1.35fr .9fr; gap: 3rem; align-items: center; padding: 5rem 0 5.5rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.2rem; color: #dbe4f3; max-width: 40rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 1.6rem; backdrop-filter: blur(2px); }
.hero-card .shield { width: 84px; margin-bottom: 1rem; }
.hero-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; font-size: .98rem; }
.hero-card dt { color: #b9c7de; font-weight: 600; }
.hero-card dd { margin: 0; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.status-dot { display: inline-block; width: .6rem; height: .6rem; background: #3ccf7a; border-radius: 50%; margin-right: .4rem; box-shadow: 0 0 0 3px rgba(60,207,122,.25); vertical-align: middle; }

/* Trust strip */
.trust { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0 auto; padding: 1.1rem 0; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: center; font-weight: 600; color: var(--navy); font-size: .95rem; }
.trust li::before { content: "✓"; color: var(--gold-dark); font-weight: 800; margin-right: .45rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head .eyebrow { color: var(--gold-dark); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.gold-rule { width: 64px; height: 4px; background: var(--gold); border: 0; margin: 0 0 1.25rem; border-radius: 2px; }

.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.owner-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.owner-card h3 { margin-bottom: .2rem; }
.owner-card .role { color: var(--gold-dark); font-weight: 700; font-size: .95rem; margin-bottom: 1rem; }
.owner-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.owner-card li { margin-bottom: .4rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card h3 { display: flex; align-items: center; gap: .65rem; }
.card p { color: var(--muted); margin: 0; }
.card ul { color: var(--muted); margin: .25rem 0 0; padding-left: 1.1rem; }
.icon { flex: none; width: 40px; height: 40px; border-radius: 9px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }
.card-feature { border-left: 4px solid var(--gold); }

.why-list { counter-reset: why; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.why-list li { counter-increment: why; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.4rem 4.4rem; }
.why-list li::before { content: counter(why, decimal-leading-zero); position: absolute; left: 1.3rem; top: 1.25rem; font-weight: 800; font-size: 1.35rem; color: var(--gold-dark); }
.why-list h3 { margin-bottom: .3rem; }
.why-list p { margin: 0; color: var(--muted); }

/* Company data */
.data-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: start; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table caption { text-align: left; font-weight: 800; color: #fff; background: var(--navy); padding: .9rem 1.2rem; font-size: 1.05rem; border-bottom: 4px solid var(--gold); }
.data-table th, .data-table td { text-align: left; padding: .8rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table th { width: 42%; color: var(--muted); font-weight: 600; font-size: .95rem; background: #fafbfd; }
.data-table td { font-weight: 700; color: var(--navy); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "DejaVu Sans Mono", monospace; letter-spacing: .04em; }
.copy-btn { margin-left: .5rem; font: inherit; font-size: .75rem; font-weight: 600; color: var(--navy-700); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: .1rem .45rem; cursor: pointer; vertical-align: middle; }
.copy-btn:hover { border-color: var(--navy-700); }
.placeholder { border: 2px dashed var(--gold); background: var(--gold-50); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.placeholder h3 { margin-bottom: .4rem; }
.placeholder .tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: var(--navy-900); padding: .2rem .55rem; border-radius: 4px; margin-bottom: .6rem; }
.placeholder p { color: var(--muted); margin-bottom: .5rem; }
.placeholder p:last-child { margin-bottom: 0; }
.stack > * + * { margin-top: 1.25rem; }
.note-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.note-card p { margin: 0; color: var(--muted); }
.note-card strong { color: var(--navy); }

/* Capability statement CTA */
.cta-band { background: var(--navy); color: #fff; border-radius: 14px; padding: 2rem 2.2rem; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 2.5rem; border-bottom: 5px solid var(--gold); }
.cta-band h3 { color: #fff; margin-bottom: .25rem; font-size: 1.35rem; }
.cta-band p { margin: 0; color: #cfd9ea; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.contact-card .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--gold-dark); margin-bottom: .4rem; }
.contact-card a, .contact-card address { font-size: 1.15rem; font-weight: 700; color: var(--navy); font-style: normal; text-decoration: none; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }
.contact-actions { margin-top: 2rem; display: flex; gap: .75rem; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy-900); color: #b9c7de; padding: 3rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-brand { display: flex; gap: .9rem; align-items: center; margin-bottom: .8rem; }
.footer-brand img { width: 48px; }
.footer-brand strong { color: #fff; font-size: 1.05rem; line-height: 1.3; }
.site-footer h2 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: #dbe4f3; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound .code { font-size: 5rem; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: .5rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner, .about-grid, .data-wrap { grid-template-columns: 1fr; }
  .hero-inner { padding: 3.5rem 0 4rem; gap: 2rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1rem; }
  .nav a { padding: .75rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: .75rem 0 0; border-radius: 8px; border-bottom: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand img { height: 44px; }
  .why-list li { padding: 1.25rem 1.25rem 1.25rem 3.6rem; }
  .why-list li::before { left: 1.1rem; }
  .section { padding: 3.5rem 0; }
  .grid-3, .grid-2, .why-list, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero .lead { font-size: 1.08rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .data-table th, .data-table td { display: block; width: 100%; }
  .data-table th { border-bottom: 0; padding-bottom: .15rem; background: #fff; font-size: .85rem; }
  .data-table td { padding-top: 0; }
  .cta-band { padding: 1.5rem; }
  .cta-band .btn { width: 100%; }
  .trust ul { justify-content: flex-start; gap: .4rem 1.25rem; padding-inline: .25rem; }
}
@media print {
  .site-header, .nav-toggle, .copy-btn, .hero-ctas, .contact-actions, .cta-band { display: none !important; }
  .hero { background: #fff; color: var(--ink); }
  .hero h1, .hero .lead { color: var(--navy); }
}
