/* CareAgencyKit design system: navy and gold, Inter throughout. One stylesheet, mobile-first, no frameworks. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght.woff2") format("woff2");
}

:root {
  /* Color tokens: every color on the site comes from here. */
  --navy-dark: #0F1E33;      /* hero, checklist band, footer */
  --navy: #13233D;           /* headings and navy text on light backgrounds */
  --gold: #C9A25B;           /* button fills, borders, gold text on navy */
  --gold-hover: #B88F47;
  --gold-text: #8B6A2E;      /* gold used as text on light backgrounds (AA 4.5:1+) */
  --gold-graphic: #A67E37;   /* gold icons on light backgrounds (3:1+) */
  --gold-tint: #F4EAD7;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --text: #2B2F36;
  --text-muted: #5F6670;
  --border: #E7E1D6;
  --on-navy: #FFFFFF;
  --on-navy-muted: #C7CDD6;
  --gray-btn: #E7E1D6;
  --error: #B42318;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(15, 30, 51, .06), 0 6px 18px rgba(15, 30, 51, .04);
  --container: 1120px;
  --gutter: 24px;
  --section: 64px;
  color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --section: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text);
  background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
@media (min-width: 1024px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Type */
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .55em; }
h1 { font-weight: 700; letter-spacing: -0.025em; }
h2 { font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 36px; }
h2 { font-size: 30px; margin-top: 1.5em; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-top: 1.4em; line-height: 1.3; }
@media (min-width: 1024px) { h1 { font-size: 52px; } h2 { font-size: 38px; } }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: .4em; }
main p, main li { max-width: 70ch; }
h1:first-child, h2:first-child, h3:first-child { margin-top: 0; }

/* Layout */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: calc(800px + 2 * var(--gutter)); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-tight { padding-top: 32px; padding-bottom: 32px; }
/* Alternate sections are white and bleed edge to edge; content stays in the container. */
main > section.section.alt, main > section.section:nth-of-type(odd):not(.hero):not(.band):not(.no-alt) {
  background: var(--white); box-shadow: 0 0 0 100vmax var(--white); clip-path: inset(0 -100vmax);
}
.muted { color: var(--text-muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 12px; z-index: 20; border-radius: var(--radius-sm); }
.skip-link:focus { left: 12px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.section-head h2 { margin-bottom: .2em; }
.section-head p { margin-bottom: 0; }
.more-link { font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--gold-text); }
.more-link:hover { text-decoration: underline; }

/* Header */
.site-header { background: var(--cream); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { font-weight: 700; font-size: 1.35rem; color: var(--navy); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.logo:hover { color: var(--navy); }
.logo span { color: var(--gold-text); }
.nav { display: flex; align-items: center; gap: 4px 26px; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--gold-text); }
.nav a[aria-current="page"]:not(.btn) { color: var(--gold-text); border-bottom-color: var(--gold); }
.nav .btn { padding: 10px 18px; font-size: .95rem; }
.nav-toggle {
  display: none; font: inherit; font-weight: 600; font-size: .95rem; color: var(--navy); background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 14px; cursor: pointer;
}
@media (max-width: 959px) {
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 0; border-top: 1px solid var(--border); }
  .nav a[aria-current="page"]:not(.btn) { box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; }
  .nav .btn { margin-top: 12px; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; }
}

/* Buttons: gold buttons always use navy text. */
.btn {
  display: inline-block; font: inherit; font-size: 1rem; font-weight: 650; text-decoration: none; cursor: pointer;
  border-radius: var(--radius-sm); padding: 14px 24px; border: 1px solid transparent; line-height: 1.25; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--navy-dark); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--cream); color: var(--navy); }
.btn-outline-light { background: transparent; color: var(--on-navy); border-color: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); color: var(--on-navy); border-color: var(--on-navy); }
.btn-gray { background: var(--gray-btn); color: var(--navy); border-color: var(--gray-btn); }
.btn-gray:hover { background: #DCD4C5; color: var(--navy); }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .65; cursor: wait; }

/* Hero: dark navy band (used on every page that has a hero) */
.hero {
  position: relative; background: var(--navy-dark); color: var(--on-navy-muted);
  padding-top: calc(var(--section) * 1.05); padding-bottom: var(--section);
  box-shadow: 0 0 0 100vmax var(--navy-dark); clip-path: inset(0 -100vmax);
}
.hero h1, .hero h2, .hero h3 { color: var(--on-navy); }
.hero h1 { max-width: 21ch; }
.hero .narrow h1 { max-width: 22ch; }
.hero h1 em { font-style: normal; color: var(--gold); white-space: nowrap; }
.hero p { color: var(--on-navy-muted); }
.hero p strong { color: var(--on-navy); }
.hero a:not(.btn) { color: var(--on-navy); text-decoration-color: var(--gold); }
.hero a:not(.btn):hover { color: var(--gold); }
.hero p.lead { font-size: 1.15rem; max-width: 60ch; }
@media (min-width: 1024px) { .hero p.lead { font-size: 1.22rem; } }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .actions form { margin: 0; }
.hero .muted, .hero .small { color: var(--on-navy-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; font-weight: 700; color: var(--gold-text); margin-bottom: 1em; }
.hero .eyebrow {
  display: inline-block; color: var(--on-navy); border: 1px solid rgba(201, 162, 91, .7); border-radius: 99px;
  padding: 6px 14px; letter-spacing: .07em; margin-bottom: 1.4em; max-width: 100%;
}
.delivery-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; font-size: .9rem; }
.delivery-note svg { margin-top: .2em; }
.delivery-note svg { flex: none; color: var(--gold); }
.hero-grid { display: grid; gap: 0 40px; align-items: start; }
.hero-grid .hero-art { margin-top: 36px; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); grid-template-areas: "eyebrow ." "text art"; gap: 0 48px; }
  .hero-grid .hero-eyebrow { grid-area: eyebrow; justify-self: start; }
  .hero-grid .hero-text { grid-area: text; }
  .hero-grid .hero-art { grid-area: art; margin-top: 0; }
}
.hero-home { padding-top: 48px; padding-bottom: 56px; }
@media (min-width: 1024px) { .hero-home { padding-top: 56px; padding-bottom: 64px; } }
.hero-home h1 { font-size: clamp(34px, 2.2vw + 19.5px, 46px); line-height: 1.08; max-width: none; } /* 46px max = 3 lines in the 55% column */
.hero-home p.lead { margin-bottom: 0; }
.hero-home .actions { margin-top: 24px; }
@media (min-width: 640px) { .hero-home .actions { flex-wrap: nowrap; } .hero-home .actions .btn { white-space: nowrap; } }
.nowrap { white-space: nowrap; }

/* Hero image slot + CSS illustration fallback */
.hero-art {
  position: relative; width: 100%; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 2; min-height: 220px;
  background: radial-gradient(120% 90% at 80% 10%, #2B4067 0%, #18294A 45%, #0F1E33 100%);
  border: 1px solid rgba(255, 255, 255, .08);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art:has(img) { box-shadow: 0 18px 44px rgba(0, 0, 0, .32), 0 2px 8px rgba(0, 0, 0, .2); border-color: rgba(201, 162, 91, .3); }
.hero-art .glow { position: absolute; inset: auto -10% -30% -10%; height: 55%; background: radial-gradient(60% 80% at 50% 100%, rgba(201, 162, 91, .35), transparent 70%); }
.hero-art .laptop { position: absolute; left: 50%; bottom: 14%; width: 74%; transform: translateX(-50%); }
.hero-art .screen {
  aspect-ratio: 16 / 10; background: #0B1626; border: 8px solid #26334A; border-bottom-width: 10px; border-radius: 10px 10px 4px 4px;
  padding: 7%; display: flex; justify-content: center;
}
.hero-art .doc { width: 62%; background: var(--white); border-radius: 3px; padding: 7% 8%; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.hero-art .doc i { display: block; height: 5px; border-radius: 3px; background: #D9DEE6; margin-bottom: 7%; }
.hero-art .doc i.t { width: 55%; height: 7px; background: var(--navy); }
.hero-art .doc i.g { width: 30%; background: var(--gold); }
.hero-art .doc i.s { width: 72%; }
.hero-art .base { height: 12px; margin: 0 -9%; background: linear-gradient(#3A4760, #222D41); border-radius: 0 0 14px 14px; }
.hero-art .desk { position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: linear-gradient(#1A2A45, #0F1E33); border-top: 1px solid rgba(201, 162, 91, .25); }

/* Cards and grids */
.grid { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 720px) and (max-width: 899px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card, .signup {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; height: 100%;
}
@media (min-width: 640px) { .card, .signup { padding: 32px; } }
a.card { display: block; text-decoration: none; color: var(--text); transition: border-color .15s ease; }
a.card:hover { border-color: var(--gold); }
a.card h3 { color: var(--navy); }
.card h2, .card h3, .signup h2, .signup h3 { margin-top: 0; }
.card h2 { font-size: 28px; }
.card > :last-child, .signup > :last-child { margin-bottom: 0; }
.card.featured { border: 2px solid var(--gold); }
.price { font-size: 2.6rem; font-weight: 700; color: var(--navy); margin: .1em 0 .3em; letter-spacing: -0.02em; line-height: 1.1; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; background: var(--gold); color: var(--navy-dark); }
.badge.soon { background: var(--gray-btn); color: var(--navy); }
.badge + h2, .badge + h3 { margin-top: .6em !important; }
.icon-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--gold-tint); color: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.icon-circle svg { width: 26px; height: 26px; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.8em; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.15em; height: 1.15em; border-radius: 50%;
  background: var(--gold-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23A67E37' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/78% no-repeat;
}
.price-card { display: flex; flex-direction: column; }
.price-card .checklist { flex: 1; }
.price-card .cta { margin-top: 16px; }

/* Document previews */
.docs { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .docs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .docs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.doc-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; display: flex; flex-direction: column; height: 100%; }
.doc-card .thumb { position: relative; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--white); }
.doc-card .formats { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; }
.fmt { font-size: .62rem; font-weight: 800; letter-spacing: .04em; padding: 3px 6px; border-radius: 4px; color: var(--white); line-height: 1.2; }
.fmt.word { background: #1E4E9C; }
.fmt.pdf { background: #A4262C; }
.doc-card h3 { font-size: 1rem; font-weight: 600; margin: 12px 4px 4px; }
.doc-card p { font-size: .86rem; color: var(--text-muted); margin: 0 4px 6px; line-height: 1.5; }

/* Notices */
.notice { border: 1px solid var(--border); border-left: 4px solid var(--gold); background: var(--white); padding: 16px 20px; border-radius: var(--radius-sm); margin: 1.5em 0; }
.notice.warn { border-left-color: var(--navy); background: var(--gold-tint); }
.notice p { max-width: none; }
.notice p:last-child { margin-bottom: 0; }
.verify { background: var(--gold-tint); color: var(--navy); border: 1px solid var(--gold); font-weight: 700; font-size: .78em; padding: 1px 6px; border-radius: 4px; white-space: nowrap; letter-spacing: .02em; }

/* Navy checklist band */
.band {
  position: relative; background: var(--navy-dark); color: var(--on-navy-muted);
  box-shadow: 0 0 0 100vmax var(--navy-dark); clip-path: inset(0 -100vmax); overflow: hidden;
}
.band-grid { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .band-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.band h2 { color: var(--on-navy); margin-top: 0; }
.band p { color: var(--on-navy-muted); }
.band .icon-circle { background: rgba(201, 162, 91, .16); color: var(--gold); border: 1px solid rgba(201, 162, 91, .5); }
.band .signup { background: transparent; border: 0; box-shadow: none; padding: 0; }
.band .form label { color: var(--on-navy); }
.band .form .muted, .band .form .small { color: var(--on-navy-muted); }
.band .form a { color: var(--on-navy); }
.band .form-msg.ok { color: var(--gold); }
.band .form-msg.err { color: #FFB4AB; }
.skyline { position: relative; min-height: 220px; height: 100%; border-radius: var(--radius); overflow: hidden; }
.skyline img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.skyline::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--navy-dark) 0%, rgba(15, 30, 51, .45) 35%, rgba(15, 30, 51, 0) 70%, rgba(15, 30, 51, 0) 88%, var(--navy-dark) 100%),
  linear-gradient(180deg, var(--navy-dark) 0%, rgba(15, 30, 51, 0) 22%, rgba(15, 30, 51, 0) 78%, var(--navy-dark) 100%); }
.skyline .sky { position: absolute; inset: 0; background: linear-gradient(180deg, #13233D 0%, #3B3A55 55%, #8C6A4A 85%, #C9A25B 100%); opacity: .9; }
.skyline .city { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; color: #0B1626; }
.skyline .city svg { width: 100%; height: 100%; display: block; }

/* Article / guides */
.article { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px; }
@media (min-width: 720px) { .article { padding: 48px 56px; } }
.article h2 { font-size: 28px; }
@media (min-width: 1024px) { .article h2 { font-size: 32px; } }
.article table { border-collapse: collapse; width: 100%; margin: 1.2em 0 1.6em; font-size: .95rem; display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--cream); color: var(--navy); font-weight: 650; }
.cite { font-size: .85em; color: var(--text-muted); }
.meta-line { font-size: .92rem; color: var(--text-muted); margin-bottom: 1.5em; }
.toc { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 1.8em; }
.toc ol { margin: 0; padding-left: 1.2em; }
.sources-box { margin-top: 2.5em; padding-top: 1.2em; border-top: 1px solid var(--border); font-size: .92rem; }
.sources-box li { word-break: break-word; }
.breadcrumb { font-size: .9rem; color: var(--text-muted); margin-bottom: 20px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { font-weight: 600; font-size: .95rem; color: var(--navy); }
.form input, .form textarea, .form select {
  font: inherit; font-size: 1rem; width: 100%; padding: 12px 14px; border: 1px solid #CFC6B5; border-radius: var(--radius-sm);
  background: var(--white); color: var(--text); margin-top: 6px;
}
.form-inline input { margin-top: 0; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--gold); outline: 3px solid rgba(201, 162, 91, .35); outline-offset: 0; }
.form textarea { min-height: 160px; resize: vertical; }
.form-inline { display: grid; gap: 10px; }
@media (min-width: 560px) { .form-inline { grid-template-columns: 1fr auto; } }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-weight: 600; margin: 2px 0 0; min-height: 1.2em; }
.form-msg.ok { color: var(--navy); }
.form-msg.err { color: var(--error); }

/* Samples (Nevada page) */
.samples { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .samples { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .samples { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.samples figure { margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px; box-shadow: var(--shadow); }
.samples figcaption { font-size: .85rem; color: var(--text-muted); text-align: center; padding-top: 6px; }
.framed { border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); }

/* FAQ */
details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { font-weight: 650; color: var(--navy); cursor: pointer; }
summary::marker { color: var(--gold-graphic); }
details[open] summary { margin-bottom: .7em; }

/* Footer */
.site-footer { background: var(--navy-dark); color: var(--on-navy-muted); padding: 56px 0 48px; font-size: .92rem; }
.site-footer a { color: var(--on-navy-muted); text-decoration-color: rgba(201, 162, 91, .6); }
.site-footer a:hover { color: var(--on-navy); }
.site-footer :focus-visible { outline-color: var(--gold); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; margin-bottom: 24px; }
.footer-logo { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--on-navy); text-decoration: none; }
.site-footer .footer-logo { color: var(--on-navy); text-decoration: none; }
.footer-logo span { color: var(--gold); }
.footer-tagline { margin: 6px 0 0; color: var(--on-navy-muted); max-width: 46ch; }
.footer-disclaimer { font-weight: 600; color: var(--on-navy); background: rgba(255, 255, 255, .06); border: 1px solid rgba(201, 162, 91, .45); border-radius: var(--radius-sm); padding: 14px 16px; max-width: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 24px 0; }
.footer-links li { margin: 0; }
.site-footer .muted { color: var(--on-navy-muted); }
.price-card h3 { margin-top: 14px; }
/* Signup forms nested inside a card sit flat and stack, so they never overflow the card. */
.card .signup { height: auto; padding: 0; border: 0; box-shadow: none; background: transparent; margin-top: 8px; }
.card .form-inline { grid-template-columns: 1fr; }
