/* The website (scope.claims). Loaded after portal.css, which styles the form; nothing is loaded
   from other sites. The colors are the current site's navy and blue. */
body.site { background: #fff; min-height: 100vh; display: flex; flex-direction: column; }
body.site main { max-width: none; margin: 0; padding: 0; flex: 1 0 auto; }   /* the footer stays at the bottom */
body.site main:has(> .page) { background: var(--paper); }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.wrap.page { max-width: 800px; padding-top: 28px; padding-bottom: 44px; }
.skip { position: absolute; left: -10000px; top: 8px; }
.skip:focus { left: 16px; z-index: 10; background: #fff; color: var(--ink); padding: 6px 12px; border-radius: 6px; }

/* the header */
.site-top { background: var(--navy); color: #fff; }
.site-top .bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 14px; padding-bottom: 14px; }
.site-top .brand { display: flex; flex-direction: column; color: #fff; text-decoration: none; line-height: 1.2; }
.site-top .brand .mark { display: block; height: 27px; width: auto; align-self: flex-start; }
.site-top .brand .tag { font-size: 12px; letter-spacing: .02em; color: #b9cbe3; margin-top: 7px; }
.site-nav { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.site-nav a { color: #fff; text-decoration: none; font-size: 15.5px; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.site-nav a.button { text-decoration: none; }
@media (max-width: 760px) {
  .site-nav { margin-left: 0; width: 100%; gap: 8px 18px; }
}

/* buttons */
.button.small { padding: 7px 14px; font-size: 15px; }
.button.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .75); color: #fff; padding: 9px 17px; }
.button.ghost.dark { border-color: var(--accent); color: var(--accent); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* the top of the front page, and of the other pages */
.hero, .head { background: linear-gradient(165deg, #1e3a5f 0%, #2a4a72 55%, #3d5a80 100%); color: #fff; }
.hero { padding: 56px 0 64px; }
.hero h1 { font-size: clamp(30px, 5.2vw, 48px); line-height: 1.15; margin: 0 0 16px; max-width: 760px; }
.hero .lead, .head .lead { font-size: 18px; color: #dbe6f3; max-width: 660px; }
.hero .lead { margin: 0 0 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; color: #a9cbf2; margin: 0 0 12px; }
.head { padding: 40px 0 36px; }
/* the front page: the words on the left, the sign-in box on the right (below them on a phone) */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px 56px; align-items: center; }
.hero-signin { color: var(--ink); padding: 22px 22px 20px; border: 0; border-radius: 10px; box-shadow: 0 10px 30px rgba(10, 25, 45, .25); }
.hero-signin h2, .signin h2 { font-size: 20px; margin: 0 0 6px; }
.signin .muted { margin: 0 0 14px; font-size: 15px; }
.signin .button { width: 100%; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.head h1 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.2; margin: 0 0 10px; }
.head .lead { margin: 0; }

/* sections */
.band { background: var(--paper); padding: 48px 0; border-top: 1px solid #e6eaf0; border-bottom: 1px solid #e6eaf0; }
.plain { padding: 48px 0; }
section h2 { font-size: 26px; line-height: 1.25; margin: 0 0 20px; }
.split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.split h2 { margin-bottom: 6px; }
.split p { margin: 0; }

/* the icons: drawn lines, white on navy */
.icon { width: 42px; height: 42px; padding: 9px; border-radius: 9px; background: var(--navy); fill: none; stroke: #fff;
        stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.tile { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px 18px 16px; color: var(--ink); text-decoration: none; }
.tile:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(30, 58, 95, .10); }
.tile h3 { font-size: 17px; margin: 12px 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 560px) {
  /* on a phone a card is one line: the icon beside the words */
  .cards { gap: 10px; }
  .cards .tile { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 14px; }
  .cards .tile .icon { grid-row: span 2; }
  .cards .tile h3 { margin: 2px 0 2px; }
}

/* the three steps, and who we work with */
.steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.steps h3 { font-size: 18px; margin: 12px 0 6px; }
.steps p { margin: 0; color: var(--muted); }
.who { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.who li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 14px 16px; }
.who h3 { font-size: 16.5px; margin: 0 0 4px; }
.who p { margin: 0; color: var(--muted); font-size: 15px; }

/* services */
.services { display: grid; gap: 30px; max-width: 860px; }
.services article { display: flex; gap: 18px; align-items: flex-start; scroll-margin-top: 16px; }
.services h2 { font-size: 21px; margin: 6px 0 6px; }
.services p { margin: 0; }

/* how it works */
.numbered { list-style: none; padding: 0; margin: 0; max-width: 760px; display: grid; gap: 28px; counter-reset: step; }
.numbered li { counter-increment: step; position: relative; padding-left: 56px; }
.numbered li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
                       background: var(--navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.numbered h2 { font-size: 20px; margin: 6px 0; }
.numbered p { margin: 0; }

/* about, policies */
.prose { max-width: 760px; }
.prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin: 6px 0; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 32px; }
.contact dl { margin: 0; }
.contact dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 16px; }
.contact dt:first-child { margin-top: 0; }
.contact dd { margin: 4px 0 0; font-size: 17px; }
.ways { display: grid; gap: 14px; }
.ways .tile h3 { margin-top: 0; }
.ways .card h2 { margin: 0 0 4px; font-size: 20px; }
@media (max-width: 760px) {
  .contact { grid-template-columns: 1fr; }
}

/* the footer */
.site-bottom { background: #16304f; color: #c9d6e6; padding: 36px 0 18px; font-size: 15px; }
.site-bottom a { color: #fff; }
.site-bottom .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 32px; }
.site-bottom .name { margin: 2px 0 10px; }
.site-bottom .mark { display: block; height: 20px; width: auto; }
.site-bottom p { margin: 0; }
.site-bottom .links { display: flex; flex-direction: column; gap: 6px; }
.site-bottom p.fine { font-size: 13px; color: #9fb3cb; margin: 24px auto 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
