/* Colours and ornament follow the private Home Briefing's established design. */
:root {
  color-scheme: light;
  --night: #101a22;
  --ink: #1d2930;
  --parchment: #eee6d4;
  --brass: #b58b4d;
  --brass-light: #d5b978;
  --font-display: 'Noto Serif', 'Liberation Serif', Georgia, serif;
  --font-copy: 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
  background: var(--night);
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-copy);
  background:
    linear-gradient(#050c1b66, #01040cbb),
    url('/assets/midnight-damask-wallpaper.png') center 38% / cover fixed;
}
a {
  color: #365b60;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid #a44e31;
  outline-offset: 5px;
}
p {
  margin: 0 0 1.1em;
  line-height: 1.75;
}
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
}
h2 {
  margin: 0 0 0.6em;
  font-size: 1.65rem;
  line-height: 1.25;
}
.site-frame {
  width: min(1060px, calc(100% - 40px));
  margin: auto;
  padding: 28px 0 32px;
}
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0 4px 30px;
}
.brand-lockup {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--brass);
  border-radius: 50%;
  color: var(--brass-light);
  font: 2rem var(--font-display);
}
.brand-name {
  display: block;
  color: var(--parchment);
  font: 1.2rem var(--font-display);
}
.eyebrow {
  display: block;
  margin: 0 0 9px;
  color: #755424;
  font: 700 0.7rem/1.5 var(--font-copy);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.masthead .eyebrow {
  font-size: 0.6rem;
}
.masthead .eyebrow,
.page-heading .eyebrow {
  color: var(--brass-light);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}
nav a {
  color: var(--parchment);
  font-size: 0.85rem;
}
nav a[aria-current] {
  color: var(--brass-light);
  text-decoration-thickness: 2px;
}
.page-heading {
  margin: 8px 0 32px;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--brass);
  outline: 1px solid #d5b97844;
  outline-offset: 5px;
  color: var(--parchment);
  background: linear-gradient(115deg, #0f1b27f2, #132333e3);
  box-shadow:
    inset 0 0 0 7px #d5b9780c,
    0 18px 42px #0004;
}
h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5.5vw, 3.7rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.heading-rule {
  display: block;
  width: 115px;
  height: 1px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--brass-light), transparent);
}
.paper {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #9d8965;
  background: linear-gradient(140deg, #f7f1e5, #e8ddc7);
  box-shadow: 0 10px 24px #0003;
}
.paper > :last-child {
  margin-bottom: 0;
}
.lead {
  font: 1.7rem/1.4 var(--font-display);
}
.callout {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--brass);
  background: #b58b4d16;
}
.button-link {
  display: inline-flex;
  gap: 24px;
  padding: 14px 20px;
  background: #1b303a;
  border: 1px solid #8b6c35;
  color: #f7f1e5;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.5;
}
.button-link:hover {
  background: #2b4651;
}
.information-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.policy {
  max-width: 850px;
  margin: auto;
}
.policy section {
  margin-top: 32px;
}
.policy li {
  margin-bottom: 12px;
  line-height: 1.75;
}
.policy ul {
  padding-left: 24px;
}
.effective {
  color: #595b50;
  font-size: 0.88rem;
}
code {
  overflow-wrap: anywhere;
  font-size: 0.9em;
}
.back-link {
  padding-top: 24px;
  border-top: 1px solid #b6a582;
  margin-top: 32px;
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 32px;
  color: #c8bea9;
  font-size: 0.8rem;
}
footer a {
  color: #d5c9ac;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 12px;
  background: #f7f1e5;
  z-index: 2;
}
.skip-link:focus {
  top: 12px;
}
@media (max-width: 720px) {
  .site-frame {
    width: calc(100% - 28px);
    padding-top: 22px;
  }
  .masthead {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .information-grid {
    grid-template-columns: 1fr;
  }
  .lead {
    font-size: 1.4rem;
  }
  .button-link {
    gap: 12px;
  }
}
