/* ==========================================================================
   NR Digital LLC — site styles
   Plain CSS, no build step. System font stack for fast loading.
   ========================================================================== */

:root {
  --ink: #16233b;          /* headings */
  --body: #3f4c63;         /* body text */
  --muted: #64748b;
  --accent: #1d4ed8;       /* primary blue */
  --accent-dark: #16389f;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --line: #e3e8f0;
  --footer-bg: #131c2e;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(22, 35, 59, 0.06), 0 8px 24px rgba(22, 35, 59, 0.07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 0.5em; }
h1 { font-size: 2.4rem; letter-spacing: -0.02em; }
h2 { font-size: 1.7rem; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* --- Header ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--accent); }

.site-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--body);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 8px;
}
.site-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.site-nav a.active { color: var(--accent); background: #eaf0fd; }

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: #c6cfdd;
}
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: #e8edf6; color: var(--ink); }

/* --- Hero --------------------------------------------------------------- */

.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
  text-align: center;
  padding: 88px 0 76px;
  border-bottom: 1px solid var(--line);
}

.hero h1 { font-size: 2.9rem; margin-bottom: 0.35em; }

.hero .tagline {
  font-size: 1.35rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.6em;
}

.hero .lede {
  max-width: 640px;
  margin: 0 auto 1.8em;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Smaller hero for interior pages */
.page-hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 44px;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: 0.25em; }
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--muted); }

/* --- Sections ------------------------------------------------------------ */

.section { padding: 72px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); }

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

/* --- Cards --------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card p { color: var(--muted); font-size: 0.97rem; flex-grow: 1; }

.price {
  display: inline-block;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
  align-self: flex-start;
}

/* --- Service detail blocks (services.html) -------------------------------- */

.service-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 32px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 24px;
}

.service-block h2 { font-size: 1.35rem; margin-bottom: 0.4em; }
.service-block ul { margin: 0.5em 0 0; padding-left: 20px; color: var(--muted); }
.service-block li { margin-bottom: 4px; }

.service-price {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 20px;
  white-space: nowrap;
}

/* --- CTA band -------------------------------------------------------------- */

.cta-band {
  background: var(--footer-bg);
  color: #c9d3e4;
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 560px; margin: 0 auto 1.6em; }

/* --- Two-column layout (about, contact) ------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

/* --- Notice / legal box ------------------------------------------------------ */

.notice {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 1.5em 0;
}
.notice p:last-child { margin-bottom: 0; }

/* --- Contact ------------------------------------------------------------------ */

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 22px;
}
.contact-card h3 { margin-bottom: 0.35em; }
.contact-card p { margin-bottom: 0.25em; color: var(--muted); }
.contact-card a { font-weight: 600; }

.contact-form .field { margin-bottom: 18px; }

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c6cfdd;
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 12px; }

/* --- Policy / prose pages ------------------------------------------------------- */

.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.effective-date { color: var(--muted); font-size: 0.95rem; }

/* --- Footer ----------------------------------------------------------------------- */

.site-footer {
  background: var(--footer-bg);
  color: #9fadc4;
  font-size: 0.95rem;
  padding: 52px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}

.footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}

.site-footer a { color: #c9d3e4; }
.site-footer a:hover { color: #fff; }

.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid #2a3650;
  padding-top: 18px;
  padding-bottom: 22px;
}
.footer-bottom p { margin: 0; font-size: 0.88rem; }

/* --- Responsive --------------------------------------------------------------------- */

@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: 1.9rem; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 2.1rem; }
  .hero .tagline { font-size: 1.15rem; }
  .page-hero h1 { font-size: 1.7rem; }
  .section { padding: 52px 0; }
  .header-inner { justify-content: center; text-align: center; }
  .site-nav { justify-content: center; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .service-block { grid-template-columns: 1fr; padding: 24px; }
  .service-price { justify-self: start; }
  .footer-inner { flex-direction: column; gap: 24px; }
}
