/* Paper Chasers LLC — shared site styles (Nov 2026 redesign) */
:root {
  --ink: #14202e;
  --ink-2: #2b3a4b;
  --slate: #5a6877;
  --mist: #eef3f7;
  --white: #ffffff;
  --rule: #d6dee6;
  --harbor: #2f5d8a;
  --harbor-dark: #244a6f;
  --honey: #e2b25a;
  --honey-dark: #d39f3f;
  --amber: #b7791f;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1140px;
  /* legacy variable names used by older inline styles */
  --blue: var(--harbor);
  --green: var(--harbor);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
}

img { max-width: 100%; height: auto; }
a { color: var(--harbor); text-underline-offset: 3px; }
a:hover { color: var(--harbor-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #2f7dd1;
  outline-offset: 3px;
}

.wrap, .container { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.container .container { width: 100%; }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: -0.01em; margin: 0 0 .4em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin: 1.8em 0 .6em; }
h3 { font-size: 1.25rem; margin: 1.4em 0 .5em; }
h4 { font-size: 1.05rem; margin: 1.2em 0 .4em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin: .35em 0; }
.card > h2:first-child, .card > h3:first-child, .tile > h3:first-child, .box > h3:first-child { margin-top: 0; }
.muted { color: var(--slate); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; margin: 4px 6px 4px 0;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
  border-radius: 6px; border: 2px solid var(--ink); color: var(--ink); background: transparent;
  transition: background-color .15s ease;
}
.btn:hover { background: rgba(20, 32, 46, .06); color: var(--ink); }
.btn-primary { background: var(--harbor); border-color: var(--harbor); color: var(--white); }
.btn-primary:hover { background: var(--harbor-dark); border-color: var(--harbor-dark); color: var(--white); }
.on-ink .btn, .cta .btn { color: var(--white); border-color: var(--white); }
.on-ink .btn:hover, .cta .btn:hover { background: rgba(255,255,255,.1); color: var(--white); }
.on-ink .btn-primary, .cta .btn-primary { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.on-ink .btn-primary:hover, .cta .btn-primary:hover { background: var(--honey-dark); border-color: var(--honey-dark); color: var(--ink); }
.btn-row, .hero-buttons, .hero-actions { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 22px; }
.hero-actions .btn, .hero-buttons .btn { margin: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 52px; width: auto; }
.brand span { font-family: var(--serif); font-size: 1.15rem; line-height: 1.1; }
.brand small { display: block; font-family: var(--sans); font-size: .78rem; color: var(--slate); }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--harbor); text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-actions .btn { min-height: 42px; padding: 0 16px; font-size: .95rem; margin: 0; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; border: 2px solid var(--ink); border-radius: 6px; padding: 8px 14px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(86vw, 320px);
  background: var(--white); border: 1px solid var(--rule); border-radius: 8px;
  box-shadow: 0 18px 40px rgba(20,32,46,.16); padding: 10px; display: grid;
}
.menu-panel a { padding: 12px; color: var(--ink); text-decoration: none; border-radius: 6px; font-weight: 500; }
.menu-panel a:hover { background: var(--mist); }

/* Page title band (replaces the old logo hero) */
.page-hero { background: var(--ink); color: #d3dae2; padding: 64px 0 60px; }
.page-hero .container > *:last-child { margin-bottom: 0; }
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero p { max-width: 64ch; font-size: 1.1rem; }
.page-hero a:not(.btn) { color: var(--honey); }
.page-hero .hero-text, .page-hero .hero-inner { max-width: none; text-align: left; }
.page-hero .subline { color: #d3dae2; }

/* Content layout */
main { display: block; padding: 48px 0 72px; }
.section { padding: 0 0 32px; }
.section-tight { padding: 0 0 24px; }
.card {
  background: var(--white); border: 1px solid var(--rule); border-radius: 10px;
  padding: clamp(24px, 4vw, 48px); margin-bottom: 32px;
}
.card p, .card li { max-width: 75ch; }
.grid p, .grid li, .grid-2 p, .grid-3 p, .tile p, .box p { max-width: none; }
.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 14px 0; }

.tile, .box, .value, .process-step, .step, .city-card, .item {
  background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 22px;
}
.tile { margin-bottom: 0; }
:not(.grid-3):not(.grid) > .tile + .tile, :not(.grid-3):not(.grid) > .box + .box { margin-top: 14px; }
.tile h3, .box h3, .value h3, .process-step h3, .city-card h3 { margin-top: 0; }
.box strong, .step strong { color: var(--ink); }
.step-number {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px;
  border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 600;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }

/* Callouts */
.notice, .article-disclaimer {
  background: var(--mist); border-left: 4px solid var(--harbor); border-radius: 6px;
  padding: 16px 20px; margin: 20px 0;
}
.success, .highlight, .success-box, .contact-box {
  background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--honey);
  border-radius: 6px; padding: 16px 20px; margin: 20px 0;
}
.warning { background: #fdf7ec; border: 1px solid #f0dcb6; border-left: 4px solid var(--amber); border-radius: 6px; padding: 16px 20px; margin: 20px 0; }
.notice p:last-child, .success p:last-child, .warning p:last-child, .highlight p:last-child { margin-bottom: 0; }
.effective { display: inline-block; padding: 4px 12px; border: 1px solid var(--harbor); border-radius: 999px; color: var(--harbor); font-size: .9rem; font-weight: 600; margin: 0 0 14px; }

/* In-page call to action band */
.cta { background: var(--ink); color: #d3dae2; border-radius: 10px; padding: 44px clamp(24px, 4vw, 48px); margin-bottom: 32px; }
.cta h2 { color: var(--white); margin-top: 0; }
.cta a:not(.btn) { color: var(--honey); }

/* Articles & library */
.article-card { max-width: 920px; margin-inline: auto; }
.crumbs { font-size: .92rem; color: var(--slate); margin-bottom: 14px; }
.article-meta { color: var(--slate); font-size: .95rem; margin-bottom: 18px; }
.article-help { background: var(--mist); border-radius: 8px; padding: 22px; margin-top: 32px; }
.article-help p:last-child { margin-bottom: 0; }
.authorities { font-size: .95rem; line-height: 1.7; }
.article-list { line-height: 1.75; }
.article-index .item { margin: 12px 0; }
.article-index .item a { font-weight: 600; font-size: 1.05rem; }
.article-index .item p { margin: 6px 0 0; color: var(--ink-2); }
.sitemap-list { list-style: none; padding: 0; line-height: 1.9; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; margin: 18px 0 8px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* article tables */
.table-wrap { overflow-x: auto; margin: 18px 0 22px; }
.article-table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.article-table th { background: var(--ink); color: var(--white); text-align: left; font-weight: 600; padding: 10px 12px; vertical-align: bottom; }
.article-table td { padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.article-table tbody tr:nth-child(even) td { background: var(--mist); }
@media (max-width: 700px) { .article-table { min-width: 640px; font-size: .9rem; } }
.video-caption { font-size: .92rem; color: var(--slate); }
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.download { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 18px 20px; }
.download strong { display: block; }
.download span { display: block; color: var(--slate); font-size: .93rem; margin: 4px 0 8px; }

/* Cities */
.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 22px; }
.city-card a { display: block; font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; }
.city-card p { margin: 0; }
.city-link {
  display: block; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 999px;
  text-align: center; text-decoration: none; color: var(--ink); background: var(--white); font-weight: 500;
}
.city-link:hover { border-color: var(--harbor); color: var(--harbor); }

/* About */
.owner-photo { width: 100%; max-width: 420px; display: block; border-radius: 8px; }
.caption { color: var(--slate); font-size: .92rem; margin-top: 10px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.full { grid-column: 1 / -1; }
label { font-weight: 600; }
.help-text { color: var(--slate); font-size: .88rem; line-height: 1.45; }
input, select, textarea {
  font: 1rem var(--sans); padding: 12px; width: 100%;
  border: 1px solid #b9c5d1; border-radius: 6px; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--harbor); outline: 3px solid rgba(47,93,138,.2); outline-offset: 0; }
textarea { min-height: 150px; resize: vertical; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; }
.checkbox-row input { width: auto; margin-top: 6px; }
button.btn { cursor: pointer; }

/* Footer */
.site-footer { background: #0f1923; color: #b9c3cd; padding: 64px 0 40px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 58px; width: auto; margin-bottom: 16px; }
.site-footer h3 { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--white); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 7px 0; }
.site-footer a { color: #dfe5eb; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid #26333f; font-size: .85rem; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.callbar { display: none; }

/* Keep header items on one line at laptop widths */
.site-nav a, .nav a, .header-actions .btn, .brand span { white-space: nowrap; }
@media (max-width: 1300px) {
  .header-row { gap: 20px; }
  .site-nav, .nav { gap: 16px; }
  .header-phone { display: none; }
}

@media (max-width: 1060px) {
  .site-nav, .header-phone { display: none; }
  .menu { display: block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid, .steps, .downloads { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 44px 0 40px; }
  main { padding: 28px 0 48px; }
}
@media (max-width: 600px) {
  .header-actions .btn { display: none; }
  .brand img { height: 44px; }
  .form-grid { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .card { border-radius: 8px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--rule); box-shadow: 0 -8px 24px rgba(20,32,46,.12);
  }
  .callbar .btn { min-height: 46px; margin: 0; }
  body { padding-bottom: 72px; }
}
