/* RaiseSteady Guard site (P2-253): the look of raisesteady.com, copied, not redesigned.
   Navy #282858, paper #f5f5f0, yellow #fedb71, mint #bfffe6; Orbitron for headings, Geist for text.
   Sizes in rem, so the reader's own font setting works. No animation: Reduce Motion and full motion look the same. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Orbitron'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/orbitron-variable.woff2') format('woff2'); }

:root { --navy: #282858; --paper: #f5f5f0; --yellow: #fedb71; --mint: #bfffe6; --text: #333; --ink: #1a1a1a; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 1rem; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
h1, h2, h3 { font-family: 'Orbitron', 'Geist', sans-serif; font-weight: 700; color: var(--navy); margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 6vw, 4.25rem); line-height: 1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 4.2vw, 3.1rem); line-height: 1.1; letter-spacing: -0.05em; }
h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: 46rem; }
.subhead { margin-top: 2rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--yellow); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* Nav */
.top { background: var(--paper); border-bottom: 2px solid var(--navy); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 11.6rem; height: auto; display: block; }
.tag { display: inline-block; background: var(--mint); border: 1px solid var(--navy); border-radius: 999px; padding: 0.3rem 0.6rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); line-height: 1.2; }
.nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; list-style: none; margin: 0; padding: 0; font-size: 0.875rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--navy); padding: 0.3rem 0; }
.nav a:hover { text-decoration: underline; }

/* Buttons: the .nx-btn of raisesteady.com */
.btn { display: inline-block; background: var(--navy); color: var(--yellow); border: 2px solid var(--navy); border-radius: 999px; padding: 0.95rem 1.4rem; font: 600 1rem/1.2 'Geist', sans-serif; text-decoration: none; box-shadow: 4px 4px 0 0 var(--yellow), 4px 4px 0 2px var(--navy); cursor: pointer; }
.btn:hover { background: #1c1c42; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: none; }
.btn-ghost:hover { background: rgba(40, 40, 88, 0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; margin: 1.5rem 0 0; }

/* Hero */
.hero { background: var(--yellow); border-bottom: 2px solid var(--navy); padding: 3.5rem 0 3rem; }
.hero .kicker { margin-bottom: 1.2rem; }
.hero .lede { font-size: 1.2rem; max-width: 40rem; color: var(--ink); }
.hero-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-top: 2.5rem; }
.hero-cards .card { box-shadow: 4px 4px 0 0 var(--navy); }
.hero-cards .card-title { font-family: 'Orbitron', 'Geist', sans-serif; font-weight: 700; color: var(--navy); font-size: 1.15rem; line-height: 1.25; margin: 0 0 0.4rem; }
.hero-cards .card p { margin: 0; font-size: 0.95rem; }

/* Sections and cards: the .tt-card of raisesteady.com */
.section { padding: 3.5rem 0; }
.section + .section { border-top: 1px solid rgba(40, 40, 88, 0.15); }
.section .lede { max-width: 40rem; font-size: 1.1rem; }
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-top: 1.75rem; }
.card { background: #fff; border: 2px solid var(--navy); border-radius: 22px; box-shadow: 6px 6px 0 0 var(--navy); padding: 1.15rem 1.4rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.card li { margin: 0 0 0.35rem; }
.card .btn { margin-top: 0.4rem; }
.plain { padding-left: 1.2rem; }
.plain li { margin-bottom: 0.45rem; }
.note { background: #fff; border: 2px solid var(--navy); border-radius: 22px; padding: 1rem 1.4rem; margin-top: 1.5rem; }
.note p:last-child { margin-bottom: 0; }

/* Table */
.tablewrap { overflow-x: auto; margin-top: 1.5rem; border: 2px solid var(--navy); border-radius: 22px; background: #fff; box-shadow: 6px 6px 0 0 var(--navy); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 30rem; }
caption { text-align: left; padding: 0.9rem 1.1rem 0; font-weight: 600; color: var(--navy); }
th, td { text-align: left; padding: 0.7rem 1.1rem; border-bottom: 1px solid rgba(40, 40, 88, 0.2); }
th { font-weight: 600; color: var(--navy); }
tr:last-child td { border-bottom: 0; }

/* FAQ: native details */
.faq details { background: #fff; border: 2px solid var(--navy); border-radius: 22px; padding: 0.9rem 1.3rem; margin-bottom: 1rem; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq details[open] summary { margin-bottom: 0.6rem; }
.faq details p:last-child { margin-bottom: 0; }

/* Footer: logo, links, divider, copyright, then About (nx-about.css) */
.foot { background: var(--paper); border-top: 2px solid var(--navy); padding: 2.5rem 0 2rem; color: var(--navy); }
.foot-in { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.5rem 2rem; }
.foot-tag { margin: 0.7rem 0 0; font-size: 0.9rem; max-width: 22rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.9rem; }
.foot-links a { color: var(--navy); }
.foot-line { flex: 1 1 100%; border-top: 1px solid rgba(40, 40, 88, 0.3); padding-top: 1rem; margin: 0; font-size: 0.8rem; }
.foot .logo { display: block; width: 11.6rem; }

/* Privacy and 404 pages */
.page { padding: 3rem 0; }
.page h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-top: 2rem; }

@media (max-width: 40rem) {
  .hero { padding: 2.25rem 0; }
  .section { padding: 2.5rem 0; }
  .brand img { width: 9.5rem; }
  .btn { padding: 0.85rem 1.1rem; }
}
