/* Alaska PUA - decommission notice
   Palette taken from the captured ePUA.AK theme:
   #0066b3 primary blue, #14558f dark blue, #cc170e red, #58595b grey. */

:root {
  --blue:       #0066b3;
  --blue-dark:  #14558f;
  --blue-pale:  #cce6fb;
  --red:        #cc170e;
  --grey:       #58595b;
  --text:       #222;
  --bg:         #f4f4f4;
  --white:      #fff;
  --border:     #d6d6d6;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Frutiger, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.wrap {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Keyboard-only skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 600;
}
.skip-link:focus { left: 0; }

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

.site-header {
  background: var(--blue);
  border-bottom: 4px solid var(--blue-dark);
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.header-seal {
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
}

.header-titles { display: flex; flex-direction: column; }

.header-app {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
}

.header-sub {
  font-size: 0.9rem;
  color: var(--blue-pale);
}

/* ---------- Main ---------- */

main { display: block; padding: 2.5rem 1.25rem 3rem; }
main:focus { outline: none; }

.notice {
  background: var(--white);
  border-left: 6px solid var(--red);
  border-radius: 3px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.notice h1 {
  margin: 0 0 0.6rem;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--red);
}

.notice p { margin: 0 0 0.85rem; max-width: 60ch; }
.notice p:last-child { margin-bottom: 0; }

/* Citation line: secondary to the notice itself, but must stay
   AA-legible -- #4a4a4a on white is 8.6:1. */
.notice .source {
  font-size: 0.9rem;
  color: #4a4a4a;
  max-width: 72ch;
}
.notice .source a { color: var(--blue-dark); }
.notice .source cite { font-style: italic; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
}

.card-primary { border-top: 4px solid var(--blue); }

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--blue-dark);
}

.card p { margin: 0 0 0.85rem; max-width: 60ch; }
.card p:last-child { margin-bottom: 0; }

.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
}
.btn:hover, .btn:focus { background: var(--blue-dark); text-decoration: underline; }

.phone {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.phone a { color: var(--blue-dark); text-decoration: none; }
.phone a:hover, .phone a:focus { text-decoration: underline; }

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

.site-footer {
  background: var(--grey);
  color: var(--white);
  padding: 1.75rem 0;
  margin-top: 2rem;
  font-size: 0.875rem;
}

.site-footer a { color: var(--white); }

.footer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.footer-seal { flex: none; width: 3rem; height: 3rem; }

.footer-copy { display: flex; flex-direction: column; gap: 0.2rem; }

.footer-nav { padding: 1rem 0 0.5rem; }

.footer-links,
.footer-phones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.footer-contact { padding-top: 0.5rem; }

.footer-contact-label { display: block; font-weight: 600; margin-bottom: 0.3rem; }

.footer-phones { color: rgba(255,255,255,0.9); }

/* ---------- Focus visibility ---------- */

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

/* ---------- Small screens ---------- */

@media (max-width: 40rem) {
  .header-app  { font-size: 1.1rem; }
  .notice h1   { font-size: 1.4rem; }
  .notice, .card { padding: 1.15rem 1.25rem; }
  .phone       { font-size: 1.3rem; }
  main         { padding-top: 1.75rem; }
}

/* ---------- Print ---------- */

@media print {
  body { background: #fff; }
  .skip-link { display: none; }
  .site-header, .site-footer { background: #fff; color: #000; }
  .site-footer a { color: #000; }
  .notice, .card { box-shadow: none; border: 1px solid #999; }
}
